Energy metering device and method

By collecting and analyzing current and voltage data in the energy metering device, and using digital signal coding to determine the type of power supply, real-time monitoring and switching of AC and DC power is achieved, which solves the difficulty in switching between AC and DC power in electric energy monitoring in the existing technology. problem, improving the adaptive capability and application scope of energy measurement.

CN110531154BActive Publication Date: 2024-08-30GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910915585.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-26
Publication Date
2024-08-30
Estimated Expiration
2039-09-26

AI Technical Summary

Technical Problem

Existing power monitoring technology is difficult to switch between AC and DC, which limits the adaptive capabilities and application range of energy metering devices.

Method used

An energy measurement device is designed. By collecting current and voltage data, the main chip is used to convert it into a digital signal. The power supply type is judged based on the number of zero-crossing points encoded by the digital signal, and the appropriate measurement method is selected to realize the measurement of AC and DC power. Real-time monitoring and switching. The device includes a collection device, a main chip, a display unit and a switch unit, and uses a combination of NMOS and PMOS transistors to achieve on-off control of the power supply circuit.

Benefits of technology

It improves the adaptability of energy measurement, expands the application scope of the equipment, and can switch measurement methods in real time under energy switching conditions, reducing equipment burden and improving analysis efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110531154B
    Figure CN110531154B
Patent Text Reader

Abstract

The present disclosure proposes an energy metering device and method, which relate to the technical field of electric energy monitoring. An energy metering device disclosed in the present disclosure includes: a collection device connected to a power supply under test, collecting the current value and voltage value of the circuit under test; and a main chip connected to the signal of the collection device, the main chip converts the data collected by the collection device into a digital signal code, and determines the metering method for energy metering according to the digital signal code according to the number of zero crossing points of the digital signal code, and performs energy metering, wherein the metering method includes AC metering and DC metering. Such an energy metering device can convert the collected data into a digital signal, and judge whether the power supply is DC or AC, and then select the corresponding energy metering method, so that the metering method can be switched in real time when the energy is switched, thereby improving the adaptability of energy metering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electric energy monitoring, and in particular to an energy metering device and method. Background Art

[0002] Energy metering generally includes the measurement of a series of energies such as electric energy, wind energy, and internal energy. The purpose of metering is to obtain real-time information on various energies, among which electric energy metering is the most common. Most mainstream metering products on the market measure AC 220V mains electricity. Summary of the invention

[0003] One object of the present disclosure is to improve the adaptability of energy metering and expand the scope of application.

[0004] According to one aspect of the present disclosure, an energy metering device is proposed, comprising: a collection device connected to a power supply under test, for collecting current and voltage values ​​of a circuit under test; and a main chip connected to the collection device signal, the main chip converting the data collected by the collection device into a digital signal code, and determining a metering method for energy metering according to the digital signal code according to the number of zero crossing points of the digital signal code, and performing energy metering, wherein the metering method includes alternating current metering and direct current metering.

[0005] In some embodiments, the energy metering device further includes: a first power supply unit connected to the power supply under test and the main chip, converting the voltage of the power supply under test into an operating voltage of the main chip and providing the voltage to the main chip.

[0006] In some embodiments, the energy metering device further includes: a display unit connected to the main chip signal, receiving and displaying the energy metering information from the main chip.

[0007] In some embodiments, the energy metering device further includes: a power supply circuit located in the power supply under test, and a switch unit for controlling the on and off of the power supply circuit; the switch control terminal of the switch unit is connected to the main chip; the main chip also sends an electrical signal of the first level or the second level to the switch unit to control the on and off of the switch unit.

[0008] In some embodiments, the energy metering device further includes: a signal providing unit connected to the main chip signal, sending a first level or second level electrical signal to the main chip; the main chip sends the electrical signal from the signal providing power supply to the switch control terminal of the switch unit.

[0009] In some embodiments, the energy metering device further includes: a second power supply unit connected to the power supply under test and the switch unit, converting the voltage of the power supply under test into an operating voltage of the switch unit and providing the second power supply unit to the switch unit.

