An electronic brake system, comprising: a motor; a piston coupled to the motor through a power transmission member; a cylinder configured to accommodate the piston, and comprising a first chamber and a second chamber partitioned by the piston; a flow path coupled to the first chamber and the second chamber; a control valve (231, 232, 233) provided on the flow path; a pedal displacement sensor; and a processor, the electronic brake system being characterised in that: the motor comprises a first winding (U1, V1 and W1) and a second winding (U2, V2 and W2); the electronic brake system further comprises: a first inverter configured to supply a current to the first winding (U1, V1 and W1); a second inverter configured to supply a current to the second winding (U2, V2 and W2); and the processor is configured to control the first inverter, the second inverter and the control valve (231, 232, 233), based on an output of the pedal displacement sensor, wherein the processor is configured to open the control valve (231, 232, 233) based on identifying a failure of at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter and wherein, when the failure of the at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter is not identified, the processor is configured to close the control valve (231, 232, 233). a motor; a piston coupled to the motor through a power transmission member; a cylinder configured to accommodate the piston, and comprising a first chamber and a second chamber partitioned by the piston; a flow path coupled to the first chamber and the second chamber; a control valve (231, 232, 233) provided on the flow path; a pedal displacement sensor; and a processor, the electronic brake system being characterised in that: the motor comprises a first winding (U1, V1 and W1) and a second winding (U2, V2 and W2); the electronic brake system further comprises: a first inverter configured to supply a current to the first winding (U1, V1 and W1); a second inverter configured to supply a current to the second winding (U2, V2 and W2); and the processor is configured to control the first inverter, the second inverter and the control valve (231, 232, 233), based on an output of the pedal displacement sensor, wherein the processor is configured to open the control valve (231, 232, 233) based on identifying a failure of at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter and wherein, when the failure of the at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter is not identified, the processor is configured to close the control valve (231, 232, 233). the motor comprises a first winding (U1, V1 and W1) and a second winding (U2, V2 and W2); the electronic brake system further comprises: a first inverter configured to supply a current to the first winding (U1, V1 and W1); a second inverter configured to supply a current to the second winding (U2, V2 and W2); and the processor is configured to control the first inverter, the second inverter and the control valve (231, 232, 233), based on an output of the pedal displacement sensor, wherein the processor is configured to open the control valve (231, 232, 233) based on identifying a failure of at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter and wherein, when the failure of the at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter is not identified, the processor is configured to close the control valve (231, 232, 233). a first inverter configured to supply a current to the first winding (U1, V1 and W1); a second inverter configured to supply a current to the second winding (U2, V2 and W2); and the processor is configured to control the first inverter, the second inverter and the control valve (231, 232, 233), based on an output of the pedal displacement sensor, wherein the processor is configured to open the control valve (231, 232, 233) based on identifying a failure of at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter and wherein, when the failure of the at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter is not identified, the processor is configured to close the control valve (231, 232, 233). wherein the processor is configured to open the control valve (231, 232, 233) based on identifying a failure of at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter and wherein, when the failure of the at least one of the first winding (U1, V1 and W1), the second winding (U2, V2 and W2), the first inverter or the second inverter is not identified, the processor is configured to close the control valve (231, 232, 233).