A power supply detection and switching device for electric energy meter

By using an anti-surge buck circuit composed of MOS tubes and TVS tubes in the electric energy meter, the problem of power supply damage caused by excessive voltage in the transformer area and lightning strikes is solved, and stable power supply of the power supply and normal measurement function of the electric energy meter are achieved.

CN108964245BActive Publication Date: 2024-09-10QINGDAO ITECHENE TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201810726900.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-07-05
Publication Date
2024-09-10
Estimated Expiration
2038-07-05

AI Technical Summary

Technical Problem

The existing technology faces problems such as damage and bursting of the switching power supply due to high surge voltage and long-term high-voltage input caused by excessive voltage in the transformer station area, on-site power load switches, and lightning strikes.

Method used

Design a power supply detection and switching device for electric energy meters. MOS tubes and TVS tubes are used to form an anti-surge buck circuit, including an MCU chip unit, an auxiliary power circuit unit, a main power circuit unit, a stop battery circuit unit, and a clock battery circuit. Unit, DC/DC circuit unit Yuan, false load circuit unit, No. 1 voltage detection circuit unit, No. 2 voltage detection circuit unit, No. 1 P-channel MOSFET circuit unit and No. 2 P-channel MOSFET circuit unit realize the detection and switching of power supply to ensure that the power supply operates in different Stable power supply under voltage conditions.

Benefits of technology

It improves the safety and reliability of the power supply, prevents damage caused by high surge voltage and long-term high-voltage input, and ensures the normal operation and measurement function of the electric energy meter under different power conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108964245B
    Figure CN108964245B
Patent Text Reader

Abstract

This invention belongs to the field of switching power supply protection technology, and relates to a power detection and switching device for an energy meter. The main structure includes an MCU chip unit, an auxiliary power supply circuit unit, a main power supply circuit unit, a stop-reading battery circuit unit, a clock battery circuit unit, a DC / DC circuit unit, a dummy load circuit unit, a first voltage detection circuit unit, a second voltage detection circuit unit, a first P-channel MOSFET circuit unit, and a second P-channel MOSFET circuit unit. Power detection is achieved by checking whether the first voltage detection circuit unit, the second voltage detection circuit unit, and the DC / DC circuit unit are powered on. The MCU chip unit detects the voltage levels of the first voltage detection circuit unit, the second voltage detection circuit unit, and the DC / DC circuit unit. When the main power supply circuit unit loses power, the power supply automatically switches to the stop-reading battery circuit unit, and the MCU chip unit enters a low-power mode. When the stop-reading battery circuit unit is depleted, the power supply automatically switches to the clock battery circuit unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field:

[0001] The present invention belongs to the technical field of switching power supply protection, and relates to a power supply detection and switching device for an electric energy meter, which provides a method for a wide-input and high-reliability switching power supply solution, and is suitable for three-phase meters and terminal occasions where the input voltage in the station area is too high. Background technology:

[0002] A power supply is a device that provides power to electronic devices, also known as a power supply. The power of the power supply is usually a dry cell (direct current) and a household 110V-220V alternating current. Whether the current and voltage are stable will directly affect the working performance and service life of the electronic device. It is very necessary to detect and switch the power supply. Chinese Patent 201210079002.5 discloses a charging source detection switching device having a first input port and a second input port, which are respectively suitable for coupling a first voltage source and a second voltage source. The charging source detection switching device includes: a detection switching unit, coupling the first input port and the second input port, and outputting the voltage provided by the first voltage source and the second voltage source according to the coupling conditions of the first voltage source, the second voltage source and the first input port, the second input port, wherein the output priority of the first voltage source is higher than that of the second voltage source; and a control unit, coupled to the detection switching unit, in the charging source When the detection switching device is in the fast charging mode, a fast charging control signal is output to control the detection switching unit to simultaneously conduct the charging paths of the first voltage source and the second voltage source, wherein the detection switching unit comprises: a switching unit, coupled to the first input port and the second input port, outputting the voltage provided by the first voltage source or the second voltage source, wherein the switching unit comprises: a diode, whose anode is suitable for coupling to the first input port, and whose cathode is coupled to the output of the charging source detection switching device; a P-type transistor, whose gate and source are respectively coupled to the anode and cathode of the diode, and whose drain is coupled to the second input port; and a first resistor coupled between the gate of the P-type transistor and ground, wherein the detection switching unit comprises: a detection unit coupled to the output of the charging source detection switching device, detecting the output of the charging source detection switching device, and generating a specification signal according to the output of the charging source detection switching device, wherein the specification signal indicates the specification of the voltage output by the charging source detection switching device; and a switch unit coupled between the second input port and the output of the charging source detection switching device, wherein the conduction state of the switch unit is controlled by the control unit, wherein when the charging source detection switching device is in the fast charging mode, the control unit outputs the fast charging signal. A control signal is used to turn on the switch unit, wherein the switch unit is a transistor, wherein the detection unit includes: a voltage regulator, coupled to the output of the charging source detection switching device, generating a first reference voltage, a second reference voltage and a third reference voltage according to the voltage output by the charging source detection switching device; a second resistor; a third resistor; a fourth resistor; a fifth resistor, wherein the second resistor, the third resistor, the fourth resistor and the fifth resistor are connected in series between the output of the charging source detection switching device and the ground; a first comparator, wherein the positive input terminal of the first comparator is coupled to the first reference voltage, and the negative input terminal of the first comparator is coupled to the common connection point of the second resistor and the third resistor;A second comparator, whose positive input terminal is coupled to the second reference voltage, and whose negative input terminal is coupled to the common connection point of the third resistor and the fourth resistor; and a third comparator, whose positive input terminal is coupled to the third reference voltage, and whose negative input terminal is coupled to the common connection point of the fourth resistor and the fifth resistor, and whose output terminals of the first comparator, the second comparator and the third comparator output the specification signal, further comprising: a first voltage protection circuit, coupled between the first input port and the detection switching unit, to determine whether the voltage provided by the first voltage source falls within a first preset voltage range, so as to determine whether the voltage provided by the first voltage source is output to the detection switching unit; and a second voltage protection circuit, coupled between the second input port and the detection switching unit The method comprises the steps of: detecting a first voltage source and a second voltage source between the detection switching unit, judging whether the voltage provided by the second voltage source falls within a second preset voltage range, so as to determine whether to output the voltage provided by the second voltage source to the detection switching unit, and being applicable to a charging source detection switching device, wherein the charging source detection switching device has a first input port and a second input port, respectively suitable for coupling a first voltage source and a second voltage source, and the charging source detection switching method comprises: detecting the coupling conditions of the first voltage source, the second voltage source and the first input port and the second input port; outputting the voltages provided by the first voltage source and the second voltage source according to the coupling conditions of the first voltage source, the second voltage source and the first input port and the second input port, wherein the output priority of the first voltage source is higher than that of the second voltage source. voltage source; determining whether the charging source detection switching device is in the fast charging mode; and if the charging source detection switching device is in the fast charging mode, simultaneously conducting the charging paths of the first voltage source and the second voltage source, further comprising: detecting the output of the charging source detection switching device; and generating a specification signal according to the output of the charging source detection switching device, wherein the specification signal indicates the specification of the voltage output by the charging source detection switching device, further comprising: detecting whether the voltage specifications of the first voltage source and the second voltage source coupled to the first input port and the second input port fall within their corresponding preset voltage ranges, so as to determine whether to use the first voltage source and the second voltage source as charging power sources; a device having a charging voltage of 100V to 100V is disclosed in Chinese Patent No. 200610092593.4 A switching mode power supply with an active load detection function comprises: a switching unit for switching AC power input to a primary coil of a transformer element at a frequency determined by a time constant, and providing the switched AC power to a secondary coil of the transformer element; a shunt unit for shunting a current output from the secondary coil when a rectified current or voltage output from the secondary coil is greater than or less than a reference value, and providing the shunt current to a dummy resistor; a detection unit for detecting the shunt current flowing to the dummy resistor; and a control unit for controlling the switching frequency by changing the time constant of the switching unit according to the shunt current detected by the detection unit, and reducing the amount of power provided to the primary coil of the transformer element;Chinese Patent No. 200710039492.5 discloses a dual power switching device, which is composed of two circuit breakers, electric and manual operating mechanisms, a position detection master switch, and a controller, and also includes a voltage detection circuit using a linear photoelectric coupler, characterized in that: the voltage detection circuit using the linear photoelectric coupler also includes a linear photoelectric coupler for correction, and the two have the same working current. The voltage detection circuit using the linear photoelectric coupler and the linear photoelectric coupler for correction are composed as follows: the input end of the linear photoelectric coupler for detecting voltage has a current limiting resistor connected in series with the light-emitting tube according to conventional design, and its output end also has a current limiting resistor connected in series, the upper end of the current limiting resistor is connected to the DC power supply of the controller, the output end of the linear photoelectric coupler is also connected to the A / D1 port of the microprocessor for reading the detection voltage, and the linear photoelectric coupler for correction and the linear photoelectric coupler for detecting voltage are connected in series with each other. The electric coupler also has a current limiting resistor connected in series to the input and output ends respectively, but the difference is that the upper end of the current limiting resistor at the input end is connected to the D / A port of the microprocessor, and the connection method of the output end is the same as that of the linear photoelectric coupler for detecting voltage, except that the output end of the linear photoelectric coupler is connected to the A / D2 port of the microprocessor for reading the comparison voltage; Chinese Patent 00135708.5 discloses a light load detection method for a switching power supply system, the switching power supply system includes a first winding, a second winding, a third winding, and a signal conversion circuit, when the first winding and the second winding are in operation, the voltage of the third winding is proportional to the output voltage of the second winding, and when the switching power supply system is in operation, the operation of a detection circuit of the switching power supply system includes the following steps: detecting the voltage change of the signal conversion circuit; and when the voltage of the signal conversion circuit is less than the set voltage, determining that the switching power supply system is in a light load state. ;

[0003] Therefore, a power supply detection and switching device for electric energy meters is developed and designed, which adopts MOS tubes and TVS tubes to form an anti-surge voltage reduction circuit to improve safety and reliability. It has good social value and economic benefits and has broad application prospects. Summary of the invention:

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and design a power supply detection and switching device for an electric energy meter to solve the technical problems of damage and explosion of the switching power supply caused by excessive voltage in the transformer area, on-site power load switching, high surge voltage generated by lightning strikes, and long-term high voltage input.

[0005] In order to achieve the above-mentioned purpose, the main structure of the power supply detection and switching device for an electric energy meter according to the present invention includes an MCU chip unit, an auxiliary power supply circuit unit, a main power supply circuit unit, a stop-reading battery circuit unit, a clock battery circuit unit, a DC / DC circuit unit, a dummy load circuit unit, a No. 1 voltage detection circuit unit, a No. 2 voltage detection circuit unit, a No. 1 P-channel MOSFET circuit unit and a No. 2 P-channel MOSFET circuit unit; the MCU chip unit includes an APWRCH terminal, a VCC terminal, a PWR-CH terminal, a BT1TST terminal and a RTCBATCHK terminal, the auxiliary power supply circuit unit is connected in series with the No. 1 voltage detection circuit unit and then connected to the APWRCH terminal of the MCU chip unit; the main power supply circuit unit has two branches, one of which is connected to the DC The / DC circuit unit is connected in series to the VCC terminal of the MCU chip unit, and the other branch is connected in series with the No. 2 voltage detection circuit unit and then connected to the PWR-CH terminal of the MCU chip unit; the stop-scan battery circuit unit has two branches, one branch is connected in series with the No. 1 P-channel MOSFET circuit unit and then connected to the main power supply circuit unit, and the other branch is directly connected to the BT1TST terminal of the MCU chip unit; the stop-scan battery circuit unit is connected to the No. 1 P-channel MOSFET circuit unit, and the BT1TST terminal of the MCU chip unit is also provided with a dummy load circuit unit, the clock battery circuit unit has two branches, one branch is connected in series with the No. 2 P-channel MOSFET circuit unit and then connected to the main power supply circuit unit, and the other branch is directly connected to the RTCBAT CHK terminal of the MCU chip unit; the No. 2 voltage detection circuit unit is connected to the No. 2 P-channel MOSFET circuit unit; the electrical information connection of each component constitutes the main circuit structure of the power supply detection and switching device for the electric energy meter.