[0010] In some embodiments, the switch unit includes: a first N-type metal oxide semiconductor (NMOS) transistor, the gate of the first NMOS transistor is connected to the switch control terminal, the drain of the first NMOS transistor is connected to the gate of the P-type metal oxide semiconductor (PMOS) transistor, and the source of the first NMOS transistor is connected to the first ground; a PMOS transistor, the drain of the PMOS transistor is connected to the first power supply voltage, and the source of the PMOS transistor is respectively connected to the gate of the second NMOS transistor and the gate of the third NMOS transistor; a second NMOS transistor, the drain of the second NMOS transistor is connected to the first input terminal, and the source of the second NMOS transistor is connected to the first ground; a third NMOS transistor, the drain of the third NMOS transistor is connected to the first output terminal, and the source of the third NMOS transistor is connected to the first ground, wherein the first input terminal and the first output terminal are used to connect a load branch.

[0011] In some embodiments, the switch unit also includes: an isolation signal chip, a signal input terminal connected to the switch control terminal, a signal output terminal connected to the gate of the first NMOS transistor, an input side ground terminal connected to the second ground, and an output side ground terminal connected to the first ground.

[0012] In some embodiments, the voltage input terminal and the voltage output terminal of the isolated signal chip are both connected to the second power supply voltage, and filter capacitors are respectively connected between the second power supply voltage and the input side ground terminal and the output side ground terminal of the isolated signal chip; or, pull-up resistors are connected between the signal input terminal and the voltage input terminal, and between the signal output terminal and the voltage output terminal of the isolated signal chip.

[0013] In some embodiments, the energy metering device further includes at least one of the following: a pull-up resistor is connected between the drain of the first NMOS transistor and the drain of the PMOS transistor; the source of the PMOS transistor is connected to the gate of the second NMOS transistor and the gate of the third NMOS transistor and then connected to the first ground through a pull-down resistor; a filter capacitor is connected between the first supply voltage and the first ground; or the load branch includes a power supply and a load connected in series, the power supply is connected to the first input terminal, and the load is connected to the first output terminal.

[0014] In some embodiments, when the main chip sends an electrical signal of a first level to the switching unit, the power supply circuit of the power supply under test is in an on state; when the main chip sends an electrical signal of a second level to the switching unit, the power supply circuit of the power supply under test is in an off state; wherein the first level is higher than the second level.

[0015] In some embodiments, the metering parameters include: one or more of voltage, current, active power, reactive power, apparent power, power factor, active electric energy or reactive electric energy.

[0016] Such an energy metering device can monitor and collect voltage and current data in real time and convert them into digital signals. It can determine whether the power supply is DC or AC by judging the number of zero crossings, and then select the corresponding energy metering method. In this way, the metering method can be switched in real time when the energy is switched, thereby improving the adaptability of energy metering. It can measure DC and AC power, expanding the application scope of the equipment.

[0017] According to one aspect of some other embodiments of the present disclosure, an energy metering method is proposed, comprising: collecting current values ​​and voltage values ​​of a circuit under test through a collection device connected to a power supply under test; converting the data collected by the collection device into digital signal codes through a main chip connected to the collection device signal, and sending the digital signal codes to a judgment unit; and the main chip determining a metering method for energy metering according to the digital signal code according to the number of zero crossing points of the digital signal code, and performing energy metering, wherein the metering method includes alternating current metering and direct current metering.

[0018] In some embodiments, the energy metering method further includes: sending an electrical signal of the first level or the second level to the main chip through a signal providing unit connected to the main chip signal; the main chip sends an electrical signal of the first level or the second level to a switch unit to control the on and off of the switch unit, wherein the switch unit is located in the power supply circuit of the power supply under test to control the on and off of the power supply circuit.

[0019] In some embodiments, the energy metering method further includes at least one of the following: receiving electric energy from the power supply under test through a first power supply unit, converting the voltage into the working voltage of the main chip and providing it to the main chip; or receiving electric energy from the power supply under test through a second power supply unit, converting the voltage into the working voltage of the switching unit and providing it to the switching unit.

