A voltage detection circuit, a backup power supply system, an intelligent electric meter, and a method

The voltage detection circuit efficiently detects multiple backup power sources in smart electricity meters using a single ADC channel, reducing complexity and cost by controlling detection units sequentially, thus stabilizing the detection process.

CN115754428BActive Publication Date: 2025-07-15NINGBO SANXING MEDICAL & ELECTRIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211440981.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2025-07-15
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

When existing smart meters need to install built-in batteries, built-in supercapacitors and external batteries at the same time, the AD port of the MCU is not enough to detect multiple backup power supply voltages, resulting in high complexity and increased cost of detection circuits.

Method used

A voltage detection circuit is designed to detect multiple backup power voltages in sequence through the combination of controller, detection unit, resistor and switching unit, using an analog-to-digital sampling port to reduce the complexity of the detection circuit and save resources.

Benefits of technology

It realizes concise and clear voltage detection, reduces the complexity and overall cost of the detection circuit, avoids power abnormalities, and ensures circuit stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115754428B_ABST
    Figure CN115754428B_ABST
Patent Text Reader

Abstract

The present application provides a voltage detection circuit, a backup power supply system, an intelligent electric meter and a method, relating to the technical field of electric meters. The voltage detection circuit includes: a controller, at least two detection units, a first resistor and a second resistor; the input ends of the at least two detection units are respectively connected to the detection ends of at least two backup power supplies in the electric meter; the output ends of the at least two detection units are connected to one end of the first resistor, the other end of the first resistor is connected to the analog-to-digital sampling port of the controller, and the other end of the first resistor is also grounded through the second resistor; the control ends of the at least two detection units are respectively connected to at least two communication interfaces of the controller. Thus, only one analog-to-digital sampling port can be used to sequentially complete the detection work of at least two backup power supplies, reducing the complexity of the detection circuit, making the detection circuit simple and clear, and reducing the overall circuit cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric meters, and more specifically, to a voltage detection circuit, a backup power supply system, an intelligent electric meter, and a method. Background Art

[0002] In existing intelligent electric meters, the backup power supply of the intelligent electric meter includes two cases: an internal battery and an external battery, or an internal supercapacitor and an external battery. There must be an external battery, and one of the internal battery and the internal supercapacitor is selected. Generally, the situation of installing both the internal battery and the internal supercapacitor at the same time does not occur. Therefore, the MCU (Microcontroller Unit) has two AD (Analog to Digital) ports respectively used to detect the voltage of the backup power supply to confirm whether the current state of the backup power supply circuit is normal.

[0003] However, in intelligent electric meters under some market specifications (such as North American round meters), it is often necessary to install an internal battery, an internal supercapacitor, and an external battery at the same time. Then, the intelligent electric meter includes three backup power supplies. Since the AD ports of the original meter MCU are limited, there are no extra AD ports to detect the voltages of the three backup power supplies. At this time, it is necessary to consider reselecting the MCU of the meter to find an MCU with more resources to meet the detection requirements. However, this method has large modifications, high complexity, and a large increase in cost. Summary of the Invention

[0004] The purpose of the present invention is to provide a voltage detection circuit, a backup power supply system, an intelligent electric meter, and a method for the above-mentioned deficiencies in the existing technology, so as to solve the problems of high complexity and high cost of the detection circuit in the existing technology.

[0005] To achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a voltage detection circuit, which includes: a controller, at least two detection units, a first resistor, and a second resistor;

[0007] The input ends of the at least two detection units are respectively connected to the detection ends of at least two backup power supplies in the electric meter; the output ends of the at least two detection units are connected to one end of the first resistor, the other end of the first resistor is connected to the analog sampling port of the controller, and the other end of the first resistor is also grounded through the second resistor;

[0008] The control ends of the at least two detection units are respectively connected to at least two communication interfaces of the controller.

[0009] Optionally, each detection unit includes: a first switch unit, a second switch unit, a third resistor, and a fourth resistor;

[0010] The input end of the first switch unit is the input end of each detection unit, and the output end of the first switch unit is the output end of each detection unit; the control end of the first switch unit is connected to the input end of the second switch unit through the third resistor, the control end of the second switch unit is connected to one end of the fourth resistor, and the other end of the fourth resistor is the control end of each detection unit; the output end of the second switch unit is grounded.

[0011] Optionally, the voltage detection circuit further includes: a conduction control unit, a first input end of the conduction control unit is connected to the control end of one detection unit among the at least two detection units, a second input end of the conduction control unit is connected to the control ends of the other detection units among the at least two detection units, and the output end of the conduction control unit is grounded.

[0012] Optionally, the conduction control unit includes: a third switch unit and a fifth resistor, one end of the fifth resistor is connected to the control end of the third switch unit, the other end of the fifth resistor is the first input end of the conduction control unit, the input end of the third switch unit is the second input end of the conduction control unit, and the output end of the third switch unit is grounded.

[0013] Optionally, the first switch unit is a PNP type triode, the second switch unit is an NPN type triode, and the third switch unit is an NPN type triode.