[0006] The auxiliary power supply circuit unit of the present invention includes a power supply input AP_IN+; the main power supply circuit unit includes a power supply input V-24V; the stop copy battery circuit unit includes a resistor R48, a resistor R54, a resistor R66, a resistor R50, a capacitor C29, a resistor R47, a transistor Q7, a resistor R52, a resistor R55, a capacitor C28 and a diode D8, wherein the resistor R50 and the capacitor C29 form a filter circuit, the resistor R48, the resistor R54 and the resistor R66 form a voltage divider circuit, the resistor R52 and the resistor R55 are bias resistors of the transistor Q7, and the 6V battery is connected to the transistor Q7 through the resistor R 47 supplies power to the collector of transistor Q7, and D8 protects the emitter of transistor Q7; the clock battery circuit unit includes battery BAT1, resistor R56 and capacitor C30; the DC / DC circuit unit includes capacitor C56, capacitor C57, resistor R91, chip U10, capacitor C49, resistor R83, diode D3, inductor L2, resistor R87, resistor R90, capacitor C26, capacitor C54 and capacitor C55; the dummy load circuit unit includes resistor R47, transistor Q7, resistor R52, resistor R55, capacitor C28, diode D8, wherein resistor R 52 and resistor R55 are bias resistors of transistor Q7, the 6V battery supplies power to the collector of transistor Q7 through resistor R47, and diode D8 protects the emitter of transistor Q7; the first voltage detection circuit unit includes resistor Rd1, resistor Rd2, resistor Rd3 and capacitor Cd1, resistor Rd1 and resistor Rd3 form a voltage divider circuit, and resistor Rd2 and capacitor Cd1 form an RC low-pass filter circuit; the second voltage detection circuit unit includes resistor R84, resistor R88, resistor R86, capacitor C38, resistor R79, resistor R80, resistor R81, transistor Q12, Transistor Q13 and capacitor C37, resistor R84 and resistor R88 form a voltage divider circuit, resistor R79, transistor Q12, resistor R80 and transistor Q13 form a two-stage amplifier circuit, resistor R86 and capacitor C38 form a low-pass filter circuit; the No. 1 P-channel MOSFET circuit unit includes diode D15, transistor Q11, resistor R85, chip U4, capacitor C27, capacitor C33, battery BAT2 and D17; the No. 2 P-channel MOSFET circuit unit includes capacitor C31, capacitor C32, transistor Q10, diode D10 and resistor R78.

[0007] The internal power supply and switching mode of the MCU chip unit involved in the present invention is as follows: the MCU chip unit is internally divided into two power domains, namely, VCC and VRTC; the MCU chip unit is externally provided with two independent power supply pins, wherein VCC supplies a capacitor CPU part, and VRTC supplies an RTC part, including a 32.768KHz crystal, a TBS temperature sampling module, and a temperature compensation frequency division circuit; the MCU chip unit power supply VCC has an operating range of 2.0-5.5V, and VCC is powered by three power supplies, namely, an AC rectifier step-down, a stop-reading battery, and a clock battery; the switching of the three power supplies is completed by an external circuit, so as to ensure that VCC is not disconnected under normal circumstances; since the RTC clock of the MCU chip unit is powered by a VRTC power supply alone, in order to ensure that the clock is not disordered during a power outage, the time is reduced. Clock battery power consumption, connect VCC and VRTC directly together, the AC rectifier and step-down power supply first, followed by the stop battery, and finally the clock battery; when the voltage supplied by VRTC to the RTC part is higher than 1V, timing; when the voltage supplied by VRTC to the RTC part is lower than or equal to 1V, the time data is lost; when the voltage supplied by VRTC to the RTC part is higher than 2V, the temperature compensation function is normal under the condition of turning on the temperature sampling function; when the voltage supplied by VRTC to the RTC part is 1-2V, the temperature sampling is inaccurate and the temperature compensation function is invalid. The error is 30s / d, and the error in the extreme case is 360s / d. The function is to ensure that the clock of the electric energy meter is not disordered.

[0008] The voltage of the stop copy battery circuit unit of the present invention is as follows in the worst case:

[0009]

[0010] Since the ADC full scale of the MCU chip unit is 800mV, the voltage of the stop-copy battery circuit unit meets the requirements; the cut-off frequency of the stop-copy battery circuit unit f=1 / (2πRC)=15.94KHz meets the requirements; the power-off detection voltages of the module meter and the non-module meter are respectively:

[0011] Base-emitter saturation voltage Typical Value Maximum unit IC=10mADC,Ib=1.0mADC 0.65 0.85 VdC (DC voltage)

[0012] , 5.6 / 56.6=0.65 / x, get x=6.57V, after testing, from high to low to reach 100V, the meter detects the power-off state; when it is again from low to high, it reaches the power-on state at 126V;

[0013] 6.8 / 57.8=0.65 / y, get y=5.53V. After testing, it can reach 113V from high to low, and the meter detects the power-off state; when it is adjusted from low to high again, it reaches the power-on state at 127V; it is ensured that the single-phase meter can work normally and measure under the power supply condition of 60% Un; when the status signal of whether the stop copy battery provided by the MCU chip unit is charged: PwRBatChk is high, it means that the voltage of the stop copy battery circuit unit is higher than 4.8V, and when the status signal of whether the stop copy battery provided by the MCU chip unit is charged: PwRBatChk is low, it is regarded that the stop copy battery circuit unit has no power.