[0020] In some embodiments, controlling the on and off of the power supply circuit includes: controlling the power supply circuit to be in an on state by sending a first level electrical signal to a switch unit; controlling the power supply circuit to be in an off state by sending a second level electrical signal to the switch unit; wherein the first level is higher than the second level.

[0021] Through this method, voltage and current data can be monitored and collected in real time and converted into digital signals. The power supply can be determined as DC or AC by judging the number of zero crossing points, and then the corresponding energy metering method can be selected. In this way, the metering method can be switched in real time when the energy is switched, thereby improving the adaptability of energy metering; DC and AC can be measured, expanding the application scope of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:

[0023] Figure 1 Schematic diagrams of some embodiments of the energy metering device disclosed herein.

[0024] Figure 2 Schematic diagrams of other embodiments of the energy metering device disclosed herein.

[0025] Figure 3 Schematic diagrams of some embodiments of the switch unit in the energy metering device of the present disclosure.

[0026] Figure 4 The following is a flow chart of some embodiments of the energy metering method disclosed in the present invention. DETAILED DESCRIPTION

[0027] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments.

[0028] Schematic diagrams of some embodiments of the energy metering device disclosed in the present invention are as follows Figure 1 shown.

[0029] The acquisition device 1 collects the current and voltage values ​​of the power supply under test, and sends the collected data to the main chip 2 connected to its own signal. The power supply 3 under test can be an AC power supply or a DC power supply. The main chip 2 converts the data collected by the acquisition device 1 into digital signal encoding. In some embodiments, the digital signal encoding can be a hexadecimal encoding, thereby increasing the data transmission speed. The main chip 2 determines whether the type of the power supply under test is AC or DC according to the number of zero crossings in the digital signal encoding, and then selects a matching energy metering method for energy metering. In some embodiments, the number of zero crossings in the digital signal encoding can be detected at a predetermined frequency, such as detecting the number of zero crossings once within two AC frequency cycles. If the number of zero crossings is greater than or equal to the predetermined number threshold, it is determined that the power supply under test is an AC power supply, and the AC metering method is used for energy metering; if the number of zero crossings is less than the predetermined number threshold, it is determined that the power supply under test is a DC power supply, and the DC metering method is used for energy metering. In some embodiments, the predetermined number threshold can be a positive integer greater than or equal to 1. In some embodiments, considering the stability of the power supply, a DC power supply can be used, and the initial predetermined number threshold is 0 for testing, and the predetermined number threshold is gradually increased according to the accuracy of the operation.

[0030] Such an energy metering device can monitor and collect voltage and current data in real time and convert them into digital signals. It can determine whether the power supply is DC or AC by judging the number of zero crossings, and then select the corresponding energy metering method. It can switch the metering method in real time when the energy is switched, thereby improving the adaptability of energy metering. It can be used in DC or AC metering scenarios, expanding the application scope of the equipment.

[0031] Since the main chip can convert the collected voltage and current data into digital signal data and then perform zero-crossing number analysis, the equipment burden is reduced, the analysis efficiency is improved, and accidental jitters are avoided to affect the judgment results, thereby improving accuracy. In some embodiments, the main chip can be implemented by a single-chip microcomputer (such as the MSP430 chip of Texas Instruments).

[0032] In some embodiments, the energy metering device also includes a display unit that can display information from the main chip, such as energy metering results, the type of power supply being measured, etc. In some embodiments, it can also include digital signal encoding for intuitive observation by the user. The main chip 2 can include a wireless interaction module, and the main chip sends digital signal encoding to the display unit through the wireless interaction module. Such an energy metering device can display energy metering results, facilitate human-computer interaction, and also facilitate users to respond in a timely manner according to the metering results.

[0033] In some embodiments, Figure 1 As shown, the energy metering device may further include a power supply unit 4. The power supply unit 4 may be a switch circuit, connected to the power supply under test, and capable of converting the voltage of the power supply under test into other voltages to power other chips and units. In some embodiments, the power supply unit 4 may be a first power supply unit, connected to the main chip, converting the voltage of the power supply under test into the working voltage of the main chip (such as 5V), and providing it to the main chip.