[0014] In a second aspect, an embodiment of the present application provides a backup power supply system for an electric meter, and the backup power supply system includes: at least two first backup power supplies, and the voltage detection circuit according to any one of the first aspect;

[0015] The input ends of at least two detection units in the voltage detection circuit are respectively connected to the detection ends of the at least two first backup power supplies.

[0016] Optionally, the backup power supply system further includes: a second backup power supply, and the backup power supply system further includes: a sixth resistor and a seventh resistor, the positive electrode of the second backup power supply is grounded through the sixth resistor and the seventh resistor, and the series connection point of the sixth resistor and the seventh resistor is connected to the analog sampling port of the controller in the voltage detection circuit.

[0017] In a third aspect, an embodiment of the present application provides an intelligent electric meter, and the intelligent electric meter includes: the backup power supply system according to any one of the second aspect, at least three unidirectional conduction devices, and an electrical appliance;

[0018] The negative electrodes of at least three backup power supplies in the backup power supply system are all grounded, and the positive electrodes of the at least three backup power supplies are respectively connected to the power supply terminal of the electrical appliance through the at least three unidirectional conduction devices.

[0019] Optionally, the unidirectional conduction device is a diode.

[0020] In a fourth aspect, an embodiment of the present application provides a voltage detection method, which is applied to a controller in any one of the voltage detection circuits in the first aspect above. The method includes:

[0021] Send at least two control signals to the control terminals of at least two detection units respectively, so that one of the at least two detection units is in a working state;

[0022] Obtain the voltage value detected by the target detection unit in the working state;

[0023] Determine that the voltage value is the voltage value of the target backup power supply corresponding to the target detection unit.

[0024] Compared with the prior art, the present application has the following beneficial effects:

[0025] The present application provides a voltage detection circuit, a backup power supply system, an intelligent electric meter and a method. The voltage detection circuit includes: a controller, at least two detection units, a first resistor and a second resistor; the input ends of the at least two detection units are respectively connected to the detection ends of at least two backup power supplies in the electric meter; the output ends of the at least two detection units are connected to one end of the first resistor, the other end of the first resistor is connected to the analog-to-digital sampling port of the controller, and the other end of the first resistor is also grounded through the second resistor; the control ends of the at least two detection units are respectively connected to at least two communication interfaces of the controller. Thus, only one analog-to-digital sampling port can be used to complete the detection work of at least two backup power supplies in sequence, reducing the complexity of the detection circuit, making the detection circuit simple and clear, and reducing the overall circuit cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0027] Figure 1 It is a schematic structural diagram of a voltage detection circuit provided by the present application;

[0028] Figure 2 It is a schematic structural diagram of a detection unit provided by the present application;

[0029] Figure 3 Structural schematic diagram of a voltage detection circuit including a conduction control unit provided for this application;

[0030] Figure 4 Structural schematic diagram of a conduction control unit provided for this application;

[0031] Figure 5 Structural schematic diagram of another voltage detection circuit provided for this application;

[0032] Figure 6 Structural schematic diagram of a standby power supply system of an electric meter provided for this application;

[0033] Figure 7 Structural schematic diagram of another standby power supply system of an electric meter provided for this application;

[0034] Figure 8 Structural schematic diagram of an intelligent electric meter provided for this application;

[0035] Figure 9 Flow schematic diagram of a voltage detection method provided for this application;

[0036] Figure 10 Schematic diagram of a voltage detection device provided for an embodiment of this application;

[0037] Figure 11 Schematic diagram of a controller provided for an embodiment of this application.

[0038] Icons: 100 - Controller, 200 - Detection unit, R1 - First resistor, R2 - Second resistor, 201 - First switch unit, 202 - Second switch unit, R3 - Third resistor, R4 - Fourth resistor, 300 - Conduction control unit, 301 - Third switch unit, R5 - Fifth resistor, 400 - First standby power supply, 500 - Second standby power supply, R6 - Sixth resistor, R7 - Seventh resistor, 600 - Unidirectional conduction device, 700 - Electrical appliance device, 1001 - Control module, 1002 - Acquisition module, 1003 - Determination module, 1101 - Processor, 1102 - Storage medium. Detailed implementation manners

[0039] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. Usually, the components of the embodiments of this application described and shown in the accompanying drawings here can be arranged and designed in various different configurations.

[0040] Accordingly, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but merely represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts fall within the scope of protection of the present application.

[0041] It should be noted that like reference numerals and letters denote like items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0042] In addition, terms such as "first" and "second" are used for descriptive distinction only and cannot be construed as indicating or implying relative importance.

[0043] It should be noted that, without conflict, the features in the embodiments of the present invention can be combined with each other.

[0044] To save control resources and implement multi-power voltage detection, the present application provides a voltage detection circuit, a backup power supply system, an intelligent meter, and a method.

[0045] A voltage detection circuit provided by the present application is explained and illustrated below by specific examples. Figure 1 It is a schematic structural diagram of a voltage detection circuit provided by the present application. As Figure 1 shown, the voltage detection circuit includes: a controller 100, at least two detection units 200, a first resistor R1, and a second resistor R2.