[0014] The working principle and process of the power supply detection and switching device for electric energy meter disclosed by the present invention are as follows: when LVDIN0 is at a low level, the MCU chip unit processes the interface configuration and enters a low power consumption mode. When the mains power supply is 220V, 4V is used for power supply, VCC and V-YJ are obtained through the diode M7, and both the transistor Q10 and the transistor Q11 do not work; when the mains power supply is not 220V, the power supply is switched to the stop-reading battery circuit unit, the chip U4 with the model number S-1206 selects 3.6V, the MCU chip unit enters a low power consumption state, the transistor Q10 does not work, and the transistor Q11 works; when the stop-reading battery is out of power, the power supply is switched to the clock battery circuit unit, the MCU chip unit enters a sleep state that can ensure the accuracy of the real-time clock in the meter, the transistor Q10 works, and the transistor Q11 does not work; the resistor R8 is used to supply power. 4 and the voltage-divided signal of the resistor R88 control the on-off of the transistor Q12 to monitor the power-on and power-off of the MP_IN+ voltage; when the voltage after voltage division is higher than the VBE voltage of the transistor Q12, the transistor Q12 is turned on, and when the voltage after voltage division is lower than or equal to the VBE voltage of the transistor Q12, the transistor Q12 is turned off, and the resistor R86 and the capacitor C38 form a low-pass filter circuit to reduce the interference of the MP_IN+ power supply; the transistor Q13 can increase the edge change rate of the output signal and reverse the monitoring signal. Through the distribution of the resistance values ​​of the resistors R84 and R88, when MP_IN+ is higher than 6.5V, the PO resistor R is at a high level, and when MP_IN+ is lower than or equal to 6.5V, the PO resistor R is at a low level; the resistor R85 is a pull-down resistor with a resistance value of 2.4 megohms, which can reduce the leakage current of the circuit.

[0015] The power supply sequence of the power supply detection and switching device for an electric energy meter according to the present invention is as follows: the first priority power supply is the auxiliary power supply circuit unit, which is independently implemented by the auxiliary power supply circuit unit, and the implementation method is that the output voltage of the auxiliary power supply circuit unit is higher than the voltage obtained by rectifying the linear power supply, and the power supply power is mainly output from the auxiliary power supply circuit unit; in addition, when the auxiliary power supply circuit unit supplies power, the logic signal APwRChk of the auxiliary power supply circuit unit provided to the MCU chip unit is high level, otherwise it is low level; the second priority power supply is the main power supply circuit unit, and when the auxiliary power supply circuit unit is powered off, the power supply will automatically switch to the main power supply circuit unit for power supply, which is independently implemented by the main power supply circuit unit, and the auxiliary power supply circuit unit or the main power supply circuit unit is powered on. When power is supplied, a non-battery-powered signal will be provided to the MCU chip unit: LVDIN0. When the auxiliary power circuit unit or the main power circuit unit is powered, LVDIN0 is high level. When the auxiliary power circuit unit or the main power circuit unit is powered off, LVDIN0 is low level. When LVDIN0 is high level, the MCU chip unit works in full-speed mode and accepts and processes all events normally. The third priority power supply is a stop-copy battery circuit unit with an external replaceable 6V disposable battery. When the auxiliary power circuit unit or the main power circuit unit stops supplying power, the power supply will automatically switch to the stop-copy battery circuit unit for power supply, and the MCU chip unit enters low power consumption mode. At this time, LVDIN0 is low level.

[0016] The power supply detection of the power supply detection and switching device for an electric energy meter involved in the present invention detects whether a No. 1 voltage detection circuit unit, a No. 2 voltage detection circuit unit and a DC / DC circuit unit are powered on by power-on, and an MCU chip unit detects the level of the No. 1 voltage detection circuit unit, the No. 2 voltage detection circuit unit and the DC / DC circuit unit. If a high level is detected, the MCU chip unit is powered on and runs; if a low level is detected, the MCU chip unit enters low power consumption.

[0017] The power switching mode of the power supply detection and switching device for an electric energy meter according to the present invention is as follows: when the main power supply circuit unit supplies power, the main power supply circuit unit is used preferentially; when the main power supply circuit unit loses power, the power supply automatically switches to the stop-reading battery circuit unit, and the MCU chip unit enters a low power consumption mode; when the stop-reading battery circuit unit is out of power, the power supply automatically switches to the clock battery circuit unit, and the MCU chip unit enters a sleep mode; the stop-reading battery circuit unit can ensure that the RTC circuit is not powered off.

[0018] Compared with the prior art, the power supply detection of the present invention detects whether the No. 1 voltage detection circuit unit, the No. 2 voltage detection circuit unit and the DC / DC circuit unit are powered on by power-on; the MCU chip unit detects the level of the No. 1 voltage detection circuit unit, the No. 2 voltage detection circuit unit and the DC / DC circuit unit, and when a high level is detected, the MCU chip unit is powered on and runs, and when a low level is detected, the MCU chip unit enters low power consumption, and when the main power circuit unit supplies power, the main power circuit unit is used preferentially; when the main power circuit unit loses power, the power supply automatically switches to the stop battery circuit unit, and the MCU chip unit enters a low power consumption mode, and when the stop battery circuit unit is out of power, the power supply automatically switches to the clock battery circuit unit for power supply, and the MCU chip unit enters a sleep mode, and the stop battery circuit unit can ensure that the resistor RTC circuit is not powered off; the overall structure is simple, the design is reasonable, the detection and switching performance is good, the practicality and applicability are strong, and the use environment is friendly. Description of the drawings:

[0019] Figure 1 It is a schematic block diagram of the main structure connection of the present invention.

[0020] Figure 2 It is a schematic diagram of the electrical principle structure of the present invention.

[0021] Figure 3 This is a schematic diagram of the internal power supply and switching principle of the MCU chip involved in the present invention. Specific implementation method:

[0022] The present invention will be further described below by way of embodiments in conjunction with the accompanying drawings.

[0023] Example:

[0024] The main structure of the power supply detection and switching device for the electric energy meter involved in this embodiment includes an MCU (micro control unit) chip unit 1, an auxiliary power supply circuit unit 2, a main power supply circuit unit 3, a stop reading battery circuit unit 4, a clock battery circuit unit 5, a DC / DC circuit unit 6, a dummy load circuit unit 7, a No. 1 voltage detection circuit unit 8, a No. 2 voltage detection circuit unit 9, a No. 1 P-channel MOSFET circuit unit 10 and a No. 2 P-channel MOSFET circuit unit 11; the MCU chip unit 1 includes an APWRCH terminal, a VCC terminal, a PWR-CH terminal, a BT1TST terminal and a RTCBATCHK terminal, and the auxiliary power supply circuit unit 2 is connected in series with the No. 1 voltage detection circuit unit 8 and then connected to the APWRCH terminal of the MCU chip unit 1; the main power supply circuit unit 3 has two branches, one of which is connected to the DC / DC circuit unit 6, and the other is connected to the APWRCH terminal of the MCU chip unit 1. The DC circuit unit 6 is connected in series to the VCC terminal of the MCU chip unit 1, and the other branch is connected in series to the PWR-CH terminal of the MCU chip unit 1 after being connected in series with the No. 2 voltage detection circuit unit 9; the stop-copy battery circuit unit 4 has two branches, one branch is connected in series with the No. 1 P-channel MOSFET circuit unit 10 and connected to the main power circuit unit 3, and the other branch is directly connected to the BT1TST terminal of the MCU chip unit 1; the stop-copy battery circuit unit 4 is connected to the No. 1 P-channel MOSFET circuit unit 10, and the BT1TST terminal of the MCU chip unit 1 is also provided with a dummy load circuit unit 7, the clock battery circuit unit 5 has two branches, one branch is connected in series with the No. 2 P-channel MOSFET circuit unit 11 and connected to the main power circuit unit 3, and the other branch is directly connected to the RTCBAT CHK terminal of the MCU chip unit 1; the No. 2 voltage detection circuit unit 9 is connected to the No. 2 P-channel MOSFET circuit unit 11; the electrical information connection structure of each component is as follows Figure 1 The main circuit structure of the power supply detection and switching device for the electric energy meter is shown.

[0025] The circuit structure of the power supply detection and switching device for electric energy meter involved in this embodiment is as follows: Figure 2As shown: the auxiliary power supply circuit unit 2 includes a power input AP_IN+; the main power supply circuit unit 3 includes a power input V-24V; the stop copy battery circuit unit 4 includes a resistor R48, a resistor R54, a resistor R66, a resistor R50, a capacitor C29, a resistor R47, a transistor Q7, a resistor R52, a resistor R55, a capacitor C28 and a diode D8, wherein the resistor R50 and the capacitor C29 form a filter circuit, the resistor R48, the resistor R54 and the resistor R66 form a voltage divider circuit, the resistor R52 and the resistor R55 are bias resistors of the transistor Q7, and the 6V battery passes through the resistor R47 The collector of transistor Q7 is powered, and D8 protects the emitter of transistor Q7; the clock battery circuit unit 5 includes a battery BAT1, a resistor R56 and a capacitor C30; the DC / DC circuit unit 6 includes a capacitor C56, a capacitor C57, a resistor R91, a chip U10, a capacitor C49, a resistor R83, a diode D3, an inductor L2, a resistor R87, a resistor R90, a capacitor C26, a capacitor C54 and a capacitor C55; the dummy load circuit unit 7 includes a resistor R47, a transistor Q7, a resistor R52, a resistor R55, a capacitor C28, a diode D8, wherein the resistor R5 2 and resistor R55 are bias resistors of transistor Q7, a 6V battery supplies power to the collector of transistor Q7 through resistor R47, and diode D8 protects the emitter of transistor Q7; No. 1 voltage detection circuit unit 8 includes resistor Rd1, resistor Rd2, resistor Rd3 and capacitor Cd1, resistor Rd1 and resistor Rd3 form a voltage divider circuit, resistor Rd2 and capacitor Cd1 form an RC low-pass filter circuit; No. 2 voltage detection circuit unit 9 includes resistor R84, resistor R88, resistor R86, capacitor C38, resistor R79, resistor R80, resistor R81, transistor Q12, The transistor Q13 and the capacitor C37, the resistor R84 and the resistor R88 form a voltage divider circuit, the resistor R79, the transistor Q12, the resistor R80 and the transistor Q13 form a two-stage amplifier circuit, and the resistor R86 and the capacitor C38 form a low-pass filter circuit; the No. 1 P-channel MOSFET circuit unit 10 includes a diode D15, a transistor Q11, a resistor R85, a chip U4, a capacitor C27, a capacitor C33, a battery BAT2 and D17; the No. 2 P-channel MOSFET circuit unit 11 includes a capacitor C31, a capacitor C32, a transistor Q10, a diode D10 and a resistor R78.

[0026] The internal power supply and switching mode of the MCU chip unit 1 involved in this embodiment are as follows Figure 3As shown in the figure: the MCU chip unit 1 has two power domains, VCC and VRTC, and the MCU chip unit 1 has two independent power supply pins outside. VCC supplies the capacitor CPU part, and VRTC supplies the RTC part, including 32.768KHz crystal, TBS temperature sampling module and temperature compensation frequency division circuit; the MCU chip unit 1 power supply VCC working range is 2.0-5.5V, and VCC is powered by three power supplies, namely AC rectification and voltage reduction, stop battery and clock battery. The switching of the three power supplies is completed by the external circuit to ensure that VCC is not disconnected under normal circumstances; because the RTC clock of the MCU chip unit 1 is powered by the VRTC power supply alone, in order to ensure that the clock is not disordered during power outage, reduce Clock battery power consumption, connect VCC and VRTC directly together, the AC rectifier and step-down power supply is given priority, followed by the stop battery, and finally the clock battery; when the voltage supplied by VRTC to the RTC part is higher than 1V, timing is started; when the voltage supplied by VRTC to the RTC part is lower than or equal to 1V, the time data is lost; when the voltage supplied by VRTC to the RTC part is higher than 2V, the temperature compensation function is normal under the condition of turning on the temperature sampling function; when the voltage supplied by VRTC to the RTC part is 1-2V, the temperature sampling is inaccurate and the temperature compensation function is invalid. The error is 30s / d, and the error in the extreme case is 360s / d. The function is to ensure that the clock of the electric energy meter is not disordered.

