Discharge control circuit and controller

By designing the discharge control circuit in the new energy vehicle controller and using the activation signal to control the discharge module, the problem of unnecessary discharge in the traditional controller during normal operation is solved, and effective pressure relief and energy saving during overvoltage or power outage are achieved. Consumption is reduced.

CN118432425BActive Publication Date: 2024-08-23GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410883930.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-08-23
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Traditional new energy vehicle controllers discharge electricity unnecessarily during normal operation, resulting in increased energy consumption and waste.

Method used

A discharge control circuit is designed, including a power module, a discharge module, a sampling module, a comparator and a logic calculation module. It controls the opening and stopping of the discharge module through activation signals to ensure that there is no discharge during normal operation and automatic discharge during overvoltage. And it actively discharges until the voltage drops when powering off.

Benefits of technology

It avoids unnecessary discharge and reduces energy consumption during normal operation, and at the same time effectively relieves pressure during overvoltage or power-off, protecting the circuit and reducing energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432425B
    Figure CN118432425B
Patent Text Reader

Abstract

The embodiment of the present invention provides a discharge control circuit and a controller, including a power supply module, a discharge module, a sampling module, a first comparator, a second comparator, and a logic calculation module, or a logic calculation module. The present invention can discharge or stop discharging the discharge module according to the input control of an activation signal, and can control the capacitor not to discharge during normal operation; automatically discharge to relieve pressure when overvoltage occurs; actively discharge when power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a discharge control circuit and a controller. Background Art

[0002] With the growing demand for new energy vehicles, market competition has become increasingly fierce, and higher requirements have been placed on the "cost reduction and efficiency improvement" of new energy vehicle controllers. In traditional controllers, in order to allow the bus capacitor to release pressure, resistors are connected at both ends to allow it to discharge. However, it not only discharges when the power is off, but also continues to discharge during normal operation, thus increasing energy consumption and causing waste. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a discharge control circuit and a controller that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problems, an embodiment of the present invention discloses a discharge control circuit, including a power supply module, a discharge module, a sampling module, a first comparator, a second comparator, and a logic calculation module, or a logic calculation module;

[0005] The power supply module is used to receive an activation signal and supply power to the discharge module according to the activation signal;

[0006] The discharge module is connected to the power module and is used to output a first voltage signal according to the power provided by the power module;

[0007] The sampling module has an input end connected to the discharge module, and an output end connected to the first input end of the first comparator and the first input end of the second comparator, for collecting a first voltage signal output by the discharge module, and inputting the first voltage signal to the first input end of the first comparator and the first input end of the second comparator;

[0008] The second input terminal of the first comparator is used to receive a second voltage signal, to compare the first voltage signal with the second voltage signal, and to output a fourth voltage signal to the first input terminal of the AND logic calculation module according to the comparison result;

[0009] The second input terminal of the second comparator is used to receive a fifth voltage signal, to compare the fifth voltage signal with the first voltage signal, and to output a sixth voltage signal to the first input terminal of the OR logic calculation module according to the comparison result;

[0010] The second input terminal of the AND logic calculation module is used to receive the activation signal, and output a first logic signal to the second input terminal of the OR logic calculation module according to the activation signal and the fourth voltage signal;

[0011] The OR logic calculation module is used to output a second logic signal to the discharge module according to the first logic signal and the sixth voltage signal, so as to control the discharge module to start or stop discharging.

[0012] Optionally, the circuit module further includes a signal acquisition module, which is connected to the power module and is used to acquire the activation signal and input it into the power module.

[0013] Optionally, the power supply module is used to disconnect the power supply to stop supplying power to the discharge module when the activation signal is a power-off signal, and to close the power supply to supply power to the discharge module when the activation signal is a power-on signal.

[0014] Optionally, the power supply module includes a high-voltage direct current power supply, a relay switch, a relay coil, and a signal processing module;

[0015] The signal processing module is used to receive an activation signal and output a current signal to the relay coil according to the activation signal;

[0016] One end of the high-voltage DC power supply is connected to one end of the relay switch, and the other end is connected to the discharge module, so as to supply power to the discharge module when the relay switch is closed;

[0017] The other end of the relay switch is connected to the discharge module, and is used to close or open according to the current signal in the relay coil;

[0018] One end of the relay coil is connected to the signal processing module, and the other end is grounded.

[0019] Optionally, the signal processing module includes a bipolar junction transistor, a first end of the bipolar junction transistor is used to collect an activation signal, a second end of the bipolar junction transistor is connected to one end of the relay coil, and a third end of the bipolar junction transistor is grounded.

[0020] Optionally, the bipolar junction transistor is used to stop inputting the current signal to the relay coil when the activation signal is a power-down signal, and to input the current signal to the relay coil when the activation signal is a power-up signal.

[0021] Optionally, the discharge module includes a capacitor, a first transistor, and a second transistor;

[0022] The first end of the first transistor is connected to one end of the relay switch, the second end of the first transistor is connected to the other end of the relay switch, and the third end of the first transistor is connected to the output end of the OR logic calculation module;

[0023] The first end of the second transistor is connected to one end of the relay switch, the second end of the second transistor is connected to the other end of the relay switch, and the third end of the second transistor is connected to the output end of the OR logic calculation module;