[0046] The input terminals (VIN terminals) of at least two detection units 200 are respectively connected to the detection terminals of at least two backup power supplies in the meter; the output terminals of at least two detection units 200 are connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to the analog-to-digital sampling port (CHK terminal) of the controller 100, and the other end of the first resistor R1 is also grounded through the second resistor R2. Exemplarily, the controller 100 can be an MCU.

[0047] The control terminals of at least two detection units 200 are respectively connected to at least two communication interfaces of the controller 100; the grounding terminals of at least two detection units 200 are grounded.

[0048] During the normal power supply of at least two backup power supplies, the detection terminal of the backup power supply will detect and output the corresponding power supply voltage, and then the input terminal of the detection unit 200 inputs the power supply voltage. At this time, when it is necessary to detect the voltage of a certain target backup power supply, the controller 100 controls the detection unit 200 connected to the target backup power supply to be in the working state, and controls the other detection units 200 except the detection unit 200 connected to the target backup power supply to be in the off state. Among them, the controller 100 transmits a control signal to the control terminal of at least two detection units 200 through the communication interface.

[0049] When the detection unit 200 is in the working state, the detection unit 200 is turned on, and the power supply voltage is input through the input terminal of the detection unit 200 and output through the output terminal of the detection unit 200. When the detection unit 200 is in the off state, the detection unit 200 is turned off, and the power supply voltage cannot pass through the detection unit 200.

[0050] At this time, the detection unit 200 connected to the target backup power supply is turned on, and the voltage acting on the first resistor R1 and the second resistor R2 is the target backup power supply voltage. The other end of the first resistor R1 is located between the first resistor R1 and the second resistor R2 and serves as a voltage division point. The analog-to-digital sampling port of the controller 100 is connected to this voltage division point to convert the analog voltage division signal into a digital voltage division value. The controller 100 can determine the target backup power supply voltage according to the voltage division value, the resistance value of the first resistor, and the resistance value of the second resistor, and complete the detection of the target backup power supply voltage.

[0051] When it is necessary to detect the voltage of another target backup power supply, the controller 100 controls the detection unit 200 connected to the previous target backup power supply to be in the off state, controls the detection unit 200 connected to the current target backup power supply to be in the working state, and the states of the other detection units 200 remain unchanged.

[0052] When there is no voltage detection task, or when all the backup power supplies are in the power-off state, the controller 100 controls all the detection units 200 to be in the off state to avoid generating additional power consumption.

[0053] In this way, according to the control instruction of the controller 100, only one analog-to-digital sampling port can sequentially complete the detection of at least two backup power supplies, reducing the complexity of the detection circuit, making the detection circuit simple and clear, and reducing the overall circuit cost.

[0054] In summary, in this embodiment, the voltage detection circuit includes: a controller, at least two detection units, a first resistor, and a second resistor; the input ends of the at least two detection units are respectively connected to the detection ends of at least two standby power supplies in the electric meter; the output ends of the at least two detection units are connected to one end of the first resistor, the other end of the first resistor is connected to the analog-to-digital sampling port of the controller, and the other end of the first resistor is also grounded through the second resistor; the control ends of the at least two detection units are respectively connected to at least two communication interfaces of the controller. Thus, only one analog-to-digital sampling port can be used to sequentially complete the detection of at least two standby power supplies, reducing the complexity of the detection circuit, making the detection circuit simple and clear, and reducing the overall circuit cost.

[0055] Based on the above Figure 1 corresponding embodiment, the present application also provides a detection unit. Figure 2 FIG. is a schematic structural diagram of a detection unit provided by the present application. As Figure 2 shown, each detection unit includes: a first switch unit 201, a second switch unit 202, a third resistor R3, and a fourth resistor R4.

[0056] The input end of the first switch unit 201 is the input end of each detection unit 200, and the output end of the first switch unit 201 is the output end of each detection unit 200; the control end of the first switch unit 201 is connected to the input end of the second switch unit 202 through the third resistor R3, the control end of the second switch unit 202 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is the control end of each detection unit 200; the output end of the second switch unit 202 is grounded.

[0057] The controller 100 controls each detection unit 200 to be in a working state or a closed state through the control end of each detection unit 200.

[0058] If the control detection unit 200 is in the working state, the controller 100 issues a control level signal to control the second switch unit 202 to conduct through the fourth resistor R4. After the second switch unit 202 conducts, the output end of the second switch unit 202 is grounded, so a path can be formed between the input end and the output end of the second switch unit 202. The control end of the first switch unit 201 is connected to the input end of the second switch unit 202 through the third resistor R3. After a path can be formed between the input end and the output end of the second switch unit 202, there is an electrical signal at the control end of the first switch unit 201, controlling the first switch unit 201 to conduct, so a path is formed between the input end and the output end of the first switch unit 201, and the electrical signal can flow through the input end and the output end of the first switch unit 201, the first resistor R1, and the second resistor R2. Then, the electrical signal flowing through the first resistor R1 and the second resistor R2 is generated by the power supply connected to this detection unit, so that the analog-to-digital sampling port of the controller 100 can detect the power supply voltage connected to the detection unit 200.

