Motor control method of hydrogen fuel cell automobile

文档序号:1716226 发布日期:2019-12-17 浏览:13次 中文

阅读说明:本技术 一种氢燃料电池汽车的电机控制方法 (Motor control method of hydrogen fuel cell automobile ) 是由 程飞 郝义国 陈华明 于 2019-08-21 设计创作,主要内容包括:本发明提供了一种氢燃料电池汽车的电机控制方法,基于整车控制器VCU、电机控制器MCU、电机Motor和减速器实现;VCU与MCU之间通过CAN通讯网络进行信息交互,其中VCU为控制器件,MCU为执行器件,二者共同完成相应的控制过程,实现对Motor的控制;MCU接收VCU发送的控制信息,选择某种控制模式的对Motor进行相应控制,并根据VCU下发的控制指令控制Motor完成车辆行驶工作;控制信息包括带有生命呼吸帧和检验码的目标扭矩或者目标转速;某种控制模式包括扭矩控制模式和转速控制模式;同时MCU具有扭矩异常自动识别和转速异常自动识别功能。本发明提高了电机控制的安全性和可靠性,能自动识别某些异常情况,并进行合理处理,具有较强的实用性。(The invention provides a Motor control method of a hydrogen fuel cell automobile, which is realized based on a VCU (vehicle control unit), a MCU (micro control unit), a Motor and a reducer; the VCU and the MCU carry out information interaction through a CAN communication network, wherein the VCU is a control device, the MCU is an execution device, and the VCU and the MCU jointly complete a corresponding control process to realize the control of the Motor; the MCU receives control information sent by the VCU, selects a certain control mode to correspondingly control the Motor, and controls the Motor to finish the vehicle running work according to a control instruction issued by the VCU; the control information comprises a target torque or a target rotating speed with a life breathing frame and a check code; certain control modes include a torque control mode and a rotational speed control mode; meanwhile, the MCU has the functions of automatically identifying abnormal torque and abnormal rotating speed. The invention improves the safety and reliability of motor control, can automatically identify some abnormal conditions and reasonably process the abnormal conditions, and has stronger practicability.)

1. A Motor control method of a hydrogen fuel cell automobile is realized based on a vehicle control unit VCU, a Motor controller MCU, a Motor and a reducer; the method is characterized in that:

the MCU is connected with the Motor through a high-voltage wire harness;

the VCU and the MCU carry out information interaction through a CAN communication network, wherein the VCU is a control device, the MCU is an execution device, and the VCU and the MCU jointly complete a corresponding control process to realize the control of the Motor;

the MCU receives control information sent by the VCU, selects a certain control mode to correspondingly control the Motor, and controls the Motor to finish the vehicle running work according to a control instruction issued by the VCU; enabling the Motor to finish corresponding vehicle running work; the control information comprises a target torque or a target rotating speed with a life breathing frame and a check code; the certain control mode includes a torque control mode and a rotational speed control mode;

When the control mode selected by the MCU is a torque control mode, the MCU only responds to a target torque signal sent by the VCU, and the MCU controls the Motor to work according to the target torque signal; in the working process of the Motor, the MCU has a function of automatically identifying abnormal torque, and under the condition of some abnormal torque, the safety of a vehicle is improved;

When the control mode selected by the MCU is a rotating speed control mode, the MCU only responds to a target rotating speed signal sent by the VCU, and the MCU controls the Motor to work according to the target rotating speed signal; in the working process of the Motor, the MCU has a function of automatically identifying abnormal rotating speed, and under the condition of certain abnormal rotating speed, the safety of a vehicle is improved;

the MCU judges whether the life breathing frames are continuous or not; if so, the MCU executes target torque or target rotating speed control according to a command issued by the VCU of the vehicle controller; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; if the MCU is in the rotating speed control mode, unloading the rotating speed of the MCU to 0;

The MCU judges whether the check value sent by the VCU is equal to the check value calculated by the MCU; if so, the MCU executes target torque or target rotating speed control according to the instruction issued by the VCU; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; and if the MCU is in the rotating speed control mode, unloading the rotating speed of the MCU to 0.

