Thermal memory circuit and thermal memory method thereof, electronic trip device, circuit breaker
Through the combination of microprocessor and capacitor charging and discharging circuits, the AD port is used to detect the capacitance voltage, the design of electronic tripper is simplified, the problems of complex circuits and many components in the existing technology are solved, and the circuit breaker is miniaturized and cost reduction.
Patent Information
- Application Number
- CN201910221071.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-22
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-03-22
AI Technical Summary
The thermal memory function of existing electronic overcurrent protection appliances is complex and the number of components is large, resulting in complex circuit structure, which is not conducive to the miniaturization of circuit breakers and the reduction of cost.
The microprocessor, current sampling circuit and capacitor charging and discharging circuit are used to detect the capacitor voltage through the AD port of the microprocessor, and the diodes are used to realize the charging and discharging of the capacitor, simplifying the circuit structure and reducing the number of components.
It has achieved simplification of hardware circuits, reduced the volume and cost of electronic releases, met the miniaturization requirements of circuit breakers, and improved market competitiveness.
Smart Images

Figure CN109905108B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a thermal memory circuit, belonging to the technical field of low-voltage electrical appliances. Background Art
[0002] Thermal magnetic overcurrent protection devices have better overcurrent closing and re-tripping capabilities due to the characteristics of their bimetallic strip structure that gradually bends when heated and gradually recovers when cooled. However, electronic overcurrent protection devices do not have bimetallic strip structures. They can only simulate the characteristics of bimetallic strips bending and recovering when heated by certain specific methods through electronic protection units, so that they also have better overcurrent closing and re-tripping capabilities. Therefore, the "thermal memory" function of electronic overcurrent protectors came into being. At present, the power-off thermal memory function generally uses the method of recording the current main circuit energy accumulation by controlling the charging of external energy storage capacitors, and simulating the energy release of the main circuit in the case of power failure by the natural discharge process of the capacitor. The voltage across the capacitor reflects the energy situation of the main circuit.
[0003] An existing technology such as Figure 1 As shown, when an overload current is detected by the current transformer 2, the current is calculated as the corresponding energy, and the microprocessor 4 outputs a certain width pulse to control the transistor Q1 to conduct, so that the current of the power supply voltage VCC flows to the capacitor C1 through R1, Q1, and D1. At the same time, the microprocessor 4 indirectly obtains the voltage on the capacitor C1 by detecting the output voltage of the voltage follower composed of the operational amplifier, resistor R3, and resistor R4, and after comparing it with the accumulated value of the corresponding energy currently calculated by the microprocessor 4, the pulse width is adjusted to control the charging voltage on the capacitor C1. When the overload accumulated energy reaches the circuit breaker action condition, the microprocessor 4 controls the trip coil 3 to cut off the main circuit power supply, and the power supply voltage (VCC) no longer charges the capacitor C1, and the charged voltage begins to slowly discharge through the resistor R5. When closing the switch again, the microprocessor 4 collects the voltage remaining in the capacitor C1 through the voltage follower 5, and then converts this voltage into a proportional residual energy value.
[0004] Patents that improve the existing technology, such as CN202837860U, add a power-off judgment circuit, and store the energy value in a non-volatile memory when the power is off; Patent CN202387999U adds a PWM comparison generation circuit to further optimize the control method. However, the existing technical solutions all use operational amplifiers and a variety of discrete components to form a thermal memory circuit, which uses a large number of components and a relatively complex circuit structure, which is not conducive to the miniaturization of circuit breakers. Summary of the invention
[0005] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a thermal memory circuit and a thermal memory method thereof with a simple hardware circuit and a small number of components, thereby effectively reducing the volume of the electronic release, reducing the cost of the electronic release, and meeting the miniaturization requirements of the circuit breaker.
[0006] The thermal memory circuit of the present invention comprises a microprocessor and a current sampling circuit and a capacitor charging and discharging circuit respectively connected to the microprocessor, wherein the current sampling circuit is used to provide a sampling signal of a loop current to the microprocessor, and the capacitor charging and discharging circuit is used to charge and discharge an energy storage capacitor contained in the microprocessor under the control of the microprocessor; the capacitor charging and discharging circuit is composed of a resistor R1, a resistor R2, an energy storage capacitor C1, and a diode D1, wherein one end of the resistor R1 is connected to an I / O port of the microprocessor, and the other end is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the energy storage capacitor C1 and one end of the resistor R2, and the negative electrode of the energy storage capacitor C1 and the other end of the resistor R2 are both grounded; and the positive electrode of the diode D1 is also connected to an AD port of the microprocessor.
[0007] In the thermal memory method of the thermal memory circuit as described above, when the microprocessor detects the loop current through the current sampling circuit, the current is calculated as the corresponding energy, and a pulse of a certain width is output through the I / O port to charge the energy storage capacitor C1. At the same time, only during the generation of the pulse, the microprocessor detects the capacitor voltage on the energy storage capacitor C1 through the AD port and converts it into energy, and compares it with the corresponding energy accumulation value of the current calculated at present. If the converted energy is less than the currently calculated energy, the pulse is continuously output to control the charging voltage of the energy storage capacitor C1, so that the energy accumulation matches the capacitor voltage. If the converted energy is greater than the currently calculated energy, the pulse output is stopped; when the thermal memory circuit is powered on again after being powered off, the microprocessor first sends a pulse to turn on the diode D1, and at the same time detects the capacitor voltage on the energy storage capacitor C1 through the AD port and converts it into energy, and uses this energy as the base of the current current energy accumulation, and repeats the above steps; the detection of the capacitor voltage on the energy storage capacitor C1 through the AD port is specifically: detecting the voltage V1 of the positive electrode of the diode D1 through the AD port, and subtracting the conduction voltage drop of the diode D1 from the voltage V1 to obtain the capacitor voltage V2 on the energy storage capacitor C1.
[0008] According to the same inventive idea, the following technical solutions can also be obtained:
[0009] An electronic trip device comprises the thermal memory circuit as described above and a trip circuit connected to the microprocessor.
[0010] A circuit breaker comprises the electronic release as described above.
[0011] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0012] The present invention uses the AD port of the microprocessor to detect the capacitor voltage, the microcontroller sends a pulse to charge the capacitor, and the AD port of the microcontroller can collect the capacitor voltage value. When the thermal memory circuit is powered on again after being powered off, it only needs to use the I / O port to send a pulse signal to turn on the diode so as to collect the capacitor voltage value through the AD port. The number of circuit elements used is greatly reduced, especially without the need for integrated devices such as operational amplifiers, and the hardware circuit is simple to implement, so that the volume of the electronic release can be effectively reduced, the miniaturization requirements of the circuit breaker are met, and the cost of the electronic release is reduced, thereby improving the market competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a circuit schematic diagram of the prior art;
[0014] Figure 2 It is a structural block diagram of the electronic release of the present invention;
[0015] Figure 3 The figure is a circuit diagram of the electronic release of the present invention. DETAILED DESCRIPTION
[0016] In view of the shortcomings of existing thermal memory circuits, such as the large number of components including operational amplifiers and the relatively complex circuit structure, the idea of the present invention is to use the AD port of a microprocessor to detect the capacitor voltage in the capacitor charging and discharging circuit, thereby greatly reducing the number of circuit elements, especially without the need for integrated devices such as operational amplifiers, and the hardware circuit is simple to implement, which can effectively reduce the size of the electronic release, meet the requirements of miniaturization of circuit breakers, reduce the cost of the electronic release, and improve market competitiveness.
[0017] like Figure 2 , Figure 3 As shown, the electronic release of the present invention is arranged in a circuit breaker, which includes a microcontroller, a capacitor charging and discharging circuit, a current sampling circuit, and a tripping circuit; the charging circuit of the capacitor charging and discharging circuit is composed of a resistor R1, a diode D1, and an energy storage capacitor C1, one end of the resistor R1 is connected to the I / O port (PWM pin in this embodiment) of the microcontroller, and the other end is connected to the positive electrode of the diode D1, and the negative electrode is connected to the positive electrode of the energy storage capacitor C1, and the negative electrode of the energy storage capacitor C1 is grounded; the discharge circuit is composed of a resistor R2 and an energy storage capacitor C1, and the resistor R2 is connected in parallel with the energy storage capacitor C1; in addition, the positive electrode of the diode D1 is also connected to an AD pin of the microcontroller. The circuit breaker is arranged on the line from the external power supply to the load, and the circuit breaker is connected to the tripping coil, and the circuit breaker is disconnected by the tripping coil to provide power protection to the load. The current transformer is arranged on the line between the circuit breaker and the load, and is used to detect the current provided to the load. The microcontroller is connected to the tripping coil and the current transformer.
[0018] When the microcontroller detects the current through the current transformer, the current is calculated as the corresponding energy, and then the PWM end of the microcontroller outputs a pulse of a certain width (for example, the pulse width is set to 20ms), and charges the energy storage capacitor C1 through the resistor R1 and the diode D1. Since the diode has the characteristics of forward conduction and reverse cutoff, the microcontroller detects the voltage V1 of the positive pole of the diode D1 to the ground through the AD port only during the pulse generation period, and calculates the voltage V2 on the energy storage capacitor C1 based on this voltage. The value of the voltage V2 is the voltage V1 minus the conduction voltage drop of the diode D1 (which is the inherent parameter of the diode). The microcontroller converts the voltage V2 into energy and compares it with the cumulative value of the corresponding energy currently calculated. If the energy converted by the voltage V2 is less than the cumulative value of the energy currently calculated, the pulse with a pulse width of 20ms will continue to be output; if the energy converted by the voltage V2 is greater than the cumulative value of the energy currently calculated, the pulse output will stop, and so on. The charging voltage on the energy storage capacitor C1 is controlled by continuing to output pulses to match the energy accumulation with the capacitor voltage.
[0019] The accumulation of current energy can be expressed by the following relationship: E n =E n-1 *P+S n (1), E n is the accumulated value of energy in the nth cycle, E n-1 is the accumulated value of energy in the n-1th cycle, P is the attenuation coefficient, S n Energy value calculated for the nth cycle current.
[0020] In the present invention, the microcontroller converts the voltage V2 into energy using the following method:
[0021] According to the capacitor discharge curve formula Where RC is the discharge time constant, V is the current voltage (i.e. V2 in this patent), V E The voltage at which the capacitor is fully charged can also be a preset charging voltage value in this patent, and T is a time variable.
[0022] Energy attenuation is calculated according to the following formula E n =E n-1 *P, where E n is the energy of the nth cycle, E n-1 is the energy of the n-1th cycle, and P is the attenuation coefficient, so the following formula holds:
[0023]
[0024] E0 is the total energy at the preset tripping time, P is the attenuation coefficient, Δt is the attenuation period, T is the time variable, and E is the current energy. According to the above formula, for any time T, the capacitor voltage and energy have the following conversion relationship:
[0025]
[0026] When the accumulated energy reaches the action condition set by the circuit breaker, the microcontroller controls the tripping coil to operate the circuit breaker and cut off the fault line. After the power is off, the charge on the energy storage capacitor C1 is discharged through the resistor R2 to simulate the attenuation of energy. When the circuit breaker is closed and powered on again, the microcontroller first sends a pulse to turn on the diode D1. In order to reduce the impact of the pulse on the charging capacitor, the pulse time is as short as possible, preferably set to 32us. The microcontroller then detects the voltage V1 between the positive pole of the diode D1 and the ground, and uses this voltage to calculate the voltage V2 on the energy storage capacitor C1 at this time. The voltage V2 is used to calculate the current remaining energy after attenuation, and this is used as the base for energy accumulation again (that is, E in the relationship (1) n-1 ), repeat the above process. Thus, the thermal memory of energy after power failure is realized.
[0027] Furthermore, when the calculation of energy accumulation is only associated with current overload, the above process only needs to be repeated when the current is overloaded. The accumulation of current energy can be expressed by the following relationship: E n =E n-1 +S n (2), E n is the accumulated value of energy in the nth cycle, E n-1 is the accumulated value of energy in the n-1th cycle, S n The energy value calculated for the current in the nth cycle. When the current is not overloaded, S n That is, it is 0, the microcontroller stops outputting pulses, and the accumulated value of current energy decays according to the attenuation coefficient. The accumulation of current energy can be expressed by the following relationship: E n =E n-1 *P(3),E n is the accumulated value of energy in the nth cycle, E n-1 is the accumulated value of energy in the n-1th cycle, and P is the attenuation coefficient. When the thermal memory circuit is powered on again after being powered off, the microcontroller first sends a pulse to turn on the diode D1, and then detects the voltage V1 between the positive electrode of the diode D1 and the ground, and uses this voltage to calculate the voltage V2 on the energy storage capacitor C1 at this time, and uses the voltage V2 to calculate the current remaining energy after attenuation. If the current is overloaded, this energy is used as the base of the current current energy accumulation (that is, E in the relationship (2) n-1 ), repeat the above process; if the current is not overloaded, this energy is used as the base of the current current energy accumulation (i.e. E in equation (3) n-1). Or there is another processing method. After the thermal memory circuit is powered off and then powered on again, if the current is not overloaded, no pulse will be issued until the current overload is detected. Then the PWM end of the microcontroller outputs a 20ms pulse. Only during the pulse generation period, the microcontroller detects the voltage V1 between the positive electrode of the diode D1 and the ground through the AD port, and calculates the voltage V2 on the energy storage capacitor C1 based on this voltage. The microcontroller converts the voltage V2 into energy and compares it with the accumulated value of the corresponding energy currently calculated, and repeats this process.
[0028] In practical applications, since the voltage drop of a diode when it is turned on is related to the forward current of the diode, in order to obtain the accurate value of the voltage drop of the diode when it is turned on, the MCU needs to make corresponding compensation when calculating. According to the known theory, the relationship between the voltage U across the PN junction and the current I flowing through the PN junction is:
[0029]
[0030] Among them U T =kT / q, k is the Boltzmann constant, T is the thermodynamic temperature, q is the charge of the electron, and Is is the reverse saturation current. When the PN junction is forward biased, is much larger than 1, so there is the following approximate relationship:
[0031]
[0032] Assume that the pulse level output by the PWM port is VCC, the voltage between the anode of the diode and the ground is V1, and the resistance of the resistor R1 is R, then If true, the diode voltage drop can be obtained Due to the influence of lead resistance, semiconductor body resistance, etc., the voltage drop of the diode should be multiplied by a compensation coefficient A based on the above calculation result, and the compensation coefficient can be obtained by experimental methods. Therefore, the voltage V2 of the charging and discharging capacitor is V1-A*U.
Claims
1. A thermal memory circuit, comprising a microprocessor and a current sampling circuit and a capacitor charging and discharging circuit respectively connected to the microprocessor, wherein the current sampling circuit is used to provide a sampling signal of a loop current to the microprocessor, and the capacitor charging and discharging circuit is used to charge and discharge an energy storage capacitor contained therein under the control of the microprocessor; characterized in that: The capacitor charging and discharging circuit is composed of a resistor R1, a resistor R2, an energy storage capacitor C1, and a diode D1. One end of the resistor R1 is connected to an I / O port of a microprocessor, and the other end is connected to the positive electrode of the diode D1. The negative electrode of the diode D1 is connected to the positive electrode of the energy storage capacitor C1 and one end of the resistor R2. The negative electrode of the energy storage capacitor C1 and the other end of the resistor R2 are both grounded; the positive electrode of the diode D1 is also connected to an AD port of the microprocessor.
2. The thermal memory method of the thermal memory circuit according to claim 1, characterized in that: When the microprocessor detects the loop current through the current sampling circuit, it calculates the current as the corresponding energy, and outputs a pulse of a certain width through the I / O port to charge the energy storage capacitor C1. At the same time, only during the generation of the pulse, the microprocessor detects the capacitor voltage on the energy storage capacitor C1 through the AD port and converts it into energy, and compares it with the corresponding energy accumulation value of the current calculated at present. If the converted energy is less than the currently calculated energy, the pulse is continuously output to control the charging voltage of the energy storage capacitor C1, so that the energy accumulation matches the capacitor voltage. If the converted energy is greater than the current calculated energy, the microprocessor generates a pulse of a certain width through the I / O port to charge the energy storage capacitor C1. when the thermal memory circuit is powered on again after being powered off, the microprocessor first sends a pulse to turn on the diode D1, and at the same time detects the capacitor voltage on the energy storage capacitor C1 through the AD port and converts it into energy, and uses this energy as the base of the current current energy accumulation, and repeats the above steps; the specific steps of detecting the capacitor voltage on the energy storage capacitor C1 through the AD port are: detecting the voltage V1 of the positive electrode of the diode D1 through the AD port, and obtaining the capacitor voltage V2 on the energy storage capacitor C1 by subtracting the conduction voltage drop of the diode D1 from the voltage V1.
3. An electronic trip device, characterized in that: The method comprises the thermal memory circuit as claimed in claim 1 and a tripping circuit connected to the microprocessor.
4. A circuit breaker, characterized in that: Comprising the electronic release as claimed in claim 3.