[0059] If the control detection unit 200 is in the off state, the controller 100 issues a control level signal to control the second switch unit 202 to disconnect through the fourth resistor R4. After the second switch unit 202 disconnects, an open circuit is formed between the input end and the output end of the second switch unit 202. The control end of the first switch unit 201 is connected to the input end of the second switch unit 202 through the third resistor R3. After an open circuit is formed between the input end and the output end of the second switch unit 202, there is no electrical signal at the control end of the first switch unit 201, controlling the first switch unit 201 to disconnect, so an open circuit is formed between the input end and the output end of the first switch unit 201, and the electrical signal cannot flow through the input end of the first switch unit 201. Then, the electrical signal flowing through the first resistor R1 and the second resistor R2 is not generated by the power supply connected to this detection unit 200.

[0060] In summary, in this embodiment, each detection unit includes: a first switch unit, a second switch unit, a third resistor, and a fourth resistor; the input end of the first switch unit is the input end of each detection unit, and the output end of the first switch unit is the output of each detection unit; the control end of the first switch unit is connected to the output end of the second switch unit through the third resistor, the control end of the second switch unit is connected to one end of the fourth resistor, and the other end of the fourth resistor is the control end of each detection unit; the input end of the second switch unit is grounded. Thus, by setting the switch unit and the resistor, the controller can accurately control the detection unit.

[0061] Based on the above Figure 1 corresponding embodiment, the present application further provides a voltage detection circuit including a conduction control unit. Figure 3 is a schematic structural diagram of a voltage detection circuit including a conduction control unit provided by the present application. As Figure 3As shown, the voltage detection circuit further includes: a conduction control unit 300.

[0062] The first input terminal of the conduction control unit 300 is connected to the control terminal of one of at least two detection units 200, the second input terminal of the conduction control unit 300 is connected to the control terminals of the other detection units 200 among at least two detection units 200, and the output terminal of the conduction control unit 300 is grounded. It should be noted that Figure 3 only two detection units 200 are taken as an example here. Therefore, the second input terminal of the conduction control unit 300 is connected to the control terminal of one of at least two detection units 200. In other examples, the second input terminal of the conduction control unit 300 can also be connected in parallel with the control terminals of multiple detection units 200.

[0063] During the process of the smart meter from complete power-off to power-on, there is an intermediate state from the start of power-on to the completion of controller initialization. The controller ports in the intermediate state are unstable, that is, the level states of at least two communication interfaces of the controller are unstable. If the level signals (such as high level) output by multiple communication interfaces all make the corresponding connected detection units in the working state, it will cause conduction between multiple power supplies connected by multiple detection units. And the voltages of multiple power supplies are inconsistent, which will cause the power supply with a higher voltage to charge the power supply with a lower voltage, resulting in abnormal power supply and even explosion.

[0064] To ensure voltage stability in the intermediate state and avoid the situation where multiple detection units work simultaneously, a conduction control unit 300 is provided in the voltage detection circuit.

[0065] For example, when multiple detection units 200 work simultaneously, high levels will appear at the control terminals of multiple detection units 200. The control terminal of the detection unit 200 connected to the first input terminal of the conduction control unit 300 inputs a high level. At the same time, the high level will make the conduction control unit 300 in the working state, and conduction occurs between the second input terminal and the output terminal of the conduction control unit 300. And the second input terminal of the conduction control unit 300 is connected to the control terminal of the detection unit 200, and the high level is input to the second input terminal of the conduction control unit 300 through the control terminal of the detection unit 200. Since conduction occurs between the second input terminal and the output terminal of the conduction control unit 300, and the output terminal of the conduction control unit 300 is grounded, the high level flows to the ground terminal through the conduction control unit 300, so that no high level is input to the control terminal of the detection unit 200 connected to the second input terminal of the conduction control unit 300, and then this detection unit 200 remains disconnected.

[0066] Therefore, by setting the conduction control unit 300, only the detection unit 200 connected to the first input end of the conduction control unit 300 among the multiple detection units 200 is in the working state. In the entire detection circuit, there is only the power supply voltage connected to this detection unit 200, achieving circuit stability and avoiding power anomalies.

[0067] In addition, in this application, in addition to using the conduction control unit 300 to achieve a stable circuit, the controller 100 can also be used to achieve the effect of a stable circuit. Specifically, when at least two communication interfaces output high-level signals, the controller 100 controls the outputs of the multiple communication interfaces so that at most only one communication interface outputs a level signal, avoiding the situation where multiple detection units work simultaneously. In this way, at most only one detection unit 200 in the entire detection circuit is turned on, and at most only one power supply voltage, achieving circuit stability and avoiding power anomalies.

[0068] When using the controller 100 to achieve a stable circuit, the conduction control unit 300 may not be required. For the specific voltage detection circuit, reference can be made to Figure 1 .

[0069] In summary, in this embodiment, the voltage detection circuit further includes: a conduction control unit, the first input end of the conduction control unit is connected to the control end of one detection unit among at least two detection units, the second input end of the conduction control unit is connected to the control ends of other detection units among at least two detection units, and the output end of the conduction control unit is grounded. Thus, circuit stability is achieved and power anomalies are avoided.

