A motor control system and redundancy control method for EHA

By adopting the backup control method of dual DSP and FPGA in the EHA system, the simulation instructions continue to control the motor when communication is abnormal, solving the problem of control system disorder caused by communication interference, improving the stability and reliability of the aircraft, and meeting the needs of the aviation field. High performance requirements.

CN113794427BActive Publication Date: 2024-09-10SHAANXI AVIATION ELECTRICAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111178130.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2024-09-10
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

Due to communication interference or signal distortion in the EHA system's complex operating environment, the motor control system fails to receive correct instructions in time, causing chaos in the control system and affecting the operation of the aircraft's control surface and overall flight safety.

Method used

Adopting a redundant control method with dual DSP and FPGA as mutual backups, the motor is continued to be controlled by simulating the target speed command and the simulating motor rotation direction command when communication is abnormal until the communication returns to normal. The PWM pulse signal is calculated by combining the speed and current double closed-loop control method. , to ensure stable operation of the system.

Benefits of technology

It effectively reduces the risk of EHA control system disorder and shutdown caused by communication abnormalities and DSP failure, improves the stability and reliability of aircraft operation, and meets the high-performance requirements in the aviation field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113794427B
    Figure CN113794427B
Patent Text Reader

Abstract

The present invention proposes an EHA motor control system and a redundancy control method. According to the required speed motor operating characteristics and operating direction of the hydraulic actuator within an operating cycle, a simulated target speed instruction is used as a backup target speed instruction, and a simulated motor rotation direction instruction is used as a backup motor rotation direction instruction. When the motor control system detects that a communication abnormality occurs, the simulated target speed instruction and the simulated motor rotation direction instruction are selected to be executed, thereby improving the control accuracy and allowing the EHA system to continue to operate until the communication instruction returns to normal or the operating cycle ends. Moreover, the motor control system adopts a redundancy control method in which dual DSPs and FPGAs are backed up for each other, further improving the stability and reliability of aircraft operation, meeting the performance requirements of the EHA system such as high reliability, light weight, small size, and high dynamic response, and having important application significance in the fields of aviation and aerospace.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor control systems for EHA, and in particular to a permanent magnet synchronous motor control system and a redundancy control method for an electric hydrostatic actuator (EHA for short). Background Art

[0002] As future aircraft develop towards high maneuverability, hypersonic speed and high power, the actuation system is required to have higher safety, reliability and maintainability, and directly affects the overall performance of the aircraft, such as safety, reliability and combat injury survival rate. The use of electric-by-wire actuation systems instead of traditional hydraulic actuation systems not only saves fuel and reduces maintenance costs, but also has considerable improvements in reliability, survivability and maintainability. In order to further improve the operational reliability of the EHA system, both international and domestic research on EHA system redundancy control technology has been carried out. The patent "A dual-redundancy electric hydrostatic actuator" (patent number CN201520060404.X) proposes a new type of hydraulic cylinder based on the single-rod hydraulic symmetry principle, which is mainly composed of two sets of identical EHA bodies and a new type of tandem hydraulic cylinder, but it has not been improved in terms of the total weight and volume of the EHA system, which directly affects the overall performance of the aircraft. The implementation of redundancy control technology in the EHA motor control system can further improve the reliability of the EHA system.

[0003] At present, the conventional EHA system directly drives the metering pump through the motor speed regulation, controls the speed and direction of the metering pump, thereby controlling the liquid pressure and flow output by the system pump, and finally achieving the purpose of controlling the displacement output of the actuator. The EHA system obtains the motor given speed signal and the motor rotation direction signal by solving and controlling the actuator position information. Then, the motor rotation direction instruction and the motor target speed instruction are provided to the motor control system through serial communication. The motor control system controls the motor speed and output torque to reach the given value according to the communication serial port instruction.

[0004] However, during the operation of the EHA system, the motor control system must meet the requirements of wide speed regulation range and good rapidity, and must realize multiple target speed switching and motor rotation direction switching. Limited by the requirements of the onboard electrical interface, instructions can only be provided by communication. However, during the communication transmission process, it will inevitably be interfered by the outside world, or the transmitted signal will be distorted due to the internal communication system. When the interference or signal distortion reaches a certain level, errors will occur. At this time, if the motor control system does not receive the correct target speed instruction or motor rotation direction instruction in time, the EHA system will have a control system disorder, which will directly affect the speed and direction of the aircraft control surface, and even have serious consequences for the entire aircraft flight control. Summary of the invention

[0005] In order to enable the motor control system for EHA to fully meet the speed and torque requirements of the hydraulic actuator in the EHA system, and to address the problem that the communication system is subject to certain interference or signal distortion and errors in the complex operating environment on the aircraft, resulting in the motor control system failing to receive the correct target speed instruction or motor rotation direction instruction in time, thereby causing the EHA system to be disordered, the present invention proposes a motor control system for EHA and a redundancy control method, according to the required speed motor operating characteristics and operating direction of the hydraulic actuator in an operating cycle, a simulated target speed instruction is used as a backup target speed instruction, and a simulated motor rotation direction instruction is used as a backup motor rotation direction instruction; when the motor control system detects that the communication is abnormal, the simulated target speed instruction and the simulated motor rotation direction instruction are selected to be executed, thereby improving the control accuracy and allowing the EHA system to continue to operate until the communication instruction returns to normal or the operating cycle ends; moreover, the motor control system adopts a redundancy control method in which dual DSP and FPGA are backed up by each other, further improving the stability and reliability of aircraft operation, meeting the performance requirements of the EHA system such as high reliability, light weight, small size, and high dynamic response, and having important application significance in the fields of aviation and aerospace.

[0006] The technical solution of the present invention is:

[0007] An EHA motor control system is composed of a main power part, a control circuit part and a permanent magnet synchronous motor;

[0008] The main power part includes a voltage division sampling module, a three-phase bridge inverter module and a power amplification and driving module;

[0009] The voltage-dividing sampling module is used to detect the DC bus voltage value, and its output end is connected to the three-phase bridge inverter module; and the output end of the voltage-dividing sampling module is also connected in series with a bus current sensor to detect the DC bus current;

[0010] The three-phase bridge inverter module inverts the DC bus power supply into a three-phase variable frequency AC power to supply to the armature winding of the permanent magnet synchronous motor, and its output end is connected to the permanent magnet synchronous motor; and a current sensor is connected in series to the output end of the three-phase bridge inverter module to detect the current of the three-phase bridge inverter module to the power supply end of the permanent magnet synchronous motor;

[0011] The input end of the power amplification and driving module is connected to the output end of the CPU minimum system in the control circuit part, so as to process the input pulse and drive the current output of the three-phase bridge inverter module, and the output end thereof is connected to the three-phase bridge inverter module;

[0012] The control circuit part includes a CPU minimum system;

[0013] The CPU minimum system adopts dual DSP and FPGA configuration, and the master DSP and the slave DSP respectively exchange information with the FPGA;

[0014] The main DSP realizes the communication function with the position angle controller in the EHA system, obtains the target speed command and the motor rotation direction command; and the main DSP can also realize the simulation target speed command and the simulation motor rotation direction command setting and calculation, soft power-on control, NVSRAM reading and writing function and motor control function;

[0015] The slave DSP realizes the monitoring and protection of the motor control system and the backup motor control function;

[0016] The FPGA realizes PWM selection and output, hardware protection, DSP state monitoring and switching, and backup motor control functions.

[0017] Furthermore, the main power part also includes a power-on soft charging circuit, a supporting capacitor module, and a brake module;

[0018] The input end of the power-on soft charging circuit is connected to an external onboard DC power supply, which is used to limit the impact current at the moment of power-on to protect the supporting capacitor module, and the output end is connected to the supporting capacitor module;

[0019] The input end of the support capacitor module is connected to the output end of the power-on soft charging circuit to filter and store DC power, and its output end is connected to the brake module;

[0020] The input end of the brake module is connected to the output end of the support capacitor module, and is used to limit the DC bus voltage and realize the function of rapidly reducing the motor speed when the system operates in brake mode. Its output end is connected to the voltage divider sampling module.

[0021] Furthermore, the power-on soft charging circuit is composed of a buffer resistor and a relay connected in series and then connected in parallel with a thyristor.

[0022] Furthermore, the control circuit part also includes an analog quantity acquisition and conditioning module and a position detection and decoding circuit;

[0023] The input end of the analog quantity acquisition and conditioning module is connected to the voltage-dividing sampling module and the current sensor, and the output end thereof is connected to the CPU minimum system. By real-time acquisition of the output end of the voltage-dividing sampling module and the current sensor, the current signal of the output end of the three-phase bridge inverter module, the DC bus current, and the voltage signal are conditioned and input into the FPGA of the CPU minimum system;

[0024] The position detection and decoding circuit includes a resolver signal digital converter and a resolver excitation conditioning circuit, which realizes the conversion of the induction signal output by the secondary side of the resolver, converts the angular position and angular velocity position signals into digital logic level signals and inputs them into the CPU minimum system.

[0025] Furthermore, the control circuit part also includes a hardware protection module and a discrete quantity input and output circuit;

[0026] The input end of the hardware protection module is connected to the analog quantity acquisition and conditioning module, receives the output end current signal of the three-phase bridge inverter module, the DC bus current, and the voltage signal output by the analog quantity acquisition and conditioning module, realizes the comparison function with the fault protection threshold, outputs the corresponding discrete fault signal and provides it to the discrete quantity input and output circuit;

[0027] The discrete input and output circuit includes a discrete input circuit and a discrete output circuit. The input end of the discrete input circuit is used to receive a discrete fault signal provided by a hardware protection module, and its output end is connected to the CPU minimum system; the input end of the discrete output circuit is connected to the CPU minimum system, and its output end is respectively connected to a power-on soft charging module and a brake module.

[0028] Furthermore, the master DSP, the slave DSP and the FPGA respectively calculate the PWM pulse signal according to the target speed instruction by adopting the speed and current double closed-loop control method.

[0029] Further, the redundancy control method of the EHA motor control system is as follows:

[0030] In the ground maintenance state, when the main DSP receives the communication command, it reads the current operation state flag of the EHA system, the operation time of the state, the current simulated target speed and the simulated motor rotation direction from the NVSRAM, and compares them with the target speed command and the motor rotation direction command provided by the communication bus. If they are inconsistent, the information in the NVSRAM is corrected and updated;

[0031] Under normal working conditions, when the master DSP receives the communication command for the first time, it reads the current running state flag of the EHA system, the running time of the state, the current simulated target speed command and the simulated motor rotation direction command from the NVSRAM, and provides them to the FPGA, which then provides them to the slave DSP;

[0032] Under normal working conditions, when the main DSP determines that the communication is normal, the received target speed command and motor rotation direction command are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication is abnormal or the communication is interrupted, the simulated target speed command and the simulated motor rotation direction command are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication has returned to normal for several consecutive communication cycles, the received target speed command and motor rotation direction command are restored to be used as the given speed and direction of the motor control algorithm;

[0033] FPGA realizes real-time monitoring of the status of the main DSP and the slave DSP; under normal conditions, FPGA selects and outputs the PWM pulse signal provided by the main DSP to the power amplifier and drive module; after FPGA detects that the main DSP is abnormal and the slave DSP is normal, FPGA switches and selects to output the PWM pulse signal provided by the slave DSP; when FPGA detects that both the main DSP and the slave DSP are abnormal, FPGA selects to output the PWM pulse signal obtained according to its own backup motor control function.

