A railway vehicle comprising: - a power supply system ; - a main compressed air line with a main pressure; - a compressed air production unit , suitable for generating compressed air from an electrical supply provided by the power supply system , the production unit being suitable for supplying compressed air to the main pipe ; - a general compressed air braking pipe with a general pressure; - a general pressure control system for supplying compressed air to the general pipe from the compressed air in the main pipe ; - at least one brake control system for the railway vehicle suitable for automatically triggering braking as a function of brake pipe pressure , the brake control system comprising: * a braking reservoir of compressed air, the braking reservoir being supplied with compressed air by the main pipe , * a pneumatic brake , the pneumatic brake being adapted to be supplied with braking pressure from the brake reservoir , and adapted to exert a braking force on the vehicle as a function of the supplied braking pressure; * a distribution system capable of automatically authorising the supply of pressure to the or each pneumatic brake from the brake reservoir , as a function of the general pressure of the brake pipe ; characterised in that the railway vehicle further comprises a pneumatic control system for the main line pressure , the pneumatic control system being capable of automatically comparing the main line pressure with at least the general line pressure , and being capable of automatically evacuating compressed air from the general line out of the general line , when the main line pressure drops below a main emergency pressure threshold. - a power supply system ; - a main compressed air line with a main pressure; - a compressed air production unit , suitable for generating compressed air from an electrical supply provided by the power supply system , the production unit being suitable for supplying compressed air to the main pipe ; - a general compressed air braking pipe with a general pressure; - a general pressure control system for supplying compressed air to the general pipe from the compressed air in the main pipe ; - at least one brake control system for the railway vehicle suitable for automatically triggering braking as a function of brake pipe pressure , the brake control system comprising: * a braking reservoir of compressed air, the braking reservoir being supplied with compressed air by the main pipe , * a pneumatic brake , the pneumatic brake being adapted to be supplied with braking pressure from the brake reservoir , and adapted to exert a braking force on the vehicle as a function of the supplied braking pressure; * a distribution system capable of automatically authorising the supply of pressure to the or each pneumatic brake from the brake reservoir , as a function of the general pressure of the brake pipe ; characterised in that the railway vehicle further comprises a pneumatic control system for the main line pressure , the pneumatic control system being capable of automatically comparing the main line pressure with at least the general line pressure , and being capable of automatically evacuating compressed air from the general line out of the general line , when the main line pressure drops below a main emergency pressure threshold. * a braking reservoir of compressed air, the braking reservoir being supplied with compressed air by the main pipe , * a pneumatic brake , the pneumatic brake being adapted to be supplied with braking pressure from the brake reservoir , and adapted to exert a braking force on the vehicle as a function of the supplied braking pressure; * a distribution system capable of automatically authorising the supply of pressure to the or each pneumatic brake from the brake reservoir , as a function of the general pressure of the brake pipe ; <EOS>