[0024] The capacitor is connected to the first end and the second end of the second transistor respectively.

[0025] Optionally, the discharge module further includes a first resistor and a second resistor; one end of the first resistor is connected to the first end of the first transistor, and the other end of the first resistor is connected to one end of the relay switch;

[0026] One end of the second resistor is connected to the first end of the second transistor, and the other end of the second resistor is connected to one end of the relay switch.

[0027] Optionally, the sampling module includes a differential sampling module, the differential sampling module is connected to two ends of the capacitor, and the differential sampling module is used to collect the first voltage signal at both ends of the capacitor.

[0028] Optionally, the sampling module also includes an operational amplifier, a first input terminal of the operational amplifier is connected to the first output terminal of the differential sampling module, a second input terminal of the operational amplifier is connected to the second output terminal of the differential sampling module, and an output terminal of the operational amplifier is connected to the first input terminal of the first comparator; the operational amplifier is used to filter the first voltage signal collected by the differential sampling module.

[0029] Optionally, the second comparator is used to, when the activation signal is a power-on signal, the first voltage signal is higher than the fifth level signal, the sixth voltage signal is a high level signal, and the second logic signal is a high level signal, the OR logic calculation module is used to discharge the discharge module according to the second logic signal, and stop discharging when the first voltage signal is lower than the fifth level signal.

[0030] The present invention also discloses a controller, which includes the discharge control circuit as described above.

[0031] The present invention discloses a discharge control circuit. The present invention can discharge or stop discharging a discharge module according to the input control of an activation signal, and can control the capacitor not to discharge during normal operation; automatically discharge to relieve pressure when overvoltage occurs; and actively discharge when power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a structural block diagram of a discharge control circuit provided by an embodiment of the present invention;

[0033] Figure 2 It is a schematic diagram of a flow chart of discharging a capacitor provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] One of the core concepts of the embodiments of the present invention is that the present invention can discharge or stop discharging the discharge module according to the input control of the activation signal, and can control the capacitor not to discharge during normal operation; and automatically discharge to relieve pressure when overvoltage occurs; and actively discharge when the power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption.

[0036] Reference Figure 1 , shows a structural block diagram of a discharge control circuit provided by an embodiment of the present invention, including a power supply module 101, a discharge module 102, a sampling module 103, a first comparator 104, a second comparator 105, and a logic calculation module 106, or a logic calculation module 107;

[0037] The power module is used to receive the activation signal and supply power to the discharge module according to the activation signal.

[0038] In an embodiment of the present invention, the power module 101 can receive an activation signal and supply power to the discharge module 102 according to the activation signal. For example, when the activation signal is a power-off signal, the power module is disconnected and stops supplying power to the discharge module 102. When the activation signal is a power-on signal, the power module 101 outputs power to supply power to the discharge module 102.

[0039] The discharge module 102 is connected to the power module 101 and is configured to output a first voltage signal according to the power provided by the power module.

[0040] In an embodiment of the present invention, the discharge module is connected to the power module 101. When power is not supplied, the activation signal is 0, i.e., a low-level signal. At this time, the first voltage signal output by the discharge module is 0. When power is supplied, the activation signal is a high-level signal. At this time, the first voltage signal output by the discharge module 102 is a high-level signal.

[0041] The input end of the sampling module is connected to the discharge module, and the output end is connected to the first input end of the first comparator and the first input end of the second comparator, so as to collect the first voltage signal output by the discharge module and input the first voltage signal to the first input end of the first comparator and the first input end of the second comparator;

[0042] In the embodiment of the present invention, the input end of the sampling module 103 is connected to the discharge module, and can receive the first voltage signal and input it to the first input end of the first comparator 104 and the first input end of the second comparator 105. The second input end of the first comparator is used to receive a low-level signal, that is, V1 is a low-level signal; the second input end of the second comparator is used to receive a high-level signal, that is, V2 is a high-level signal.

[0043] Comparing two or more data items to determine whether they are equal, or to determine the size relationship and arrangement order between them is called comparison. The circuit or device that can achieve this comparison function is called a comparator. A comparator is a circuit that compares an analog voltage signal with a reference voltage. The two inputs of the comparator are analog signals, and the output is a binary signal 0 or 1. When the difference in input voltage increases or decreases and the positive and negative signs remain unchanged, its output remains constant.

[0044] The zero-crossing comparator is used to detect whether an input value is zero. The principle is to use a comparator to compare two input voltages. One of the two input voltages is the reference voltage Vr, and the other is the voltage to be measured Vu. Generally, Vr is connected from the positive input terminal, and Vu is connected from the negative input terminal. According to the result of comparing the input voltages, a positive or reverse saturation voltage is output. When the reference voltage is known, the measurement result of the voltage to be measured can be obtained. When the reference voltage is zero, it is a zero-crossing comparator.

[0045] The zero-crossing comparator constructed with a comparator has a certain measurement error. When the product of the voltage difference between the two input terminals and the open-loop gain is less than the output threshold, the detector will give a zero value. For example, when the open-loop gain is 106 and the output threshold is 6V, if the voltage difference between the two input stages is less than 6 microvolts, the detector outputs zero. This can also be considered as measurement uncertainty.

