Summary of the invention
In order to solve the problem that lacks the method and system that the motor of pure electric vehicle is controlled in the prior art, the embodiment of the invention has proposed a kind of battery-driven car control method and system based on two grades of change speed gear boxs.Said technical scheme is following:
The embodiment of the invention has proposed a kind of battery-driven car control method based on two grades of change speed gear boxs, comprising:
When receiving user's control command, confirm the mode of operation of said battery-driven car, and send control command and control said battery-driven car and between the mode of operation that pre-sets, switch;
Said mode of operation comprises:
Zero torque mode is used to control the inverter normal operation of the motor of said battery-driven car, and the output torque of controlling said motor is 0; And obtain the running velocity of said battery-driven car, when running velocity during greater than predetermined threshold value, the winding of controlling said motor produces weak magnetoelectricity stream;
Velocity mode is used for when the gearshift of said battery-driven car, or the change speed gear box of battery-driven car makes said battery-driven car be operated in velocity mode when to be arranged at forward gear and E-gas be 0 starting state; With gear and car load current vehicle speed according to change speed gear box, regulate the output speed of electrical motor, realize the steady switching of gear;
The forward drive pattern is used for when said battery-driven car forward travel, output forward drive moment of torsion; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum forward output torque; Otherwise the control motor is exported corresponding forward output torque; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
Reverse drive mode is used for when said battery-driven car backward going, output reverse drive moment of torsion; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
The regenerative brake pattern is used for when said battery-driven car glancing impact the driving torque opposite with current output torque being provided; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value.
Preferred as technique scheme, said mode of operation also comprises:
Prohibited mode when said battery-driven car initially powers on, breaks off the outputting power of the takeoff output portion of said battery-driven car; And said battery-driven car detected, when detecting the hardware effort state just often, remove the locking of this hardware.
Preferred as technique scheme, said mode of operation also comprises:
Failure mode when said battery-driven car detects hardware and finds that hardware breaks down, sends the fault information, and breaks off the outputting power of the takeoff output portion of said battery-driven car; When receiving troubleshooting information, withdraw from failure mode.
Preferred as technique scheme, the said battery-driven car of said control are switched between the mode of operation that pre-sets and comprise:
When the battery-driven car normal power-up starts,, battery-driven car is operated under the prohibited mode according to user's control command of entire car controller; Under prohibited mode,, then switch to failure mode if hardware detection breaks down; And behind trouble removal, system reset is also returned prohibited mode; If hardware detection does not have fault, then, between velocity mode, forward drive pattern, reverse drive mode, regenerative brake pattern, switch according to user's control command of entire car controller.
The embodiment of the invention has also proposed a kind of electric vehicle control system based on two grades of change speed gear boxs, comprising:
Operating mode module is used to control said battery-driven car and is operated in the mode of operation that pre-sets, and switches between the said mode of operation that pre-sets according to control command;
Control module is used for confirming the mode of operation of said battery-driven car according to the user's control command that receives, and sends control command and control said operating mode module, and said battery-driven car is switched between the mode of operation that pre-sets;
Said operating mode module comprises:
Zero torque mode unit is used to control the inverter normal operation of the motor of said battery-driven car, and the output torque of controlling said motor is 0; And obtain the running velocity of said battery-driven car, when running velocity during greater than predetermined threshold value, the winding of controlling said motor produces weak magnetoelectricity stream;
The velocity mode unit is used for when the gearshift of said battery-driven car, or the change speed gear box of battery-driven car makes said battery-driven car be operated in velocity mode when to be arranged at forward gear and E-gas be 0 starting state; With gear and car load current vehicle speed according to change speed gear box, regulate the output speed of electrical motor, realize the steady switching of gear;
The forward drive mode unit is used for when said battery-driven car forward travel, output forward drive moment of torsion; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum forward output torque; Otherwise the control motor is exported corresponding forward output torque; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
The reverse drive mode unit is used for when said battery-driven car backward going, output reverse drive moment of torsion; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
The regenerative brake mode unit is used for when said battery-driven car glancing impact the driving torque opposite with current output torque being provided; And, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor according to the instruction of the motor output torque that receives; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value.
Preferred as technique scheme, said operating mode module also comprises:
The prohibited mode unit when said battery-driven car initially powers on, makes said battery-driven car be operated in prohibited mode; Break off the outputting power of the takeoff output portion of said battery-driven car; And said battery-driven car detected, when detecting the hardware effort state just often, remove the locking of this hardware.
Preferred as technique scheme, said operating mode module also comprises:
The failure mode unit when said battery-driven car detects hardware and finds that hardware breaks down, makes said battery-driven car be operated in the failure mode unit; Send the fault information, and break off the outputting power of the takeoff output portion of said battery-driven car; When receiving troubleshooting information, withdraw from failure mode.
Preferred as technique scheme, said operating mode module also comprises:
Mode switch element is used to control the switching of the mode of operation of said battery-driven car; When the battery-driven car normal power-up starts,, battery-driven car is operated under the prohibited mode according to user's control command of entire car controller; Under prohibited mode,, then switch to failure mode if hardware detection breaks down; And behind trouble removal, system reset is also returned prohibited mode; If hardware detection does not have fault, then, between velocity mode, forward drive pattern, reverse drive mode, regenerative brake pattern, switch according to user's control command of entire car controller.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: the present invention proposes a kind of battery-driven car control method and system based on two grades of change speed gear boxs, belong to the Motor Control Field of electric driving machine motor-car.The system of the embodiment of the invention comprises operating mode module and control module; The method of the embodiment of the invention comprises: when receiving user's control command, confirm the mode of operation of said battery-driven car, and send control command and control said battery-driven car and between the mode of operation that pre-sets, switch.The embodiment of the invention can provide reliable and stable drive controlling through the battery-driven car mode of operation that pre-sets, with control command according to the entire car controller of battery-driven car, and the mode of operation and the output torque of control motor.
The specific embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Embodiment 1
First embodiment of the invention has proposed a kind of battery-driven car control method based on two grades of change speed gear boxs, comprising:
When receiving user's control command, confirm the mode of operation of said battery-driven car, and send control command and control said battery-driven car and between the mode of operation that pre-sets, switch.
The mode of operation of the embodiment of the invention through pre-seting switches between each mode of operation according to control command.Like this can be so that be used to control said battery-driven car and be operated in the mode of operation that pre-sets, and between the said mode of operation that pre-sets, switch according to control command.So just can reliable and stable drive controlling be provided through the battery-driven car mode of operation that pre-sets, with control command according to the entire car controller of battery-driven car, the mode of operation and the output torque of control motor.
Embodiment 2
Second embodiment of the invention has proposed a kind of battery-driven car control method based on two grades of change speed gear boxs, comprising:
When receiving user's control command, confirm the mode of operation of said battery-driven car, and send control command and control said battery-driven car and between the mode of operation that pre-sets, switch;
Said mode of operation comprises:
Zero torque mode is used to make said battery-driven car to be operated in zero torque mode; Control the inverter normal operation of the motor of said battery-driven car, and the output torque of controlling said motor is 0; And obtain the running velocity of said battery-driven car, when running velocity during greater than predetermined threshold value, the winding of controlling said motor produces weak magnetoelectricity stream;
Velocity mode is used for when the gearshift of said battery-driven car, or the change speed gear box of battery-driven car is that said battery-driven car is operated in velocity mode when to be arranged at forward gear and E-gas be 0 starting state; With gear and car load current vehicle speed according to change speed gear box, regulate the output speed of electrical motor, realize the steady switching of gear;
The forward drive pattern is used for when said battery-driven car forward travel, making said battery-driven car be operated in the forward drive pattern; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum forward output torque; Otherwise the control motor is exported corresponding forward output torque; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
Reverse drive mode is used for when said battery-driven car backward going, making said battery-driven car be operated in reverse drive mode; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
The regenerative brake pattern is used for making said battery-driven car be operated in the regenerative brake pattern when said battery-driven car glancing impact; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value.
When the battery-driven car normal power-up starts,, battery-driven car is operated under the prohibited mode according to user's control command of entire car controller; Under prohibited mode,, then switch to failure mode if hardware detection breaks down; And behind trouble removal, system reset is also returned prohibited mode; If hardware detection does not have fault, then, between velocity mode, forward drive pattern, reverse drive mode, regenerative brake pattern, switch according to user's control command of entire car controller.
And aforesaidly between the mode of operation that pre-sets, switch, can be as shown in Figure 3.Send user's control command by entire car controller to the control module of motor during switching, to notify the mode of operation of current battery-driven car.The control module of motor is according to user's control command, the switching between the pattern of finishing the work.
The flow process of switching is specially:
When the battery-driven car normal power-up starts, carry out step a as shown in Figure 3.Among the step a, application program is normally write with a brush dipped in Chinese ink in the electric machine controller; All outputs of electric machine controller have been configured to safe condition; Electric machine controller has been accomplished all IO and has been driven initialization; Electric machine controller has been accomplished all CAN and has been driven initialization; Electric machine controller has been accomplished dc bus current sensor, phase current transducer calibration.If hardware fault is arranged, execution in step m gets into failure mode; And behind trouble removal, turn back to prohibited mode.If there is not fault, then execution in step b gets into zero torque mode.Among the step b, entire car controller has enabled electric machine controller; Overcurrent, excess temperature, module failure and revolve displacement and put fault and be eliminated; Entire car controller request zero torque mode.
Under zero torque mode, just can be according to user's control command of entire car controller, execution in step k admission velocity pattern, or execution in step c entering forward drive pattern, or execution in step d entering reverse drive mode, or execution in step e gets into the regenerative brake pattern.Simultaneously, can change to reverse drive mode through step f in the forward drive pattern; Reverse drive mode can be through step g to the regenerative brake mode converting, and the forward pattern also can be through step h to the regenerative brake mode converting.The handoff procedure of above-mentioned step f, step g, step h is a prior art, repeats no more at this.
When battery-driven car stops, at first battery-driven car is operated under the prohibited mode through step j.Cut off the power supply through step I then.
Simultaneously, under any pattern, if hardware fault just switches to failure mode.
Embodiment 3
Third embodiment of the invention has proposed a kind of electric vehicle control system based on two grades of change speed gear boxs, and its structure is as shown in Figure 1, comprising:
Operating mode module 1 is used to control said battery-driven car and is operated in the mode of operation that pre-sets, and switches between the said mode of operation that pre-sets according to control command;
Control module 2 is used for confirming the mode of operation of said battery-driven car according to the user's control command that receives, and sends control command and control said operating mode module, and said battery-driven car is switched between the mode of operation that pre-sets.
The mode of operation of the embodiment of the invention through pre-seting switches between each mode of operation according to control command.Like this can be so that be used to control said battery-driven car and be operated in the mode of operation that pre-sets, and between the said mode of operation that pre-sets, switch according to control command.So just can reliable and stable drive controlling be provided through the battery-driven car mode of operation that pre-sets, with control command according to the entire car controller of battery-driven car, the mode of operation and the output torque of control motor.
Embodiment 4
Fourth embodiment of the invention has proposed a kind of electric vehicle control system based on two grades of change speed gear boxs, and its structure is as shown in Figure 2, comprising:
Operating mode module 1 is used to control said battery-driven car and is operated in the mode of operation that pre-sets, and switches between the said mode of operation that pre-sets according to control command;
Control module 2 is used for confirming the mode of operation of said battery-driven car according to the user's control command that receives, and sends control command and control said operating mode module, and said battery-driven car is switched between the mode of operation that pre-sets.
Wherein, operating mode module 1 comprises:
Prohibited mode unit 11 is used for when said battery-driven car initially powers on, and breaks off the outputting power of the takeoff output portion of said battery-driven car; And said battery-driven car detected, when detecting the hardware effort state just often, remove the locking of this hardware.
Failure mode unit 12 is used to detect the hardware of said battery-driven car; When said hardware breaks down, send the fault information, and break off the outputting power of the takeoff output portion of said battery-driven car; When receiving troubleshooting information, withdraw from failure mode;
Zero torque mode unit 13 is used to make said battery-driven car to be operated in zero torque mode; Control the inverter normal operation of the motor of said battery-driven car, and the output torque of controlling said motor is 0; And obtain the running velocity of said battery-driven car, when running velocity during greater than predetermined threshold value, the winding of controlling said motor produces weak magnetoelectricity stream;
Velocity mode unit 14 is used for when the gearshift of said battery-driven car, or the change speed gear box of battery-driven car is that said battery-driven car is operated in velocity mode when to be arranged at forward gear and E-gas be 0 starting state; With gear, regulate the output torque of electrical motor according to change speed gear box;
Forward drive mode unit 15 is used for when said battery-driven car forward travel, making said battery-driven car be operated in the forward drive pattern; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum forward output torque; Otherwise the control motor is exported corresponding forward output torque; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
Reverse drive mode unit 16 is used for when said battery-driven car backward going, making said battery-driven car be operated in reverse drive mode; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value;
Regenerative brake mode unit 17 is used for making said battery-driven car be operated in the regenerative brake pattern when said battery-driven car glancing impact; According to the instruction of the motor output torque that receives, judge that this motor output torque instructs pairing motor output torque whether greater than the max. output torque of motor; If then control motor output maximum reverse output torque; Otherwise the corresponding reverse output torque of control motor output; And obtain the running velocity of said battery-driven car, when running velocity during, motor is carried out weak magnetic control system greater than predetermined threshold value.
And control module 2 comprises:
Mode switch element 21 is used to control the switching of the mode of operation of said battery-driven car; When the battery-driven car normal power-up starts,, battery-driven car is operated under the prohibited mode according to user's control command of entire car controller; Under prohibited mode,, then switch to failure mode if hardware detection breaks down; And behind trouble removal, system reset is also returned prohibited mode; If hardware detection does not have fault, then, between velocity mode, forward drive pattern, reverse drive mode, regenerative brake pattern, switch according to user's control command of entire car controller.
The flow process of switching is specially:
When the battery-driven car normal power-up starts, carry out step a as shown in Figure 3.Among the step a, application program is normally write with a brush dipped in Chinese ink in the electric machine controller; All outputs of electric machine controller have been configured to safe condition; Electric machine controller has been accomplished all IO and has been driven initialization; Electric machine controller has been accomplished all CAN and has been driven initialization; Electric machine controller has been accomplished dc bus current sensor, phase current transducer calibration.If hardware fault is arranged, execution in step m gets into failure mode; And behind trouble removal, turn back to prohibited mode.If there is not fault, then execution in step b gets into zero torque mode.Among the step b, entire car controller has enabled electric machine controller; Overcurrent, excess temperature, module failure and revolve displacement and put fault and be eliminated; Entire car controller request zero torque mode.
Under zero torque mode, just can be according to user's control command of entire car controller, execution in step k admission velocity pattern, or execution in step c entering forward drive pattern, or execution in step d entering reverse drive mode, or execution in step e gets into the regenerative brake pattern.Simultaneously, can change to reverse drive mode through step f in the forward drive pattern; The regenerative brake pattern can be changed to reverse drive mode through step g, and the forward pattern also can be through step h to the regenerative brake mode converting.The handoff procedure of above-mentioned step f, step g, step h is a prior art, repeats no more at this.
When battery-driven car stops, at first battery-driven car is operated under the prohibited mode through step j.Cut off the power supply through step I then.
Simultaneously, under any pattern, if hardware fault just switches to failure mode.
All or part of content in the technical scheme that above embodiment provides can realize that through software programming its software program is stored in the storage medium that can read, storage medium for example: the hard disk in the computing machine, CD or floppy disk.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.