Power strip power consumption monitoring display circuit
The power consumption monitoring and display circuit for power strips addresses the lack of real-time power consumption visibility by using an STM32 microcontroller and HLW8012 chip to provide precise and stable power monitoring, enhancing user control and maintenance.
Patent Information
- Application Number
- CN202421215593.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2034-05-30
AI Technical Summary
Users are unable to view the real-time power consumption of household appliances, leading to inefficient power usage and inability to optimize or maintain equipment with abnormal consumption.
A power consumption monitoring and display circuit for a power strip, incorporating an STM32 microcontroller, HLW8012 energy metering chip, manganese copper resistors, and an OLED display, to provide real-time power consumption data and protection mechanisms.
Enables high-precision, real-time monitoring and display of power consumption, facilitating better control and maintenance of electrical devices, with stable performance and low power consumption.
Smart Images

Figure CN222259464U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of socket strip equipment, and in particular relates to a socket strip power consumption monitoring and display circuit. Background Art
[0002] With the development of technology and the popularization of household appliances, the number of electrical appliances in homes and offices has gradually increased, and the demand for power strips has also increased. A convenient and fast way is needed to manage the power connections of many devices. Multi-function power strips can provide a variety of design and function options to meet the personalized needs of different consumers.
[0003] When users use electricity for a long time, they are completely unaware of the power consumption and electricity consumption of various household appliances. Users cannot view the power consumption and power consumption of the equipment in real time, resulting in users being unable to better control and optimize power usage, and unable to promptly maintain or replace equipment with abnormal power consumption.
[0004] Therefore, it is necessary to design a power consumption monitoring and display circuit for a power strip. Utility Model Content
[0005] In order to solve the shortcomings and deficiencies of the prior art, a power consumption monitoring and display circuit for a socket strip is provided, thereby solving the problem that the socket strip user cannot view the power consumption and power consumption status of the device in real time, resulting in the inability to better control and optimize power usage.
[0006] A power consumption monitoring and display circuit for a power strip provided to achieve the purpose of the utility model comprises a power strip housing and an external circuit, wherein a display unit is arranged on the power strip housing, and a control unit and a relay unit are arranged inside the power strip housing, wherein the control unit is electrically connected to the relay unit to protect the equipment, the control unit is electrically connected to the display unit to display the power, and the control unit is electrically connected to the external circuit to detect the power.
[0007] As a further improvement of the above scheme, the control unit includes a chip U2 and an electric energy detection unit, and the electric energy detection unit includes a chip U1, resistors R1-R8, resistor R9 and capacitors C1-C4; pins A5, G6, G5, F5, G4, and F4 of the chip U2 are connected to S1-S4 and O1-O2 respectively, pin F1 is grounded, pin H1 is connected to the VCC power supply, pin A1 is connected to pin 6 of the chip U1, and pin B1 is connected to pin 7 of the chip U1; pin 1 of the chip U1 is connected to the VCC5V power supply and one end of the capacitor C2, pin 2 is connected to one end of the resistor R6 and one end of the capacitor C3, and pin 3 is connected to one end of the resistor R7 and one end of the capacitor C4. One end is connected, pin 4 is connected to one end of capacitor C1 and one end of resistor R1-R2, and pin 5 is grounded; the other end of the resistor R6 is connected to one end of resistor R8 and the live wire of the external circuit; the other end of the resistor R7 is connected to the other end of resistor R8 and one end of resistor R9, and the other end of resistor R9 is connected to the neutral line of the external circuit; the other end of the resistor R2 is connected to one end of resistor R3, the other end of the resistor R3 is connected to one end of resistor R4, the other end of the resistor R4 is connected to one end of resistor R5, and the other end of the resistor R5 is connected to the live wire of the external circuit; the other end of the capacitors C1-C4 and the other end of the resistor R1 are both grounded.
[0008] As a further improvement of the above scheme, the relay unit includes transistors Q1-Q4, switches K1-K4, sockets P1-P4, resistors R9-R16, light-emitting diodes LED1-LED4 and diodes D1-D4; pin 1 of the socket P1 is connected to terminal 2 of the switch K1, pin 2 is connected to terminal 1 of the switch K1, the collector of the transistor Q1 is connected to one end of the induction column in the switch K1, the anode of the diode D1 and the cathode of the light-emitting diode LED1, the base is connected to one end of the resistor R10, and the emitter is grounded; the anode of the light-emitting diode LED1 is connected to one end of the resistor R9, The other end of the resistor R9 is connected to the VCC power supply, the cathode of the diode D1 and the other end of the sensing column in the switch K1, and the other end of the resistor R10 is connected to S1; the pin 1 of the socket P2 is connected to the terminal 2 of the switch K2, the pin 2 is connected to the terminal 1 of the switch K2, the collector of the transistor Q2 is connected to one end of the sensing column in the switch K2, the anode of the diode D2 and the cathode of the light-emitting diode LED2, the base is connected to one end of the resistor R12, and the emitter is grounded; the anode of the light-emitting diode LED2 is connected to one end of the resistor R11, and the other end of the resistor R11 is connected to the VCC power supply, the diode D1 and the cathode of the light-emitting diode LED2. The cathode of transistor D2 is connected to the other end of the sensing column in switch K2, and the other end of the resistor R12 is connected to S2; pin 1 of socket P3 is connected to terminal 2 of switch K3, and pin 2 is connected to terminal 1 of switch K3; the collector of transistor Q3 is connected to one end of the sensing column in switch K3, the anode of diode D3 and the cathode of light-emitting diode LED3, the base is connected to one end of resistor R14, and the emitter is grounded; the anode of light-emitting diode LED3 is connected to one end of resistor R13, and the other end of resistor R13 is connected to VCC power supply, the cathode of diode D3 and the other end of the sensing column in switch K3. The other end of the resistor R14 is connected to S3; the pin 1 of the socket P4 is connected to the terminal 2 of the switch K4, the pin 2 is connected to the terminal 1 of the switch K4, the collector of the transistor Q4 is connected to one end of the sensing column in the switch K4, the anode of the diode D4 and the cathode of the light-emitting diode LED4, the base is connected to one end of the resistor R16, and the emitter is grounded; the anode of the light-emitting diode LED4 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to the VCC power supply, the cathode of the diode D4 and the other end of the sensing column in the switch K4, and the other end of the resistor R16 is connected to S4.
[0009] As a further improvement of the above solution, the display unit includes an OLED display screen, a pin 1 of the OLED display screen is grounded, a pin 2 is connected to a VCC power supply, and pins 3-4 are connected to O2 and O1 respectively.
[0010] As a further improvement of the above solution, the chip U2 in the control unit is a STM32 microcontroller.
[0011] As a further improvement of the above solution, the resistance wire R8 is a manganese copper resistor.
[0012] As a further improvement of the above solution, the chip U1 in the electric energy detection unit is an electric energy metering chip HLW8012.
[0013] The beneficial effects of the utility model are:
[0014] Compared with the prior art, the utility model provides a power strip power consumption monitoring and display circuit, which uses a control unit to realize data reception and processing. At the same time, the chip U2 in the control unit uses an STM32 type single-chip microcomputer, which has a high computing speed and response time and can meet various complex task requirements. The STM32 type single-chip microcomputer focuses on low power consumption while maintaining high performance, and is more suitable for power strips that need to run for a long time; the power detection module is used to realize real-time monitoring of power. At the same time, the chip U1 in the power monitoring module uses an energy metering chip HLW8012, which can realize high-precision metering and can measure power consumption. It can realize multifunctional measurement of quantity, effective value of current, effective value of voltage and effective value of power, and it also has the characteristics of small size, which makes it easy to integrate into smart devices with limited space; the electric energy monitoring module adopts the method of connecting manganese copper resistor to electric energy metering chip to sample current and voltage. The manganese copper resistor has a very small resistance temperature coefficient, which means that its resistance value changes very little when the temperature changes, thereby ensuring the stability of the sampling current and the accuracy of the measurement to achieve high-precision measurement. The manganese copper alloy not only has a small resistance temperature coefficient, but also has a low thermoelectric potential to copper. These characteristics enable the manganese copper resistor to maintain stable performance during long-term operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is the overall connection schematic diagram of the utility model;
[0016] Figure 2 It is a circuit connection diagram of the control unit in the utility model;
[0017] Figure 3 It is a circuit connection diagram of the relay unit in the utility model;
[0018] Figure 4 It is a circuit connection diagram of the display unit in the utility model. DETAILED DESCRIPTION
[0019] The following is a further detailed description of the specific implementation of the utility model in conjunction with the accompanying drawings:
[0020] Embodiment 1
[0021] according to Figure 1 As shown, the utility model provides a power consumption monitoring and display circuit for a socket strip, including a socket strip housing and an external circuit, a display unit is arranged on the socket strip housing, a control unit and a relay unit are arranged inside the socket strip housing, the control unit is electrically connected to the relay unit to realize equipment protection, the control unit is electrically connected to the display unit to realize power consumption display, and the control unit is electrically connected to the external circuit to realize power consumption detection.
[0022] Depend on Figure 2 It can be seen that the control unit includes a chip U2 and an electric energy detection unit, and the electric energy detection unit includes a chip U1, resistors R1-R8, resistor R9 and capacitors C1-C4; the pins A5, G6, G5, F5, G4, and F4 of the chip U2 are connected to S1-S4 and O1-O2 respectively, the pin F1 is grounded, the pin H1 is connected to the VCC power supply, the pin A1 is connected to the pin 6 of the chip U1, and the pin B1 is connected to the pin 7 of the chip U1; the pin 1 of the chip U1 is connected to the VCC5V power supply and one end of the capacitor C2, the pin 2 is connected to one end of the resistor R6 and one end of the capacitor C3, and the pin 3 is connected to one end of the resistor R7 and one end of the capacitor C4. The pin 4 is connected to one end of the capacitor C1 and one end of the resistor R1-R2, and the pin 5 is grounded; the other end of the resistor R6 is connected to one end of the resistor R8 and the live wire of the external circuit; the other end of the resistor R7 is connected to the other end of the resistor R8 and one end of the resistor R9, and the other end of the resistor R9 is connected to the zero line of the external circuit; the other end of the resistor R2 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the live wire of the external circuit; the other end of the capacitor C1-C4 and the other end of the resistor R1 are grounded. The chip U2 in the control unit uses an STM32 single-chip microcomputer, the resistor R8 uses a manganese copper resistor, and the chip U1 in the electric energy detection unit uses an electric energy metering chip HLW8012.
[0023] Depend on Figure 3It can be seen that the relay unit includes transistors Q1-Q4, switches K1-K4, sockets P1-P4, resistors R9-R16, light-emitting diodes LED1-LED4 and diodes D1-D4. Pin 1 of socket P1 is connected to terminal 2 of switch K1, and pin 2 is connected to terminal 1 of switch K1; the collector of transistor Q1 is connected to one end of the sensing column in switch K1, the positive electrode of diode D1 and the negative electrode of light-emitting diode LED1, the base is connected to one end of resistor R10, and the emitter is grounded; the positive electrode of light-emitting diode LED1 is connected to one end of resistor R9, the other end of resistor R9 is connected to VCC power supply, the negative electrode of diode D1 and the other end of the sensing column in switch K1, and the other end of resistor R10 is connected to S1. Pin 1 of socket P2 is connected to terminal 2 of switch K2, and pin 2 is connected to terminal 1 of switch K2; the collector of transistor Q2 is connected to one end of the sensing column in switch K2, the anode of diode D2 and the cathode of light-emitting diode LED2, the base is connected to one end of resistor R12, and the emitter is grounded; the anode of light-emitting diode LED2 is connected to one end of resistor R11, the other end of resistor R11 is connected to VCC power supply, the cathode of diode D2 and the other end of the sensing column in switch K2, and the other end of resistor R12 is connected to S2. Pin 1 of socket P3 is connected to terminal 2 of switch K3, and pin 2 is connected to terminal 1 of switch K3; the collector of transistor Q3 is connected to one end of the sensing column in switch K3, the anode of diode D3 and the cathode of light-emitting diode LED3, the base is connected to one end of resistor R14, and the emitter is grounded; the anode of light-emitting diode LED3 is connected to one end of resistor R13, the other end of resistor R13 is connected to VCC power supply, the cathode of diode D3 and the other end of the sensing column in switch K3, and the other end of resistor R14 is connected to S3; Pin 1 of socket P4 is connected to terminal 2 of switch K4, and pin 2 is connected to terminal 1 of switch K4; the collector of transistor Q4 is connected to one end of the sensing column in switch K4, the anode of diode D4 and the cathode of light-emitting diode LED4, the base is connected to one end of resistor R16, and the emitter is grounded; the anode of light-emitting diode LED4 is connected to one end of resistor R15, the other end of resistor R15 is connected to VCC power supply, the cathode of diode D4 and the other end of the sensing column in switch K4, and the other end of resistor R16 is connected to S4.
[0024] Depend on Figure 4 It can be seen that the display unit includes an OLED display screen, a pin 1 of the OLED display screen is grounded, a pin 2 is connected to a VCC power supply, and pins 3-4 are connected to O2 and O1 respectively.
[0025] The utility model provides a power consumption monitoring and display circuit for a power strip. In an STM32 single-chip microcomputer of a control unit, a pin F4 (PA5) is connected to a pin 3 (SCL) of a display unit as a clock pin, a pin G4 (PA6) is connected to a pin 4 (SDA) of the display unit as a data pin, pins A5 (PB0), G6 (PB1), G5 (PB2), and F5 (PB3) are connected to a relay unit, a pin A1 (PC14) is used as a signal input 1 of an electric energy detection unit, and a pin B1 (PC15) is used as a signal input 2 of the electric energy detection unit.
[0026] In the electric energy detection unit, the manganese copper resistor R8 is connected in parallel with the capacitor C3-C4 to filter out high-frequency and low-frequency noise. By combining with the resistor wire R6-R7, an RC low-pass filter is formed, which helps to smooth the output signal and avoid voltage spikes caused by current mutations. In addition, if there is a large current change in the circuit, the capacitor C3-C4 can also help stabilize the current and reduce the influence of resistance changes caused by temperature changes. The resistor wire R6-R7 in the circuit is used to limit the maximum current passing through the circuit to protect other components in the circuit from damage by excessive current. As a current detection resistor, it is used to convert the current signal flowing through into a voltage signal for current measurement. Together with the capacitor, it forms an RC low-pass filter to reduce high-frequency noise and improve the stability and accuracy of the signal. In the circuit, the main function of the manganese copper resistor R8 is to act as a current detection resistor. The temperature coefficient of the manganese copper resistor R8 is very low, which means that when the current passes, even if the resistor heats up, the change in its resistance is very small, which is very important for accurate current measurement. Compared with other materials, manganese copper is easier to weld, which is an advantage for circuit production and maintenance.
[0027] Pin 2 (V1P) and pin 4 (V2P) of the HLW8012 energy metering chip U1 receive the sampling signal, and after internal calculation and processing, generate a PWM signal and input it into the STM32 microcontroller. The current sampling principle of the HLW8012 chip U1 is to sample the working current of the load through the manganese copper resistor R8, while the voltage sampling principle is achieved through the resistor network voltage division. Specifically:
[0028] Current sampling: The current signal is sampled by the working current of the load through the manganese copper resistor R8. One end of the manganese copper resistor R8 is connected to the neutral line, and the other end is connected to the resistor R9. In this way, the current flowing through the resistor R9 will also flow through the manganese copper resistor R8, generating a voltage drop proportional to the current. This voltage signal is then connected to the HLW8012 chip U1 and converted into a digital signal through the internal analog-to-digital converter (ADC).
[0029] Voltage sampling: The voltage signal is sampled by dividing it through a resistor network, which proportionally reduces the high voltage to a low voltage level suitable for the HLW8012 chip U1 to process. The divided voltage signal is also input to the HLW8012 chip U1 and converted into a digital signal by the internal analog-to-digital converter.
[0030] In summary, the HLW8012 chip U1 processes the sampled current and voltage signals through the built-in PGA (programmable gain amplifier) and ADC to calculate the power consumption, effective value of power value, effective value of current and effective value of voltage.
[0031] The operation of the relay unit is based on the electromagnetic principle, that is, when the current flowing through the coil generates a sufficient magnetic field, this magnetic field will attract the moving contact on the iron core to connect or disconnect with the static contact, thereby changing the state of the circuit. In this circuit, through the transistor Q1-Q4 drive, when the control pin PB0-PB3 of the STM32 microcontroller of the control unit is low, the transistor Q1-Q4 is turned on, and the relay unit is powered on and closed, and the light-emitting diodes LED1-LED4 are lit at the same time. The resistors R9, R11, R13, and R15 connected in series with the light-emitting diodes LED1-LED4 play a current limiting role to protect the light-emitting diodes LED1-LED4. The resistors R10, R12, R14, and R16 connected to the base set of the transistors Q1-Q4 also have a current limiting role to protect the transistors Q1-Q4.
[0032] The above embodiments are not limited to the technical solutions of the embodiments themselves, and the embodiments can be combined with each other to form new embodiments. The above embodiments are only used to illustrate the technical solutions of the utility model and are not intended to limit them. Any modification or equivalent replacement that does not deviate from the spirit and scope of the utility model shall be included in the scope of the technical solution of the utility model.
Claims
1. A power consumption monitoring and display circuit for a power strip, comprising a power strip housing and an external circuit, characterized in that: A display unit is provided on the socket shell, and a control unit and a relay unit are provided inside the socket shell. The control unit is electrically connected to the relay unit to protect the equipment, the control unit is electrically connected to the display unit to display the power, and the control unit is electrically connected to the external circuit to detect the power.
2. A power consumption monitoring and display circuit for a power strip according to claim 1, characterized in that: The control unit includes a chip U2 and an electric energy detection unit, and the electric energy detection unit includes a chip U1, resistors R1-R8, a resistor R9 and capacitors C1-C4; pins A5, G6, G5, F5, G4 and F4 of the chip U2 are respectively connected to S1-S4 and O1-O2, pin F1 is grounded, pin H1 is connected to the VCC power supply, pin A1 is connected to pin 6 of the chip U1, and pin B1 is connected to pin 7 of the chip U1; pin 1 of the chip U1 is connected to the VCC5V power supply and one end of the capacitor C2, pin 2 is connected to one end of the resistor R6 and one end of the capacitor C3, pin 3 is connected to one end of the resistor R7 and one end of the capacitor C4, and pin 4 is connected to one end of the capacitor C1 and one end of the resistor R1-R2, and the pin 5 is grounded; the other end of the resistor R6 is connected to one end of the resistor R8 and the live wire of the external circuit; the other end of the resistor R7 is connected to the other end of the resistor R8 and one end of the resistor R9, and the other end of the resistor R9 is connected to the neutral line of the external circuit; the other end of the resistor R2 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the live wire of the external circuit; the other ends of the capacitors C1-C4 and the other end of the resistor R1 are both grounded.
3. A power consumption monitoring and display circuit for a power strip according to claim 2, characterized in that: The relay unit includes transistors Q1-Q4, switches K1-K4, sockets P1-P4, resistors R9-R16, light-emitting diodes LED1-LED4 and diodes D1-D4; pin 1 of the socket P1 is connected to terminal 2 of the switch K1, and pin 2 is connected to terminal 1 of the switch K1; the collector of the transistor Q1 is connected to one end of the induction column in the switch K1, the positive electrode of the diode D1 and the negative electrode of the light-emitting diode LED1, the base is connected to one end of the resistor R10, and the emitter is grounded; the positive electrode of the light-emitting diode LED1 is connected to one end of the resistor R9, and the other end of the resistor R9 is connected to the positive electrode of the resistor R9. One end is connected to the VCC power supply, the cathode of the diode D1 and the other end of the sensing column in the switch K1, and the other end of the resistor R10 is connected to S1; the pin 1 of the socket P2 is connected to the terminal 2 of the switch K2, the pin 2 is connected to the terminal 1 of the switch K2, the collector of the transistor Q2 is connected to one end of the sensing column in the switch K2, the anode of the diode D2 and the cathode of the light-emitting diode LED2, the base is connected to one end of the resistor R12, and the emitter is grounded; the anode of the light-emitting diode LED2 is connected to one end of the resistor R11, and the other end of the resistor R11 is connected to the VCC power supply and the cathode of the diode D2. and the other end of the sensing column in the switch K2, and the other end of the resistor R12 is connected to S2; the pin 1 of the socket P3 is connected to the end 2 of the switch K3, and the pin 2 is connected to the end 1 of the switch K3, the collector of the transistor Q3 is connected to one end of the sensing column in the switch K3, the positive electrode of the diode D3 and the negative electrode of the light-emitting diode LED3, the base is connected to one end of the resistor R14, and the emitter is grounded; the positive electrode of the light-emitting diode LED3 is connected to one end of the resistor R13, and the other end of the resistor R13 is connected to the VCC power supply, the negative electrode of the diode D3 and the other end of the sensing column in the switch K3, The other end of the resistor R14 is connected to S3; the pin 1 of the socket P4 is connected to the terminal 2 of the switch K4, the pin 2 is connected to the terminal 1 of the switch K4, the collector of the transistor Q4 is connected to one end of the sensing column in the switch K4, the positive electrode of the diode D4 and the negative electrode of the light-emitting diode LED4, the base is connected to one end of the resistor R16, and the emitter is grounded; the positive electrode of the light-emitting diode LED4 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to the VCC power supply, the negative electrode of the diode D4 and the other end of the sensing column in the switch K4, and the other end of the resistor R16 is connected to S4.
4. The power consumption monitoring and display circuit of a power strip according to claim 3, characterized in that: The display unit includes an OLED display screen, wherein a pin 1 of the OLED display screen is grounded, a pin 2 is connected to a VCC power supply, and pins 3-4 are connected to O2 and O1 respectively.
5. The power consumption monitoring and display circuit of a power strip according to claim 2, characterized in that: The chip U2 in the control unit is a STM32 single-chip microcomputer.
6. The power consumption monitoring and display circuit of a power strip according to claim 2, characterized in that: The resistance wire R8 is a manganese copper resistor.
7. The power consumption monitoring and display circuit of a power strip according to claim 2, characterized in that: The chip U1 in the electric energy detection unit is an electric energy metering chip HLW8012.