[0027] The voltage of the stop copy battery circuit unit 4 involved in this embodiment is as follows in the worst case:

[0028]

[0029] Since the ADC full scale of the MCU chip unit 1 is 800mV, the voltage of the stop-copy battery circuit unit 4 meets the requirements; the cut-off frequency f of the stop-copy battery circuit unit 4 is f=1 / (2πRC)=15.94KHz, which meets the requirements; the power-off detection voltages of the module meter and the non-module meter are respectively:

[0030] Base-emitter saturation voltage Typical Value Maximum unit IC=10mADC,Ib=1.0mADC 0.65 0.85 VdC (DC voltage)

[0031] , 5.6 / 56.6=0.65 / x, get x=6.57V, after testing, from high to low to reach 100V, the meter detects the power-off state; when it is low again from low to high, it reaches the power-on state at 126V; 6.8 / 57.8=0.65 / y, get y=5.53V, after testing, from high to low to reach 113V, the meter detects the power-off state; when it is low again from low to high, it reaches the power-on state at 127V; ensure that the single-phase meter can work normally and measure under the power supply condition of 60%Un; when the status signal of whether the stop-copy battery provided by the MCU chip unit 1 is charged: PwRBatChk is high, it means that the voltage of the stop-copy battery circuit unit 4 is higher than 4.8V, when the status signal of whether the stop-copy battery provided by the MCU chip unit 1 is charged: PwRBatChk is low, it is regarded as that the stop-copy battery circuit unit 4 has no power.

[0032] The working principle and process of the power supply detection and switching device for the electric energy meter involved in the present embodiment are as follows: when LVDIN0 is at a low level, the MCU chip unit 1 processes the interface configuration and enters a low power consumption mode. When the mains power supply is 220V, 4V is used for power supply, and VCC and V-YJ are obtained through the diode M7, and both the transistor Q10 and the transistor Q11 do not work; when the mains power supply is not 220V, it is switched to the stop-reading battery circuit unit 4 for power supply, and the chip U4 with the model number of S-1206 uses 3.6V, the MCU chip unit 1 enters a low power consumption state, the transistor Q10 does not work, and the transistor Q11 works; when the stop-reading battery is out of power, it is switched to the clock battery circuit unit 5 for power supply, and the MCU chip unit 1 enters a sleep state that can ensure the accuracy of the real-time clock in the meter, the transistor Q10 works, and the transistor Q11 does not work; using the power supply The voltage division signal of resistor R84 and resistor R88 controls the on-off of transistor Q12 to monitor the power-on and power-off of MP_IN+ voltage; when the voltage after voltage division is higher than the VBE voltage of transistor Q12, transistor Q12 is turned on, and when the voltage after voltage division is lower than or equal to the VBE voltage of transistor Q12, transistor Q12 is cut off, and resistor R86 and capacitor C38 form a low-pass filter circuit to reduce the interference of MP_IN+ power supply; transistor Q13 can increase the edge change rate of the output signal and reverse the monitoring signal. Through the distribution of the resistance values ​​of resistors R84 and R88, when MP_IN+ is higher than 6.5V, PO resistor R is at a high level, and when MP_IN+ is lower than or equal to 6.5V, PO resistor R is at a low level; resistor R85 is a pull-down resistor with a resistance of 2.4 megohms, which can reduce the leakage current of the circuit.

[0033] The power supply sequence of the power supply detection and switching device for the electric energy meter involved in the present embodiment is: the first priority power supply is the auxiliary power supply circuit unit 2, which is independently implemented by the auxiliary power supply circuit unit 2, and the implementation method is that the output voltage of the auxiliary power supply circuit unit 2 is higher than the voltage obtained by the linear power supply rectification, and the power supply power is mainly output from the auxiliary power supply circuit unit 2; in addition, when the auxiliary power supply circuit unit 2 is powered, the logic signal APwRChk of the auxiliary power supply circuit unit 2 provided to the MCU chip unit 1 is a high level, otherwise it is a low level; the second priority power supply is the main power supply circuit unit 3. When the auxiliary power supply circuit unit 2 is powered off, the power supply will automatically switch to the main power supply circuit unit 3 for power supply, which is independently implemented by the main power supply circuit unit 3. The auxiliary power supply circuit unit 2 or the main power supply circuit unit 3, a non-battery-powered signal will be provided to the MCU chip unit 1: LVDIN0. When the auxiliary power circuit unit 2 or the main power circuit unit 3 is powered, LVDIN0 is high. When the auxiliary power circuit unit 2 or the main power circuit unit 3 is powered off, LVDIN0 is low. When LVDIN0 is high, the MCU chip unit 1 works in full-speed mode and accepts and processes all events normally. The third priority power supply is the stop-copy battery circuit unit 4 with an external replaceable 6V disposable battery. When the auxiliary power circuit unit 2 or the main power circuit unit 3 stops supplying power, the power supply will automatically switch to the stop-copy battery circuit unit 4 for power supply, and the MCU chip unit 1 enters low power consumption mode. At this time, LVDIN0 is low.

[0034] The power supply detection of the power supply detection and switching device for the electric energy meter involved in the present embodiment detects whether the No. 1 voltage detection circuit unit 8, the No. 2 voltage detection circuit unit 9 and the DC / DC circuit unit 6 are powered on by power-on detection, and the MCU chip unit 1 detects the voltage levels of the No. 1 voltage detection circuit unit 8, the No. 2 voltage detection circuit unit 9 and the DC / DC circuit unit 6. If a high level is detected, the MCU chip unit 1 is powered on and runs; if a low level is detected, the MCU chip unit 1 enters low power consumption.

[0035] The power switching mode of the power detection and switching device for the electric energy meter involved in this embodiment is: when the main power circuit unit 3 is supplying power, the main power circuit unit 3 is used preferentially; when the main power circuit unit 3 loses power, the power automatically switches to the stop-reading battery circuit unit 4, and the MCU chip unit 1 enters a low power consumption mode; when the stop-reading battery circuit unit 4 is out of power, the power automatically switches to the clock battery circuit unit 5 for supplying power, and the MCU chip unit 1 enters a sleep mode, and the stop-reading battery circuit unit 4 can ensure that the RTC circuit is not powered off.