[0034] Such an energy metering device can obtain electrical energy from the power supply under test and provide stable power to the chip of the metering device after conversion, thereby eliminating the need to provide additional working power and reducing the complexity and conditions of use of the device.

[0035] In some embodiments, Figure 2As shown, the energy metering device may further include a switch unit, which is located on the power supply circuit for the power supply under test to supply power to the outside. Cutting off the switch unit can prevent the power supply under test from supplying power to the outside. In some embodiments, the switch control terminal of the switch unit is connected to the main chip, and the on or off is controlled according to the electrical signal sent by the main chip. In some embodiments, when the main chip sends an electrical signal of a first level to the switch unit, the switch unit is turned on, and the power supply circuit of the power supply under test is in a conducting state; when the main chip sends a second level to the switch unit, the switch unit is cut off, and the power supply circuit of the power supply under test is in a disconnected state; wherein the first level is higher than the second level. In some embodiments, the signal providing unit may provide an electrical signal of a first level or a second level to the main chip, such as sending a signal to the main chip by wireless transmission, and the main chip sends an electrical signal to the switch unit. In some embodiments, the display unit mentioned above may be a computer 6, and the signal providing unit may also be a computer 6. The computer and the main chip interact wirelessly, and the user obtains the energy metering information sent by the main chip to the computer through the screen, and sends an electrical signal to the main chip through the computer to control the on and off of the switch unit.

[0036] Such an energy metering device can control the power supply state of the power supply under test, for example, determine to cut off the power supply or turn on the power supply according to the energy metering result, thereby realizing feedback control according to the metering result, improving the availability of the metering result and the controllability of the circuit. In some embodiments, the switch unit is located on the live wire of the power supply circuit of the power supply under test (in the case of AC power supply), thereby improving the circuit safety.

[0037] In some embodiments, the energy metering device may further include a second power supply unit connected to the power supply under test and the switch unit, converting the voltage of the power supply under test into the working voltage of the switch unit and providing it to the switch unit. In some embodiments, the power supply unit 4 can be connected to the power supply under test, the switch unit and the main chip, converting the voltage of the power supply under test into the main chip voltage and providing it to the main chip 2, converting the voltage of the power supply under test into the switch unit 5 voltage (such as 12V) and providing it to the switch unit 5, so that the switch unit does not need an additional power supply device, reducing the complexity and conditions of use of the device.

[0038] In some embodiments, the switch unit 5 may be an optical coupler circuit. In other embodiments, the switch unit 5 may be Figure 3 The switch unit includes: a first NMOS transistor U1, a PMOS transistor U4, a second NMOS transistor U2, a third NMOS transistor U3, and may also selectively include an isolation signal chip UND and some adaptive resistors and capacitors.

[0039] In some embodiments, the gate of the first NMOS transistor U1 is connected to the switch control terminal CONTROL, the drain of the first NMOS transistor U1 is connected to the gate of the PMOS transistor U4, and the source of the first NMOS transistor U1 is connected to the first ground GGND; the drain of the PMOS transistor U4 is connected to the first power supply voltage V1, and the source of the PMOS transistor U4 is connected to the gate of the second NMOS transistor U2 and the gate of the third NMOS transistor U3 respectively; the drain of the second NMOS transistor U2 is connected to the first input terminal PV+_IN, and the source of the second NMOS transistor U2 is connected to the first ground GGND; the drain of the third NMOS transistor U3 is connected to the first output terminal PV+_OUT, and the source of the third NMOS transistor U3 is connected to the first ground GGND, wherein the load branch is connected between the first input terminal PV+_IN and the first output terminal PV+_OUT. The load branch, for example, includes a power supply and a load connected in series. The power supply is connected between the first input terminal PV+_IN and the second input terminal PV-_IN, and the load is connected between the first output terminal PV+_OUT and the second output terminal PV-_OUT. The power source is a strong current of AC or DC. A resistor (such as R9, R10) can also be connected between the second input terminal PV-_IN and the second output terminal PV-_OUT to play a protective role.