[0034] Furthermore, the FPGA cooperates with the hardware protection module to implement the hardware fault protection function, and implements the system software fault protection function from the DSP. The FPGA integrates the hardware fault protection flag and the software fault protection flag to derive the system fault flag and provide it to the main DSP. When the main DSP detects a system fault or receives a shutdown command, it writes the current operating status flag of the EHA system, the operating time of this state, the current simulated target speed and motor rotation direction, and the fault status flag into the NVSRAM.

[0035] Furthermore, the main DSP implements the setting and calculation process of the simulated target speed command and the simulated motor rotation direction command as follows:

[0036] Setting target speed 1, target speed 2 and target speed 3 of the EHA system;

[0037] 1) According to the simulated target speed command and the simulated motor rotation direction command, when it is detected that the motor speed value reaches the target speed 2, the process 1 flag is set to be valid and the number of cycles of process 1 is recorded as 1;

[0038] 2) When it is detected that the process 1 flag is valid, the timing starts. When it is judged that the running time reaches 14s, the process 1 switching flag 1 is set to be valid and the process 1 switching flag 2 is set to be invalid. The initial speed is set to the target speed 2, the given speed is set to the target speed 3, the simulated target speed command decreases according to a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated;

[0039] 3) Start timing when it is detected that process 1 switching flag 1 is valid. If the running time reaches 45s and the process 1 flag is valid, then set process 1 switching flag 2 to be valid and process 1 switching flag 1 to be invalid, and add 1 to the number of cycles of process 1, and set the initial speed to target speed 3, set the given speed to target speed 2, simulate the target speed command to increase the initial speed according to a certain step length and reach the given speed within 8s, and update the simulated motor rotation direction command; at the same time, start timing when it is detected that process 1 switching flag 2 is valid. When the running time reaches 8s, further judge that if the number of cycles of process 1 is less than 3, then set process 1 flag to be valid, otherwise complete the following process:

[0040] a) The number of cycles of process 1 is reset to zero;

[0041] b) The number of cycles of process 2 is set to 1;

[0042] c) Process 1 flag is invalid;

[0043] d) Process 2 flag is valid;

[0044] e) Process 1 switch flag 2 is invalid;

[0045] 4) When it is detected that the process 2 flag is valid, the timing starts. When it is judged that the running time reaches 2s, the process 2 switching flag 1 is set to be valid and the process 2 switching flag 2 is set to be invalid, and the initial speed is set to the target speed 2, and the given speed is set to the target speed 1. The simulated target speed command decreases according to a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated;

[0046] 5) When it is detected that process 2 switching flag 1 is valid, start timing. When it is judged that the running time reaches 58s and the process 2 flag is valid, set process 2 switching flag 2 valid and process 2 switching flag 1 invalid, increase the number of process 2 cycles by 1, set the initial speed to target speed 1, set the given speed to target speed 2, simulate the target speed command to increase the initial speed according to a certain step length and reach the given speed within 8s, and update the simulated motor rotation direction command; at the same time, when it is detected that process 2 switching flag 2 is valid, start timing. When it is judged that the running time reaches 8s, further judge if the number of process 2 cycles is less than 6, then set process 2 flag valid, otherwise complete the following process:

[0047] a) The number of cycles in process 2 is reset to zero;

[0048] b) The number of cycles of process 3 is set to 1;

[0049] c) Process 2 flag is invalid;

[0050] d) Process 3 flag is valid;

[0051] e) Process 2 switch flag 2 is invalid;

[0052] 6) When it is detected that the process 3 flag is valid, the timing starts. When it is judged that the running time reaches 22s, the process 3 switching flag 1 is set to be valid and the process 3 switching flag 2 is set to be invalid, and the initial speed is set to the target speed 2, and the given speed is set to the target speed 3. The simulated target speed command decreases according to a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated;

[0053] 7) Start timing when it is detected that process 3 switch mark 1 is valid. When it is judged that the running time reaches 45s and process 3 mark is valid, set process 3 switch mark 2 to be valid and process 3 switch mark 1 to be invalid, add 1 to process 3 cycle number, and set the initial speed to target speed 3. When it is judged that the number of process 3 cycles is less than 4, set the given speed to target speed 2, simulate the target speed command to increase the initial speed according to a certain step length and reach the given speed within 8s, and update the simulated motor rotation direction command; otherwise, the given speed is still the target speed 3. At the same time, start timing when it is detected that process 3 switch mark 2 is valid. When it is judged that the running time reaches 8s, if it is further judged that the number of process 3 cycles is less than 4, set process 1 mark to be valid, otherwise complete the following process:

[0054] a) The number of cycles in process 3 is reset to zero;

[0055] b) Process 3 flag is invalid;

[0056] c) Process 3 switch flag 2 is invalid.

[0057] Beneficial Effects