[0046] Comparators can be used to construct relaxation oscillators, in which both positive and negative feedback are applied. Positive feedback is a Schmitt trigger, which forms a multivibrator. The RC circuit adds negative feedback, causing the circuit to start oscillating spontaneously, turning the entire circuit from a latch into a relaxation oscillator. Level conversion uses open-drain comparators (such as LM393, TLV3011, and MAX9028) to construct level converters to change signal voltages. Choosing an appropriate pull-up voltage allows for flexible selection of the conversion voltage value. For example, using the MAX972 comparator can convert a ±5V signal into a 3V signal.

[0047] The voltage comparator can be regarded as an operational amplifier with an amplification factor close to "infinity". The function of the voltage comparator: compare the size of two voltages (using the high or low level of the output voltage to indicate the size relationship between the two input voltages): When the + input voltage is higher than the - input voltage, the voltage comparator output is a high level; when the + input voltage is lower than the - input voltage, the voltage comparator output is a low level.

[0048] The function of voltage comparator: it can be used as an interface between analog circuits and digital circuits, and can also be used as a waveform generation and conversion circuit. A simple voltage comparator can be used to convert a sine wave into a square wave or rectangular wave of the same frequency. The simple voltage comparator has a simple structure and high sensitivity, but poor anti-interference ability, so people have to improve it. The improved voltage comparators include: hysteresis comparator and window comparator. The operational amplifier determines the "operation parameters" through the feedback loop and the input loop, such as the amplification factor. The feedback amount can be part or all of the output current or voltage. The comparator does not require feedback and directly compares the quantities of the two input terminals. If the in-phase input is greater than the inverted input, the output is a high level, otherwise the output is a low level. The input of the voltage comparator is a linear quantity, and the output is a switch (high and low level) quantity. In general applications, linear operational amplifiers can sometimes be used to form a voltage comparator without negative feedback.

[0049] Chips that can be used as voltage comparators: All operational amplifiers. Common ones include LM324, LM358, uA741, TL081, 2, 3, 4, OP07, and OP27. These can all be made into voltage comparators (without negative feedback). LM339 and LM393 are professional voltage comparators with fast switching speed and short delay time. They can be used in special voltage comparison situations. In fact, they are also a kind of operational amplifier.

[0050] The comparator used in the embodiment of the present invention is a voltage comparator, and the specific sampling type is not limited here.

[0051] The first input terminal of the first comparator 104 is an anode, and the second input terminal is a cathode. When the anode voltage is greater than the cathode, the output is a high level, and when the anode voltage is lower than the cathode, the output is a low level.

[0052] The first input terminal of the second comparator 105 is an anode, and the second input terminal is a cathode. When the anode voltage is greater than the cathode, the output is a high level, and when the anode voltage is lower than the cathode, the output is a low level.

[0053] The second input terminal of the first comparator is used to receive the second voltage signal, to compare the first voltage signal with the second voltage signal, and to output a fourth voltage signal to the first input terminal of the AND logic calculation module according to the comparison result.

[0054] In an embodiment of the present invention, the first comparator 104 can compare the first voltage signal and the second voltage signal, the second voltage signal is a low level signal, and when the first voltage signal is a low level signal, that is, when not powered on, the fourth voltage signal output by the first comparator 104 is a low level signal.

[0055] When the activation signal is a power-on signal, that is, the first voltage signal is a high-level signal, the fourth voltage signal output by the first comparator 104 after comparing the first voltage signal and the second voltage signal is a high-level signal.

[0056] The second input terminal of the second comparator is used to receive the fifth voltage signal, to compare the fifth voltage signal with the first voltage signal, and to output a sixth voltage signal to the first input terminal of the OR logic calculation module according to the comparison result.

[0057] In an embodiment of the present invention, the fifth voltage signal received by the second comparator is a high-level signal. When the activation signal is not powered on, the first voltage signal is a low-level signal. At this time, the anode voltage is lower than the cathode voltage and a low-level signal is output, that is, the sixth voltage signal is a low-level signal and is input to the OR logic calculation module 107.

[0058] The second comparator 105 is used when the activation signal is a power-on signal. At this time, the power module 101 supplies power to the discharge module, and the first voltage signal is a high-level signal, but the first voltage signal is lower than the fifth voltage signal. At this time, the second comparator 105 compares the first voltage signal and the fifth voltage signal to obtain a low-level signal.

[0059] The second input terminal of the AND logic calculation module is used to receive the activation signal, and output the first logic signal to the second input terminal of the OR logic calculation module according to the activation signal and the fourth voltage signal.

[0060] In an embodiment of the present invention, the second input terminal of the AND logic calculation module 106 can receive an activation signal. When the activation signal is not powered on, the activation signal is a low-level signal. The AND logic calculation module 106 first inverts the activation signal to obtain a high-level signal, and then performs a logic AND calculation with the fourth voltage signal. At this time, the fourth voltage signal is a low-level signal. At this time, the inputs of the AND logic calculation module are not all high-level signals, and the output first logic signal is a logic low-level signal, for example, 0.