2. The motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: the life respiration frame is a counter which counts in a circulating way between 0 and 15, the starting initial value of the life respiration frame is 0, 1 is added to the starting value every time a sending period is reached, and after the value is added to 15, the value is returned to 0 after 1 is added, and the counting is carried out in a circulating and reciprocating way; the transmission period is a certain preset time.

3. the motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: the MCU responds to the target torque of the VCU if and only if the torque control valid bit is valid, otherwise the MCU executes the target torque to be 0; when the VCU sends a target torque exceeding 10% of the maximum output torque of the MCU, the VCU is abnormal, and the MCU executes 0-torque output to improve personal safety and vehicle safety; when the VCU sends a target torque which exceeds the maximum output torque of the MCU but does not exceed 10 percent of the maximum output torque of the MCU, the MCU executes maximum torque output; when the VCU transmits the target torque and does not exceed the MCU maximum output torque, the MCU executes the torque to be the target torque transmitted by the VCU.

4. The motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: after entering a rotating speed control mode, if and only if the rotating speed control valid bit is valid, the MCU responds to a target rotating speed signal of the VCU, otherwise, the MCU executes the Motor rotating speed to be 0; when the VCU sends that the target rotating speed exceeds 10% of the maximum rotating speed of the MCU, the VCU is abnormal, and the MCU reduces the rotating speed to 0 so as to improve personal safety and vehicle driving safety; when the VCU sends that the target rotating speed exceeds the maximum output rotating speed of the MCU but does not exceed 10 percent of the maximum output rotating speed of the MCU, the MCU executes the maximum rotating speed output; and when the target rotating speed transmitted by the VCU does not exceed the maximum output rotating speed of the MCU, the MCU executes the target rotating speed transmitted by the VCU.

5. The motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: when the life breathing frame is discontinuous, the MCU judges that the VCU is abnormal and the execution torque is 0.

6. the motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: the check value is related to the life respiration frame, the target torque and the target rotating speed, and the life respiration frame is an input value of a check value algorithm and is used for ensuring real-time property and timely denaturation of data and reliability of information check.

7. the motor control method of a hydrogen fuel cell vehicle according to claim 6, characterized in that: the algorithm of the check value is a check value Byte6 XOR Byte5 XOR Byte4 XOR Byte3 XOR Byte2 XOR Byte1 XORByte0, XOR is an exclusive OR logic algorithm, the first seven bytes all participate in the operation, other control information including a life breathing frame except the check value in a frame of message all participate in the operation, and the integrity and the reliability of the control information are ensured.

8. the motor control method of a hydrogen fuel cell vehicle according to claim 1, characterized in that: only when the check value sent by the VCU is equal to the check value calculated by the MCU according to the same algorithm after the MCU receives the data of the life breathing frame, the signal sent by the VCU is valid, the MCU responds to the control instruction of the VCU, otherwise, the data is considered to be abnormal, the MCU does not respond to the control instruction of the VCU any more, and the vehicle is stopped in a safe mode.

Technical Field

The invention relates to the field of hydrogen fuel cell automobiles, in particular to a motor control method of a hydrogen fuel cell automobile.

Background

With the popularization of new energy vehicles, motors and controllers thereof are increasingly used in various hydrogen fuel cell vehicles, and safe and reliable control of the motors becomes an extremely important issue.

in the current state of the art, there are many technical solutions for motor control; however, the scheme of the invention has some defects, the invention provides some improvements on the original motor control strategy and processing method, and the motor control is safer and more reliable by applying some information processing methods.

disclosure of Invention

In order to solve the above problems, the present invention provides a motor control method for a hydrogen fuel cell vehicle, and a corresponding motor control system for a hydrogen fuel cell vehicle includes: the system comprises a vehicle control unit VCU, a Motor controller MCU, a Motor and a speed reducer;

the MCU is connected with the Motor through a high-voltage wire harness;