[0058] The beneficial effect of the present invention is that: in view of the problem that the EHA system is disordered due to the fact that the motor control system fails to receive the correct target speed instruction or motor rotation direction instruction in time when the communication system is subject to certain interference or signal distortion and errors occur under the complex operating environment on the aircraft, a motor control system and a redundancy control method for EHA are proposed, which adopts a redundancy control method in which dual DSPs and FPGAs are backed up by each other. When the system is operating normally, the main DSP sets the target speed instruction and the motor rotation direction instruction according to the communication instruction, and calculates the PWM pulse signal by using the speed and current double closed-loop control method, which is provided to the power amplifier and drive module through the FPGA, and then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor; when the system communication is abnormal or interrupted, the main DSP uses the simulated target speed instruction and the simulated motor rotation direction instruction to realize the power supply control of the permanent magnet synchronous motor. When the FPGA detects that the main DSP fails and the slave DSP is in normal state, the slave DSP uses the simulated target speed instruction and the simulated motor rotation direction instruction to calculate the PWM pulse signal, which is provided to the power amplifier and drive module through the FPGA, and then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor. When the FPGA detects that both the master DSP and slave DSP fail, the FPGA uses the analog target speed command and the analog motor rotation direction command to calculate the PWM pulse signal and provide it to the power amplifier and drive module, which then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor. This redundancy control method can effectively reduce the risk of EHA control system disorder and shutdown due to abnormal communication and DSP failure in the motor control system, and improve the stability and reliability of the EHA system and even the entire aircraft operation. It is of great significance in the field of aviation and aerospace.

[0059] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0061] Figure 1 This is the principle block diagram of the permanent magnet synchronous motor control system for EHA.

[0062] Figure 2 It is the target speed instruction diagram of the motor control system of a certain type of aircraft EHA system in a single working cycle. DETAILED DESCRIPTION

[0063] The motor control system proposed by the present invention is mainly composed of a main power part, a control circuit part and a permanent magnet synchronous motor during operation.

[0064] Among them, the main power part mainly includes the following modules:

[0065] Power-on soft charging circuit: The input end of the module is connected to the external onboard 270V DC power supply, which is used to limit the impact current at the moment of power-on to protect the supporting capacitor module. Its output end is connected to the supporting capacitor module; specifically, the power-on soft charging circuit is composed of a buffer resistor and a relay connected in series and then in parallel with a thyristor.

[0066] Support capacitor module: The input end of this module is connected to the output end of the power-on soft charging circuit, and a large-capacity capacitor is used to filter and store DC power. Its output end is connected to the brake module.

[0067] Braking module: The input end of this module is connected to the output end of the supporting capacitor module. It is used to limit the DC bus voltage and realize the function of rapid reduction of motor speed when the system is running in braking mode. Its output end is connected to the voltage divider sampling module.

[0068] Voltage-dividing sampling module: The input end of this module is connected to the output end of the brake module for detecting the DC bus voltage value, and its output end is connected to the three-phase bridge inverter module. In addition, the bus current sensor is connected in series to the output end of the voltage-dividing sampling module to detect the DC bus current.

[0069] Three-phase bridge inverter module: The input end of this module is connected to the output end of the voltage-dividing sampling module. This module uses IGBT devices to invert the DC bus power supply into three-phase variable-frequency AC power to provide it to the armature winding of the permanent magnet synchronous motor, and its output end is connected to the permanent magnet synchronous motor. In addition, the output end of the three-phase bridge inverter module is connected in series with the A-phase and C-phase current sensors to detect the current at the power supply end of the three-phase bridge inverter module to the permanent magnet synchronous motor.

[0070] Power amplification and drive module: The input end of this module is connected to the output end of the CPU minimum system, which can process the input pulse and drive the IGBT device to control the current output of the three-phase bridge inverter module. Its output end is connected to the three-phase bridge inverter module.

[0071] The control circuit part of the motor control system mainly includes the following modules:

[0072] CPU minimum system: This module adopts dual DSP and FPGA configuration, and the main DSP and slave DSP exchange information with FPGA respectively. The main DSP realizes the communication function of the position angle controller in the EHA system using the communication bus, so as to obtain the communication target speed command and the motor rotation direction command. In addition, the main DSP also has the functions of simulating the target speed command, simulating the setting and calculation of the motor rotation direction command, soft power-on control, NVSRAM reading and writing functions and motor control functions. The slave DSP mainly realizes the monitoring and protection of the motor control system, as well as the backup motor control and other functions. The FPGA mainly realizes the functions of PWM selection and output, hardware protection, DSP status monitoring and switching, and backup motor control.

[0073] Analog quantity acquisition and conditioning module: The input end of this module is connected to the voltage-dividing sampling module, current sensor, etc., and its output end is connected to the CPU minimum system. By real-time acquisition of the voltage-dividing sampling module and the output ends of each sensor, the current signal of the output end of the three-phase bridge inverter module, the DC bus current and voltage signal are conditioned. On the one hand, they are input into the FPGA in the CPU minimum system, providing the input quantity required for closed-loop control and protection functions, and on the other hand, they are provided to the hardware protection module.

[0074] Hardware protection module: The input end of this module is connected to the analog quantity acquisition and conditioning module to realize the comparison function with the fault protection threshold, output the corresponding discrete fault signal and provide it to the discrete quantity input and output circuit.

[0075] Discrete input and output circuit: This module includes a discrete input circuit and a discrete output circuit. The input end of the discrete input circuit is used to receive the discrete fault signal provided by the hardware protection module, and its output end is connected to the CPU minimum system; the input end of the discrete output circuit is connected to the CPU minimum system, and its output end is respectively connected to the power-on soft charging module and the brake module.

[0076] Position detection and decoding circuit: This module includes a resolver signal digital converter and a resolver excitation conditioning circuit. This module converts the induction signal output from the secondary side of the resolver of the starter generator or permanent magnet synchronous motor, converts the angular position and angular velocity position signals into digital logic level signals and inputs them into the CPU minimum system.

[0077] The master DSP, slave DSP and FPGA respectively calculate the PWM pulse signal according to the set target speed command or simulated target speed command by adopting the speed and current double closed-loop control method.

[0078] In the ground maintenance state, after the system is started, the main DSP receives the communication command and reads the current operation state flag of the EHA system, the operation time of the state, the current simulated target speed and the simulated motor rotation direction from the NVSRAM, and compares them with the target speed command and the motor rotation direction command provided by the communication bus. If they are inconsistent, the information in the NVSRAM is corrected and updated. The NVSRAM stores the simulated target speed command map, which is consistent with the actual target speed command.