[0061] When the activation signal is powered on, the activation signal is a high-level signal. The logic calculation module 106 first inverts the activation signal to obtain a low-level signal, and then performs a logic AND calculation with the first voltage signal. At this time, the fourth voltage signal is a high-level signal, and the result of the logic AND calculation, the first logic signal, is a low-level signal, and then input into the logic calculation module 107.

[0062] The OR logic calculation module is used to output a second logic signal to the discharge module according to the first logic signal and the sixth voltage signal, so as to control the discharge module to start or stop discharging.

[0063] In an embodiment of the present invention, the OR logic calculation module 107 can perform an OR calculation based on the first logic signal and the sixth voltage signal. When the activation signal is not powered on, that is, the first logic signal is a low level signal, and the sixth voltage signal is also a low level signal, that is, the input end of the OR logic calculation module 107 is a low level signal, and the output second logic signal is a low level signal. At this time, the discharge module does not conduct after receiving the low level signal, that is, it does not discharge.

[0064] When the activation signal of the OR logic calculation module 107 is a power-on signal and the first voltage signal is less than V2, that is, the first logic signal is a low level signal and the sixth voltage signal is a low level signal, at this time, the input end of the OR logic calculation module 107 is a low level signal, and the output second logic signal is a low level signal. At this time, the discharge module does not conduct after receiving the low level signal, that is, it does not discharge.

[0065] The present invention discloses a discharge control circuit. The present invention discloses a discharge control circuit. The present invention can discharge or stop discharging a discharge module according to the input control of an activation signal, and can control the capacitor not to discharge during normal operation; and automatically discharge to relieve pressure when overvoltage occurs; and actively discharge when power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption.

[0066] In an embodiment of the present invention, the discharge control circuit further includes a signal acquisition module 108, which is connected to the power module and is used to acquire the activation signal and input it to the power module.

[0067] In an embodiment of the present invention, the signal acquisition module 108 can collect activation signals and input the collected activation signals to the power supply module 101. When the power is not turned on, the input activation signal is 0. When the power is turned on, the input activation signal is a high level. When the power is turned from on to off, the input activation signal is changed from a high level signal to a low level signal.

[0068] In one embodiment of the present invention, the power module is used to disconnect the power supply and stop supplying power to the discharge module when the activation signal is a power-off signal, and to close the power supply to supply power to the discharge module when the activation signal is a power-on signal.

[0069] In the embodiment of the present invention, the power module 101 is used to disconnect the power supply and stop supplying power to the discharge module when the activation signal is a power-off signal, and to close the power supply and supply power to the discharge module when the activation signal is a power-on signal.

[0070] In one embodiment of the present invention, the power module includes a high-voltage DC power supply, a relay switch, a relay coil, and a signal processing module; the signal processing module is used to receive an activation signal and output a current signal to the relay coil according to the activation signal; one end of the high-voltage DC power supply is connected to one end of the relay switch, and the other end is connected to the discharge module, which is used to supply power to the discharge module when the relay switch is closed; the other end of the relay switch is connected to the discharge module, which is used to close or open according to the current signal in the relay coil; one end of the relay coil is connected to the signal processing module, and the other end is grounded.

[0071] In the embodiment of the present invention, Figure 1 The power supply module may also include a high-voltage DC power supply 1011, a relay switch 1012, a relay coil 1013, and a signal processing module 1014. The relay switch 1012 and the relay coil 1013 constitute a relay. When current is generated in the relay coil 1013, the relay switch 1012 is closed to form a loop. At this time, the high-voltage DC power supply 1011 can power the discharge module; the signal processing module can receive an activation signal. When the activation signal is a power-off signal, the current signal is 0 at this time. When the activation signal is a power-on signal, the current signal is not 0 at this time.

[0072] The relay switch 1012 is used when the activation signal is not powered on. At this time, the current input to the signal processing module is 0, that is, the current in the relay coil 1013 is 0. At this time, the relay switch is disconnected and no loop is formed. The high-voltage DC power supply 1011 does not output power to power the discharge module.

[0073] The relay switch 1012 is used when the activation signal is a power-on signal. At this time, the current input to the signal processing module is not 0, that is, the current in the relay coil 1013 is not 0. At this time, the relay switch is closed to form a loop, and the high-voltage DC power supply 1011 outputs power to power the discharge module.

[0074] The relay switch 1012 is used when the activation signal is power off. At this time, the current input to the signal processing module is 0, that is, the current in the relay coil 1013 is 0. At this time, the relay switch is disconnected and no loop is formed. The high-voltage DC power supply 1011 does not output power to power the discharge module.

[0075] In one embodiment of the present invention, the signal processing module includes a bipolar junction transistor, a first end of the bipolar junction transistor is used to collect an activation signal, a second end of the bipolar junction transistor is connected to one end of a relay coil, and a third end of the bipolar junction transistor is grounded.

[0076] In the embodiment of the present invention, Figure 1 The signal processing module 1014 may include a bipolar junction transistor, a first end of the bipolar junction transistor is used to collect an activation signal, a second end of the bipolar junction transistor is connected to one end of the relay coil, and a third end of the bipolar junction transistor is grounded. The bipolar junction transistor may be turned on when the activation signal received is a power-on signal, and at this time, a current signal is input to the relay coil 1013, and may be closed when the activation signal received is a power-off signal, and at this time, the input current signal is 0.