[0040] In some embodiments, a pull-up resistor (such as R3, R4, R5) is connected between the drain of the first NMOS transistor U1 and the drain of the PMOS transistor U4 to clamp the signal at a high level. R3, R4, R5 are, for example, all 200 ohms, and the present disclosure does not limit the resistance value.

[0041] In some embodiments, the source of the PMOS transistor U4 is connected to the gate of the second NMOS transistor U2 and the gate of the third NMOS transistor U3, and then connected to the first ground GGND through a pull-down resistor (such as R6, R7, R8) to clamp the signal at a low level. R6, R7, R8 are all 200 ohms, for example, and the present disclosure does not limit the resistance value.

[0042] In some embodiments, a filter capacitor (such as C3, C4) is connected between the first supply voltage V1 and the first ground GGND for filtering. The capacitance values ​​of C3 and C4 are, for example, 100nF and 2.2uF respectively, and the present disclosure does not limit the capacitance values.

[0043] In some embodiments, the switch unit may also be provided with an isolation signal chip UND to isolate the first ground GGND (strong power ground) of the drive circuit from the second ground DGND (weak power ground), thereby optimizing the switch unit and reducing circuit failures. The isolation signal chip UND may be capable of realizing the signal isolation function, and the chip may be, for example, IC_COMM_SN1506011DWR or ADUM131E1BRWZ, etc. The present disclosure does not limit the specific chip model.

[0044] The signal isolation chip UND has a signal input terminal INA connected to the switch control terminal CONTROL, a signal output terminal OUTA connected to the gate of the first NMOS transistor U1, an input side ground terminal GND1 connected to the second ground DGND, and an output side ground terminal GND2 connected to the first ground GGND. The output level of the signal output terminal OUTA of the signal isolation chip UND is consistent with the input level of its signal input terminal INA.

[0045] The voltage input terminal VCC1 and the voltage output terminal VCC2 of the isolation signal chip UND are both connected to the second power supply voltage V2, and filter capacitors (such as C1 and C2) are respectively connected between the second power supply voltage V2 and the input side ground terminal GND1 and the output side ground terminal GND2 of the isolation signal chip UND for filtering. The capacitance value of C1 and C2 is, for example, 100nF, and the present disclosure does not limit the capacitance value.

[0046] In some embodiments, the second supply voltage V2 is less than the first supply voltage V1. The first supply voltage V1 is, for example, a DC 12V, and the second supply voltage V2 is, for example, a DC 3.3V.

[0047] In some embodiments, pull-up resistors (such as R2, R1) are connected between the signal input terminal INA and the voltage input terminal VCC1 of the isolation signal chip UND, and between the signal output terminal OUTA and the voltage output terminal VCC2, so as to clamp the signal at a high level. The resistance value of R2, R1 is, for example, 1k, and the present disclosure does not limit the resistance value.

[0048] In addition, the isolation signal chip UND also reserves some pins, such as INB, OUTC, NC, OUTB, INC, NC, EN and other pins. Some functions can be expanded through these pins and their control according to business needs.

[0049] When the switch control terminal CONTROL inputs a first level, the first input terminal PV+_IN and the first output terminal PV+_OUT are in a connected state; when the switch control terminal CONTROL inputs a second level, the first input terminal PV+_IN and the first output terminal PV+_OUT are in a disconnected state; wherein the first level is higher than the second level, the first level is a preset high level "1", and the second level is a preset low level "0".

[0050] The working principle of the switch unit is described below.

[0051] In the initial state, that is, when the switch control is not performed, PV-_IN and PV-_OUT are connected, while PV+_IN and PV+_OUT are disconnected. At this time, the power supply cannot supply power to the load.