[0079] Under normal working conditions, when the system is started and the main DSP receives the communication command for the first time, the main DSP reads the current operating status flag of the EHA system, the operating time of this status, the current simulated target speed command and the simulated motor rotation direction command from the NVSRAM, and provides them to the FPGA, which then provides them to the slave DSP.

[0080] Under normal working conditions, when the main DSP determines that the communication is normal, the target speed instruction and the motor rotation direction instruction are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication is abnormal or the communication is interrupted, the simulated target speed instruction and the simulated motor rotation direction instruction are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication has returned to normal for five consecutive communication cycles, the target speed instruction and the motor rotation direction instruction are restored as the given speed and direction of the motor control algorithm.

[0081] FPGA realizes real-time monitoring of the status of the main DSP and the slave DSP. Under normal conditions, FPGA selects and outputs the PWM pulse signal provided by the main DSP to the power amplifier and drive module; when FPGA detects that the main DSP is abnormal and the slave DSP is normal, FPGA switches and selects to output the PWM pulse signal provided by the slave DSP; when FPGA detects that both the main DSP and the slave DSP are abnormal, FPGA selects to output the PWM pulse signal obtained according to its own backup motor control function.

[0082] FPGA cooperates with the hardware protection module to realize the hardware fault protection function, and realizes the system software fault protection function from DSP. FPGA integrates the hardware fault protection flag and the software fault protection flag to derive the system fault flag and provide it to the main DSP. When the main DSP detects a system fault or receives a shutdown command, it writes the current operating status flag of the EHA system, the operating time of this state, the current simulated target speed and motor rotation direction, and the fault status flag into NVSRAM.

[0083] According to the target speed command provided by the position angle controller in the EHA system, the motor control system controls the operation of the permanent magnet synchronous motor and reaches the target speed by inverting the 270V DC power supply on board and providing it to the permanent magnet synchronous motor. The system adopts a CPU minimum system with dual DSP and FPGA configuration, adopts a redundancy control method with the main DSP as the main and the slave DSP and FPGA as backup, and uses the speed and current dual closed-loop control method to calculate the PWM pulse signal, which is provided to the power amplifier and drive module through FPGA, and then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor.

[0084] Moreover, in the main DSP, the response to the communication target speed command and the motor rotation direction command is the main control command, and the response to the simulated target speed command and the simulated motor rotation direction command is used as the backup control command. When the system is operating normally, the main DSP calculates the PWM pulse signal according to the target speed command and the motor rotation direction command provided by the communication command, and adopts the speed and current dual closed-loop control method, and provides it to the power amplifier and drive module through FPGA, and then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor; when the system communication is abnormal or interrupted, the main DSP uses the simulated target speed command and the simulated motor rotation direction command to realize the power supply control of the permanent magnet synchronous motor until the communication status is restored. When the FPGA detects that the main DSP fails and the slave DSP is in normal state, the slave DSP uses the simulated target speed command and the simulated motor rotation direction command to calculate the PWM pulse signal, and provides it to the power amplifier and drive module through FPGA, and then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor. When FPGA detects that both the master DSP and slave DSP fail, FPGA uses analog target speed command and analog motor rotation direction command to calculate PWM pulse signal and provide it to the power amplifier and drive module, which then drives the three-phase bridge inverter module to supply power to the permanent magnet synchronous motor, so that the EHA system continues to operate.

[0085] The following is a description of the embodiments in conjunction with the accompanying drawings:

[0086] like Figure 1 As shown, the motor control system consists of a main power part, a control circuit part and a permanent magnet synchronous motor, wherein the main power circuit part receives the PWM pulse signal provided by the CPU minimum system through a power amplifier and drive module to output three-phase alternating current, which is provided to the permanent magnet synchronous motor to control it to reach the target speed.

[0087] like Figure 1As shown in the figure, after the main circuit of the motor control system is powered on, the CPU minimum system completes the initialization, and the FPGA continuously collects the DC bus current, DC bus voltage, motor phase current signal, motor rotor position signal and discrete fault signal. The FPGA performs the hardware protection function according to the discrete fault signal, and at the same time, provides the DC bus current, DC bus voltage, motor phase current signal and motor rotor position signal to the main DSP and the slave DSP respectively. When the main DSP determines that the bus voltage reaches the threshold set for charging completion, it outputs a control signal to the FPGA. After the FPGA processes the signal, it outputs the control signal to the power-on soft charging circuit through the discrete input and output circuit, controls the relay to disconnect and controls the thyristor to connect, and the main DSP software sets the soft power-on completion flag to complete the soft power-on function. At the same time, the slave DSP realizes the monitoring and software protection functions of the DC bus current, DC bus voltage and motor phase current signal. When a fault is detected, the PWM pulse output is blocked and the fault information is provided to the FPGA.

[0088] like Figure 1 , Figure 2 As shown in the figure, after the main DSP receives the communication target speed command provided by the position angle controller for the first time, the main DSP reads the current operation state flag of the EHA system, the operation time of the state, the current simulated target speed command and the simulated motor rotation direction command from the NVSRAM, and provides them to the FPGA, which is then provided to the slave DSP by the FPGA. The main DSP calculates the PWM pulse based on the target speed command, the motor rotor position signal, and the motor phase current signal using the speed and current dual closed-loop control algorithm, and the slave DSP and FPGA use the simulated target speed command and the speed and current dual closed-loop control algorithm to calculate the PWM pulse.

