US 11,987,134 B2
Speed-command generating unit of electric vehicle, and speed-command generating method used for the same
Chun-Chia Tsao, Taoyuan (TW); and Chien-Ping Huang, Taoyuan (TW)
Assigned to Delta Electronics, Inc., Taoyuan (TW)
Filed by Delta Electronics, Inc., Taoyuan (TW)
Filed on Jul. 28, 2021, as Appl. No. 17/387,813.
Claims priority of application No. 202110246735.2 (CN), filed on Mar. 5, 2021.
Prior Publication US 2022/0281326 A1, Sep. 8, 2022
Int. Cl. B60L 15/20 (2006.01); B60T 1/02 (2006.01)
CPC B60L 15/2009 (2013.01) [B60L 2240/12 (2013.01); B60L 2240/421 (2013.01); B60L 2240/423 (2013.01); B60L 2250/28 (2013.01); B60T 1/02 (2013.01)] 10 Claims
OG exemplary drawing
 
1. A speed-command generating unit of an electric vehicle, incorporated with a driver of the electric vehicle, the driver being used to drive a motor of the electric vehicle, and the speed-command generating unit comprising:
a throttle module, computing a set value of a speed-command in accordance with a throttle operating signal generated based on an external operation;
a computing module, computing a computation value of the speed-command based on the set value;
a mechanical brake sensing module, continuously sensing an activated status of a mechanical brake of the electric vehicle;
a braking approach selecting module;
a trimming module, connected with the mechanical brake sensing module and the computing module, configured to set a trimming flag as disable if the mechanical brake is inactivated at a time of last sampling, and set the trimming flag as enable if the mechanical brake is activated at a time of last sampling; and
a switching module, connected with the computing module, the mechanical brake sensing module, the braking approach selecting module and the trimming module, using the computation value as a foundation to generate an output value of the speed-command to control the motor if the mechanical brake is detected to be inactivated by the mechanical brake sensing module at a sampling of a current cycle and the trimming flag is disable, using a motor rotating speed of the motor detected at the very time as a foundation to generate the output value of the speed-command to control the motor if the mechanical brake is detected to be inactivated by the mechanical brake sensing module at the sampling of the current cycle and the trimming flag is enable, and switching a braking approach based on a braking approach selecting signal provided by the braking approach selecting module and using the braking approach selecting signal as a foundation to generate the output value of the speed-command to control the motor if the mechanical brake is detected to be activated by the mechanical brake sensing module at the sampling of the current cycle.
 
6. A speed-command generating method of an electric vehicle, incorporated with a driver of the electric vehicle, the driver being used to drive a motor of the electric vehicle and comprising a speed-command generating unit, the speed-command generating unit being used to compute a set value of a speed-command in accordance with a throttle signal and generate a computation value of the speed-command based on the set value, the speed-command generating method comprising:
a) continuously detecting an activated status of a mechanical brake of the electric vehicle;
b) setting a trimming flag in accordance with the activated status of last sampling, wherein the trimming flag is used to indicate that the mechanical brake is inactivated at a time of last sampling when being set as disable, and indicate that the mechanical brake is activated at a time of last sampling when being set as enable;
c) using the computation value of the speed-command at a sampling of a current cycle as a foundation to generate an output value of the speed-command when the mechanical brake is determined to be inactivated at the sampling of the current cycle in the step a) and the trimming flag is set as disable in the step b);
d) using a motor rotating speed of the motor as a foundation to generate the output value of the speed-command when the mechanical brake is determined to be inactivated at the sampling of the current cycle in the step a) and the trimming flag is set as enable in the step b);
e) outputting the output value to the motor to drive the motor after the step c) or the step d); and
f) when the mechanical brake is determined to be activated at the sampling of the current cycle in the step a), switching a braking approach based on a braking approach selecting signal and using the braking approach selecting signal as a foundation to generate the output value of the speed-command to drive the motor.