[0070] Based on the above Figure 3 corresponding embodiment, this application also provides a conduction control unit. Figure 4 The structure diagram of a conduction control unit provided by this application is shown in Figure 4 As shown, the conduction control unit 300 includes: a third switch unit 301 and a fifth resistor R5.

[0071] One end of the fifth resistor R5 is connected to the control end of the third switch unit 301, the other end of the fifth resistor R5 is the first input end of the conduction control unit 300, the input end of the third switch unit 301 is the second input end of the conduction control unit 300, and the output end of the third switch unit 301 is grounded.

[0072] The other end of the fifth resistor R5 is connected to the control end of one detection unit 200 among at least two detection units 200, and the input end of the third switch unit 301 is connected to the control ends of other detection units 200 among at least two detection units 200. It should be noted that Figure 4Only two detection units 200 are taken as examples for illustration. Therefore, the input end of the third switch unit 301 is connected to the control end of one of at least two detection units 200. In other examples, the input ends of the third switch unit 301 can also be connected in parallel to the control ends of multiple detection units 200.

[0073] It should be noted that Figure 4 the structure of the conduction control unit 300 shown is applicable to the case where two detection units 200 are included in the voltage detection circuit.

[0074] Exemplarily, when the two detection units 200 work simultaneously, high levels will appear at the control ends of both detection units 200. The control end of the detection unit 200 connected to the other end of the fifth resistor R5 inputs a high level. Meanwhile, the high level will be transmitted to the control end of the third switch unit 301 through the fifth resistor R5, causing the conduction between the input end and the output end of the third switch unit 301. The input end of the third switch unit 301 is connected to the control ends of other detection units 200 among at least two detection units 200, and the output end of the third switch unit 301 is grounded. Then, the high level is input to the input end of the third switch unit 301 through the control end of the detection unit 200. Since the input end and the output end of the third switch unit 301 are conducting, and the output end of the third switch unit 301 is grounded, the high level flows to the grounded end through the third switch unit 301, resulting in no high level input to the control end of the detection unit connected to the input end of the third switch unit 301, so that the detection unit 200 remains disconnected.

[0075] Therefore, by setting the third switch unit 301 and the fifth resistor R5 in the conduction control unit 300, only the detection unit 200 connected to the first input end of the conduction control unit 300 among the two detection units 200 is in the working state, and only the power supply voltage connected to this detection unit 200 exists in the entire detection circuit, achieving circuit stability and avoiding power anomalies.

[0076] In summary, in this embodiment, the conduction control unit includes: a third switch unit and a fifth resistor; one end of the fifth resistor is connected to the control end of the third switch unit, the other end of the fifth resistor is the first input end of the conduction control unit, the input end of the third switch unit is the second input end of the conduction control unit, and the output end of the third switch unit is grounded. Thus, by setting the third switch unit and the fifth resistor, circuit stability is achieved and power anomalies are avoided.

[0077] Based on the above embodiments, the embodiments of the present application further provide an example of a switching unit. The first switching unit 201 is a PNP-type triode, the second switching unit 202 is an NPN-type triode, and the third switching unit 301 is an NPN-type triode. Among them, a PNP-type triode is composed of two P-type semiconductors sandwiching an N-type semiconductor, including: an emitter, a collector, and a base. An NPN-type triode is composed of two N-type semiconductors sandwiching a P-type semiconductor, including: an emitter, a collector, and a base.

[0078] Next, for a comprehensive description of the voltage detection circuit provided by the present application, on the basis of Figures 1 - 4 the corresponding embodiment, integrating Figures 1 - 4 the corresponding features therein, and combining that the first switching unit 201 is a PNP-type triode, the second switching unit 202 is an NPN-type triode, and the third switching unit 301 is an NPN-type triode, the present application provides another voltage detection circuit. Figure 5 It is a schematic structural diagram of another voltage detection circuit provided by the present application, as Figure 5 shown.

[0079] In the detection unit 200, the emitter of the PNP-type triode is the input end of each detection unit 200, and the collector of the PNP-type triode is the output end of each detection unit 200; the base of the PNP-type triode is connected to the collector of the NPN-type triode through the third resistor R3, the base of the NPN-type triode is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is the control end of each detection unit 200; the emitter of the NPN-type triode is grounded.

[0080] The controller 100 controls each detection unit 200 to be in a working state or a closed state through the control end of each detection unit 200.

[0081] Exemplarily, if the control detection unit 200 is in the working state, the controller 100 issues a high-level signal to control the NPN transistor to conduct through the fourth resistor R4. After the NPN transistor conducts, the emitter of the NPN transistor is grounded, and then a path can be formed between the collector and the emitter of the NPN transistor. The base of the PNP transistor is connected to the collector of the NPN transistor through the third resistor R3. After a path can be formed between the collector and the emitter of the NPN transistor, there is an electrical signal at the base of the NPN transistor to control the PNP transistor to conduct, and then a path is formed between the collector and the emitter of the PNP transistor. The electrical signal can flow through the collector and emitter of the PNP transistor, the first resistor R1, and the second resistor R2. Then, the electrical signal flowing through the first resistor R1 and the second resistor R2 is generated by the power supply connected to the detection unit 200, so that the analog sampling port of the controller 100 can detect the power supply voltage connected to the detection unit 200.