[0089] When the main DSP detects that the system communication is abnormal or interrupted, the main DSP uses the simulated target speed command and the simulated motor rotation direction command instead of the communication command to calculate the PWM pulse. When the main DSP detects that the system communication has returned to normal for five consecutive cycles, it still controls the permanent magnet synchronous motor according to the target speed command provided by the communication command.

[0090] FPGA continuously monitors the operating status of the main DSP and the slave DSP. Under normal conditions, FPGA defaults to outputting the PWM pulses provided by the main DSP; when FPGA detects that the main DSP fails and the slave DSP is normal, FPGA chooses to output the PWM pulses provided by the slave DSP. When FPGA detects that both the main DSP and the slave DSP fail, FPGA chooses to output the PWM pulses calculated by itself. The power amplifier and drive module receives the PWM pulses provided by FPGA, outputs the IGBT drive signal to the three-phase bridge inverter module, and controls the permanent magnet synchronous motor to reach the target speed. When FPGA reads the hardware protection module or detects a system failure from the DSP, FPGA blocks the PWM signal output and provides the fault information to the main DSP. The main DSP blocks the PWM signal output and writes the current operating status flag of the EHA system, the running time of this state, the current simulated target speed instruction and the simulated motor rotation direction instruction and the fault status flag into NVSRAM.

[0091] like Figure 2 As shown in the figure, it is assumed that the target speed 1 of the EHA system is 12100rpm, the target speed 2 is 12500rpm, and the target speed 3 is 1400rpm. After the main DSP receives the communication command for the first time, it calculates and updates according to the current running state flag of the EHA system provided by NVSRAM, the running time of the state, the current simulated target speed command and the simulated motor rotation direction command. The specific implementation method is as follows:

[0092] 8) Based on the simulated target speed command and the simulated motor rotation direction command, when the software detects that the motor speed value reaches the target speed 2, i.e. 12500rpm, it sets the process 1 flag to be valid and records the number of process 1 cycles as 1.

[0093] 9) When the process 1 flag is detected to be valid, the timing starts. When the running time reaches 14s, the process 1 switching flag 1 is set to be valid and the process 1 switching flag 2 is set to be invalid, and the initial speed is set to the target speed 2, that is, 12500rpm, and the given speed is set to the target speed 3, that is, 1400rpm. Then the simulated target speed command decreases with a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated.

[0094] 10) The software starts timing when it detects that process 1 switch flag 1 is valid. When it is determined that the running time reaches 45s and process 1 flag is valid, process 1 switch flag 2 is set to be valid and process 1 switch flag 1 is invalid. In addition, the number of process 1 cycles is increased by 1, and the initial speed is set to target speed 3, that is, 1400rpm, and the given speed is set to target speed 2, that is, 12500rpm. Then the simulated target speed command increases with the initial speed according to a certain step length and reaches the given speed within 8s, and the simulated motor rotation direction command is updated.

[0095] At the same time, the software starts timing when it detects that process 1 switching flag 2 is valid. When it is judged that the running time reaches 8s, and further judges that the number of process 1 cycles is less than 3, the process 1 flag is set to be valid. Otherwise, the following process is completed:

[0096] f) The number of cycles of process 1 is reset to zero;

[0097] g) The number of cycles of process 2 is set to 1;

[0098] h) Process 1 flag is invalid;

[0099] i) Process 2 flag is valid;

[0100] j) Process 1 switch flag 2 is invalid.

[0101] 11) The software starts timing when it detects that the process 2 flag is valid. When the running time reaches 2s, the process 2 switching flag 1 is set to be valid and the process 2 switching flag 2 is set to be invalid, and the initial speed is set to the target speed 2, that is, 12500rpm, and the given speed is set to the target speed 1, that is, 12100rpm. Then the simulated target speed command decreases at a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated.

[0102] 12) The software starts timing when it detects that process 2 switch flag 1 is valid. When it is judged that the running time reaches 58s and the process 2 flag is valid, the process 2 switch flag 2 is set to be valid and the process 2 switch flag 1 is invalid. The number of process 2 cycles is increased by 1, and the initial speed is set to the target speed 1, that is, 12100rpm, and the given speed is set to the target speed 2, that is, 12500rpm. The simulated target speed command increases with the initial speed according to a certain step size and reaches the given speed within 8s, and updates the simulated motor rotation direction command. At the same time, the software starts timing when it detects that process 2 switch flag 2 is valid. When it is judged that the running time reaches 8s, and further judged that the number of process 2 cycles is less than 6, the process 2 flag is set to be valid, otherwise, the following process is completed:

[0103] f) The number of cycles in process 2 is reset to zero;

[0104] g) The number of cycles of process 3 is set to 1;

[0105] h) Process 2 flag is invalid;

[0106] i) Process 3 flag is valid;

[0107] j) Process 2 switch flag 2 is invalid.

[0108] 13) The software starts timing when it detects that the process 3 flag is valid. When the running time reaches 22s, the process 3 switching flag 1 is set to be valid and the process 3 switching flag 2 is set to be invalid. The initial speed is set to the target speed 2, that is, 12500rpm, and the given speed is set to the target speed 3, that is, 1400rpm. The simulated target speed command decreases with a certain step length from the initial speed and reaches the given speed within 8s, and the simulated motor rotation direction command is updated.

[0109] 14) The software starts timing when it detects that process 3 switch flag 1 is valid. When it is determined that the running time reaches 45s and process 3 flag is valid, process 3 switch flag 2 is set to be valid and process 3 switch flag 1 is invalid. The number of process 3 cycles is increased by 1, and the initial speed is set to target speed 3, that is, 1400rpm. When the software determines that the number of process 3 cycles is less than 4, the given speed is set to target speed 2, that is, 12500rpm. The simulated target speed command increases with the initial speed according to a certain step length and reaches the given speed within 8s, and the simulated motor rotation direction command is updated. Otherwise, the given speed is still target speed 3, that is, 1400rpm.