[0052] When the switch control terminal CONTROL inputs a high level "1", after passing through the isolation signal chip UND, a sufficiently large voltage is generated between the gate and source of the first NMOS transistor U1 to turn on the first NMOS transistor U1 at a high level, so that the source of the first NMOS transistor U1 is connected to the first ground GGND, and the drain of the first NMOS transistor U1 is connected to the gate of the PMOS transistor U4, then the gate input of the PMOS transistor U4 is a "0" level, at this time the voltage between the gate and source of the PMOS transistor U4 is less than 0, so that the PMOS transistor U4 is turned on at a low level, the first power supply voltage V1 (such as 12V input voltage) is connected to the gate of the second NMOS transistor U2 and the gate of the third NMOS transistor U3, so that the second NMOS transistor U2 and the third NMOS transistor U3 are turned on at a high level, then PV+_IN is connected to PV+_OUT through the drain of the second NMOS transistor U2 and the drain of the third NMOS transistor U3. That is, at this time, PV+_IN is connected to PV+_OUT, the switch is turned on, and the power supply can supply power to the load. The gate voltages of the second NMOS transistor U2 and the third NMOS transistor U3 are provided by the first power supply voltage V1 (eg, 12V, which is greater than the second power supply voltage V2), which can improve the driving capability of the switch unit.

[0053] When the switch control terminal CONTROL inputs a low level "0", after passing through the isolation signal chip UND, a high level cannot be generated between the gate and source of the first NMOS transistor U1, so that the first NMOS transistor U1 is turned on at a high level. That is, at this time, PV+_IN and PV+_OUT are in a disconnected state, the switch is disconnected, and the power supply cannot supply power to the load.

[0054] In such an energy metering device, a combination of "MOS transistors" is used to realize the switch unit, and whether the power supply being measured is AC or DC will not affect the on and off of the switch unit. The first ground (such as the strong power ground) of the driving circuit is isolated from the second ground (such as the weak power ground) by isolating the signal chip, optimizing the switch unit, reducing circuit failures, making it have a higher withstand voltage value, a larger on-current, and a higher switching reaction rate.

[0055] In some embodiments, Figure 2 As shown, when the energy metering device performs energy metering, the metering parameters may include one or more of voltage, current, active power, reactive power, apparent power, power factor, active electric energy or reactive electric energy.

[0056] Such an energy metering device can measure AC and DC power from multiple angles, improving the comprehensiveness of energy metering.

[0057] Based on Figure 1 or the energy metering device shown in 2, the flow charts of some embodiments of the energy metering method disclosed in the present invention are as follows Figure 4 shown.

[0058] In step 401, the current value and the voltage value of the circuit under test are collected by a collection device connected to the power supply under test.

[0059] In step 402, the data collected by the collection device is converted into digital signal codes through the main chip connected to the collection device signal, and sent to the judgment unit.

[0060] In step 403, the main chip determines the metering method for energy metering according to the digital signal encoding according to the number of zero crossings encoded by the digital signal, and performs energy metering. The metering method includes AC metering and DC metering. In some embodiments, the number of zero crossings encoded by the digital signal can be detected at a predetermined frequency, such as detecting the number of zero crossings once within two AC frequency cycles. If the number of zero crossings is greater than or equal to a predetermined number threshold, it is determined that the power supply under test is an AC power supply, and the AC metering method is used for energy metering; if the number of zero crossings is less than the predetermined number threshold, it is determined that the power supply under test is a DC power supply, and the DC metering method is used for energy metering. In some embodiments, the predetermined number threshold can be a positive integer greater than or equal to 1.

[0061] Through this method, voltage and current data can be monitored and collected in real time and converted into digital signals. The number of zero-crossing points can be used to determine whether the power supply is DC or AC, and then the corresponding energy metering method can be selected. In this way, the metering method can be switched in real time when the energy is switched, thereby improving the adaptability of energy metering. It can be applied to DC or AC metering scenarios, expanding the application scope of the equipment.

[0062] In some embodiments, a signal providing unit connected to the main chip signal can send an electrical signal of the first level or the second level to the main chip; the main chip sends an electrical signal of the first level or the second level to the switch unit to control the on and off of the switch unit, wherein the switch unit is located in the power supply circuit of the power supply under test to control the on and off of the power supply circuit. In some embodiments, the power supply circuit can be controlled to be in the on state by sending an electrical signal of the first level (such as level 1) to the switch unit; the power supply circuit can be controlled to be in the off state by sending a second level (such as level 0) to the switch unit; wherein the first level is higher than the second level.