[0082] If the control detection unit 200 is in the off state, the controller 100 issues a control level signal to control the NPN transistor to turn off through the fourth resistor R4. After the NPN transistor turns off, an open circuit is formed between the collector and the emitter of the NPN transistor. The base of the PNP transistor is connected to the collector of the NPN transistor through the third resistor R3. After an open circuit is formed between the collector and the emitter of the NPN transistor, there is no electrical signal at the base of the PNP transistor to control the PNP transistor to turn off, and then an open circuit is formed between the emitter and the collector of the PNP transistor, and the electrical signal cannot flow through the emitter of the PNP transistor. Then, the electrical signal flowing through the first resistor R1 and the second resistor R2 is not generated by the power supply connected to the detection unit 200.

[0083] In the conduction control unit 300, one end of the fifth resistor R5 is connected to the base of the NPN transistor, the other end of the fifth resistor R5 is the first input end of the conduction control unit 300, the collector of the NPN transistor is the second input end of the conduction control unit 300, and the emitter of the NPN transistor is grounded.

[0084] The other end of the fifth resistor R5 is connected to the control end of one of at least two detection units 200, and the collector of the NPN transistor is connected to the control ends of the other detection units 200 among at least two detection units 200. It should be noted that Figure 5 only two detection units 200 are used for illustrative purposes. Therefore, the collector of the NPN transistor is connected to the control end of one of at least two detection units 200. In other examples, the collector of the NPN transistor can also be connected in parallel to the control ends of multiple detection units 200. Specifically, the collector of the NPN transistor is connected to the position between the fourth resistor R4 in the detection unit 200 and the base of the NPN transistor.

[0085] For example, when multiple detection units 200 work simultaneously, the control terminals of the multiple detection units 200 will all present high levels. The control terminal of the detection unit 200 connected to the other end of the fifth resistor R5 inputs a high level. Meanwhile, the high level is transmitted to the base of the NPN-type triode through the fifth resistor R5, causing conduction between the collector and emitter of the NPN-type triode. The collector of the NPN-type triode is connected to the control terminals of other detection units 200 among at least two detection units 200, and the emitter of the NPN-type triode is grounded. Then the high level is input to the collector of the NPN-type triode through the control terminal of the detection unit 200. Since conduction exists between the collector and emitter of the NPN-type triode and the emitter of the NPN-type triode is grounded, the high level flows through the NPN-type triode to the ground terminal, resulting in no high-level input to the control terminal of the detection unit 200 connected to the collector of the NPN-type triode, and then this detection unit 200 remains disconnected.

[0086] In summary, in this embodiment, the first switch unit is a PNP-type triode, the second switch unit is an NPN-type triode, and the third switch unit is an NPN-type triode, making the control of the voltage detection circuit more accurate.

[0087] In the above Figures 1 - 5 Based on the corresponding embodiment, the present application further provides a backup power supply system for an electric meter. Figure 6 It is a schematic structural diagram of a backup power supply system for an electric meter provided by the present application.

[0088] As Figure 6 shown, the backup power supply system includes: at least two first backup power supplies 400, and any one of the voltage detection circuits in the above Figures 1 - 5 corresponding embodiment. The input ends of at least two detection units in the voltage detection circuit are respectively connected to the detection ends of at least two first backup power supplies 400.

[0089] The power supply voltages of at least two first backup power supplies 400 are detected one by one through the voltage detection circuit in the backup power supply system.

[0090] For example, the first backup power supply 400 can be a super capacitor or a built-in battery in the electric meter. If the first backup power supply is a super capacitor, the backup power supply system further includes an external power supply for charging the super capacitor.

[0091] In summary, in this embodiment, the backup power supply system includes: at least two first backup power supplies, and a voltage detection circuit; the input ends of at least two detection units in the voltage detection circuit are respectively connected to the detection ends of at least two first backup power supplies. Thus, the power supply voltage of the backup power supply system is detected through the voltage detection circuit, reducing the complexity of the detection circuit, making the detection circuit simple and clear, and reducing the cost of the backup power supply system.

[0092] Based on the above Figure 6 corresponding embodiment, the present application also provides another backup power supply system for an electric meter. Figure 7 It is a schematic structural diagram of another backup power supply system for an electric meter provided by the present application.

[0093] As Figure 7 shown, the backup power supply system further includes: a second backup power supply 500, and the backup power supply system further includes: a sixth resistor R6 and a seventh resistor R7. The positive electrode of the second backup power supply 500 is grounded through the sixth resistor R6 and the seventh resistor R7, and the series connection point of the sixth resistor R6 and the seventh resistor R7 is connected to the analog-to-digital sampling port of the controller 100 in the voltage detection circuit.

[0094] Exemplarily, the second backup power supply 500 can be an external battery in the electric meter. The current of the external battery flows through the sixth resistor R6 and the seventh resistor R7, and the series connection point of the sixth resistor R6 and the seventh resistor R7 is a voltage dividing point. The controller 100 can detect the divided voltage value through the series connection point. The controller 100 can determine the power supply voltage of the second backup power supply 500 according to the divided voltage value, the sixth resistor value, and the seventh resistor value.