[0077] In one embodiment of the present invention, the bipolar junction transistor is used to stop inputting a current signal to the relay coil when the activation signal is a power-down signal, and to input a current signal to the relay coil when the activation signal is a power-up signal.

[0078] In an embodiment of the present invention, the signal processing module 1014 may include a bipolar junction transistor, a first end of the bipolar junction transistor is used to collect an activation signal, a second end of the bipolar junction transistor is connected to one end of the relay coil, and a third end of the bipolar junction transistor is grounded. The bipolar junction transistor can be turned on when the activation signal received is a power-on signal, and at this time, an input current signal is input to the relay coil 1013, and can be closed when the activation signal received is a power-off signal, and at this time, the input current signal is 0.

[0079] In one embodiment of the present invention, the discharge module includes a capacitor, a first transistor, and a second transistor; the first end of the first transistor is connected to one end of the relay switch, the second end of the first transistor is connected to the other end of the relay switch, and the third end of the first transistor is connected to the output end of the OR logic calculation module; the first end of the second transistor is connected to one end of the relay switch, the second end of the second transistor is connected to the other end of the relay switch, and the third end of the second transistor is connected to the output end of the OR logic calculation module; the capacitor is respectively connected to the first end and the second end of the second transistor.

[0080] In the embodiment of the present invention, Figure 1 The discharge module may include a capacitor C1, a first transistor Q1, and a second transistor Q2. The first end of the first transistor Q1 is connected to one end of the relay switch 1012, the second end of the first transistor Q1 is connected to the other end of the relay switch 1012, and the third end of the first transistor Q1 is connected to the output end of the OR logic calculation module 107; the first end of the second transistor Q2 is connected to one end of the relay switch 1012, the second end of the second transistor Q2 is connected to the other end of the relay switch 1012, and the third end of the second transistor Q2 is connected to the output end of the OR logic calculation module 107; the capacitor C1 is respectively connected to the first end and the second end of the second transistor Q2.

[0081] When the OR logic calculation module outputs a low-level signal, Q1 and Q2 are not conducting, and C1 does not discharge. When the OR logic calculation module outputs a high-level signal, Q1 and Q2 are conducting, and Q1, Q2, and C1 form a loop, and C1 can discharge to the outside.

[0082] In one embodiment of the present invention, the discharge module also includes a first resistor and a second resistor; one end of the first resistor is connected to the first end of the first transistor, and the other end of the first resistor is connected to one end of the relay switch; one end of the second resistor is connected to the first end of the second transistor, and the other end of the second resistor is connected to one end of the relay switch.

[0083] In the embodiment of the present invention, Figure 1 The discharge module 102 may further include a first resistor R1 and a second resistor R2, wherein one end of the first resistor R1 is connected to the first end of the first transistor Q1, and the other end of the first resistor R1 is connected to one end of the relay switch 1012; one end of the second resistor R2 is connected to the first end of the second transistor Q2, and the other end of the second resistor R2 is connected to one end of the relay switch 1012. The first resistor R1 is a varistor, which is used to prevent the voltage of the bus capacitor C1 from changing too quickly when charging and discharging, and to protect the circuit. R2 is a fixed value resistor, which plays a current limiting role to prevent excessive current in the circuit.

[0084] A varistor is a voltage-dependent resistor whose resistance value changes with the voltage applied across its two ends. When the voltage is below a certain value (called the "clamping voltage" or "breakdown voltage"), the resistance value of the varistor is very high and almost non-conductive; when the voltage exceeds this specific value, its resistance value drops sharply and becomes very low, allowing current to pass.

[0085] Varistors are usually made of metal oxides (such as zinc oxide) and have nonlinear volt-ampere characteristics, which allows them to effectively absorb and suppress voltage spikes or surges in circuits, protecting other components in the circuit from damage due to overvoltage. Therefore, varistors are often used in power lines, signal lines, and communication lines as overvoltage protection components.

[0086] In circuit diagrams, varistors are usually connected in parallel with the circuit to be protected so that they can quickly turn on when overvoltage occurs, shunting excess current and protecting other components in the circuit.

[0087] In an embodiment of the present invention, the sampling module includes a differential sampling module, the differential sampling module is connected to two ends of the capacitor, and the differential sampling module is used to collect a first voltage signal at the two ends of the capacitor.

[0088] In an embodiment of the present invention, the sampling module 103 may include a differential sampling module 1031, which is connected to both ends of the capacitor C1. The differential sampling module 1031 is used to collect the first voltage signal at both ends of the capacitor C1. The differential sampling module 1031 plays a role of isolating the voltage, and converts the high voltage into a low voltage at a certain ratio through the series-connected voltage-dividing resistor and the differential chip.

[0089] In one embodiment of the present invention, the sampling module also includes an operational amplifier, a first input terminal of the operational amplifier is connected to the first output terminal of the differential sampling module, a second input terminal of the operational amplifier is connected to the second output terminal of the differential sampling module, and an output terminal of the operational amplifier is connected to the first input terminal of the first comparator; the operational amplifier is used to filter the first voltage signal collected by the differential sampling module.