[0110] At the same time, the software starts timing when it detects that process 3 switching flag 2 is valid. When the running time reaches 8s and the number of process 3 cycles is less than 4, the process 1 flag is set to be valid. Otherwise, the following functions are completed:

[0111] d) The number of cycles in process 3 is reset to zero;

[0112] e) Process 3 flag is invalid;

[0113] f) Process 3 switch flag 2 is invalid.

[0114] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and intent of the present invention.

Claims

1. A redundancy control method for an EHA motor control system, characterized in that: In the ground maintenance state, when the main DSP receives the communication command, it reads the current operation state flag of the EHA system, the operation time of the state, the current simulated target speed and the simulated motor rotation direction from the NVSRAM, and compares them with the target speed command and the motor rotation direction command provided by the communication bus. If they are inconsistent, the information in the NVSRAM is corrected and updated; in the normal working state, when the main DSP receives the communication command for the first time, the main DSP reads the current operation state flag of the EHA system, the operation time of the state, the current simulated target speed command and the simulated motor rotation direction command from the NVSRAM, and provides them to the FPGA, and then the FPGA provides them to the slave DSP; Under normal working conditions, when the main DSP determines that the communication is normal, the received target speed command and motor rotation direction command are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication is abnormal or the communication is interrupted, the simulated target speed command and the simulated motor rotation direction command are used as the given speed and direction of the motor control algorithm; when the main DSP determines that the communication has returned to normal for several consecutive communication cycles, the received target speed command and motor rotation direction command are restored as the given speed and direction of the motor control algorithm; FPGA realizes real-time monitoring of the status of the main DSP and the slave DSP; under normal conditions, FPGA selects and outputs the PWM pulse signal provided by the main DSP to the power amplifier and drive module; after FPGA detects that the main DSP is abnormal and the slave DSP is normal, FPGA switches and selects to output the PWM pulse signal provided by the slave DSP; when FPGA detects that both the main DSP and the slave DSP are abnormal, FPGA selects to output the PWM pulse signal obtained according to its own backup motor control function; Among them, the EHA motor control system is composed of a main power part, a control circuit part and a permanent magnet synchronous motor; the main power part includes a voltage division sampling module, a three-phase bridge inverter module and a power amplifier and drive module; the voltage division sampling module is used to detect the DC bus voltage value, and its output end is connected to the three-phase bridge inverter module; and the output end of the voltage division sampling module is also connected in series with a bus current sensor to detect the DC bus current; the three-phase bridge inverter module inverts the DC bus power supply into a three-phase variable frequency AC power and provides it to the armature winding of the permanent magnet synchronous motor, and its output end is connected to the permanent magnet synchronous motor; and the output end of the three-phase bridge inverter module is connected in series with a current sensor to detect the current of the three-phase bridge inverter module to the power supply end of the permanent magnet synchronous motor; the input end of the power amplifier and drive module is connected to the output end of the CPU minimum system in the control circuit part to detect the input pulse The impulse is processed and used to drive the current output of the three-phase bridge inverter module, and its output end is connected to the three-phase bridge inverter module; the control circuit part includes a CPU minimum system; the CPU minimum system adopts a dual DSP and FPGA configuration, and the main DSP and the slave DSP respectively exchange information with the FPGA; the main DSP realizes the communication function with the position angle controller in the EHA system, and obtains the target speed instruction and the motor rotation direction instruction; and the main DSP can also realize the simulation of the target speed instruction and the simulation of the motor rotation direction instruction setting and calculation, soft power-on control, NVSRAM reading and writing functions and motor control functions; the slave DSP realizes the monitoring and protection of the motor control system, as well as the backup motor control function; the FPGA realizes PWM selection and output, hardware protection, DSP state monitoring and switching and backup motor control functions; The main power part also includes a power-on soft charging circuit, a supporting capacitor module, and a braking module; the input end of the power-on soft charging circuit is connected to an onboard DC power supply provided externally, and is used to limit the impact current at the moment of power-on to protect the supporting capacitor module, and its output end is connected to the supporting capacitor module; the input end of the supporting capacitor module is connected to the output end of the power-on soft charging circuit to filter and store DC power, and its output end is connected to the braking module; the input end of the braking module is connected to the output end of the supporting capacitor module, and is used to limit the DC bus voltage when the system is running in braking mode, and realize the function of rapid reduction of the motor speed, and its output end is connected to the voltage divider sampling module; The control circuit part also includes an analog quantity acquisition and conditioning module and a position detection and decoding circuit; the input end of the analog quantity acquisition and conditioning module is connected to the voltage-dividing sampling module and the current sensor, and the output end thereof is connected to the CPU minimum system, and the current signal, the DC bus current, and the voltage signal at the output end of the three-phase bridge inverter module are conditioned and input into the FPGA in the CPU minimum system by real-time acquisition of the output end of the voltage-dividing sampling module and the current sensor; the position detection and decoding circuit includes a resolver signal digital converter and a resolver excitation conditioning circuit, which realize the conversion of the induction signal outputted from the secondary side of the resolver, and convert the angular position and angular velocity position signals into digital logic level signals and input into the CPU minimum system; The control circuit part also includes a hardware protection module and a discrete input and output circuit; the input end of the hardware protection module is connected to the analog quantity acquisition and conditioning module, receives the output end current signal of the three-phase bridge inverter module, the DC bus current, and the voltage signal output by the analog quantity acquisition and conditioning module, realizes the comparison function with the fault protection threshold, outputs the corresponding discrete fault signal and provides it to the discrete input and output circuit; the discrete input and output circuit includes a discrete input circuit and a discrete output circuit, the input end of the discrete input circuit is used to receive the discrete fault signal provided by the hardware protection module, and its output end is connected to the CPU minimum system; the input end of the discrete output circuit is connected to the CPU minimum system, and its output end is respectively connected to the power-on soft charging module and the brake module.