[0095] At least two first backup power supplies 400 share one analog-to-digital sampling port, and the second backup power supply 500 uses one analog-to-digital sampling port, thus saving the controller interface resources.

[0096] In summary, in this embodiment, the backup power supply system further includes: a second backup power supply, and the backup power supply system further includes: a sixth resistor and a seventh resistor. The positive electrode of the second backup power supply is grounded through the sixth resistor and the seventh resistor, and the series connection point of the sixth resistor and the seventh resistor is connected to the analog-to-digital sampling port of the controller in the voltage detection circuit. Thus, the controller interface resources are saved.

[0097] Based on the above Figures 6 - 7 corresponding embodiment, the present application also provides an intelligent electric meter. Figure 8 It is a schematic structural diagram of an intelligent electric meter provided by the present application.

[0098] As Figure 8 shown, the intelligent electric meter includes: the above Figures 6 - 7The backup power supply system corresponding to any one of the embodiments, at least three unidirectional conduction devices 600, and an electrical appliance 700; the negative electrodes of at least three backup power supplies in the backup power supply system (including at least two first backup power supplies 400 and one second backup power supply 500) are all grounded, and the positive electrodes of at least three backup power supplies are respectively connected to the power supply terminal of the electrical appliance 700 through at least three unidirectional conduction devices 600.

[0099] In this smart meter, multiple backup power supplies can all be used to supply power to the electrical appliance 700 (the electrical appliance includes a controller 100). And a unidirectional conduction device 600 is serially arranged for each backup power supply, so as to supply power to the electrical appliance in sequence according to the voltage value of the backup power supply. That is, the unidirectional conduction device 600 connected to the backup power supply with the largest voltage value conducts, while the other unidirectional conduction devices 600 do not conduct, realizing that the backup power supply with the largest voltage value supplies power to the electrical appliance.

[0100] During the process of supplying power by multiple backup power supplies, the voltage detection circuit can detect the voltages of multiple backup power supplies.

[0101] In summary, in this embodiment, the smart meter includes: a backup power supply system, at least three unidirectional conduction devices, and an electrical appliance; the negative electrodes of at least three backup power supplies in the backup power supply system are all grounded, and the positive electrodes of at least three backup power supplies are respectively connected to the power supply terminal of the electrical appliance through at least three unidirectional conduction devices. Thus, during the normal operation of the smart meter, the voltages of multiple backup power supplies can be detected.

[0102] Further, on the basis of the above Figure 8 corresponding embodiment, the unidirectional conduction device is a diode. By using the unidirectional conduction characteristic of the diode, a diode is serially arranged for each backup power supply, so as to supply power to the electrical appliance in sequence according to the voltage value of the backup power supply.

[0103] On the basis of the above embodiment, the present application also provides a voltage detection method. Figure 9 It is a schematic flowchart of a voltage detection method provided by the present application, and the execution subject of this method is the controller in the voltage detection circuit in the above embodiment. As Figure 9 shown, this method includes:

[0104] S101. Send at least two control signals to the control ends of at least two detection units respectively, so that one of the at least two detection units is in a working state.

[0105] When it is necessary to detect the voltage of a certain target backup power supply, the controller sends a control signal to control the target detection unit connected to the target backup power supply to be in a working state, and sends a control signal to control the other detection units except the target detection unit to be in a closed state.

[0106] S102. Obtain the voltage value detected by the target detection unit in the working state.

[0107] Obtain the voltage value detected by the voltage detection circuit. Only the detection unit connected to the target backup power supply in the entire voltage detection circuit is in the working state. Therefore, the detected voltage value is the voltage value detected by the target detection unit in the working state.

[0108] S103. Determine that the voltage value is the voltage value of the target backup power supply corresponding to the target detection unit.

[0109] Only the target detection unit connected to the target backup power supply in the entire voltage detection circuit is in the working state, and the electrical signal flowing through the entire voltage detection circuit is generated by the target backup power supply. Therefore, obtain the voltage value detected by the target detection unit in the working state, and this voltage value is the voltage value of the target backup power supply.

[0110] In addition, the controller can also obtain the voltage value of the second backup power supply in real time. The specific detection method has been explained in the above embodiments and will not be elaborated here.

[0111] In addition, in this application, when at least two communication interfaces output high-level signals, control the outputs of the multiple communication interfaces so that at most only one communication interface outputs a level signal. Avoid the situation where multiple detection units work simultaneously. In this way, at most only one detection unit in the entire detection circuit is turned on, and at most only one power supply voltage, achieving circuit stability and avoiding power anomalies.

[0112] In summary, in this embodiment, at least two control signals are respectively sent to the control ends of at least two detection units so that one of the at least two detection units is a target detection unit in the working state; obtain the voltage value detected by the target detection unit in the working state; determine that the voltage value is the voltage value of the target backup power supply corresponding to the target detection unit. Thus, the complexity of the detection circuit is reduced, making the detection circuit simple and clear, and reducing the detection cost.

[0113] The following describes the voltage detection device, equipment, storage medium, etc. provided by this application for execution. For the specific implementation process and technical effects, refer to the above, and the following will not be elaborated.