[0090] In the embodiment of the present invention, the sampling module 103 may further include an operational amplifier 1032, wherein the first input terminal of the operational amplifier 1032 is connected to the first output terminal of the differential sampling module 1031, the second input terminal of the operational amplifier 1032 is connected to the second output terminal of the differential sampling module 1031, and the output terminal of the operational amplifier 1032 is connected to the first input terminal of the first comparator 104; the operational amplifier 1032 is used to filter the first voltage signal collected by the differential sampling module.

[0091] An operational amplifier is an electronic integrated circuit that contains multiple stages of amplifier circuits. Its input stage is a differential amplifier circuit with high input resistance and the ability to suppress zero drift. The intermediate stage mainly performs voltage amplification and has a high voltage amplification factor, and is generally composed of a common emitter amplifier circuit. The output stage is connected to the load and has the characteristics of strong load capacity and low output resistance.

[0092] According to the parameters of integrated operational amplifiers, integrated operational amplifiers can be divided into the following categories: general-purpose operational amplifiers are designed for general purposes. The main features of this type of device are low price, large product volume and wide application, and its performance indicators are suitable for general use. For example, μA741 (single operational amplifier), LM358 (dual operational amplifier), LM324 (quad operational amplifier) ​​and LF356 with field effect tube as input stage all belong to this category. They are currently the most widely used integrated operational amplifiers.

[0093] High impedance type, this type of integrated operational amplifier is characterized by very high differential input impedance and very small input bias current, generally rid>1GΩ~1TΩ, IB is several picoamperes to tens of picoamperes. The main measure to achieve these indicators is to use the high input impedance of field effect tubes to form the differential input stage of the operational amplifier. Using FET as the input stage not only has high input impedance and low input bias current, but also has the advantages of high speed, broadband and low noise, but the input offset voltage is large. Common integrated devices include LF355, LF347 (quad op amps) and CA3130, CA3140 with higher input impedance.

[0094] Low temperature drift type. In automatic control instruments such as precision instruments and weak signal detection, it is always hoped that the offset voltage of the operational amplifier should be small and not change with temperature. Low temperature drift operational amplifiers are designed for this purpose. Currently commonly used high-precision, low temperature drift operational amplifiers include OP07, OP27, AD508 and the chopper-stabilized low drift device ICL7650 composed of MOSFET.

[0095] High-speed type, in fast A / D and D / A converters, video amplifiers, the conversion rate SR of the integrated operational amplifier must be high, and the unit gain bandwidth BWG must be large enough. General-purpose integrated operational amplifiers are not suitable for high-speed applications. The main features of high-speed operational amplifiers are high conversion rate and wide frequency response. Common operational amplifiers include LM318, μA715, etc., with SR=50~70V / us, BWG>20MHz.

[0096] Low power consumption type. Since the biggest advantage of electronic circuit integration is that it can make complex circuits small and light, as the application range of portable instruments expands, operational amplifiers with low power supply voltage and low power consumption must be used. Commonly used operational amplifiers include TL-022C, TL-060C, etc., with an operating voltage of ±2V~±18V and a current consumption of 50~250μA. At present, the power consumption of some products has reached the μW level. For example, the power supply of ICL7600 is 1.5V, the power consumption is 10mW, and it can be powered by a single battery.

[0097] For high-voltage and high-power operational amplifiers, the output voltage is mainly limited by the power supply. In ordinary operational amplifiers, the maximum output voltage is generally only tens of volts, and the output current is only tens of milliamperes. If you want to increase the output voltage or increase the output current, an auxiliary circuit must be added to the outside of the integrated operational amplifier. High-voltage and high-current integrated operational amplifiers do not need any additional circuits to output high voltage and high current. For example, the power supply voltage of the D41 integrated operational amplifier can reach ±150V, and the output current of the μA791 integrated operational amplifier can reach 1A.

[0098] Programmable control type, in the process of using instruments and meters, will involve the problem of range. In order to get a fixed voltage output, the amplification factor of the operational amplifier must be changed. For example: there is an operational amplifier with a magnification of 10 times. When the input signal is 1mv, the output voltage is 10mv. When the input voltage is 0.1mv, the output is only 1mv. In order to get 10mv, the amplification factor must be changed to 100. Programmable operational amplifiers are created to solve this problem. For example, PGA103A changes the amplification factor by controlling the level of pins 1 and 2.

[0099] In one embodiment of the present invention, the second comparator is used to discharge the discharge module according to the second logic signal when the activation signal is a power-on signal, the first voltage signal is higher than the fifth level signal, the sixth voltage signal is a high level signal, and the second logic signal is a high level signal, or the logic calculation module is used to discharge the discharge module according to the second logic signal, and stop discharging when the first voltage signal is lower than the fifth level signal.

