1. a kind of flywheel mixes bi-motor four-wheeled electric vehicle drive control method, it is characterised in that can be according to driving work
Condition, unit status, operator demand's driving torque etc., control motor 1, motor 2, flywheel, secondary power battery are run on reasonably
Operating mode, economic sexual clorminance, and middle and high driving torque demand are driven to give full play to single motor under low driving torque demand
Under flywheel momentary high power output advantage, while vehicle dynamic property is ensured, can be lifted vehicle drive economy, specifically
Realize that step is:
(1)Main program rate-determining steps are:
Whether step S01 is normal for detecting driving pedal signal, is then, to perform step S04;Otherwise, execution step S02, it is defeated
Go out driving pedal fault-signal, and step S03, terminate drive control program;
Step S04 is used to detect whether driving pedal aperture is more than 0, is then, to perform step S06, call subroutine 1;Otherwise, hold
Row step S05, continues to detect whether driving pedal aperture is more than 0;
(2)1 step of subprogram is:
Step S11 performs the calculating operator demand's driving torque of the task;
Step S12 performs the reading active force battery status parameter of the task;
Step S13 performs the calculating the maximum allowable electric discharge torque of active force battery of the task;
Step S14 judges operator demand's driving torque and a times(It can demarcate)Maximum allowable the big of torque of discharging of active force battery
It is small, if operator demand's driving torque is not more than the maximum allowable electric discharge torque of a times of active force battery, step S15 is performed, it is dynamic to pair
Power battery sends lower electric control signal, and step S16;Otherwise, step S17 is performed;
Step S16 performs the task of call subroutine 3;
Step S17 performs the task of call subroutine 2;
Step S18 performs the task of call subroutine 3;
(3)2 step of subprogram is:
Step S21 performs the reading secondary power battery state parameter of the task;
Step S22 performs the calculating the maximum allowable output torque of secondary power battery of the task;
Step S23 judges that operator demand's driving torque adds e times with the maximum allowable electric discharge torque of a times of active force battery(It can mark
It is fixed)The size of the sum of the secondary maximum allowable electric discharge torque of power battery, if operator demand's driving torque is not more than a times of active force electricity
The maximum allowable electric discharge torque in pond is plus the sum of e times secondary maximum allowable electric discharge torque of power battery, execution step S24, and program is to pair
Power battery management system sends and powers on control instruction;Otherwise, step S25 is performed;
Step S25 performs the reading Speed of Reaction Wheels of the task;
Whether step S26 judges Speed of Reaction Wheels no more than given tachometer value(It can demarcate), if so, perform step S27, program to
Secondary power battery management system sends and powers on control instruction, operator demand's driving torque is modified to a times of active force battery most
The big torque that allows to discharge is plus the sum of e times of secondary maximum allowable electric discharge torque of power battery;Otherwise, step S28 is performed;
Step S28 performs the calculating the maximum allowable driving torque of flywheel of the task;
Step S29 judges operator demand's driving torque with the maximum allowable electric discharge torque of a times of active force battery plus e times of secondary power
The maximum allowable electric discharge torque of battery is plus the maximum allowable size for discharging the sum of torque of flywheel, if operator demand's driving torque is not
The maximum allowable electric discharge torque of more than a times active force battery adds flywheel most plus the e times of secondary maximum allowable electric discharge torque of power battery
It is big to allow the sum of driving torque, then step S210 is performed, program sends to secondary power battery management system and powers on control instruction;It is no
Step S211 is then performed, program sends to secondary power battery management system and powers on control instruction, by operator demand's driving torque
It is modified to the maximum allowable electric discharge torque of a times of active force battery and adds flywheel plus the e times of secondary maximum allowable electric discharge torque of power battery
The sum of maximum allowable driving torque;
(4)3 step of subprogram is:
Step S31 performs the reading 2 state parameter of motor of the task;
Step S32 performs the calculating the maximum allowable output driving torque of motor 2 of the task;
Step S33 judges operator demand's driving torque and b times(It can demarcate)The maximum allowable output driving torque of motor 2 it is big
It is small, if operator demand's driving torque is not more than b times of 2 maximum allowable output torque of motor, perform step S34, program is to motor 2
Controller sends operator demand's driving torque control instruction, 0 control instruction of torque sent to 1 controller of motor, to clutch 1
Controller sends separates control instructions, sends separates control instructions to 2 controller of clutch;Otherwise, step S35 is performed;
Step S35 performs the reading Speed of Reaction Wheels of the task;
Whether step S36 judges Speed of Reaction Wheels no more than given tachometer value, if so, performing step S37, call subroutine 4;It is no
Then, step S38, call subroutine 5 are performed;
(5)4 step of subprogram is:
Step S41 performs the reading 1 state parameter of motor of the task;
Step S42 performs the calculating the maximum allowable output driving torque of motor 1 of the task;
Step S43 performs the reading 2 rotating speed of clutch being connected with planetary gears end of the task;
Step S44 judges operator demand's driving torque and b times(It can demarcate)The maximum allowable output driving torque of motor 2 adds c
Times(It can demarcate)The size of the sum of 1 maximum allowable output torque of motor, if operator demand's driving torque is not more than b times of motor 2
Maximum allowable output torque performs step S45, program is controlled to motor 2 plus the sum of c times of 1 maximum allowable output torque of motor
Device sends the maximum allowable output driving direct torque of b times of motor 2 and instructs, is maximum allowable to 1 controller of motor c times of motor 1 of transmission
Output torque, to 1 controller of motor send 2 tachometer value of clutch(The rotating speed being connected with planetary gears end)Size turns
Fast control instruction, to 1 controller of clutch send separates control instructions, to 2 controller of clutch send combine control instruction;It is no
Then, step S46 is performed, program sends the instruction of b times of motor 2 maximum allowable output driving direct torque, to electricity to 2 controller of motor
1 controller of machine sends operator demand's driving torque and the direct torque of the difference of the maximum allowable output driving torque of b times of motor 2 refers to
Make, send 2 tachometer value of clutch to 1 controller of motor(The rotating speed being connected with planetary gears end)The rotating speed control of size
Instruct, separates control instructions are sent to 1 controller of clutch, combine control instruction to the transmission of 2 controller of clutch;
(6)5 step of subprogram is:
Step S51 performs the reading Speed of Reaction Wheels of the task;
Step S52 performs the calculating the maximum allowable driving torque of flywheel of the task;
Step S53 performs the reading 1 rotating speed of clutch being connected with planetary gears end of the task;
Step S54 performs the calculating 1 speed governing rotating speed size of motor of the task;
Step S55 judges that operator demand's driving torque is released with b times of 2 maximum allowable output torque of motor plus flywheel is maximum allowable
The size of the sum of torque is put, if no more than b times 2 maximum allowable output torque of motor of operator demand's driving torque adds flywheel most
It is big to allow to discharge the sum of torque, step S56 is performed, program sends b times of 2 maximum allowable output driving of motor to 2 controller of motor
Direct torque instructs, 0 torque, speed governing rotating speed control instruction are sent to 1 controller of motor, sends combination to 1 controller of clutch
Control instruction, to 2 controller of clutch send combine control instruction;Otherwise, step S57 is performed;
Step S57 performs the reading 1 state parameter of motor of the task;
Step S58 performs the calculating 1 maximum allowable output torque of motor of the task;
Step S59 judges that operator demand's driving torque permits with b times of 2 maximum allowable output torque of motor plus c times of motor 1 is maximum
Perhaps output torque adds the size of the sum of the maximum allowable driving torque of flywheel, if no more than b times electricity of operator demand's driving torque
2 maximum allowable output torque of machine adds the sum of maximum allowable driving torque of flywheel plus c times of 1 maximum allowable output torque of motor,
Perform step S510, program sends the instruction of b times of motor 2 maximum allowable output driving direct torque, to motor to 2 controller of motor
1 controller sends c times of 1 maximum allowable output torque of motor, speed governing rotating speed control instruction, sends combination to 1 controller of clutch
Control instruction, to 2 controller of clutch send combine control instruction;Otherwise, step S511 is performed, program is to 2 controller of motor
Send the maximum allowable output driving direct torque instruction of b times of motor 2, send operator demand's driving torque to 1 controller of motor
Subtract direct torque instruction and speed governing that the maximum allowable output driving torque of b times of motor 2 subtracts the maximum allowable driving torque of flywheel
Rotating speed control instruction, to 1 controller of clutch send with reference to control instruction, to 2 controller of clutch send combine control instruction.