The VCU and the MCU carry out information interaction through a CAN communication network, wherein the VCU is a control device, the MCU is an execution device, and the VCU and the MCU jointly complete a corresponding control process to realize the control of the Motor;

The MCU receives control information sent by the VCU, selects a certain control mode to correspondingly control the Motor, and controls the Motor to finish the vehicle running work according to a control instruction issued by the VCU; enabling the Motor to finish corresponding vehicle running work; the control information comprises a target torque or a target rotating speed with a life breathing frame and a check code; the certain control mode includes a torque control mode and a rotational speed control mode;

When the control mode selected by the MCU is a torque control mode, the MCU only responds to a target torque signal sent by the VCU, and the MCU controls the Motor to work according to the target torque signal; in the working process of the Motor, the MCU has a function of automatically identifying abnormal torque, and under the condition of some abnormal torque, the safety of a vehicle is improved;

when the control mode selected by the MCU is a rotating speed control mode, the MCU only responds to a target rotating speed signal sent by the VCU, and the MCU controls the Motor to work according to the target rotating speed signal; in the working process of the Motor, the MCU has a function of automatically identifying abnormal rotating speed, and under the condition of certain abnormal rotating speed, the safety of a vehicle is improved;

the MCU judges whether the life breathing frames are continuous or not; if so, the MCU executes target torque or target rotating speed control according to a command issued by the VCU of the vehicle controller; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; if the MCU is in the rotating speed control mode, unloading the rotating speed of the MCU to 0;

The MCU judges whether the check value sent by the VCU is equal to the check value calculated by the MCU; if so, the MCU executes target torque or target rotating speed control according to the instruction issued by the VCU; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; and if the MCU is in the rotating speed control mode, unloading the rotating speed of the MCU to 0.

Further, the life respiration frame is a counter which counts in a cycle of 0-15, the starting initial value of the life respiration frame is 0, 1 is added to the starting value every time a sending period is reached, and after the value is added to 15, the value is returned to 0 after 1 is added, and the counting is carried out in a cyclic reciprocating way; the transmission period is a certain preset time.

further, the MCU will respond to the target torque of the VCU if and only if the torque control valid bit is valid, otherwise the MCU executes the target torque to 0; when the VCU sends a target torque exceeding 10% of the maximum output torque of the MCU, the VCU is abnormal, and the MCU executes 0-torque output to improve personal safety and vehicle safety; when the VCU sends a target torque which exceeds the maximum output torque of the MCU but does not exceed 10 percent of the maximum output torque of the MCU, the MCU executes maximum torque output; when the VCU transmits the target torque and does not exceed the MCU maximum output torque, the MCU executes the torque to be the target torque transmitted by the VCU.

further, after entering a rotating speed control mode, if and only if the rotating speed control valid bit is valid, the MCU responds to a target rotating speed signal of the VCU, otherwise, the MCU executes a Motor rotating speed of 0; when the target rotating speed transmitted by the VCU exceeds 10% of the maximum rotating speed of the MCU, the VCU is abnormal, and the MCU reduces the self rotating speed to 0 so as to improve personal safety and vehicle running safety; when the VCU sends that the target rotating speed exceeds the maximum output rotating speed of the MCU but does not exceed 10 percent of the maximum output rotating speed of the MCU, the MCU executes the maximum rotating speed output; and when the target rotating speed transmitted by the VCU does not exceed the maximum output rotating speed of the MCU, the MCU executes the target rotating speed transmitted by the VCU.

Further, when the life breathing frame is not continuous, the MCU judges that VCU is abnormal and the execution torque is 0.

furthermore, the check value is related to the life respiration frame, the target torque and the target rotating speed, and the life respiration frame is an input value of a check value algorithm and is used for ensuring real-time property and timely denaturation of data and ensuring reliability of information check.

further, the algorithm of the check value is a check value Byte6 XOR Byte5 XOR Byte4 XOR Byte3 XOR Byte2 XOR Byte1 XOR Byte0, XOR is an exclusive or logic algorithm, the first seven bytes all participate in the operation, other control information including the life breathing frame except that the check value does not participate in the operation in one frame of message all participate in the operation, and the integrity and reliability of the control information are guaranteed.