[0100] In the embodiment of the present invention, when the activation signal is a power-on signal and the first voltage signal is higher than V2, the anode voltage of the second comparator 105 is higher than the cathode voltage, that is, the sixth voltage signal output by the second comparator 105 is a high level signal, that is, one end of the logic calculation module 107 is input as a high level signal. At this time, no matter whether the level signal at the other end of the logic calculation module 107 is a low level signal or a high level signal, the output second logic signal is a high level signal. At this time, Q1 and Q2 are turned on to form a loop, and C1 starts to discharge. During the discharge process, the first voltage signal gradually decreases. When the first voltage signal is less than the fifth level signal, the sixth level signal output by the second comparator 105 is a low level signal, and the first logic signal output by the logic calculation module is a low level signal, that is, both ends of the logic calculation module are input as low level signals, or the second logic signal output by the logic calculation module is a low level signal. At this time, Q1 and Q2 are not turned on, and C1 stops discharging.

[0101] When the activation signal changes from a power-on signal to a power-off signal, the input activation signal is 0, the signal processing module 1014 is not conducting, and there is no current signal in the relay coil 1013, the relay switch 1012 is disconnected, and the differential sampling module 1031 samples the voltage across the bus capacitor C1. After the operational amplifier, the first voltage signal at point P must be greater than V1, and the comparator 104 outputs a high-level signal. At this time, the AND logic calculation module inverts the activation signal to obtain a high-level signal. Both input terminals of the AND logic calculation module are high-level signals, and the output first logic signal is a high-level signal. At this time, the OR logic calculation module There is also a high-level signal at the input end of block 107, and the output second logic signal is a high-level signal, then Q1 and Q2 are both turned on, and the bus capacitor C1 starts to discharge until the voltage at point P is less than V1. The comparator 104 outputs a low level. If any input signal is 0, the output of the logic calculation module 106 is 0. Because V2>V1, the voltage at point P must be less than V2 at this time, then the second comparator 105 outputs a low-level signal. Therefore, at this time, the two input signals of the logic calculation module are both 0, and its output second logic signal is 0. At this time, Q1 and Q2 are both not turned on, and the bus capacitor C1 stops discharging.

[0102] like Figure 1 The discharge control circuit provided by the present invention may also include a third resistor R3, a fourth resistor R4, and a fifth resistor R5. One end of the third resistor R3 is connected to the output end of the differential sampling module 1031, and the other end of the third resistor R3 is connected to the input end of the operational amplifier 1032. R3 can play a role in protecting the circuit. The specific value can be set according to user needs.

[0103] One end of the fourth resistor R4 is connected to the input end of the operational amplifier 1032, and the other end is connected to the output end of the operational amplifier 1032. One end of the fifth resistor R5 is connected to the input end of the operational amplifier 1032, and the other end is connected to the output end of the operational amplifier 1032. The fourth resistor R4 and the fifth resistor R5 play the role of protecting the circuit.

[0104] like Figure 2 , showing a flow chart of discharging a capacitor provided by an embodiment of the present invention, first determine whether strong electricity is applied, if not, determine whether the voltage at point P is greater than V1, if then the comparator 104 outputs a high-level signal, at this time, the AND logic calculation module inverts the activation signal to obtain a high-level signal, both input ends of the AND logic calculation module are high-level signals, and the output first logic signal is a high-level signal, at this time, there is also a high-level signal at the input end of the OR logic calculation module 107, and the output second logic signal is a high-level signal, then Q1 and Q2 are both turned on, and the bus capacitor C1 starts to discharge, if the voltage at point P is less than V1, the comparator 104 outputs a low level, and any input end signal is 0, then the AND logic calculation module 106 outputs 0, and because V2>V1, the voltage at point P must be less than V2 at this time, then the second comparator 105 outputs a low-level signal, so at this time, both input signals of the OR logic calculation module are 0, then its output second logic signal is 0, at this time, Q1 and Q2 are both not turned on, and the bus capacitor C1 stops discharging.

[0105] If the activation signal is judged to be the upper strong current, the eye line capacitor C1 is charged, and it is judged whether the voltage at point P is greater than V2. If the voltage at point P is greater than V2, the anode voltage of the second comparator 105 is higher than the cathode voltage, that is, the sixth voltage signal output by the second comparator 105 is a high level signal, that is, one end input of the logic calculation module 107 is a high level signal. At this time, no matter the level signal at the other end of the logic calculation module 107 is a low level signal or a high level signal, the output second logic signal is a high level signal. At this time, Q1 and Q2 are turned on to form a loop, and C1 starts to discharge. During the discharge process, the first voltage signal gradually decreases. When the first voltage signal is less than the fifth level signal V2, the sixth level signal output by the second comparator 105 is a low level signal, and the first logic signal output by the logic calculation module is a low level signal, that is, the inputs at both ends of the logic calculation module are low level signals, or the second logic signal output by the logic calculation module is a low level signal. At this time, Q1 and Q2 are not turned on, and C1 stops discharging.

[0106] The present invention discloses a discharge control circuit. The present invention can discharge or stop discharging a discharge module according to the input control of an activation signal, and can control the capacitor not to discharge during normal operation; automatically discharge to relieve pressure when overvoltage occurs; and actively discharge when power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption.

[0107] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0108] The invention also discloses a controller, which comprises the discharge control circuit as described above.