[0063] Through such a method, the power supply state of the measured power supply can be controlled, for example, cutting off or turning on the power supply can be determined according to the energy metering result, thereby realizing feedback control according to the metering result, improving the availability of the metering result and the controllability of the circuit.

[0064] In some embodiments, the electric energy from the power supply under test is received by the first power supply unit, and the voltage is converted into the working voltage of the main chip and then provided to the main chip; the electric energy from the power supply under test is received by the second power supply unit, and the voltage is converted into the working voltage of the switch unit and then provided to the switch unit. In some embodiments, the first power supply unit and the second power supply unit can be the same unit. Through such a method, electric energy can be obtained from the power supply under test and after conversion, a stable power supply can be provided to the chip of the metering device, thereby eliminating the need to provide an additional working power supply, reducing the complexity and conditions of use of the device.

[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present disclosure rather than to limit it. Although the present disclosure has been described in detail with reference to the preferred embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present disclosure can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present disclosure, which should be included in the scope of the technical solution for protection of the present disclosure.

Claims

1. An energy metering device, include: A collection device connected to the power supply under test and collecting the current value and voltage value of the power supply under test; and, A main chip connected to the acquisition device by signal, the main chip converts the data collected by the acquisition device into digital signal codes, and determines a metering method for energy metering according to the number of zero crossing points of the digital signal codes, and performs energy metering, wherein the metering method includes alternating current metering and direct current metering; and A switch unit located in the power supply circuit of the power supply under test, which controls the on / off of the power supply circuit, wherein the switch unit comprises: a first NMOS transistor, wherein a gate of the first NMOS transistor is connected to the switch control terminal, a drain of the first NMOS transistor is connected to the gate of the PMOS transistor, and a source of the first NMOS transistor is connected to a first ground; a PMOS transistor, wherein a drain of the PMOS transistor is connected to the first power supply voltage of the switch unit, and a source of the PMOS transistor is connected to the gate of the second NMOS transistor and the gate of the third NMOS transistor respectively; a second NMOS transistor, wherein a drain of the second NMOS transistor is connected to the first input terminal of the power supply circuit, and a source of the second NMOS transistor is connected to the first ground; A third NMOS transistor, a drain of the third NMOS transistor is connected to the first output terminal of the power supply circuit, a source of the third NMOS transistor is connected to the first ground, wherein the first input terminal and the first output terminal are used to connect a load branch.

2. The device according to claim 1, further comprising: include: The first power supply unit connected to the power supply under test and the main chip converts the voltage of the power supply under test into the working voltage of the main chip and supplies the voltage to the main chip.

3. The device according to claim 1, further comprising: include: A display unit is connected to the main chip signal, receives energy metering information from the main chip and displays it.

4. The device according to claim 1, further comprising: A switch unit located in the power supply circuit of the power supply under test, for controlling the on / off of the power supply circuit; The switch control terminal of the switch unit is connected to the main chip; The master chip also sends an electrical signal of a first level or a second level to the switch unit to control the on and off of the switch unit.

5. The device according to claim 4, further comprising: include: A signal providing unit connected to the master chip by signal, sending the electrical signal of the first level or the second level to the master chip; The main chip sends the electrical signal from the signal providing unit to the switch control terminal of the switch unit.

6. The device according to claim 4, further comprising: include: The second power supply unit connected to the power supply under test and the switch unit converts the voltage of the power supply under test into the working voltage of the switch unit and supplies the voltage to the switch unit.

7. The device according to claim 1, in, The switch unit further comprises: The isolation signal chip has a signal input terminal connected to the switch control terminal, a signal output terminal connected to the gate of the first NMOS transistor, an input side ground terminal connected to the second ground, and an output side ground terminal connected to the first ground.

8. The device according to claim 7, in, The voltage input terminal and the voltage output terminal of the isolation signal chip are both connected to the second power supply voltage of the switch unit, and filter capacitors are respectively connected between the second power supply voltage and the input side ground terminal and the output side ground terminal of the isolation signal chip, wherein the second power supply voltage is less than the first power supply voltage; or, Pull-up resistors are connected between the signal input terminal and the voltage input terminal, and between the signal output terminal and the voltage output terminal of the isolation signal chip.

9. The device according to claim 7, in, Also includes at least one of the following: A pull-up resistor is connected between the drain of the first NMOS transistor and the drain of the PMOS transistor; The source of the PMOS transistor is respectively connected to the gate of the second NMOS transistor and the gate of the third NMOS transistor and then connected to the first ground through a pull-down resistor; A filter capacitor is connected between the first supply voltage and the first ground; The load branch includes a power supply and a load connected in series, the power supply is connected to the first input terminal, and the load is connected to the first output terminal.

10. The device according to any one of claims 4 to 9, in, When the main chip sends an electrical signal of the first level to the switch unit, the power supply circuit of the power supply under test is in a conducting state; When the main chip sends an electrical signal of the second level to the switch unit, the power supply circuit of the power supply under test is in a disconnected state; The first level is higher than the second level.

11. The device according to claim 1, in, The metering parameters include: one or more of voltage, current, active power, reactive power, apparent power, power factor, active electric energy or reactive electric energy.

12. A method for measuring energy, include: The current value and voltage value of the power supply under test are collected by a collection device connected to the power supply under test; The data collected by the acquisition device is converted into digital signal codes through a main chip connected to the acquisition device signal; and The main chip determines a metering method for energy metering according to the digital signal code according to the number of zero crossing points of the digital signal code, and performs energy metering, wherein the metering method includes alternating current metering and direct current metering; Also includes: The main chip controls the on and off of the switch unit, wherein the switch unit is located in the power supply circuit of the power supply under test, controls the on and off of the power supply circuit, and the switch unit includes: a first NMOS transistor, wherein a gate of the first NMOS transistor is connected to the switch control terminal, a drain of the first NMOS transistor is connected to the gate of the PMOS transistor, and a source of the first NMOS transistor is connected to a first ground; a PMOS transistor, wherein a drain of the PMOS transistor is connected to the first power supply voltage of the switch unit, and a source of the PMOS transistor is connected to the gate of the second NMOS transistor and the gate of the third NMOS transistor respectively; a second NMOS transistor, wherein a drain of the second NMOS transistor is connected to the first input terminal of the power supply circuit, and a source of the second NMOS transistor is connected to the first ground; A third NMOS transistor, a drain of the third NMOS transistor is connected to the first output terminal of the power supply circuit, a source of the third NMOS transistor is connected to the first ground, wherein the first input terminal and the first output terminal are used to connect a load branch.

13. The method according to claim 12, further comprising: Sending an electrical signal of a first level or a second level to the master chip through a signal providing unit connected to the master chip signal; The main chip sends an electrical signal of a first level or a second level to the switch unit to control the on and off of the switch unit. in, The switch unit is located in the power supply circuit of the power supply under test, and controls the on and off of the power supply circuit.

14. The method according to claim 13, further comprising at least one of the following: Receiving electric energy from the power supply under test through a first power supply unit, converting the voltage into the working voltage of the main chip and then providing it to the main chip; or The electric energy from the power supply under test is received through the second power supply unit, the voltage is converted into the working voltage of the switch unit, and the working voltage is provided to the switch unit.

15. The method according to claim 13, in, The controlling the on and off of the power supply circuit comprises: Controlling the power supply circuit to be in a conducting state by sending an electrical signal of a first level to the switch unit; Controlling the power supply circuit to be in a disconnected state by sending an electrical signal of a second level to the switch unit; The first level is higher than the second level.

Citation Information

Patent Citations

  • Electric energy meter having AC / DC adaptive electric energy measurement function and electric energy measurement method

    CN106569447A

  • Lamp information acquisition control device

    CN204408678U

  • Energy metering device

    CN211043504U