Furthermore, only when the check value sent by the VCU is equal to the check value calculated by the MCU according to the same algorithm after the MCU receives the data of the life breathing frame, the signal sent by the VCU is valid, the MCU can respond to the control instruction of the VCU, otherwise, the data is considered to be abnormal, the MCU does not respond to the control instruction of the VCU any more, and the vehicle is stopped in a safe mode.

The technical scheme provided by the invention has the beneficial effects that: the motor control efficiency and the safety and reliability of motor control are improved, and the motor control system has practicability.

Drawings

The invention will be further described with reference to the accompanying drawings and examples, in which:

Fig. 1 is a schematic block diagram illustrating a method for controlling a motor of a hydrogen fuel cell vehicle according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating operation of a torque control mode and a rotational speed control mode in an embodiment of the present invention;

FIG. 3 is a flow chart of the operation of a life breathing frame in an embodiment of the invention;

FIG. 4 is a flowchart illustrating the operation of the checksum verification in an embodiment of the present invention;

FIG. 5 is a flow chart of the automatic identification of a torque anomaly in an embodiment of the present invention;

Fig. 6 is a flowchart of automatic identification of rotational speed abnormality in the embodiment of the present invention.

Detailed Description

for a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

in order to solve the irrational problem of the existing control scheme and realize safer and more reliable Motor control, the technical scheme adopted by the invention is as follows:

Referring to fig. 1, fig. 2, fig. 3, fig. 4, fig. 5 and fig. 6, fig. 1 is a schematic diagram of an architecture of a motor control method of a hydrogen fuel cell vehicle, fig. 2 is a flowchart of a torque control mode and a rotational speed control mode according to an embodiment of the present invention, fig. 3 is a flowchart of a life breath frame according to an embodiment of the present invention, fig. 4 is a flowchart of check code checking according to an embodiment of the present invention, fig. 5 is a flowchart of torque abnormality automatic identification and rotational speed abnormality automatic identification according to an embodiment of the present invention, and fig. 6 is a flowchart of torque abnormality automatic identification and rotational speed abnormality automatic identification according to an embodiment of the present invention;

The Motor control method of the hydrogen fuel cell automobile is realized on the basis of parts of a whole vehicle controller VCU, a Motor controller MCU, a Motor, a reducer and the like for controlling and processing processes; the VCU and the MCU carry out information interaction through a CAN communication network, wherein the VCU is used as a control device, the MCU is used as an execution device, the VCU and the MCU jointly complete corresponding control and information processing, and finally reasonable control of a Motor is realized.

the VCU obtains a target torque or a target rotating speed of the MCU through information such as an accelerator opening signal, a brake opening signal and a finished automobile state, and sends the target torque or the target rotating speed with a life breathing frame and a check code to the MCU, and the MCU controls a Motor to finish vehicle running through certain information processing and information check according to an instruction of the VCU; the whole vehicle is a hydrogen fuel cell vehicle, and the state information of the whole vehicle comprises: the state of an auxiliary energy system in the whole vehicle, the state of an electric drive system, the state of a hydrogen fuel cell system and the state of a braking and steering system of the whole vehicle.

The control modes of the Motor are divided into two types: mode one, a torque control mode; and a second mode: and a rotation speed control mode. The two different modes are respectively applied to different scenes, such as normal driving, constant-speed cruising and anti-slope-sliding functions;

when the Motor of the hydrogen fuel cell automobile is controlled to be in a mode I, the MCU can enter a torque control mode and only responds to a torque signal but not to the rotating speed.

After entering a torque control mode, the MCU only responds to a target torque signal sent by the VCU, and if and only if a torque control valid bit is valid, the MCU responds to the target torque of the VCU, and according to the target torque signal, the MCU controls the Motor to work; in the working process of the Motor, the MCU has a function of automatically identifying abnormal torque, and under the condition of some abnormal torque, the safety of a vehicle is improved; otherwise the MCU execution torque is 0.