[0109] The present invention discloses a controller. The present invention can discharge or stop discharging a discharge module according to the input control of an activation signal, and can control the capacitor not to discharge during normal operation; automatically discharge to relieve pressure when overvoltage occurs; and actively discharge when power is off, and stop discharging when the voltage is at a lower level, thereby achieving the effect of protecting the circuit and reducing energy consumption.

[0110] The above is a detailed introduction to a discharge control circuit and a controller provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A discharge control circuit, characterized in that: It includes a power supply module, a discharge module, a sampling module, a first comparator, a second comparator, and a logic calculation module, or a logic calculation module; The power supply module is used to receive an activation signal and supply power to the discharge module according to the activation signal; The discharge module is connected to the power module and is used to output a first voltage signal according to the power provided by the power module; The sampling module has an input end connected to the discharge module, and an output end connected to the first input end of the first comparator and the first input end of the second comparator, for collecting a first voltage signal output by the discharge module, and inputting the first voltage signal to the first input end of the first comparator and the first input end of the second comparator; The second input terminal of the first comparator is used to receive a second voltage signal, to compare the first voltage signal with the second voltage signal, and to output a fourth voltage signal to the first input terminal of the AND logic calculation module according to the comparison result; The second input terminal of the second comparator is used to receive a fifth voltage signal, to compare the fifth voltage signal with the first voltage signal, and to output a sixth voltage signal to the first input terminal of the OR logic calculation module according to the comparison result; The second input terminal of the AND logic calculation module is used to receive the activation signal, and output a first logic signal to the second input terminal of the OR logic calculation module according to the activation signal and the fourth voltage signal; The OR logic calculation module is used to output a second logic signal to the discharge module according to the first logic signal and the sixth voltage signal, so as to control the discharge module to start or stop discharging.

2. The circuit according to claim 1, characterized in that The circuit further includes a signal acquisition module, which is connected to the power module and is used to acquire the activation signal and input it into the power module.

3. The circuit according to claim 2, characterized in that The power supply module is used to disconnect the power supply and stop supplying power to the discharge module when the activation signal is a power-off signal, and to close the power supply to supply power to the discharge module when the activation signal is a power-on signal.

4. The circuit according to claim 2, characterized in that The power module includes a high-voltage DC power supply, a relay switch, a relay coil, and a signal processing module; The signal processing module is used to receive an activation signal and output a current signal to the relay coil according to the activation signal; One end of the high-voltage DC power supply is connected to one end of the relay switch, and the other end is connected to the discharge module, so as to supply power to the discharge module when the relay switch is closed; The other end of the relay switch is connected to the discharge module, and is used to close or open according to the current signal in the relay coil; One end of the relay coil is connected to the signal processing module, and the other end is grounded.

5. The circuit according to claim 4, characterized in that The signal processing module includes a bipolar junction transistor, a first end of the bipolar junction transistor is used to collect an activation signal, a second end of the bipolar junction transistor is connected to one end of the relay coil, and a third end of the bipolar junction transistor is connected to a power supply Vcc.

6. The circuit according to claim 5, characterized in that The bipolar junction transistor is used to stop inputting the current signal to the relay coil when the activation signal is a power-down signal, and to input the current signal to the relay coil when the activation signal is a power-up signal.

7. The circuit according to claim 4, characterized in that The discharge module includes a capacitor, a first transistor, and a second transistor; The first end of the first transistor is connected to the other end of the relay switch, the second end of the first transistor is connected to the other end of the high-voltage DC power supply, and the third end of the first transistor is connected to the output end of the OR logic calculation module; The first end of the second transistor is connected to the other end of the relay switch, the second end of the second transistor is connected to the other end of the high-voltage DC power supply, and the third end of the second transistor is connected to the output end of the OR logic calculation module; The capacitor is connected to the first end and the second end of the second transistor respectively.

8. The circuit according to claim 7, characterized in that The discharge module further includes a first resistor and a second resistor; one end of the first resistor is connected to the first end of the first transistor, and the other end of the first resistor is connected to the other end of the relay switch; One end of the second resistor is connected to the first end of the second transistor, and the other end of the second resistor is connected to the other end of the relay switch.

9. The circuit according to claim 7, characterized in that The sampling module includes a differential sampling module, which is connected to both ends of the capacitor and is used to collect the first voltage signal at both ends of the capacitor.

10. The circuit according to claim 9, characterized in that The sampling module also includes an operational amplifier, a first input end of the operational amplifier is connected to the first output end of the differential sampling module, a second input end of the operational amplifier is connected to the second output end of the differential sampling module, and an output end of the operational amplifier is connected to the first input end of the first comparator and the first input end of the second comparator; the operational amplifier is used to filter the first voltage signal collected by the differential sampling module.

11. The circuit according to claim 1, characterized in that The second comparator is used for controlling the discharge module to start discharging according to the second logic signal when the activation signal is a power-on signal and the first voltage signal is higher than the fifth voltage signal, the sixth voltage signal is a high-level signal, and the second logic signal is a high-level signal; and the OR logic calculation module is used for controlling the discharge module to stop discharging according to the second logic signal when the first voltage signal is lower than the fifth voltage signal.

12. A controller, characterized in that: The controller comprises a discharge control circuit as claimed in any one of claims 1 to 11.