Resumen
The invention relates to a common-mode filter and to a device which uses said filter in order to control the doors of railway vehicles, in which the filter is intended to filter electrical noise originating from signal and power lines, essentially comprising a structure whereby the external control lines (1, 2, 3, 4) intended for common power return consist of a coil such that the sum of the input and output currents of the filter is balanced.