[0114] Figure 10 It is a schematic diagram of a voltage detection device provided by an embodiment of this application. As Figure 10 shown, the device includes:

[0115] The control module 1001 is configured to send at least two control signals to the control terminals of at least two detection units respectively, so that one of the at least two detection units is a target detection unit in a working state.

[0116] The acquisition module 1002 is configured to acquire the voltage value detected by the target detection unit in the working state.

[0117] The determination module 1003 is configured to determine that the voltage value is the voltage value of the target backup power supply corresponding to the target detection unit.

[0118] Figure 11 It is a schematic diagram of a controller provided by an embodiment of the present application. The controller can be a device with computing and processing functions. The controller can be a device with computing and processing functions.

[0119] The controller includes: a processor 1101 and a storage medium 1102. The processor 1101 and the storage medium 1102 are connected through a bus.

[0120] The storage medium 1102 is used to store a program. The processor 1101 calls the program stored in the storage medium 1102 to execute the above method embodiments. The specific implementation manners and technical effects are similar and will not be elaborated here.

[0121] Optionally, the present invention further provides a storage medium, including a program, which is used to execute the above method embodiments when executed by a processor. In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the devices or units can be in an electrical, mechanical or other form.

[0122] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0123] In addition, in each embodiment of the present invention, each functional unit can be integrated into a processing unit, can exist separately physically for each unit, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a hardware plus a software functional unit.

[0124] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a storage medium. The above-mentioned software functional unit stored in a storage medium includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute some steps of the methods described in each embodiment of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk, or an optical disc that can store program codes.

Claims

1. A voltage detection circuit, characterized in that, The voltage detection circuit includes: a controller, at least two detection units, a first resistor, and a second resistor; The input ends of the at least two detection units are respectively connected to the detection ends of at least two backup power supplies in the electric meter; the output ends of the at least two detection units are connected to one end of the first resistor, the other end of the first resistor is connected to the analog sampling port of the controller, and the other end of the first resistor is also grounded through the second resistor; The control ends of the at least two detection units are respectively connected to at least two communication interfaces of the controller; Each detection unit includes: a first switch unit, a second switch unit, a third resistor, and a fourth resistor; The input end of the first switch unit is the input end of each detection unit, and the output end of the first switch unit is the output end of each detection unit; the control end of the first switch unit is connected to the input end of the second switch unit through the third resistor, the control end of the second switch unit is connected to one end of the fourth resistor, and the other end of the fourth resistor is the control end of each detection unit; the output end of the second switch unit is grounded.

2. The voltage detection circuit according to claim 1, wherein The voltage detection circuit further includes: a conduction control unit, a first input end of the conduction control unit is connected to the control end of one detection unit among the at least two detection units, a second input end of the conduction control unit is connected to the control ends of other detection units among the at least two detection units, and the output end of the conduction control unit is grounded.

3. The voltage detection circuit according to claim 2, wherein The conduction control unit includes: a third switch unit and a fifth resistor, one end of the fifth resistor is connected to the control end of the third switch unit, the other end of the fifth resistor is the first input end of the conduction control unit, the input end of the third switch unit is the second input end of the conduction control unit, and the output end of the third switch unit is grounded.

4. The voltage detection circuit according to claim 1, wherein The first switch unit is a PNP type triode, and the second switch unit is an NPN type triode.

5. The voltage detection circuit according to claim 3, wherein The third switch unit is an NPN type triode.

6. A backup power supply system for an electricity meter, characterized in that, The backup power supply system includes: at least two first backup power supplies, and the voltage detection circuit according to any one of claims 1-5; The input ends of at least two detection units in the voltage detection circuit are respectively connected to the detection ends of the at least two first backup power supplies.

7. The backup power supply system according to claim 6, wherein The backup power supply system further includes: a second backup power supply, the backup power supply system further includes: a sixth resistor and a seventh resistor, the positive electrode of the second backup power supply is grounded through the sixth resistor and the seventh resistor, and the series connection point of the sixth resistor and the seventh resistor is connected to the analog sampling port of the controller in the voltage detection circuit.

8. An intelligent electricity meter, characterized in that, The intelligent electric meter includes: the backup power supply system according to claim 6 or 7 above, at least three unidirectional conduction devices, and an electrical appliance device; The negative electrodes of at least three backup power supplies in the backup power supply system are all grounded, and the positive electrodes of the at least three backup power supplies are respectively connected to the power supply end of the electrical appliance device through the at least three unidirectional conduction devices.

9. The smart meter according to claim 8, characterized in that, The unidirectional conduction device is a diode.

10. A voltage detection method, characterized in that, For the controller applied to the voltage detection circuit according to any one of claims 1-5 above, the method includes: Send at least two control signals to the control terminals of at least two detection units respectively, so that there is a target detection unit among the at least two detection units in a working state; Obtain the voltage value detected by the target detection unit in the working state; Determine that the voltage value is the voltage value of the target backup power supply corresponding to the target detection unit.

Citation Information

Patent Citations

  • AD detection circuit and electric cooker with AD detection circuit

    CN105703772A