Claims

1. A power supply detection and switching device for an electric energy meter, characterized in that The main structure includes an MCU chip unit, an auxiliary power supply circuit unit, a main power supply circuit unit, a stop battery circuit unit, a clock battery circuit unit, a DC / DC circuit unit, a dummy load circuit unit, a No. 1 voltage detection circuit unit, a No. 2 voltage detection circuit unit, a No. 1 P-channel MOSFET circuit unit and a No. 2 P-channel MOSFET circuit unit; the MCU chip unit includes an APWRCH terminal, a VCC terminal, a PWR-CH terminal, a BT1TST terminal and a RTCBATCHK terminal, the auxiliary power supply circuit unit is connected in series with the No. 1 voltage detection circuit unit and then connected to the APWRCH terminal of the MCU chip unit; the main power supply circuit unit has two branches, one of which is connected in series with the DC / DC circuit unit and then connected to the MC The VCC end of the U chip unit, and the other branch is connected in series with the No. 2 voltage detection circuit unit and then connected to the PWR-CH end of the MCU chip unit; the stop-copy battery circuit unit has two branches, one branch is connected in series with the No. 1 P-channel MOSFET circuit unit and then connected to the main power circuit unit, and the other branch is directly connected to the BT1TST end of the MCU chip unit; the stop-copy battery circuit unit is connected to the No. 1 P-channel MOSFET circuit unit, and the BT1TST end of the MCU chip unit is also provided with a dummy load circuit unit, and the clock battery circuit unit has two branches, one branch is connected in series with the No. 2 P-channel MOSFET circuit unit and then connected to the main power circuit unit, and the other branch is directly connected to the RTCBAT of the MCU chip unit. The CHK terminal is connected; the second voltage detection circuit unit is connected to the second P-channel MOSFET circuit unit; the electrical information of each component is connected to form the main circuit structure of the power supply detection and switching device for the electric energy meter; the auxiliary power supply circuit unit includes a power input AP_IN+; the main power supply circuit unit includes a power input V-24V; the stop reading battery circuit unit includes a resistor R48, a resistor R54, a resistor R66, a resistor R50, a capacitor C29, a resistor R47, a transistor Q7, a resistor R52, a resistor R55, a capacitor C28 and a diode D8, wherein the resistor R50 and the capacitor C29 form a filter circuit, Resistor R48, resistor R54 and resistor R66 form a voltage divider circuit, resistor R52 and resistor R55 are bias resistors of transistor Q7, 6V battery supplies power to the collector of transistor Q7 through resistor R47, and D8 protects the emitter of transistor Q7; the clock battery circuit unit includes battery BAT1, resistor R56 and capacitor C30; the DC / DC circuit unit includes capacitor C56, capacitor C57, resistor R91, chip U10, capacitor C49, resistor R83, diode D3, inductor L2, resistor R87, resistor R90, capacitor C26, capacitor C54 and capacitor C55;The dummy load circuit unit includes a resistor R47, a transistor Q7, a resistor R52, a resistor R55, a capacitor C28, and a diode D8, wherein the resistors R52 and R55 are bias resistors of the transistor Q7, the 6V battery supplies power to the collector of the transistor Q7 through the resistor R47, and the diode D8 protects the emitter of the transistor Q7; the No. 1 voltage detection circuit unit includes a resistor Rd1, a resistor Rd2, a resistor Rd3, and a capacitor Cd1, wherein the resistor Rd1 and the resistor Rd3 form a voltage divider circuit, and the resistor Rd2 and the capacitor Cd1 form an RC low-pass filter circuit; the No. 2 voltage detection circuit unit includes a resistor R84, a resistor R88, a resistor R86, a capacitor C38, a resistor R79, a resistor R80, resistor R81, transistor Q12, transistor Q13 and capacitor C37, resistor R84 and resistor R88 form a voltage divider circuit, resistor R79, transistor Q12, resistor R80 and transistor Q13 form a two-stage amplifier circuit, resistor R86 and capacitor C38 form a low-pass filter circuit; the No. 1 P-channel MOSFET circuit unit includes diode D15, transistor Q11, resistor R85, chip U4, capacitor C27, capacitor C33, battery BAT2 and D17; the No. 2 P-channel MOSFET circuit unit includes capacitor C31, capacitor C32, transistor Q10, diode D10 and resistor R78; the power supply order is: the first priority power supply is The auxiliary power supply circuit unit is independently implemented by the auxiliary power supply circuit unit. The implementation method is that the output voltage of the auxiliary power supply circuit unit is higher than the voltage obtained by the linear power supply rectification, and the power supply power is mainly output from the auxiliary power supply circuit unit; in addition, when the auxiliary power supply circuit unit is supplying power, the logic signal of the auxiliary power supply circuit unit power supply provided to the MCU chip unit: APwRChk is high level, otherwise it is low level; the second priority power supply is the main power supply circuit unit. When the auxiliary power supply circuit unit is powered off, the power supply will automatically switch to the main power supply circuit unit for power supply. It is independently implemented by the main power supply circuit unit. When the auxiliary power supply circuit unit or the main power supply circuit unit is supplying power, a non-electrical Battery-powered signal: LVDIN0. When the auxiliary power circuit unit or the main power circuit unit is powered, LVDIN0 is high. When the auxiliary power circuit unit or the main power circuit unit is powered off, LVDIN0 is low. When LVDIN0 is high, the MCU chip unit works in full-speed mode and accepts and processes all events normally. The third priority power supply is the stop-copy battery circuit unit with an external replaceable 6V disposable battery. When the auxiliary power circuit unit or the main power circuit unit stops supplying power, the power supply will automatically switch to the stop-copy battery circuit unit, and the MCU chip unit enters low-power mode. At this time, LVDIN0 is low.The working principle and process are as follows: when LVDIN0 is at a low level, the MCU chip unit processes the interface configuration and enters a low power consumption mode. When the mains power supply is 220V, 4V is used to supply power, and VCC and V-YJ are obtained through diode M7. Transistor Q10 and transistor Q11 do not work. When the mains power supply is not 220V, the power supply is switched to the stop-copy battery circuit unit, and the chip U4 of model S-1206 uses 3.6V. The MCU chip unit enters a low power consumption state, transistor Q10 does not work, and transistor Q11 works. When the stop-copy battery is out of power, the power supply is switched to the clock battery circuit unit, and the MCU chip unit enters a sleep state that can ensure the accuracy of the real-time clock in the meter. Transistor Q10 works, and transistor Q11 does not work. The voltage divider of resistors R84 and R88 is used. The signal controls the on and off of transistor Q12 to monitor the power-on and power-off of MP_IN+ voltage; when the voltage after voltage division is higher than the VBE voltage of transistor Q12, transistor Q12 is turned on; when the voltage after voltage division is lower than or equal to the VBE voltage of transistor Q12, transistor Q12 is turned off, and resistor R86 and capacitor C38 form a low-pass filter circuit to reduce the interference of MP_IN+ power supply; transistor Q13 can increase the edge change rate of the output signal and reverse the monitoring signal. Through the distribution of the resistance values ​​of resistors R84 and R88, when MP_IN+ is higher than 6.5V, PO resistor R is at a high level, and when MP_IN+ is lower than or equal to 6.5V, PO resistor R is at a low level; resistor R85 is a pull-down resistor with a resistance value of 2.4 megohms, which can reduce the leakage current of the circuit. ; 2. The power supply detection and switching device for electric energy meter according to claim 1, characterized in that The internal power supply and switching mode of the MCU chip unit are as follows: the MCU chip unit is divided into two power domains, VCC and VRTC, and the MCU chip unit has two independent power supply pins outside. Among them, VCC supplies the capacitor CPU part, and VRTC supplies the RTC part, including 32.768KHz crystal, TBS temperature sampling module and temperature compensation frequency division circuit; the MCU chip unit power supply VCC working range is 2.0-5.5V, and VCC is powered by three power supplies, namely AC rectification and step-down, stop battery and clock battery. The switching of the three power supplies is completed by the external circuit to ensure that VCC is not disconnected under normal circumstances; because the RTC clock of the MCU chip unit is powered by the VRTC power supply alone, in order to ensure that the clock is not chaotic during power outages, the time is reduced. Clock battery power consumption, connect VCC and VRTC directly together, the AC rectifier and step-down power supply first, followed by the stop battery, and finally the clock battery; when the voltage supplied by VRTC to the RTC part is higher than 1V, timing; when the voltage supplied by VRTC to the RTC part is lower than or equal to 1V, the time data is lost; when the voltage supplied by VRTC to the RTC part is higher than 2V, the temperature compensation function is normal under the condition of turning on the temperature sampling function; when the voltage supplied by VRTC to the RTC part is 1-2V, the temperature sampling is inaccurate and the temperature compensation function is invalid. The error is 30s / d, and the error in the extreme case is 360s / d. The function is to ensure that the clock of the electric energy meter is not disordered.