2. The redundancy control method of the motor control system for EHA according to claim 1, characterized in that: The power-on soft charging circuit is composed of a buffer resistor and a relay connected in series and then connected in parallel with a thyristor.

3. The redundancy control method of the motor control system for EHA according to claim 1, characterized in that: The master DSP, slave DSP and FPGA respectively calculate the PWM pulse signal according to the target speed command using the speed and current double closed-loop control method.

4. The redundancy control method of the motor control system for EHA according to claim 1, characterized in that: FPGA cooperates with the hardware protection module to realize the hardware fault protection function, and realizes the system software fault protection function from DSP. FPGA integrates the hardware fault protection flag and the software fault protection flag to derive the system fault flag and provide it to the main DSP. When the main DSP detects a system fault or receives a shutdown command, it writes the current operating status flag of the EHA system, the operating time of this state, the current simulated target speed and motor rotation direction, and the fault status flag into NVSRAM.

5. The redundancy control method of the motor control system for EHA according to claim 1, characterized in that: The main DSP implements the setting and calculation process of the simulated target speed command and the simulated motor rotation direction command as follows: set the target speed 1, target speed 2 and target speed 3 of the EHA system; 1) according to the simulated target speed command and the simulated motor rotation direction command, when it is detected that the motor speed value reaches the target speed 2, set the process 1 flag to be valid and record the number of process 1 cycles as 1; 2) Start timing when it is detected that the process 1 flag is valid. When it is judged that the running time reaches 14s, set the process 1 switching flag 1 to be valid and set the process 1 switching flag 2 to be invalid, set the initial speed to the target speed 2, set the given speed to the target speed 3, simulate the target speed instruction to decrease according to a certain step length with the initial speed and reach the given speed within 8s, and update the simulated motor rotation direction instruction; 3) Start timing when it is detected that the process 1 switching flag 1 is valid. If it is judged that the running time reaches 45s and the process 1 flag is valid, set the process 1 switching flag 2 to be valid and the process 1 switching flag 1 to be invalid, and the number of process 1 cycles is increased by 1, and the initial speed is set to the target speed 3, set the given speed to the target speed 2, simulate the target speed instruction to increase according to a certain step length with the initial speed and reach the given speed within 8s, and update the simulated motor rotation direction instruction; At the same time, start timing when it is detected that the process 1 switching flag 2 is valid. When the running time reaches 8s, it is further judged that if the number of process 1 cycles is less than 3, then set the process 1 flag to be valid, otherwise complete the following process: a) The number of process 1 cycles is cleared; b) The number of process 2 cycles is set to 1; c) Process 1 flag is invalid; d) Process 2 flag is valid; e) Process 1 switch flag 2 is invalid; 4) When it is detected that process 2 flag is valid, start timing, and when it is judged that the running time reaches 2s, set process 2 switch flag 1 to be valid and process 2 switch flag 2 to be invalid, and set the initial speed to target speed 2, set the given speed to target speed 1, simulate the target speed command to decrease according to a certain step length from the initial speed and reach the given speed within 8s, and update the simulated motor rotation direction command; 5) Start timing when it is detected that process 2 switch flag 1 is valid. When it is judged that the running time reaches 58s and the process 2 flag is valid, set process 2 switch flag 2 valid and process 2 switch flag 1 invalid, increase the number of process 2 cycles by 1, set the initial speed to target speed 1, set the given speed to target speed 2, simulate the target speed command to increase the initial speed according to a certain step length and reach the given speed within 8s, and update the simulated motor rotation direction command; at the same time, start timing when it is detected that process 2 switch flag 2 is valid. When it is judged that the running time reaches 8s, further judge if the number of process 2 cycles is less than 6, then set process 2 flag valid, otherwise complete the following process: a) process 2 cycle number is cleared; b) process 3 cycle number is set to 1; c) process 2 flag is invalid; d) Process 3 flag is valid; e) Process 2 switch flag 2 is invalid; 6) Start timing when it is detected that process 3 flag is valid, and when it is judged that the running time reaches 22s, set process 3 switch flag 1 to be valid and process 3 switch flag 2 to be invalid, and set the initial speed to target speed 2, set the given speed to target speed 3, simulate the target speed command to decrease according to a certain step length from the initial speed and reach the given speed within 8s, and update the simulated motor rotation direction command; 7) Start timing when it is detected that process 3 switch flag 1 is valid, and when it is judged that the running time reaches 45s and process 3 flag is valid, set process 3 switch flag 2 to be valid and The process 3 switching flag 1 is invalid, the process 3 cycle number is increased by 1, and the initial speed is set to the target speed 3. When it is judged that the process 3 cycle number is less than 4, the given speed is set to the target speed 2, the simulated target speed instruction increases with the initial speed according to a certain step length and reaches the given speed within 8s, and the simulated motor rotation direction instruction is updated; otherwise the given speed is still the target speed 3, and the timing starts when it is detected that the process 3 switching flag 2 is valid. When it is judged that the running time reaches 8s, if it is further judged that the process 3 cycle number is less than 4, the process 1 flag is set to be valid, otherwise the following process is completed: a) The process 3 cycle number is cleared; b) Process 3 flag is invalid; c) Process 3 switch flag 2 is invalid.

6. The redundancy control method of the motor control system for EHA according to claim 5, characterized in that: The target speed 1 of the EHA system is 12100 rpm, the target speed 2 is 12500 rpm, and the target speed 3 is 1400 rpm.