when the target torque transmitted by the VCU exceeds the maximum output torque of the MCU by 10%, the VCU is considered to be abnormal, and the MCU executes 0NM torque output to improve personal safety and vehicle safety;

When the VCU sends a target torque which exceeds the maximum output torque of the MCU but does not exceed 10 percent of the maximum output torque of the MCU, the MCU executes maximum torque output;

When the VCU transmits the target torque and does not exceed the MCU maximum output torque, the MCU executes the torque to be the target torque transmitted by the VCU.

when the Motor of the hydrogen fuel cell automobile is controlled to be in the second mode, the MCU can enter a rotating speed control mode and only responds to a rotating speed signal but not to torque.

after entering the speed control mode, the MCU will respond to the target speed of the VCU if and only if the speed control valid bit is valid, otherwise the MCU executes a speed of 0.

when the target rotating speed transmitted by the VCU exceeds the maximum rotating speed of the MCU by 10 percent, the VCU is considered to be abnormal, and the rotating speed is reduced to 0rpm by the MCU in a proper mode so as to improve the personal safety and the vehicle running safety;

When the VCU sends that the target rotating speed exceeds the maximum output rotating speed of the MCU but does not exceed 10 percent of the maximum output rotating speed of the MCU, the MCU executes the maximum rotating speed output;

And when the target rotating speed transmitted by the VCU does not exceed the maximum output rotating speed of the MCU, the MCU executes the target rotating speed transmitted by the VCU.

The VCU adds a life breathing frame in the sending control information, and the MCU receives the life breathing frame sent by the VCU;

the MCU judges whether the life breathing frames are continuous or not; if so, the MCU executes target torque or target rotating speed control according to a command issued by the VCU of the vehicle controller; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; if the speed control mode is in, the MCU unloads the speed to 0 in a proper mode;

when the life breathing frame is not continuous, the MCU judges that the VCU signal is abnormal, the VCU instruction is invalid, and the execution torque is 0 NM. A life respiration frame sending mode, wherein the life respiration frame is a counter which circularly counts between 0 and 15, the starting initial value of the life respiration frame is 0, the starting value is added with 1 when reaching a sending period and is added to 15, and then the value is returned to 0 when adding 1, and the counting is circularly and repeatedly carried out by taking the starting value as the reference; the transmission period is a certain preset time.

The VCU adds check code in the control information, MCU receives the check code sent by VCU;

the MCU judges whether the check value (namely the acceptance value) sent by the VCU is equal to the check value calculated by the MCU; the check value is a check code; if so, the MCU executes target torque or target rotating speed control according to the instruction issued by the VCU; if not, the command issued by the VCU is invalid, and whether the current mode is in a torque control mode or a rotating speed control mode is judged; if the torque control mode is in, unloading the torque of the MCU to 0; if the speed control mode is in, the MCU unloads the speed to 0 in a proper mode;

The check code information is associated with the life respiration frame, the torque control information, the rotating speed control information and the like. The algorithm of the check value of the check code is a check value, namely Byte6 XOR Byte5 XOR Byte4 XORbyte3 XOR Byte2 XOR Byte1 XORbyte0, the XOR is an XOR logic algorithm, the first seven bytes all participate in the operation, other information including the breathing frame in the frame message except the check code information does not participate in the operation, and the integrity and the reliability of the information are ensured.

only when the check code sent by the VCU is equal to the check code calculated by the MCU according to the same algorithm after the data is received by the MCU, the MCU considers that the signal of the VCU is effective, the MCU responds to the control instruction of the VCU, otherwise, the data is considered to be abnormal, the MCU does not respond to the control instruction of the VCU any more, and the vehicle is stopped in a safe mode.

The invention has the beneficial effects that: the motor control efficiency and the safety and reliability of motor control are improved, and the motor control system has practicability.

the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种氢燃料电池汽车的电机控制信息处理方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!