Fault handling system for motor control circuit
By designing a fault handling system in the motor control circuit and using the fault signal and the safe state switching control signal to generate the IGBT bridge arm control signal, the problem of the main control chip failure of the motor controller under high-voltage and high-current conditions is solved, and the safety of the entire vehicle is improved. performance and reliability, and reduces manufacturing costs.
Patent Information
- Application Number
- CN202211295763.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-10-21
AI Technical Summary
The motor controller may cause the main control chip to fail under high current, high voltage, high power and high temperature conditions, causing the vehicle to be unable to enter a safe state and endangering driving safety.
Design a fault handling system for motor control circuits. Through the main control chip, power chip, motor speed signal acquisition module, control logic module, drive circuit module and IGBT power conversion module, the IGBT bridge is generated according to the fault signal and safety status switching control signal. The arm control signal controls the on and off of the IGBT bridge arm circuit to ensure that the motor control circuit enters a safe state.
The reliability of the entire vehicle is improved, driving safety is ensured, and the hardware structure of the fault handling system is simple, manufacturing costs are reduced, and it has strong scalability.
Smart Images

Figure CN115817379B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular to a fault processing system for a motor control circuit. Background Art
[0002] With the rapid development of my country's new energy vehicle industry, the safety of electric vehicles has gradually attracted more attention. The International Organization for Standardization (ISO) has also studied and formulated the ISO 26262 functional safety international standard specifically for automotive electronic and electrical systems, aiming to improve user driving safety.
[0003] However, the problem with the related technology is that the motor controller, as a power conversion control component, works under high current, high voltage, high power and high temperature conditions for a long time, and the main control chip of the motor controller may fail, causing the vehicle to be unable to enter a safe state in time, thereby endangering the safety of the entire vehicle, the driver, the passengers on the vehicle and the people outside the vehicle. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the purpose of the present invention is to propose a fault handling system for a motor control circuit, which can generate an IGBT bridge arm control signal according to a fault signal and a safe state switching control signal, and control the conduction and disconnection of the IGBT bridge arm circuit according to the IGBT bridge arm control signal to control the motor control circuit to enter a corresponding safe state. In this way, the reliability of the whole vehicle is improved, driving safety is ensured, and the hardware structure of the fault handling system is simple, which is conducive to reducing manufacturing costs and has strong scalability.
[0005] In order to achieve the above-mentioned purpose, the fault handling system of the motor control circuit proposed in the embodiment of the present invention includes: a main control chip, a power supply chip, a motor speed signal acquisition module, a control logic module, a drive circuit module and an IGBT power conversion module, wherein the power supply chip is connected to the main control chip, and the power supply chip is used to monitor the fault state of the main control chip and output a fault signal; the motor speed signal acquisition module is connected to the IGBT power conversion module, and the motor speed signal acquisition module is used to acquire the motor drive phase voltage signal and generate a safe state switching control signal according to the motor drive phase voltage signal; the control logic module is respectively connected to the power supply chip and the motor speed signal acquisition module. The chip is connected to the motor speed signal acquisition module, and the control logic module is used to obtain the fault signal and the safety state switching control signal, and generate an IGBT bridge arm control signal according to the fault signal and the safety state switching control signal; the drive circuit module is connected to the control logic module, and the drive circuit module is used to isolate and amplify the IGBT bridge arm control signal; the IGBT power conversion module is connected to the drive circuit module, and the IGBT power conversion module is used to control the conduction and disconnection of the IGBT bridge arm circuit according to the isolated and amplified IGBT bridge arm control signal, so as to control the motor control circuit to enter the corresponding safety state.
[0006] According to the fault processing system of the motor control circuit of the embodiment of the present invention, the fault state of the main control chip is monitored by the power chip, and a fault signal is output. At the same time, the motor drive phase voltage signal is obtained by the motor speed signal acquisition module, and a safe state switching control signal is generated according to the motor drive phase voltage signal. Then, the fault signal and the safe state switching control signal are obtained by the control logic module, and an IGBT bridge arm control signal is generated according to the fault signal and the safe state switching control signal. Then, the IGBT bridge arm control signal is isolated and amplified by the drive circuit module, and the IGBT bridge arm control signal is controlled by the IGBT power conversion module according to the IGBT bridge arm control signal. The conduction and disconnection of the IGBT bridge arm circuit is controlled to control the motor control circuit to enter the corresponding safe state. Thus, the IGBT bridge arm control signal is generated according to the fault signal and the safe state switching control signal, and the conduction and disconnection of the IGBT bridge arm circuit are controlled according to the IGBT bridge arm control signal to control the motor control circuit to enter the corresponding safe state. Thus, the reliability of the whole vehicle is improved, driving safety is ensured, and the hardware structure of the fault processing system is simple, which is conducive to reducing manufacturing costs and has strong scalability.
[0007] In addition, the fault handling system of the motor control circuit according to the above embodiment of the present invention may also have the following additional technical features:
[0008] According to one embodiment of the present invention, the motor speed signal acquisition module includes: a motor speed signal acquisition unit, a high-pass filtering unit, a rectifier unit and a safe state switching control signal generating unit, wherein the motor speed signal acquisition unit is used to acquire the motor speed signal according to the motor drive phase voltage signal; the high-pass filtering unit is connected to the motor speed signal acquisition unit, and the high-pass filtering unit is used to filter the motor speed signal; the rectifier unit is connected to the high-pass filtering unit, and the rectifier unit is used to rectify the filtered motor speed signal to convert the filtered motor speed signal into a voltage signal corresponding to the motor speed; the safe state switching control signal generating unit is connected to the rectifier unit, and the safe state switching control signal generating unit is used to generate the safe state switching control signal according to the voltage signal corresponding to the motor speed.
[0009] According to one embodiment of the present invention, the motor drive phase voltage signal includes a motor drive U-phase voltage signal and a motor drive V-phase voltage signal, wherein the motor speed signal acquisition unit includes: a first resistor, one end of the first resistor is connected to the motor drive U-phase voltage output terminal of the IGBT power conversion module, and the other end of the first resistor is connected to the in-phase end of the first comparator; a second resistor, one end of the second resistor is connected to the other end of the first resistor, and the other end of the second resistor is grounded; a first zener diode, the anode of the first zener diode is grounded, and the cathode of the first zener diode is connected to the in-phase end of the first comparator; a third A resistor, one end of the third resistor is connected to the motor drive V-phase voltage output terminal of the IGBT power conversion module, and the other end of the third resistor is connected to the inverting end of the first comparator; a fourth resistor, one end of the fourth resistor is connected to the other end of the third resistor, and the other end of the fourth resistor is grounded; a second Zener diode, an anode of the second Zener diode is grounded, and a cathode of the second Zener diode is connected to the inverting end of the first comparator; the first comparator is used to obtain a comparison result between the motor drive U-phase voltage signal and the motor drive V-phase voltage signal, and generate a motor speed signal corresponding to the motor speed according to the comparison result.
[0010] According to one embodiment of the present invention, the motor speed signal is a square wave signal, and the motor speed signal acquisition unit is specifically used to: if the motor drive U-phase voltage signal is greater than the motor drive V-phase voltage signal, the first comparator outputs a high-level signal; if the motor drive U-phase voltage signal is less than the motor drive V-phase voltage signal, the first comparator outputs a low-level signal.
[0011] According to an embodiment of the present invention, the motor speed signal acquisition unit further includes: a fifth resistor, one end of the fifth resistor is connected to the output end of the first comparator, and the other end of the fifth resistor is connected to the power supply end.
[0012] According to one embodiment of the present invention, the safety state switching control signal generating unit includes: a second comparator, the non-phase end of the second comparator is connected to the output end of the rectifier unit, the inverting end of the second comparator is connected to the preset reference voltage end, the second comparator is used to obtain the comparison result between the voltage signal corresponding to the motor speed and the preset reference voltage, and generate the safety state switching control signal according to the comparison result.
[0013] According to one embodiment of the present invention, the safety state switching control signal generating unit is specifically used to: if the voltage signal corresponding to the motor speed is greater than the preset reference voltage, the second comparator outputs a high level signal; if the voltage signal corresponding to the motor speed is less than the preset reference voltage, the second comparator outputs a low level signal.
[0014] According to one embodiment of the present invention, the IGBT bridge arm control signal includes an IGBT upper bridge arm control signal and an IGBT lower bridge arm control signal, wherein the control logic module includes: a multi-channel AND gate circuit, wherein the first input end of the first AND gate circuit to the sixth AND gate circuit in the multi-channel AND gate circuit is connected to the fault signal output end of the power supply chip, the second input end of the first AND gate circuit to the sixth AND gate circuit in the multi-channel AND gate circuit is connected to the PWM control signal output end of the main control chip, and the output end of the first AND gate circuit to the third AND gate circuit in the multi-channel AND gate circuit is used to output The IGBT upper bridge arm control signal; an inversion circuit, the input end of the inversion circuit is connected to the fault signal output end of the power chip, and the output end of the inversion circuit is connected to the first input end of the seventh AND gate circuit in the multi-way AND gate circuit; a multi-way OR gate circuit, the first input end of the multi-way OR gate circuit is respectively connected to the output ends of the fourth AND gate circuit to the sixth AND gate circuit in the multi-way AND gate circuit, and the second input end of the multi-way OR gate circuit is connected to the output end of the seventh AND gate circuit in the multi-way AND gate circuit, and the multi-way OR gate circuit is used to output the IGBT lower bridge arm control signal.
[0015] According to one embodiment of the present invention, the control logic module is specifically used for: if the fault signal is a low level signal, and the safety state switching control signal is a high level signal, then the first AND gate circuit to the third AND gate circuit in the multi-way AND gate circuit outputs a low level signal, and the multi-way OR gate circuit outputs a high level signal; if the fault signal is a low level signal, and the safety state switching control signal is a low level signal, then the first AND gate circuit to the third AND gate circuit in the multi-way AND gate circuit outputs a low level signal, and the multi-way OR gate circuit outputs a low level signal.
[0016] According to one embodiment of the present invention, the IGBT power conversion module is specifically used for: if the IGBT upper bridge arm control signal is a low-level signal, and the IGBT lower bridge arm control signal is a high-level signal, then the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be turned on, so as to control the motor control circuit to enter an active short-circuit state; if the IGBT upper bridge arm control signal is a low-level signal, and the IGBT lower bridge arm control signal is a low-level signal, then the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be disconnected, so as to control the motor control circuit to enter a bridge arm full-shutdown state.
[0017] 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
[0018] Figure 1 is a block diagram of a fault processing system for a motor control circuit according to an embodiment of the present invention;
[0019] Figure 2 is a block diagram of a motor speed signal acquisition module according to an embodiment of the present invention;
[0020] Figure 3 is an electrical schematic diagram of a motor speed signal acquisition module according to an embodiment of the present invention;
[0021] Figure 4 is a waveform diagram of an input signal and an output signal of a first comparator according to an embodiment of the present invention;
[0022] Figure 5 is an electrical schematic diagram of a logic control module according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0024] It should be understood that when the main control chip fails, the motor controller of the prior art is often unable to handle the fault in time to control the vehicle to enter a corresponding safe state, thereby ensuring the safety of the vehicle and the driver and passengers. To this end, the embodiment of the present invention proposes a fault handling system for the motor control circuit, which can generate an IGBT bridge arm control signal according to the fault signal and the safe state switching control signal, and control the conduction and disconnection of the IGBT bridge arm circuit according to the IGBT bridge arm control signal to control the motor control circuit to enter a corresponding safe state. In this way, the reliability of the vehicle is improved, driving safety is ensured, and the hardware structure of the fault handling system is simple, which is conducive to reducing manufacturing costs and has strong scalability.
[0025] The fault handling system of the motor control circuit according to the embodiment of the present invention will be described below with reference to the accompanying drawings.
[0026] Figure 1 4 is a block diagram of a fault processing system for a motor control circuit according to an embodiment of the present invention.
[0027] like Figure 1 As shown, the fault processing system 100 of the motor control circuit includes: a main control chip 1, a power chip 2, a motor speed signal acquisition module 3, a control logic module 4, a drive circuit module 5 and an IGBT power conversion module 6.
[0028] Among them, the power chip 2 is connected to the main control chip 1, and the power chip 2 is used to monitor the fault state of the main control chip 1 and output a fault signal; the motor speed signal acquisition module 3 is connected to the IGBT power conversion module 6, and the motor speed signal acquisition module 3 is used to obtain the motor drive phase voltage signal, and generate a safe state switching control signal according to the motor drive phase voltage signal; the control logic module 4 is connected to the power chip 2 and the motor speed signal acquisition module 3 respectively, and the control logic module 4 is used to obtain the fault signal and the safe state switching control signal, and generate the IGBT bridge arm control signal according to the fault signal and the safe state switching control signal; the drive circuit module 5 is connected to the control logic module 4, and the drive circuit module 5 is used to isolate and amplify the IGBT bridge arm control signal; the IGBT power conversion module 6 is connected to the drive circuit module 5, and the IGBT power conversion module 6 is used to control the conduction and disconnection of the IGBT bridge arm circuit according to the isolated and amplified IGBT bridge arm control signal, so as to control the motor control circuit to enter the corresponding safe state.
[0029] Specifically, in some embodiments of the present invention, the power chip 2 can be used to generate the low-voltage power supply required for the normal operation of the motor controller, and the power chip 2 has a built-in watchdog program. Based on the program, the power chip 2 can monitor the main control chip 1 to monitor whether the program flow of the main control chip 1 is normal and respond to the fault state of the main control chip, and when the power chip 2 detects that the program flow of the main control chip 1 is abnormal or the main control chip fails, it outputs a fault signal, wherein the fault signal is used to indicate that the main control chip 1 has failed, and at this time the motor control circuit cannot be put into a safe state through the control signal sent by the main control chip 1.
[0030] The main control chip 1 can be used to implement most of the control functions of the motor controller, such as torque output control, fault management control, input and output signal processing control, power on and off management control, energy management control and other functions. Among them, when the motor control circuit is in a normal state, the main control chip 1 can output the IGBT bridge arm control signal according to the motor required torque instruction and the preset control algorithm, so that the IGBT power conversion module 6 can work according to the IGBT bridge arm control signal, thereby realizing the output of the motor required torque through the motor control circuit.
[0031] The driving circuit module 5 can be used to isolate and amplify the IGBT bridge arm control signal output by the main control chip 1, thereby converting the low-voltage control signal output by the main control chip 1 into a high-voltage driving signal of the motor controller, so as to use the driving signal to drive the IGBT power conversion module to work normally.
[0032] The IGBT power conversion module 6 can be used to receive the isolated and amplified IGBT bridge arm control signal, and control the on and off of the IGBT bridge arm circuit according to the isolated and amplified IGBT bridge arm control signal, thereby achieving the output of the motor required torque through the motor control circuit.
[0033] It should be understood that in some embodiments of the present invention, the power chip 2 can output a fault signal to the control logic module 4 after monitoring that the main control chip 1 has a fault. At the same time, the motor speed signal acquisition module 3 can convert the acquired motor drive phase voltage signal into a safe state switching control signal, and output the safe state switching control signal to the control logic module 4. Then, the control logic module 4 can generate an IGBT bridge arm control signal according to the fault signal and the safe state switching control signal, and output the IGBT bridge arm control signal to the drive circuit module 5. The drive circuit module 5 can isolate and amplify the IGBT bridge arm control signal, and output the isolated and amplified IGBT bridge arm control signal to the IGBT power conversion module 6. Then, the IGBT power conversion module 6 can control the conduction and disconnection of the IGBT bridge arm circuit according to the isolated and amplified GBT bridge arm control signal to control the motor control circuit to enter the corresponding safe state.
[0034] Specifically, in an embodiment of the present invention, the motor speed signal acquisition module 3 and the control logic 4 are core components of the fault handling system 100 of the motor control circuit. The motor speed signal acquisition module 3 and the control logic 4 of the embodiment of the present invention are described below in conjunction with the accompanying drawings.
[0035] Furthermore, if Figure 2 As shown, according to one embodiment of the present invention, the motor speed signal acquisition module 3 includes: a motor speed signal acquisition unit 31 , a high-pass filter unit 32 , a rectifier unit 33 and a safety state switching control signal generation unit 34 .
[0036] Among them, the motor speed signal acquisition unit 31 is used to obtain the motor speed signal according to the motor drive phase voltage signal; the high-pass filter unit 32 is connected to the motor speed signal acquisition unit 31, and the high-pass filter unit 32 is used to filter the motor speed signal; the rectifier unit 33 is connected to the high-pass filter unit 32, and the rectifier unit 33 is used to rectify the filtered motor speed signal to convert the filtered motor speed signal into a voltage signal corresponding to the motor speed; the safety state switching control signal generation unit 34 is connected to the rectifier unit 33, and the safety state switching control signal generation unit 34 is used to generate a safety state switching control signal according to the voltage signal corresponding to the motor speed.
[0037] Specifically, in some embodiments of the present invention, the motor speed signal acquisition unit 31 can acquire the motor speed signal corresponding to the motor drive phase voltage signal according to the motor drive phase voltage signal output by the IGBT power conversion module 6, and output the motor speed signal to the high-pass filter unit 32. Then, the high-pass filter unit 32 can filter the motor speed signal and output the filtered motor speed signal to the rectifier unit 33. Then, the rectifier unit 33 can rectify the filtered motor speed signal to convert the filtered motor speed signal into a voltage signal corresponding to the motor speed, and output the voltage signal corresponding to the motor speed to the safe state switching control signal generation unit 34, so as to facilitate the safe state switching control signal generation unit 34 to generate a safe state switching control signal according to the voltage signal corresponding to the motor speed.
[0038] Further, according to one embodiment of the present invention, the motor drive phase voltage signal includes a motor drive U-phase voltage signal and a motor drive V-phase voltage signal, wherein the motor speed signal acquisition unit 31 includes: a first resistor R1, a second resistor R2, a first Zener diode D1, a third resistor R3, a fourth resistor R4, a second Zener diode D2 and a first comparator P1.
[0039] Specifically, Figure 3 As shown, one end of the first resistor R1 is connected to the motor drive U-phase voltage output end of the IGBT power conversion module 6, and the other end of the first resistor R1 is connected to the in-phase end of the first comparator P1; one end of the second resistor R2 is connected to the other end of the first resistor R1, the other end of the second resistor R2 is grounded, the anode of the first zener diode D1 is grounded, the cathode of the first zener diode D1 is connected to the in-phase end of the first comparator, one end of the third resistor R3 is connected to the motor drive V-phase voltage output end of the IGBT power conversion module 6, and the other end of the third resistor R3 is connected to the inverting end of the first comparator P1; one end of the fourth resistor R4 is connected to the other end of the third resistor R3, and the other end of the fourth resistor R4 is grounded; the anode of the second zener diode D2 is grounded, and the cathode of the second zener diode D2 is connected to the inverting end of the first comparator P1; the first comparator D1 is used to obtain the comparison result of the motor drive U-phase voltage signal and the motor drive V-phase voltage signal, and output a motor speed signal corresponding to the motor speed according to the comparison result.
[0040] Specifically, combined with Figure 3 It can be seen that the motor drive U-phase voltage of the IGBT power conversion module 6 can be input to the in-phase terminal of the first comparator P1 via the voltage divider circuit composed of the first resistor R1 and the second resistor R2. At this time, the in-phase terminal voltage of the first comparator P1 is defined as , then we have the following expression:
[0041] ;
[0042] in, is the motor drive U phase voltage of the IGBT power conversion module, is the non-inverting terminal voltage of the first comparator, R1 is the resistance value of the first resistor, and R2 is the resistance value of the second resistor.
[0043] It should be noted that in actual engineering, the resistance of the first resistor R1 is much larger than that of the second resistor R2. Therefore, in some embodiments of the present invention, the first resistor R1 can be implemented by connecting multiple resistors in series. In addition, in order to avoid the overvoltage at the common-phase end of the first comparator P1 caused by the voltage fluctuation of the U-phase of the motor drive, thereby damaging the first comparator P1, in some embodiments of the present invention, a first zener diode D1 can be connected in parallel between the common-phase end of the first comparator P1 and the ground, so as to form a clamping circuit of the common-phase end of the first comparator P1 through the first zener diode D1, so that the input voltage of the common-phase end of the first comparator P1 does not exceed the voltage regulation value of the first zener diode D1, thereby preventing the voltage signal at the common-phase end of the first comparator P1 from exceeding the preset voltage value, thereby achieving the purpose of protecting the first comparator P1.
[0044] Optionally, the type of the first voltage stabilizing diode D1 may be calibrated accordingly according to the working parameters of the first comparator P1 .
[0045] Similarly, combined with the attached Figure 3 It can be seen that the motor drive V-phase voltage of the IGBT power conversion module 6 can be input to the reverse end of the first comparator P1 via the voltage divider circuit composed of the third resistor R3 and the fourth resistor R4. At this time, the reverse end voltage of the first comparator P1 is defined as , then we have the following expression:
[0046] ;
[0047] in, is the motor drive V phase voltage of the IGBT power conversion module, is the inverting terminal voltage of the first comparator, R3 is the resistance value of the third resistor, and R4 is the resistance value of the fourth resistor.
[0048] It can be understood that the voltage divider circuit composed of the third resistor R3 and the fourth resistor R4 can convert the motor drive V-phase voltage (high voltage signal) into a low voltage signal suitable for the first comparator P1 to work normally, so that the first comparator P1 obtains the comparison result of the motor drive U-phase voltage signal and the motor drive V-phase voltage signal, and outputs a motor speed signal corresponding to the motor speed according to the comparison result.
[0049] At the same time, in order to avoid overvoltage at the inverting end of the first comparator P1 caused by fluctuations in the V-phase voltage of the motor drive, in some embodiments of the present invention, a second voltage regulator diode D2 can be connected in parallel between the inverting end of the first comparator P1 and the ground, so as to form a clamping circuit at the inverting end of the first comparator P1 through the second voltage regulator diode D2, so that the input voltage at the reverse end of the first comparator P1 does not exceed the voltage regulation value of the second voltage regulator diode D2, thereby preventing the voltage signal at the inverting end of the first comparator P1 from exceeding the preset voltage value, thereby achieving the purpose of protecting the first comparator P1.
[0050] Further, according to one embodiment of the present invention, the motor speed signal is a square wave signal, and the motor speed signal acquisition unit 31 is specifically used for: if the motor drive U-phase voltage signal is greater than the motor drive V-phase voltage signal, the first comparator P1 outputs a high-level signal; if the motor drive U-phase voltage signal is less than the motor drive V-phase voltage signal, the first comparator P1 outputs a low-level signal.
[0051] Specifically, in some embodiments of the present invention, the control object of the motor control circuit is a permanent magnet synchronous motor for illustration. When the permanent magnet synchronous motor is in working state, the three-phase current in the internal stator winding of the permanent magnet synchronous motor presents a sinusoidal waveform, and the frequency of the sinusoidal waveform is linearly related to the motor speed. Among them, the current waveforms of the motor drive U-phase voltage signal and the motor drive V-phase voltage signal have a phase difference of 120°, and the phase voltages of the corresponding motor drive U-phase voltage signal and the motor drive V-phase voltage signal also present a sinusoidal waveform change with a phase difference of 120°. At this time, the motor drive U-phase voltage signal and the motor drive V-phase voltage signal can be output to the same phase end and the reverse end of the first comparator P1 respectively, so that the first comparator D1 generates a motor speed signal corresponding to the motor speed according to the comparison result of the motor drive U-phase voltage signal and the motor drive V-phase voltage signal.
[0052] It should be understood that in the embodiments of the present invention, Figure 4 As shown, the motor speed signal P outputted from the output end of the first comparator P1 is a square wave signal with a duty cycle of 50%, and the frequency of the square wave signal is fixedly related to the motor speed. The higher the motor speed, the greater the square wave frequency. When the motor drive U-phase voltage signal is greater than the motor drive V-phase voltage signal, the motor speed signal P outputted by the first comparator P1 is a high-level signal. When the motor drive U-phase voltage signal is less than the motor drive V-phase voltage signal, the motor speed signal P outputted by the first comparator P1 is a low-level signal.
[0053] Further, according to an embodiment of the present invention, the motor speed signal acquisition unit 31 further includes: a fifth resistor R5.
[0054] Among them, Figure 3As shown, one end of the fifth resistor R5 is connected to the output end of the first comparator P1, and the other end of the fifth resistor R5 is connected to the power supply end VCC.
[0055] It should be understood that, in some embodiments of the present invention, a fifth resistor R5 is provided between the first comparator P1 and the power supply terminal VCC. The fifth resistor R5 is a pull-up resistor for ensuring the stability of the level signal output by the first comparator P1.
[0056] Further, according to an embodiment of the present invention, the safety state switching control signal generating unit 34 includes: a second comparator P2.
[0057] Specifically, the in-phase end of the second comparator P2 is connected to the output end of the rectifier unit 33, and the inverting end of the second comparator P2 is connected to the preset reference voltage end. The second comparator P2 is used to obtain the comparison result between the voltage signal corresponding to the motor speed and the preset reference voltage, and output the safety state switching control signal according to the comparison result.
[0058] It should be understood that in the above embodiment of the present invention, the second comparator P2 can compare the voltage signal Vo corresponding to the motor speed with the preset reference voltage Vr, and output the safety state switching control signal according to the comparison result.
[0059] Further, according to one embodiment of the present invention, the safety state switching control signal generating unit 34 is specifically used to: if the voltage signal corresponding to the motor speed is greater than the preset reference voltage, the second comparator P2 outputs a high level signal; if the voltage signal corresponding to the motor speed is less than the preset reference voltage, the second comparator P2 outputs a low level signal.
[0060] Specifically, in some embodiments of the present invention, when the voltage signal Vo corresponding to the motor speed is greater than the preset reference voltage Vr, the second comparator P2 outputs a high-level signal; when the voltage signal Vo corresponding to the motor speed is less than the preset reference voltage Vr, the second comparator P2 outputs a low-level signal.
[0061] Optionally, the preset reference voltage Vr can be set accordingly according to the voltage value corresponding to the motor speed threshold. Figure 3As shown, a fourth voltage zener diode D4 is further provided between the reverse end of the second comparator P2 and the ground end GND, and a ninth resistor R9 is further provided between the output end of the second comparator P2 and the power supply end VCC, wherein the fourth voltage zener diode D4 constitutes a clamping circuit of the reverse end of the second comparator P2, so that the reverse end input voltage of the second comparator P2 does not exceed the voltage stabilization value of the fourth voltage zener diode D4, preventing the voltage signal at the reverse end of the second comparator P2 from exceeding the preset voltage value, thereby achieving the purpose of protecting the second comparator P1, and at the same time, the ninth resistor R9 is used as a pull-up resistor to ensure the stability of the level signal of the output of the second comparator P2.
[0062] The following is combined with Figure 3 The generation process of the safety state switching control signal is described accordingly with the specific embodiment of the present invention.
[0063] Specifically, the motor drive U-phase voltage signal (high voltage signal) of the IGBT power conversion module 6 can be converted into a low voltage signal suitable for the first comparator P1 to work through a voltage divider circuit composed of a first resistor R1 and a second resistor R2, and input to the same direction end of the first comparator P1. At the same time, the motor drive V-phase voltage signal of the IGBT power conversion module 6 can be converted into a low voltage signal suitable for the first comparator P1 to work through a voltage divider circuit composed of a third resistor R3 and a fourth resistor R4, and input to the reverse end of the first comparator P1. Furthermore, the first comparator P1 can compare the motor drive U-phase voltage signal and the motor drive V-phase voltage signal, and output a motor speed signal (square wave signal) corresponding to the motor speed according to the comparison result. The motor speed signal (square wave signal) is filtered out by a high-pass filter composed of a first capacitor C1 and a sixth resistor R6. The high-pass filter unit 32 is used to filter out signals below a certain frequency and improve the accuracy of the motor speed signal. Then, the motor speed signal after filtering by the high-pass filter unit 32 can be converted into a voltage signal Vo corresponding to the motor speed via a rectifier unit 33 composed of a third voltage stabilizing diode D3, a second capacitor C2 and a seventh resistor R7, and output to the in-phase end of the second comparator P2. At the same time, the preset reference voltage Vr is filtered out via a low-pass filter unit composed of an eighth resistor R8 and a third capacitor C3, thereby filtering out signals above a certain frequency and improving the accuracy of the preset reference voltage Vr. In addition, the voltage signal Vo after the low-pass filter unit can be output to the inverting end of the second comparator P2. Furthermore, the second comparator P2 can compare the voltage signal VO corresponding to the motor speed with the preset reference voltage Vr, and output a safe state switching control signal according to the comparison result.
[0064] Therefore, according to the fault handling system of the motor control circuit of the embodiment of the present invention, the motor drive phase voltage can be converted into a safe state switching control signal through the motor speed signal acquisition module 3, so that the control logic module 4 outputs the IGBT bridge arm control signal according to the safe state switching control signal and the fault signal, thereby making the motor control circuit enter the corresponding safe state.
[0065] Further, according to an embodiment of the present invention, the IGBT bridge arm control signal includes an IGBT upper bridge arm control signal and an IGBT lower bridge arm control signal, and the control logic module 4 includes: a multi-channel AND gate circuit, a negation circuit and a multi-channel OR gate circuit.
[0066] Among them, Figure 5 As shown, the first input end of the multi-channel AND gate circuit is connected to the fault signal output end of the power chip 2, the second input ends of the first to sixth AND gate circuits in the multi-channel AND gate circuit are connected to the PWM control signal output end of the main control chip 1, and the output ends of the first to third AND gate circuits in the multi-channel AND gate circuit are used to output the IGBT upper bridge arm control signal; the input end of the negation circuit is connected to the fault signal output end of the power chip 2, and the output end of the negation circuit is connected to the first input end of the seventh AND gate circuit in the multi-channel AND gate circuit; the first input end of the multi-channel OR gate circuit is respectively connected to the output ends of the fourth to sixth AND gate circuits in the multi-channel AND gate circuit, and the second input end of the OR gate circuit is connected to the output end of the seventh AND gate circuit in the multi-channel AND gate circuit, and the multi-channel OR gate circuit is used to output the IGBT lower bridge arm control signal.
[0067] Specifically, in some embodiments of the present invention, Figure 5As shown, the power chip 2 outputs a fault signal g to the first input terminal of the first AND gate circuit to the sixth AND gate circuit in the multi-channel AND gate circuit and the input terminal of the inversion circuit, and the main control chip 1 can output a PWM control signal (UH, VH, WH, UL, VL, WL) to the second input terminal of the first AND gate circuit to the sixth AND gate circuit in the multi-channel AND gate circuit, wherein the first AND gate circuit to the third AND gate circuit can output the IGBT upper bridge arm control signal (5-U, 5-V, 5-W) according to the fault signal g and the PWM control signal (UH, VH, WH), and similarly, the fourth AND gate circuit to the sixth AND gate circuit can obtain the AND gate signal (L1, L2, L3) according to the fault signal g and the PWM control signal (UL, VL, WL), and then the fourth AND gate circuit to the sixth AND gate circuit outputs AND gate signals (L1, L2, L3) are transmitted to the first input end of the multi-channel OR gate circuit. In addition, the power chip 2 outputs a fault signal g to the input end of the inversion circuit, and outputs the inversion signal to the first input end of the seventh AND gate circuit in the multi-channel AND gate circuit through the output end of the inversion circuit. The motor speed signal acquisition module 3 outputs a safety state switching control signal to the second input end of the seventh AND gate circuit in the multi-channel AND gate circuit. The seventh AND gate circuit can obtain the AND gate signal (S1) according to the inversion signal and the safety state switching control signal, and output the AND gate signal (S1) to the second input end of the multi-channel OR gate circuit. Furthermore, the multi-channel OR gate circuit can output the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) according to the AND gate signal (L1, L2, L3) and the AND gate signal (S1).
[0068] Further, according to one embodiment of the present invention, the control logic module 4 is specifically used for: if the fault signal is a low level signal, and the safety state switching control signal is a high level signal, then the first AND gate circuit to the third AND gate circuit in the multiple AND gate circuits output low level signals, and the multiple OR gate circuits output high level signals; if the fault signal is a low level signal, and the safety state switching control signal is a low level signal, then the first AND gate circuit to the third AND gate circuit in the multiple AND gate circuits output low level signals, and the multiple OR gate circuits output low level signals.
[0069] Specifically, in some embodiments of the present invention, Figure 5As shown, if the fault signal g is a low level signal and the safety state switching control signal is a high level signal, the IGBT upper bridge arm control signal (5-U, 5-V, 5-W) output by the first AND gate circuit to the third AND gate circuit in the multi-channel AND gate circuit is a low level signal, and the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) output by the multi-channel OR gate circuit is a high level signal, and, if the fault signal g is a low level signal and the safety state switching control signal is a low level signal, the IGBT upper bridge arm control signal (5-U, 5-V, 5-W) output by the first AND gate circuit to the third AND gate circuit in the multi-channel AND gate circuit is a low level signal, and the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) output by the multi-channel OR gate circuit is a low level signal.
[0070] Further, according to one embodiment of the present invention, the IGBT power conversion module 6 is specifically used for: if the IGBT upper bridge arm control signal is a low-level signal, and the IGBT lower bridge arm control signal is a high-level signal, then the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be turned on, so as to control the motor control circuit to enter an active short-circuit state; if the IGBT upper bridge arm control signal is a low-level signal, and the IGBT lower bridge arm control signal is a low-level signal, then the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be disconnected, so as to control the motor control circuit to enter a bridge arm full-shutdown state.
[0071] Specifically, in some embodiments of the present invention, Figure 5As shown, when the fault signal g output by the power chip 2 is a low-level signal, the IGBT upper bridge arm control signals (5-U, 5-V, 5-W) output by the first to third AND gate circuits in the multi-channel AND gate circuits are low-level signals. At the same time, the AND gate signals (L1, L2, L3) are always low-level. At this time, the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) output by the logic control module 5 depends on the AND gate signal (S1). When the motor speed is higher than the speed threshold, the safety state switching control signal c is a high-level signal, the AND gate signal (S1) is a high-level signal, and the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) output by the multi-channel OR gate circuit is a high-level signal. The power conversion module 6 controls the IGBT upper bridge arm to be disconnected and the IGBT lower bridge arm to be turned on according to the IGBT upper bridge arm control signal and the IGBT lower bridge arm control signal, so as to control the motor control circuit to enter the active short circuit state. When the motor speed is lower than the speed threshold, the safety state switching control signal c is a low level signal, the AND gate signal (S1) is a low level signal, and the IGBT lower bridge arm control signal (6-U, 6-V, 6-W) output by the multi-channel OR gate circuit is a low level signal. The IGBT power conversion module 6 controls the IGBT upper bridge arm to be disconnected and the IGBT lower bridge arm to be turned off according to the IGBT upper bridge arm control signal and the IGBT lower bridge arm control signal, so as to control the motor control circuit to enter the bridge arm full shutdown state.
[0072] Therefore, in the above-mentioned embodiment of the present invention, when the main control chip 1 fails and the motor is in high-speed rotation, the motor control circuit is controlled to enter an active short-circuit state, thereby preventing the motor from generating high back electromotive force; and, when the main control chip 1 fails and the motor is in low-speed rotation, the motor control circuit is controlled to enter a bridge arm full-shutdown state, thereby preventing the motor from generating a large braking torque, further improving the reliability of the entire vehicle and ensuring driving safety.
[0073] In summary, according to the fault processing system of the motor control circuit of the embodiment of the present invention, the fault state of the main control chip is monitored by the power chip, and a fault signal is output. At the same time, the motor drive phase voltage signal is obtained by the motor speed signal acquisition module, and a safe state switching control signal is generated according to the motor drive phase voltage signal. Then, the fault signal and the safe state switching control signal are obtained by the control logic module, and an IGBT bridge arm control signal is generated according to the fault signal and the safe state switching control signal. Then, the IGBT bridge arm control signal is isolated and amplified by the drive circuit module, and the IGBT bridge arm control signal is controlled by the IGBT power conversion module according to the IGBT bridge arm control signal. The conduction and disconnection of the IGBT bridge arm circuit is controlled to control the motor control circuit to enter the corresponding safe state. Thus, the IGBT bridge arm control signal is generated according to the fault signal and the safe state switching control signal, and the conduction and disconnection of the IGBT bridge arm circuit are controlled according to the IGBT bridge arm control signal to control the motor control circuit to enter the corresponding safe state. Thus, the reliability of the whole vehicle is improved, driving safety is ensured, and the hardware structure of the fault processing system is simple, which is conducive to reducing manufacturing costs and has strong scalability. In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0074] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0075] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0076] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0077] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0078] 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 of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A fault handling system for a motor control circuit, It is characterized in that The system includes: a main control chip, a power chip, a motor speed signal acquisition module, a control logic module, a drive circuit module and an IGBT power conversion module, wherein: The power chip is connected to the main control chip, and the power chip is used to monitor the fault state of the main control chip and output a fault signal; The motor speed signal acquisition module is connected to the IGBT power conversion module, and the motor speed signal acquisition module is used to acquire the motor drive phase voltage signal and generate a safe state switching control signal according to the motor drive phase voltage signal; The control logic module is connected to the power chip and the motor speed signal acquisition module respectively, and the control logic module is used to obtain the fault signal and the safety state switching control signal, and generate an IGBT bridge arm control signal according to the fault signal and the safety state switching control signal; The drive circuit module is connected to the control logic module, and the drive circuit module is used to isolate and amplify the IGBT bridge arm control signal; The IGBT power conversion module is connected to the drive circuit module, and the IGBT power conversion module is used to control the on and off of the IGBT bridge arm circuit according to the isolated and amplified IGBT bridge arm control signal, so as to control the motor control circuit to enter a corresponding safety state; The IGBT bridge arm control signal includes an IGBT upper bridge arm control signal and an IGBT lower bridge arm control signal, wherein the control logic module includes: A multi-channel AND gate circuit, wherein the first input end of the first to sixth AND gate circuits in the multi-channel AND gate circuit is connected to the fault signal output end of the power chip, the second input end of the first to sixth AND gate circuits in the multi-channel AND gate circuit is connected to the PWM control signal output end of the main control chip, and the output end of the first to third AND gate circuits in the multi-channel AND gate circuit is used to output the IGBT upper bridge arm control signal; A negation circuit, wherein an input end of the negation circuit is connected to a fault signal output end of the power chip, and an output end of the negation circuit is connected to a first input end of a seventh AND gate circuit in the multi-AND gate circuit; A multi-way OR gate circuit, wherein the first input end of the multi-way OR gate circuit is respectively connected to the output ends of the fourth to sixth AND gate circuits in the multi-way AND gate circuit, the second input end of the multi-way OR gate circuit is connected to the output end of the seventh AND gate circuit in the multi-way AND gate circuit, and the multi-way OR gate circuit is used to output the IGBT lower bridge arm control signal.
2. The fault handling system for the motor control circuit according to claim 1, It is characterized in that The motor speed signal acquisition module includes: a motor speed signal acquisition unit, a high-pass filtering unit, a rectification unit and a safety state switching control signal generation unit, wherein: The motor speed signal acquisition unit is used to acquire the motor speed signal according to the motor driving phase voltage signal; The high-pass filter unit is connected to the motor speed signal acquisition unit, and the high-pass filter unit is used to filter the motor speed signal; The rectifier unit and the high-pass filter unit, the rectifier unit is used to rectify the filtered motor speed signal to convert the filtered motor speed signal into a voltage signal corresponding to the motor speed; The safety state switching control signal generating unit is connected to the rectifier unit, and the safety state switching control signal generating unit is used to generate the safety state switching control signal according to a voltage signal corresponding to the motor speed.
3. The fault handling system for the motor control circuit according to claim 2, It is characterized in that The motor drive phase voltage signal includes a motor drive U phase voltage signal and a motor drive V phase voltage signal, wherein the motor speed signal acquisition unit includes: A first resistor, one end of the first resistor is connected to the motor drive U-phase voltage output terminal of the IGBT power conversion module, and the other end of the first resistor is connected to the non-inverting terminal of the first comparator; a second resistor, one end of the second resistor being connected to the other end of the first resistor, and the other end of the second resistor being grounded; a first zener diode, wherein an anode of the first zener diode is grounded, and a cathode of the first zener diode is connected to a non-inverting terminal of the first comparator; A third resistor, one end of the third resistor is connected to the motor drive V-phase voltage output terminal of the IGBT power conversion module, and the other end of the third resistor is connected to the inverting end of the first comparator; a fourth resistor, one end of the fourth resistor being connected to the other end of the third resistor, and the other end of the fourth resistor being grounded; a second voltage stabilizing diode, wherein an anode of the second voltage stabilizing diode is grounded, and a cathode of the second voltage stabilizing diode is connected to an inverting terminal of the first comparator; The first comparator is used to obtain a comparison result between the motor drive U-phase voltage signal and the motor drive V-phase voltage signal, and generate a motor speed signal corresponding to the motor speed according to the comparison result.
4. The fault handling system for the motor control circuit according to claim 3, It is characterized in that The motor speed signal is a square wave signal, and the motor speed signal acquisition unit is specifically used for: If the motor driving U-phase voltage signal is greater than the motor driving V-phase voltage signal, the first comparator outputs a high level signal; If the motor driving U-phase voltage signal is less than the motor driving V-phase voltage signal, the first comparator outputs a low level signal.
5. The fault handling system for the motor control circuit according to claim 3, It is characterized in that The motor speed signal acquisition unit further includes: A fifth resistor, one end of the fifth resistor is connected to the output end of the first comparator, and the other end of the fifth resistor is connected to the power supply end.
6. The fault handling system for the motor control circuit according to claim 3, It is characterized in that The safety state switching control signal generating unit comprises: A second comparator, wherein the non-inverting end of the second comparator is connected to the output end of the rectifier unit, the inverting end of the second comparator is connected to the preset reference voltage end, and the second comparator is used to obtain a comparison result between the voltage signal corresponding to the motor speed and the preset reference voltage, and generate the safety state switching control signal according to the comparison result.
7. The fault handling system for the motor control circuit according to claim 6, It is characterized in that The safety state switching control signal generating unit is specifically used for: If the voltage signal corresponding to the motor speed is greater than the preset reference voltage, the second comparator outputs a high level signal; If the voltage signal corresponding to the motor speed is less than the preset reference voltage, the second comparator outputs a low level signal.
8. The fault handling system for a motor control circuit according to claim 1, It is characterized in that The control logic module is specifically used for: If the fault signal is a low level signal and the safety state switching control signal is a high level signal, the first to third AND gate circuits in the multi-channel AND gate circuits output low level signals, and the multi-channel OR gate circuit outputs a high level signal.
9. The fault handling system for the motor control circuit according to claim 8, It is characterized in that The IGBT power conversion module is specifically used for: If the IGBT upper bridge arm control signal is a low level signal, and the IGBT lower bridge arm control signal is a high level signal, the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be turned on, so as to control the motor control circuit to enter an active short circuit state; If the IGBT upper bridge arm control signal is a low level signal, and the IGBT lower bridge arm control signal is a low level signal, the IGBT upper bridge arm is controlled to be disconnected, and the IGBT lower bridge arm is controlled to be disconnected, so as to control the motor control circuit to enter the bridge arm full shutdown state.