3. The power supply detection and switching device for electric energy meter according to claim 1, characterized in that The voltage of the battery circuit unit in the worst case is: Since the ADC full scale of the MCU chip unit is 800mV, the voltage of the stop-copy battery circuit unit meets the requirements; the cut-off frequency of the stop-copy battery circuit unit f=1 / (2πRC)=15.94KHz meets the requirements; the power-off detection voltages of the module meter and the non-module meter are respectively: Base-emitter saturation voltage: IC = 10mADC, Ib = 1.0mADC; Typical value: 0.65VdC; Maximum value: 0.85VdC; 5.6 / 56.6=0.65 / x, x=6.57V. After testing, it reaches 100V from high to low, and the meter detects the power-off state; when it is raised from low to high again, it reaches the power-on state at 126V; 6.8 / 57.8=0.65 / y, get y=5.53V. After testing, it can reach 113V from high to low, and the meter detects the power-off state; when it is adjusted from low to high again, it reaches the power-on state at 127V; it is ensured that the single-phase meter can work normally and measure under the power supply condition of 60% Un; when the status signal of whether the stop copy battery provided by the MCU chip unit is charged: PwRBatChk is high, it means that the voltage of the stop copy battery circuit unit is higher than 4.8V, and when the status signal of whether the stop copy battery provided by the MCU chip unit is charged: PwRBatChk is low, it is regarded that the stop copy battery circuit unit has no power.

4. The power supply detection and switching device for electric energy meter according to claim 1, characterized in that The power supply detection detects whether the No. 1 voltage detection circuit unit, the No. 2 voltage detection circuit unit and the DC / DC circuit unit are powered on by power-on detection. The MCU chip unit detects the voltage levels of the No. 1 voltage detection circuit unit, the No. 2 voltage detection circuit unit and the DC / DC circuit unit. If a high level is detected, the MCU chip unit is powered on and runs. If a low level is detected, the MCU chip unit enters low power consumption.

5. The power supply detection and switching device for electric energy meter according to claim 1, characterized in that The power switching mode is: when the main power circuit unit is supplying power, the main power circuit unit is used first. When the main power circuit unit loses power, the power automatically switches to the stop battery circuit unit, and the MCU chip unit enters low power consumption mode; when the stop battery circuit unit is out of power, the power automatically switches to the clock battery circuit unit, and the MCU chip unit enters sleep mode. The stop battery circuit unit can ensure that the RTC circuit is not disconnected.

Citation Information

Patent Citations

  • Method and device for detecting compensation of duplicate supply switching device

    CN101038308A

  • Battery charging source detection shifting device and method

    CN103326407A

  • Light load detection method and circuit for shifted power supply system

    CN1357766A

  • Switching mode power supply with active load detection and switching method thereof

    CN1897431A

  • Ammeter and power supply circuit therein, and power supply control method inside the ammeter

    CN104821653A