Voltage abnormity protection circuit, motor controller and vehicle
By monitoring the voltage of the motor controller in real time through the voltage anomaly protection circuit, an enable signal is generated to control the start and stop of the power drive unit, which solves the problem of vehicle vibration caused by abnormal power failure of low voltage power supply, and realizes stable power-down of motor controller and safe operation of vehicle.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI SUNSHINE POWER TECH CO LTD
- Filing Date
- 2024-11-22
- Publication Date
- 2026-05-22
AI Technical Summary
In existing technologies, when the low-voltage power supply fails abnormally, the motor controller is prone to causing uncontrollable conditions such as vehicle vibration, which endangers the safety of the entire vehicle and personnel.
A voltage anomaly protection circuit was designed, including a voltage signal processing module and a level conversion module. By monitoring the input voltage and supply voltage of the motor controller in real time, an enable signal is generated to control the start and stop of the power drive unit, thus avoiding abnormal power failure.
It effectively protects the motor controller from power failure, avoiding uncontrollable conditions such as vehicle vibration and ensuring the stable operation of the motor controller.
Smart Images

Figure CN122073370A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle electronic control technology, and in particular to a voltage abnormality protection circuit, a motor controller, and a vehicle. Background Technology
[0002] A complete vehicle typically includes equipment such as a vehicle controller, a power battery pack, a motor, and a motor controller.
[0003] The motor controller obtains the vehicle's requirements from the vehicle controller and electrical energy from the battery pack. After modulation by its own inverter module, it obtains the current and voltage needed to control the motor and supplies them to the motor, ensuring that the motor's speed and torque meet the vehicle's needs. The current supplied to the motor is sampled by a current sensor and fed back to the motor controller. Based on this feedback, the motor controller further adjusts the current supplied to the motor, thus performing closed-loop control to achieve precise motor control.
[0004] Currently, a low-voltage power supply is generally used to power both the motor controller and the current sensor. In related technologies, when the low-voltage power supply fails abnormally, uncontrollable conditions such as vehicle shaking may occur, seriously endangering the safety of the entire vehicle and the person. Summary of the Invention
[0005] Therefore, it is necessary to provide a voltage abnormality protection circuit, motor controller, and vehicle that can prevent uncontrollable operating conditions and protect the motor controller from effective power-off, in order to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a voltage abnormality protection circuit, which includes a voltage signal processing module and a level conversion module; the input terminal of the voltage signal processing module is connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the output terminal of the voltage signal processing module is connected to the enable terminal of the level conversion module, and the output terminal of the level conversion module is connected to the power drive unit in the motor controller;
[0007] The voltage signal processing module is used to convert the input voltage and supply voltage of the motor controller into an enable signal for the level conversion module;
[0008] The level conversion module is used to send a modulation wave to the power drive unit when the enable signal is at a first level, and to stop sending the modulation wave to the power drive unit when the enable signal is at a second level; wherein the first level and the second level are different.
[0009] In one embodiment, the voltage signal processing module includes a voltage comparison unit and a first logic unit; the two input terminals of the voltage comparison unit are respectively connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the two output terminals of the voltage comparison unit are respectively connected to the two input terminals of the first logic unit, and the output terminal of the first logic unit is connected to the enable terminal of the level conversion module;
[0010] The voltage comparison unit is used to compare the input voltage of the motor controller with the first reference voltage and output a first comparison result, and to compare the supply voltage of the motor controller with the second reference voltage and output a second comparison result.
[0011] The first logic unit is configured to output the enable signal based on the first comparison result and the second comparison result.
[0012] In one embodiment, the voltage comparison unit includes a first comparison subunit and a second comparison subunit;
[0013] The two input terminals of the first comparison subunit are respectively connected to the input voltage terminal of the motor controller and the first reference voltage, and the output terminal of the first comparison subunit is connected to the first input terminal of the first logic unit; the first comparison subunit is used to compare the input voltage of the motor controller with the first reference voltage and output the first comparison result;
[0014] The two input terminals of the second comparison subunit are respectively connected to the power supply voltage terminal of the motor controller and the second reference voltage, and the output terminal of the second comparison subunit is connected to the second input terminal of the first logic unit; the second comparison subunit is used to compare the power supply voltage of the motor controller with the second reference voltage and output the second comparison result.
[0015] In one embodiment, the first logic unit includes an OR gate subunit and a NOT gate subunit;
[0016] The two input terminals of the OR gate subunit are respectively connected to the output terminal of the first comparison subunit and the output terminal of the second comparison subunit;
[0017] The input terminal of the NOT gate sub-unit is connected to the output terminal of the OR gate sub-unit, and the output terminal of the NOT gate sub-unit is connected to the enable terminal of the level conversion module.
[0018] In one embodiment, the first logic unit includes an OR gate subunit and a NOT gate subunit;
[0019] The two output terminals of the voltage comparison unit are respectively connected to the two input terminals of the OR gate subunit. The OR gate unit is used to output an intermediate comparison signal based on the first comparison result and the second comparison result.
[0020] The input terminal of the NOT gate sub-unit is connected to the output terminal of the OR gate sub-unit, and the output terminal of the NOT gate sub-unit is connected to the enable terminal of the level conversion module. The NOT gate sub-unit is used to output the enable signal according to the intermediate comparison signal.
[0021] Wherein, when the intermediate comparison signal is at the second level, the enable signal is at the first level; when the intermediate comparison signal is at the first level, the enable signal is at the second level.
[0022] In one embodiment, when the input voltage is greater than or equal to the first reference voltage, the first comparison result output by the voltage comparison unit is a second level; when the input voltage is less than the first reference voltage, the first comparison result output by the voltage comparison unit is a first level.
[0023] When the supply voltage is greater than or equal to the second reference voltage, the second comparison result output by the voltage comparison unit is a second level; when the supply voltage is less than the second reference voltage, the second comparison result output by the voltage comparison unit is a first level.
[0024] When the first comparison result and / or the second comparison result is at the second level, the enable signal is at the first level;
[0025] When both the first comparison result and the second comparison result are at the first level, the enable signal is at the second level.
[0026] In one embodiment, the voltage signal processing module includes a voltage conversion unit and a second logic unit; the two input terminals of the voltage conversion unit are respectively connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the two output terminals of the voltage conversion unit are respectively connected to the two input terminals of the second logic unit, and the output terminal of the second logic unit is connected to the enable terminal of the level conversion module;
[0027] The voltage conversion unit is used to convert the input voltage of the motor controller into a first switching signal and the power supply voltage of the motor controller into a second switching signal.
[0028] The second logic unit is configured to output the enable signal based on the first switch signal and the second switch signal.
[0029] In one embodiment, the voltage conversion unit includes a first conversion subunit and a second conversion subunit;
[0030] The input terminal of the first conversion subunit is connected to the input voltage terminal of the motor controller, and the output terminal of the first conversion subunit is connected to the first input terminal of the second logic unit; the first conversion subunit is used to convert the input voltage of the motor controller into the first switching signal;
[0031] The input terminal of the second conversion subunit is connected to the power supply voltage terminal of the motor controller, and the output terminal of the second conversion subunit is connected to the second input terminal of the second logic unit; the second conversion subunit is used to convert the power supply voltage of the motor controller into the second switching signal.
[0032] In one embodiment, the second logic unit includes an AND gate subunit;
[0033] The first input terminal of the AND gate subunit is connected to the output terminal of the first conversion subunit, the second input terminal of the AND gate subunit is connected to the output terminal of the second conversion subunit, and the output terminal of the AND gate subunit is connected to the enable terminal of the level conversion module; the AND gate subunit is used to output the enable signal according to the first switch signal and the second switch signal.
[0034] In one embodiment, the second logic unit includes an AND gate subunit;
[0035] The two output terminals of the voltage conversion unit are respectively connected to the first input terminal and the second input terminal of the AND gate sub-unit, and the output terminal of the AND gate unit is connected to the enable terminal of the level conversion module; the AND gate unit is used to output the enable signal according to the first switch signal and the second switch signal.
[0036] In one embodiment, when the input voltage is greater than or equal to the first turn-on threshold voltage of the voltage conversion unit, the first switching signal is at a first level; when the input voltage is less than the first turn-on threshold voltage of the voltage conversion unit, the first switching signal is at a second level.
[0037] When the supply voltage is greater than or equal to the second turn-on threshold voltage of the voltage conversion unit, the second switch signal is at a first level; when the supply voltage is less than the second turn-on threshold voltage of the voltage conversion unit, the second switch signal is at a second level.
[0038] When the first switch signal and / or the second switch signal are at a first level, the enable signal is at a first level;
[0039] When both the first switch signal and the second switch signal are at the second level, the enable signal is at the second level.
[0040] In one embodiment, the control terminal of the level conversion module is connected to the control module in the motor controller;
[0041] The control module is used to input an initial modulation wave to the level conversion module, which then performs level conversion and outputs the modulation wave.
[0042] Secondly, this application provides a motor controller, which includes the voltage abnormality protection circuit as described in the first aspect above.
[0043] In one embodiment, the motor controller further includes a control module;
[0044] The control terminal of the level conversion module in the voltage abnormality protection circuit is connected to the control module.
[0045] The control module is used to input an initial modulation wave to the level conversion module, and the level conversion module performs level conversion and outputs the modulation wave.
[0046] Thirdly, this application provides a vehicle that includes a motor controller as described in the second aspect above.
[0047] The aforementioned voltage anomaly protection circuit, motor controller, and vehicle utilize a voltage signal processing module and a level conversion module. The input of the voltage signal processing module is connected to the input voltage and supply voltage of the motor controller, while its output is connected to the enable terminal of the level conversion module. The output of the level conversion module is also connected to the power drive unit within the motor controller. The voltage signal processing module converts the input voltage and supply voltage of the motor controller into an enable signal for the level conversion module. When the enable signal is at a second level, the level conversion module stops sending modulation waves to the power drive unit, thus powering down the motor controller. In this way, by real-time monitoring of the input and supply voltages, the input and supply voltages are converted into enable signals for the level conversion module. When an abnormal power failure is detected, the converted enable signal becomes a second-level signal. The level conversion module then shuts down based on this second-level signal, thereby stopping the transmission of modulation waves to the power drive unit, effectively powering down the motor controller and preventing uncontrollable operating conditions. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is a topology diagram of a motor controller according to one embodiment;
[0050] Figure 2 This is a schematic diagram of the structure of a voltage abnormality protection circuit according to one embodiment;
[0051] Figure 3 This is one of the structural schematic diagrams of a voltage signal processing module according to an embodiment;
[0052] Figure 4 This is a second schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0053] Figure 5 This is the third schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0054] Figure 6 This is the fourth schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0055] Figure 7 This is the fifth schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0056] Figure 8 This is the sixth schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0057] Figure 9 This is the seventh schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0058] Figure 10 This is the eighth schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0059] Figure 11 This is the ninth schematic diagram of the structure of a voltage signal processing module according to one embodiment;
[0060] Figure 12 This is the tenth schematic diagram of the structure of a voltage signal processing module according to one embodiment.
[0061] Explanation of reference numerals in the attached figures:
[0062] Power Management Module-110, Control Module-120, Power Drive Unit-130, Power Execution Unit-140, Front-end Processing Module-150, Voltage Signal Processing Module-160, Level Conversion Module-170, Voltage Comparison Unit-161, First Logic Unit-162, First Comparison Subunit-1611, Second Comparison Subunit-1612, OR Gate Subunit-1621, NOT Gate Subunit-1622, Voltage Conversion Unit-163, Second Logic Unit-164
[0063] First conversion subunit - 1631, Second conversion subunit - 1632, Gate subunit - 1641, First resistor - R1, Second resistor - R2, Third resistor - R3, Fourth resistor - R4, Fifth resistor - R5, Sixth resistor - R6, Seventh resistor - R7, Eighth resistor - R8, Ninth resistor - R9, Tenth resistor - R10, First transistor - J1, Second transistor - J2, First capacitor - C1, Input voltage terminal - A, Power supply voltage terminal - B, Enable terminal - E. Detailed Implementation
[0064] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0066] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
[0067] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.
[0068] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.
[0069] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.
[0070] The voltage abnormality protection circuit provided in this application embodiment can be applied to, but is not limited to, applications such as... Figure 1 The illustrated topology of the motor controller includes a power management module 110, a control module 120, a power drive unit 130, and a power execution unit 140.
[0071] The voltage supplied by the low-voltage power supply to the voltage input terminal of the power management module 110 is the voltage input to the motor controller, namely the input voltage PowerIN of the motor controller. The low-voltage power supply can be the vehicle's battery.
[0072] The power management module 110 has at least a step-down function. When the input voltage PowerIN is relatively large and the power supply requirement of the control module 120 is relatively small (e.g., 3.3V~5V), the power management module 110 can step down and regulate the input voltage PowerIN before supplying it to the control module 120. Thus, the voltage supplied to the control module 120 by the voltage output terminal of the power management module 110 is the power supply voltage Vcc of the control module 120, which is used as the power supply voltage Vcc of the motor controller.
[0073] The control module 120 receives feedback from the current sensor and then outputs the modulation wave required to control the motor, such as a PWM (Pulse Width Modulation) waveform, based on a relevant algorithm. The voltage output from the power management module 110 is supplied to the control module 120, and simultaneously to the current sensor, powering it as well. Thus, the supply voltage Vcc is also the supply voltage Vcc for the current sensor. Consequently, both the control module 120 and the current sensor receive the supply voltage Vcc at their respective input terminals. For example, the control module 120 may be a microcontroller unit (MCU).
[0074] The inventors discovered that, in actual motor controllers, the voltage input terminal of the control module 120 has relatively more capacitors, while the voltage input terminal of the current sensor has relatively fewer capacitors. Therefore, when the power supply voltage Vcc experiences an abnormal power failure, the control module 120 will lose power relatively slowly, while the current sensor will lose power relatively quickly. This results in inaccurate current values collected and fed back to the control module 120 by the current sensor during the initial short period (e.g., within 2ms) of the abnormal power failure. The current values are usually too low. Meanwhile, the control module 120 is still operating normally. As a result, the PWM waveform output by the control module 120 based on the low current value fed back by the sensor is provided to the power execution unit 140. This causes the power execution unit 140 to output inaccurate AC current, which is usually a large current, resulting in the vehicle exhibiting vibration.
[0075] The power execution unit 140 typically includes a bridge arm circuit composed of multiple IGBTs (Insulated Gate Bipolar Transistors) for outputting AC current based on the PWM waveform output by the control module 120. The power drive unit 130 can provide the power execution unit 140 with a higher-power PWM waveform by isolating the low-voltage PWM waveform (PWM_DSP) output by the control module 120, thereby driving the power execution unit 140.
[0076] The topology of the motor controller may also include a front-end processing module 150. The front-end processing module 150 can perform EMC (Electromagnetic Compatibility) processing, reverse connection protection, common-mode signal filtering, and differential-mode signal filtering on the low-voltage power directly output from the low-voltage power supply.
[0077] In one exemplary embodiment, reference is made to Figure 2 A voltage abnormality protection circuit is provided, which can be applied to... Figure 1 The topology is illustrated using the example of the voltage signal processing module 160 and the level conversion module 170.
[0078] refer to Figure 2 The input terminal of the voltage signal processing module 160 is connected to the input voltage terminal A and the power supply voltage terminal B of the motor controller, and the output terminal of the voltage signal processing module 160 is connected to the enable terminal E of the level conversion module 170. The voltage signal processing module 160 is used to convert the input voltage PowerIN and the power supply voltage Vcc of the motor controller into the enable signal of the level conversion module 170.
[0079] Wherein, the voltage at input voltage terminal A of the motor controller is the input voltage PowerIN of the motor controller, and the voltage at power supply voltage terminal B of the motor controller is the power supply voltage Vcc of the motor controller.
[0080] The voltage signal processing module 160 generates an enable signal based on the input voltage PowerIN and the supply voltage Vcc. The value of the enable signal is a logic level signal "0" or "1". The value of the enable signal varies depending on the magnitude of the supply voltage Vcc; for example, when the supply voltage Vcc is large, the enable signal generated by the voltage signal processing module 160 based on the input voltage PowerIN and the supply voltage Vcc is a logic level signal "1", and when the supply voltage Vcc is small, the enable signal generated by the voltage signal processing module 160 based on the input voltage PowerIN and the supply voltage Vcc is a logic level signal "0". Thus, the enable signal can characterize the magnitude of the supply voltage Vcc, thereby indicating whether the supply voltage Vcc is normal or experiencing an abnormal power failure; in other words, as the supply voltage Vcc changes from normal to an abnormal power failure, its magnitude will inevitably change, and this change in the magnitude of the supply voltage Vcc will cause a change in the value of the enable signal.
[0081] refer to Figure 2 The output of the level conversion module 170 is connected to the power drive unit 130 in the motor controller. The level conversion module 170 is used to send a modulation wave to the power drive unit 130 when the enable signal is at the first level, and to stop sending the modulation wave to the power drive unit 130 when the enable signal is at the second level. The first level and the second level are different.
[0082] For example, the first level is a logic level signal "0" and the second level is a logic level signal "1", or the first level is a logic level signal "1" and the second level is a logic level signal "0".
[0083] For example, the level conversion module 170 can be a level conversion chip. The control module 120 in the motor controller provides a low-voltage PWM waveform (PWM_DSP) to the level conversion module 170. After level conversion, the level conversion module 170 provides it to the power drive unit 130 in the motor controller. The power drive unit 130 provides a PWM waveform with higher output power to the power execution unit 140 to drive the power execution unit 140.
[0084] For example, when the enable signal at the enable terminal E is at the first level, the level conversion module 170 is turned on based on the enable signal and normally provides the PWM waveform to the power drive unit 130 in the motor controller; while when the enable signal at the enable terminal E is at the second level, the level conversion module 170 is turned off based on the enable signal and stops providing the PWM waveform to the power drive unit 130 in the motor controller, thereby realizing the power-down operation of the motor controller.
[0085] In this embodiment, during the process of the power supply voltage Vcc changing from normal to abnormal power failure, the voltage signal processing module 160 changes the value of the enable signal generated by the input voltage PowerIN and the power supply voltage Vcc from the first level to the second level, causing the level conversion module 170 to change from the on state to the off state, thereby immediately stopping the supply of PWM waveform to the power drive unit 130 in the motor controller, that is, blocking the waveform of the power execution unit 140 in the motor controller, protecting the motor controller from effective power failure, avoiding the power execution unit 140 from outputting large current, and thus avoiding uncontrollable conditions such as vehicle vibration; at the same time, the voltage abnormality protection circuit provided in this embodiment has a simple structure, is easy to implement, and has low cost.
[0086] It is understood that the voltage signal processing module 160 described above can take many forms, as long as it can generate an enable signal based on the input voltage PowerIN and the supply voltage Vcc. No specific limitation is made in this regard.
[0087] In one exemplary embodiment, reference is made to Figure 3 The voltage signal processing module 160 includes a voltage comparison unit 161 and a first logic unit 162.
[0088] refer to Figure 3 The two input terminals of the voltage comparison unit 161 are respectively connected to the input voltage terminal A and the power supply voltage terminal B of the motor controller, and the two output terminals of the voltage comparison unit 161 are respectively connected to the two input terminals of the first logic unit 162. The voltage comparison unit 161 is used to compare the input voltage PowerIN of the motor controller with the first reference voltage Vref1 and output the first comparison result, and compare the power supply voltage Vcc of the motor controller with the second reference voltage Vref2 and output the second comparison result.
[0089] The voltage comparison unit 161 can be composed of multiple operational amplifier circuits or comparison circuits. It can compare the input voltage PowerIN with the first reference voltage Vref1 and output a first comparison result. The first comparison result can indicate whether the input voltage PowerIN is normal or abnormally de-energized. It can compare the supply voltage Vcc with the second reference voltage Vref2 and output a second comparison result. The second comparison result can indicate whether the supply voltage Vcc is normal or abnormally de-energized. In this way, the monitoring effect of the input voltage PowerIN and the supply voltage Vcc is achieved.
[0090] For example, when the input voltage PowerIN is normal, the voltage comparison unit 161 compares the input voltage PowerIN with the first reference voltage Vref1 and outputs a first comparison result of the second level; when the input voltage PowerIN is abnormally de-energized, the voltage comparison unit 161 compares the input voltage PowerIN with the first reference voltage Vref1 and outputs a first comparison result of the first level; when the supply voltage Vcc is normal, the voltage comparison unit 161 compares the supply voltage Vcc with the second reference voltage Vref2 and outputs a second comparison result of the second level; when the supply voltage Vcc is abnormally de-energized, the voltage comparison unit 161 compares the supply voltage Vcc with the second reference voltage Vref2 and outputs a second comparison result of the first level.
[0091] refer to Figure 3 The output terminal of the first logic unit 162 is connected to the enable terminal E of the level conversion module 170; the first logic unit 162 is used to output an enable signal according to the first comparison result and the second comparison result.
[0092] The first logic unit 162 can perform logical operations on the first comparison result and the second comparison result to output an enable signal. Thus, the voltage signal processing module 160 realizes the conversion from the input voltage PowerIN and the supply voltage Vcc to the enable signal.
[0093] For example, when the first comparison result and / or the second comparison result are at the second level, the enable signal output by the output terminal of the first logic unit 162 is at the first level; when both the first comparison result and the second comparison result are at the first level, the enable signal output by the output terminal of the first logic unit 162 is at the second level.
[0094] The voltage signal processing module 160 provided in this application embodiment has a simple structure, is easy to implement, has low cost, and provides efficient and reliable voltage abnormality protection.
[0095] In one exemplary embodiment, when the input voltage PowerIN is greater than or equal to the first reference voltage Vref1, the voltage comparison unit 161 outputs a first comparison result at a second level; when the input voltage PowerIN is less than the first reference voltage Vref1, the voltage comparison unit 161 outputs a first comparison result at a first level. When the supply voltage Vcc is greater than or equal to the second reference voltage Vref2, the voltage comparison unit 161 outputs a second comparison result at a second level; when the supply voltage Vcc is less than the second reference voltage Vref2, the voltage comparison unit 161 outputs a second comparison result at a first level. When both the first comparison result and / or the second comparison result is at a second level, the enable signal is at a first level; when both the first comparison result and the second comparison result are at a first level, the enable signal is at a second level.
[0096] In one exemplary embodiment, reference is made to Figure 4 The voltage comparison unit 161 includes a first comparison subunit 1611 and a second comparison subunit 1612.
[0097] refer to Figure 4 The two input terminals of the first comparison subunit 1611 are respectively connected to the input voltage terminal A of the motor controller and the first reference voltage Vref1. The output terminal of the first comparison subunit 1611 is connected to the first input terminal of the first logic unit 162. The first comparison subunit 1611 is used to compare the input voltage PowerIN of the motor controller with the first reference voltage Vref1 and output the first comparison result.
[0098] The first comparison subunit 1611 can be composed of an operational amplifier or a comparator, which can compare the input voltage PowerIN with the first reference voltage Vref1 and output the first comparison result. The first comparison result can characterize whether the input voltage PowerIN is normal or abnormally de-energized, thus realizing the monitoring effect of the input voltage PowerIN.
[0099] For example, refer to Figure 5 The first comparator subunit 1611 includes a first comparator U1, a first resistor R1, and a fourth resistor R4. The positive input terminal of the first comparator U1 is connected to the input voltage terminal A of the motor controller through the first resistor R1, the negative input terminal of the first comparator U1 is connected to the first reference voltage Vref1, the output terminal of the first comparator U1 is connected to the first input terminal of the first logic unit 162, and the output terminal of the first comparator U1 is also connected to a fixed level through the fourth resistor R4.
[0100] refer to Figure 4The two input terminals of the second comparison subunit 1612 are respectively connected to the power supply voltage terminal B of the motor controller and the second reference voltage Vref2. The output terminal of the second comparison subunit 1612 is connected to the second input terminal of the first logic unit 162. The second comparison subunit 1612 is used to compare the power supply voltage Vcc of the motor controller with the second reference voltage Vref2 and output the second comparison result.
[0101] The second comparison subunit 1612 can be composed of an operational amplifier or a comparator, which can compare the supply voltage Vcc with the second reference voltage Vref2 and output a second comparison result. The second comparison result can characterize whether the supply voltage Vcc is normal or abnormally de-energized, thus realizing the monitoring effect of the supply voltage Vcc.
[0102] For example, refer to Figure 5 The second comparison subunit 1612 includes a second comparator U2, a second resistor R2, and a third resistor R3. The positive input terminal of the second comparator U2 is connected to the power supply voltage terminal B of the motor controller through the second resistor R2. The negative input terminal of the second comparator U2 is connected to the second reference voltage Vref2. The output terminal of the second comparator U2 is connected to the second input terminal of the first logic unit 162. The output terminal of the second comparator U2 is also connected to a fixed level through the third resistor R3. In addition, the voltage comparison unit 161 is grounded, powered by the power supply Vdd, and uses a filter capacitor C1 to filter the signal.
[0103] In one exemplary embodiment, reference is made to Figure 6 The first logic unit 162 includes an OR gate subunit 1621 and a NOT gate subunit 1622. The two input terminals of the OR gate subunit 1621 are respectively connected to the output terminals of the first comparison subunit 1611 and the second comparison subunit 1612; the input terminal of the NOT gate subunit 1622 is connected to the output terminal of the OR gate subunit 1621, and the output terminal of the NOT gate subunit 1622 is connected to the enable terminal E of the level conversion module 170.
[0104] For example, when the input voltage PowerIN and / or the supply voltage Vcc are normal, the first comparator U1 and / or the second comparator U2 output a second level, the OR gate sub-unit 1621 outputs a second level, and the enable signal output by the NOT gate sub-unit 1622 is a first level. The level conversion module 170 is turned on, and normally provides a PWM waveform to the power drive unit 130 in the motor controller. When both the input voltage PowerIN and the supply voltage Vcc are abnormal, the first comparator U1 and the second comparator U2 both output a first level, the OR gate sub-unit 1621 outputs a first level, and the enable signal output by the NOT gate sub-unit 1622 is a second level. The level conversion module 170 is turned off based on the enable signal of the enable terminal E, and stops providing a PWM waveform to the power drive unit 130 in the motor controller, thereby realizing the power-down operation of the motor controller.
[0105] In one exemplary embodiment, combined with Figure 6 and Figure 3 The two output terminals of voltage comparison unit 161 are respectively connected to the two input terminals of OR gate sub-unit 1621. OR gate sub-unit 1621 is used to output an intermediate comparison signal according to the first comparison result and the second comparison result. The input terminal of NOT gate sub-unit 1622 is connected to the output terminal of OR gate sub-unit 1621, and the output terminal of NOT gate sub-unit 1622 is connected to the enable terminal of level conversion module 170. NOT gate sub-unit 1622 is used to output an enable signal according to the intermediate comparison signal. Wherein, when the intermediate comparison signal is the second level, the enable signal is the first level; when the intermediate comparison signal is the first level, the enable signal is the second level.
[0106] For example, refer to Figure 7 OR subunit 1621 includes an OR gate, and NOT subunit 1622 includes a NOT gate.
[0107] In one exemplary embodiment, the first logic unit 162 includes an NOR gate integrated chip.
[0108] In one exemplary embodiment, reference is made to Figure 8 The voltage signal processing module 160 includes a voltage conversion unit 163 and a second logic unit 164.
[0109] refer to Figure 8 The two input terminals of the voltage conversion unit 163 are respectively connected to the input voltage terminal A and the power supply voltage terminal B of the motor controller, and the two output terminals of the voltage conversion unit 163 are respectively connected to the two input terminals of the second logic unit 164. The voltage conversion unit 163 is used to convert the input voltage PowerIN of the motor controller into a first switching signal and convert the power supply voltage Vcc of the motor controller into a second switching signal.
[0110] The voltage conversion unit 163 can be composed of multiple transistors and other electronic devices, and can convert the input voltage PowerIN into a first switching signal. The first switching signal can indicate whether the input voltage PowerIN is normal or abnormally de-energized. It can also convert the supply voltage Vcc into a second switching signal. The second switching signal can indicate whether the supply voltage Vcc is normal or abnormally de-energized. In this way, the monitoring effect of the input voltage PowerIN and the supply voltage Vcc can be achieved.
[0111] For example, when the input voltage PowerIN is normal, the voltage conversion unit 163 converts the input voltage PowerIN into a first switching signal, which is at a first level; when the input voltage PowerIN is abnormally de-energized, the voltage conversion unit 163 converts the input voltage PowerIN into a first switching signal, which is at a second level; when the supply voltage Vcc is normal, the voltage conversion unit 163 converts the supply voltage Vcc into a second switching signal, which is at a first level; when the supply voltage Vcc is abnormally de-energized, the voltage conversion unit 163 converts the supply voltage Vcc into a second switching signal, which is at a second level.
[0112] refer to Figure 8 The output terminal of the second logic unit 164 is connected to the enable terminal E of the level conversion module 170; the second logic unit 164 is used to output an enable signal according to the first switch signal and the second switch signal.
[0113] The second logic unit 164 can perform logical operations on the first switch signal and the second switch signal to output an enable signal. Thus, the voltage signal processing module 160 realizes the conversion from the input voltage PowerIN and the supply voltage Vcc to the enable signal.
[0114] For example, when the first switch signal and / or the second switch signal are at a first level, the enable signal output by the output terminal of the second logic unit 164 is at a first level; when both the first switch signal and the second switch signal are at a second level, the enable signal output by the output terminal of the second logic unit 164 is at a second level.
[0115] The voltage signal processing module 160 provided in this application embodiment has a simple structure, is easy to implement, has low cost, and provides efficient and reliable voltage abnormality protection.
[0116] In an exemplary embodiment, when the input voltage PowerIN is greater than or equal to the first turn-on threshold voltage of the voltage conversion unit 163, the first switching signal is at a first level; when the input voltage PowerIN is less than the first turn-on threshold voltage of the voltage conversion unit 163, the first switching signal is at a second level. When the supply voltage Vcc is greater than or equal to the second turn-on threshold voltage of the voltage conversion unit 163, the second switching signal is at a first level; when the supply voltage Vcc is less than the second turn-on threshold voltage of the voltage conversion unit 163, the second switching signal is at a second level. When the first switching signal and / or the second switching signal is at a first level, the enable signal is at a first level; when both the first switching signal and the second switching signal are at a second level, the enable signal is at a second level.
[0117] In one exemplary embodiment, reference is made to Figure 9 The voltage conversion unit 163 includes a first conversion subunit 1631 and a second conversion subunit 1632.
[0118] refer to Figure 9 The input terminal of the first conversion subunit 1631 is connected to the input voltage terminal A of the motor controller, and the output terminal of the first conversion subunit 1631 is connected to the first input terminal of the second logic unit 164. The first conversion subunit 1631 is used to convert the input voltage PowerIN of the motor controller into a first switching signal. The first conduction threshold voltage of the voltage conversion unit 163 is the first conduction threshold voltage of the first conversion subunit 1631.
[0119] The first conversion subunit 1631 can be composed of electronic devices such as transistors, which can convert the input voltage PowerIN into a first switching signal. The first switching signal can characterize whether the input voltage PowerIN is normal or abnormally de-energized, thus realizing the monitoring effect of the input voltage PowerIN.
[0120] For example, refer to Figure 10The first conversion subunit 1631 includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and a first transistor J1. The control terminal of the first transistor J1 is connected to the input voltage terminal A of the motor controller through the fifth resistor R5. The first terminal of the first transistor J1 is connected to the fixed power supply VCC through the sixth resistor R6. The second terminal of the first transistor J1 is grounded. The control terminal of the first transistor J1 is connected to the second terminal of the first transistor J1 through the seventh resistor R7. The first terminal of the first transistor J1 is connected to the first input terminal of the second logic unit 164. The first turn-on threshold voltage of the first conversion subunit 1631 is the turn-on threshold voltage of the first transistor J1. When the input voltage PowerIN is greater than or equal to the turn-on threshold voltage of the first transistor J1, the first transistor J1 is turned on, and the first switch signal is at the first level. When the input voltage PowerIN is less than the turn-on threshold voltage of the first transistor J1, the first transistor J1 is turned off, and the first switch signal is at the second level.
[0121] It is understood that the first transistor J1 can be replaced by the first MOSFET, and after replacement, the first turn-on threshold voltage of the first switching subunit 1631 is the turn-on threshold voltage of the first MOSFET; when the input voltage PowerIN is greater than or equal to the turn-on threshold voltage of the first MOSFET, the first MOSFET is turned on, and the first switching signal is at the first level; when the input voltage PowerIN is less than the turn-on threshold voltage of the first MOSFET, the first MOSFET is turned off, and the first switching signal is at the second level. Here, MOSFET stands for Metal-Oxide-Semiconductor Field-Effect Transistor.
[0122] refer to Figure 9 The input terminal of the second conversion subunit 1632 is connected to the power supply voltage terminal B of the motor controller, and the output terminal of the second conversion subunit 1632 is connected to the second input terminal of the second logic unit 164. The second conversion subunit 1632 is used to convert the power supply voltage Vcc of the motor controller into a second switching signal. The second conduction threshold voltage of the voltage conversion unit 163 is the second conduction threshold voltage of the second conversion subunit 1631.
[0123] The second conversion subunit 1632 can be composed of electronic devices such as transistors, which can convert the power supply voltage Vcc into a second switching signal. The second switching signal can characterize whether the power supply voltage Vcc is normal or abnormally de-energized, thus achieving the monitoring effect of the power supply voltage Vcc.
[0124] For example, refer to Figure 10The second conversion subunit 1632 includes an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, and a second transistor J2. The control terminal of the second transistor J2 is connected to the power supply voltage terminal B of the motor controller through the eighth resistor R8. The first terminal of the second transistor J2 is connected to the fixed power supply VCC through the ninth resistor R9. The second terminal of the second transistor J2 is grounded. The control terminal of the second transistor J2 is connected to the second terminal of the second transistor J2 through the tenth resistor R10. The first terminal of the second transistor J2 is connected to the second input terminal of the second logic unit 164. The second turn-on threshold voltage of the second conversion subunit 1632 is the turn-on threshold voltage of the second transistor J2. When the power supply voltage Vcc is greater than or equal to the turn-on threshold voltage of the second transistor J2, the second transistor J2 is turned on, and the second switch signal is at the first level. When the power supply voltage Vcc is less than the turn-on threshold voltage of the second transistor J2, the second transistor J2 is turned off, and the second switch signal is at the second level.
[0125] It is understood that the second transistor J2 can be replaced by the second MOSFET, and after the replacement, the second turn-on threshold voltage of the second conversion subunit 1632 is the turn-on threshold voltage of the second MOSFET; when the supply voltage Vcc is greater than or equal to the turn-on threshold voltage of the second MOSFET, the second MOSFET is turned on and the second switching signal is at the first level; when the supply voltage Vcc is less than the turn-on threshold voltage of the second MOSFET, the second MOSFET is turned off and the second switching signal is at the second level.
[0126] For example, continue to refer to Figure 10 When the input voltage PowerIN is greater than or equal to the first conduction threshold voltage, the first transistor J1 or the first MOSFET is turned on, the first switch signal is at the first level, and the supply voltage Vcc is greater than or equal to the second conduction threshold voltage, then the second transistor J2 or the second MOSFET is turned on, the second switch signal is at the first level, the enable signal is at the first level, and the level conversion module 170 is turned on.
[0127] When the input voltage PowerIN is greater than or equal to the first turn-on threshold voltage, the first transistor J1 or the first MOSFET is turned on, and the first switch signal is at the first level. At this time, if the supply voltage Vcc is less than the second turn-on threshold voltage, the second transistor J2 or the second MOSFET is turned off, the second switch signal is at the second level, the enable signal is at the first level, and the level conversion module 170 is turned on.
[0128] When the input voltage PowerIN is less than the first turn-on threshold voltage, the first transistor J1 or the first MOSFET is turned off, and the first switch signal is at the second level. At this time, if the supply voltage Vcc is greater than or equal to the second turn-on threshold voltage, the second transistor J2 or the second MOSFET is turned on, the second switch signal is at the first level, the enable signal is still at the first level, and the level conversion module 170 is still turned on and working normally.
[0129] When the input voltage PowerIN is less than the first turn-on threshold voltage and the supply voltage Vcc is less than the second turn-on threshold voltage, the first transistor J1 or the first MOSFET is turned off and the second transistor J2 or the second MOSFET is turned off. The first switch signal is at the second level and the second switch signal is at the second level. Then the enable signal is at the second level and the level conversion module 170 is turned off.
[0130] In one exemplary embodiment, reference is made to Figure 11 The second logic unit 164 includes an AND gate subunit 1641. The first input terminal of the AND gate subunit 1641 is connected to the output terminal of the first conversion subunit 1631, the second input terminal of the AND gate subunit 1641 is connected to the output terminal of the second conversion subunit 1632, and the output terminal of the AND gate subunit 1641 is connected to the enable terminal E of the level conversion module 170. The AND gate subunit 1641 is used to output an enable signal according to the first switch signal and the second switch signal.
[0131] For example, when the input voltage PowerIN and / or the supply voltage Vcc are normal, the first switch signal and / or the second switch signal are at the first level, the enable signal output by the AND gate unit 1641 is at the first level, the level conversion module 170 is turned on, and normally provides PWM waveform to the power drive unit 130 in the motor controller; when both the input voltage PowerIN and the supply voltage Vcc are abnormal, the first switch signal and the second switch signal are at the second level, the enable signal output by the AND gate unit 1641 is at the second level, the level conversion module 170 is turned off based on the enable signal, and stops providing PWM waveform to the power drive unit 130 in the motor controller, thereby realizing the power-down operation of the motor controller.
[0132] For example, refer to Figure 12 AND subunit 1641 includes an AND gate.
[0133] In one exemplary embodiment, combined with Figure 11 and Figure 8The two output terminals of the voltage conversion unit 163 are respectively connected to the first input terminal and the second input terminal of the AND gate sub-unit 1641, and the output terminal of the AND gate unit 1641 is connected to the enable terminal of the level conversion module 170; the AND gate unit 1641 is used to output an enable signal according to the first switch signal and the second switch signal.
[0134] In one exemplary embodiment, reference Figure 2 The control terminal of the level conversion module 170 is connected to the control module 120 in the motor controller. The control module 120 in the motor controller provides the initial modulation wave (low voltage PWM waveform, i.e. PWM_DSP) to the level conversion module 170. After level conversion, the level conversion module 170 provides it to the power drive unit 130 in the motor controller.
[0135] Based on the same inventive concept, this application also provides a motor controller, which includes the voltage abnormality protection circuit provided in any of the above embodiments.
[0136] The motor controller and voltage protection circuit provided in this application belong to the same inventive concept, can solve the same technical problem, and thus achieve the same technical effect. Repeated content will not be repeated here.
[0137] In an exemplary embodiment, the motor controller may include, in addition to a voltage abnormality protection circuit, a front-end processing module 150, a power management module 110, a control module 120, a power drive unit 130, and a power execution unit 140; wherein, the control module 120 is used to input an initial modulation wave to the level conversion module 170, so that the level conversion module 170 can perform level conversion and output the modulation wave.
[0138] Based on the same inventive concept, this application also provides a vehicle, which includes a motor controller as provided in any of the above embodiments.
[0139] The vehicle and voltage protection circuits provided in this application belong to the same inventive concept, can solve the same technical problems, and thus achieve the same technical effects. Repeated content will not be repeated here.
[0140] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.
[0141] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0142] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A voltage abnormality protection circuit, characterized in that, The voltage abnormality protection circuit includes a voltage signal processing module and a level conversion module; the input terminal of the voltage signal processing module is connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the output terminal of the voltage signal processing module is connected to the enable terminal of the level conversion module, and the output terminal of the level conversion module is connected to the power drive unit in the motor controller. The voltage signal processing module is used to convert the input voltage and supply voltage of the motor controller into an enable signal for the level conversion module; The level conversion module is used to send a modulation wave to the power drive unit when the enable signal is at a first level, and to stop sending the modulation wave to the power drive unit when the enable signal is at a second level; wherein the first level and the second level are different.
2. The voltage abnormality protection circuit according to claim 1, characterized in that, The voltage signal processing module includes a voltage comparison unit and a first logic unit; the two input terminals of the voltage comparison unit are respectively connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the two output terminals of the voltage comparison unit are respectively connected to the two input terminals of the first logic unit, and the output terminal of the first logic unit is connected to the enable terminal of the level conversion module; The voltage comparison unit is used to compare the input voltage of the motor controller with the first reference voltage and output a first comparison result, and to compare the supply voltage of the motor controller with the second reference voltage and output a second comparison result. The first logic unit is configured to output the enable signal based on the first comparison result and the second comparison result.
3. The voltage abnormality protection circuit according to claim 2, characterized in that, The first logic unit includes an OR gate subunit and a NOT gate subunit; The two output terminals of the voltage comparison unit are respectively connected to the two input terminals of the OR gate subunit. The OR gate unit is used to output an intermediate comparison signal based on the first comparison result and the second comparison result. The input terminal of the NOT gate sub-unit is connected to the output terminal of the OR gate sub-unit, and the output terminal of the NOT gate sub-unit is connected to the enable terminal of the level conversion module. The NOT gate sub-unit is used to output the enable signal according to the intermediate comparison signal. Wherein, when the intermediate comparison signal is at the second level, the enable signal is at the first level; when the intermediate comparison signal is at the first level, the enable signal is at the second level.
4. The voltage abnormality protection circuit according to claim 2 or 3, characterized in that, When the input voltage is greater than or equal to the first reference voltage, the first comparison result output by the voltage comparison unit is a second level; when the input voltage is less than the first reference voltage, the first comparison result output by the voltage comparison unit is a first level. When the supply voltage is greater than or equal to the second reference voltage, the second comparison result output by the voltage comparison unit is a second level; when the supply voltage is less than the second reference voltage, the second comparison result output by the voltage comparison unit is a first level. When the first comparison result and / or the second comparison result is at the second level, the enable signal is at the first level; When both the first comparison result and the second comparison result are at the first level, the enable signal is at the second level.
5. The voltage abnormality protection circuit according to claim 1, characterized in that, The voltage signal processing module includes a voltage conversion unit and a second logic unit; the two input terminals of the voltage conversion unit are respectively connected to the input voltage terminal and the power supply voltage terminal of the motor controller, the two output terminals of the voltage conversion unit are respectively connected to the two input terminals of the second logic unit, and the output terminal of the second logic unit is connected to the enable terminal of the level conversion module; The voltage conversion unit is used to convert the input voltage of the motor controller into a first switching signal and the power supply voltage of the motor controller into a second switching signal. The second logic unit is configured to output the enable signal based on the first switch signal and the second switch signal.
6. The voltage abnormality protection circuit according to claim 5, characterized in that, The second logic unit includes an AND gate subunit; The two output terminals of the voltage conversion unit are respectively connected to the first input terminal and the second input terminal of the AND gate sub-unit, and the output terminal of the AND gate unit is connected to the enable terminal of the level conversion module; the AND gate unit is used to output the enable signal according to the first switch signal and the second switch signal.
7. The voltage abnormality protection circuit according to claim 5 or 6, characterized in that, When the input voltage is greater than or equal to the first turn-on threshold voltage of the voltage conversion unit, the first switching signal is at a first level; when the input voltage is less than the first turn-on threshold voltage of the voltage conversion unit, the first switching signal is at a second level. When the supply voltage is greater than or equal to the second turn-on threshold voltage of the voltage conversion unit, the second switch signal is at a first level; when the supply voltage is less than the second turn-on threshold voltage of the voltage conversion unit, the second switch signal is at a second level. When the first switch signal and / or the second switch signal are at a first level, the enable signal is at a first level; When both the first switch signal and the second switch signal are at the second level, the enable signal is at the second level.
8. A motor controller, characterized in that, The motor controller includes a voltage abnormality protection circuit as described in any one of claims 1-7.
9. The motor controller according to claim 8, characterized in that, The motor controller also includes a control module; The control terminal of the level conversion module in the voltage abnormality protection circuit is connected to the control module. The control module is used to input an initial modulation wave to the level conversion module, and the level conversion module performs level conversion and outputs the modulation wave.
10. A vehicle, characterized in that, The vehicle includes the motor controller as described in claim 8 or 9.