An electric power fingerprint intelligent socket circuit

By employing alloy shunt resistors and dual independent serial port design in the power fingerprint smart socket circuit, the problems of magnetic core saturation and signal interference are solved, achieving high-precision current waveform sampling and anti-interference transmission, thus improving the accuracy of load identification.

CN224342674UActive Publication Date: 2026-06-09GUANGZHOU SHUIMU QINGHUA TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
GUANGZHOU SHUIMU QINGHUA TECH CO LTD
Filing Date
2026-04-28
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing power fingerprint smart socket circuits are prone to core saturation and signal interference when connected to half-wave loads, resulting in current waveform distortion and affecting the accuracy of load identification.

Method used

It adopts an alloy shunt resistor and a dual independent serial port design. The current is directly measured through the alloy shunt resistor, eliminating the risk of magnetic core saturation. The control commands and waveform data are processed separately through the dual independent serial ports to ensure the continuity of waveform transmission.

Benefits of technology

It achieves current sampling without hysteresis loss and waveform data transmission with anti-interference capability, accurately restores voltage and current waveform characteristics, and improves the accuracy of equipment type identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224342674U_ABST
    Figure CN224342674U_ABST
Patent Text Reader

Abstract

The application discloses an electric power fingerprint intelligent socket circuit, which adopts double independent physical channels to realize physical isolation of control and data, directly measures current through alloy shunt resistance, eliminates the risk of magnetic core saturation, ensures the continuity of waveform transmission, realizes current sampling without magnetic hysteresis loss and anti-interference waveform data transmission through the technical scheme, and can still accurately restore voltage and current waveform characteristics when a half-wave rectification device or a dimmable lamp is connected. This provides high-fidelity original data for a load identification algorithm based on waveform analysis, and effectively improves the accuracy of device type identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart socket device technology, and in particular to a power fingerprint smart socket circuit. Background Technology

[0002] With the rapid development of technologies such as smart grids, energy consumption monitoring, and smart home control, users are placing higher demands on the intelligence and safety performance of low-voltage power distribution terminals. In various power consumption scenarios such as industrial parks, office buildings, commercial complexes, and residential communities, the need for identifying and managing electrical equipment, implementing abnormal energy consumption early warnings, and remote control is growing.

[0003] Currently, traditional socket products typically only have basic power supply functions, while smart sockets add functions such as remote control and power statistics. Most existing smart sockets use current transformers as current acquisition elements for power metering and signal sampling circuits, and do not have dedicated waveform signal channels. When a half-wave load is connected, magnetic core saturation and signal interference are likely to occur, causing current waveform distortion and affecting the accuracy of load identification. Utility Model Content

[0004] This application discloses a power fingerprint smart socket circuit to solve the technical problem that existing power fingerprint smart socket circuits are prone to magnetic core saturation and signal interference, which cause current waveform distortion and affect the accuracy of load identification.

[0005] To address the aforementioned technical problems, this application provides a power fingerprint smart socket circuit, comprising: a mains power interface, an electrical data sampling circuit, an energy metering chip, a magnetic latching relay, a relay control circuit, and a main control chip. The relay control circuit is used to control the magnetic latching relay according to the instructions issued by the main control chip.

[0006] The output port of the mains power interface is connected to the first port of the electrical data sampling circuit, the second port of the electrical data sampling circuit is connected to the main control chip through the power metering chip, and the third port of the electrical data sampling circuit is connected to the voltage output port through the magnetic latching relay.

[0007] The connection port between the power metering chip and the main control chip includes two independent serial ports. One port is used to configure parameters in response to instructions issued by the main control chip, and the other port is used to output waveform data to the main control chip.

[0008] The current sampling sub-circuit in the electrical data sampling circuit is specifically an alloy shunt resistor.

[0009] Preferably, the voltage sampling sub-circuit in the electrical data sampling circuit is specifically a voltage divider circuit connected in parallel between the AC live wire and the neutral wire.

[0010] Preferably, it further includes: a storage module;

[0011] The storage module is connected to the main control chip.

[0012] Preferably, it further includes: a communication module;

[0013] The communication module is connected to the main control chip and is used to upload power consumption data and identification results to the cloud in real time.

[0014] Preferably, the communication module includes a 4G / 5G communication module and a level conversion circuit, wherein the 4G / 5G communication module is connected to the main control chip via the level conversion circuit.

[0015] Preferably, it further includes: a multi-channel power supply module;

[0016] The multi-channel power module is connected to the output terminal of the AC power interface and is used to convert 220V AC AC power into DC power of multiple different voltage levels.

[0017] Preferably, the multi-channel power supply module includes: an AC-to-DC submodule, a first DC-to-DC step-down submodule, and a second DC-to-DC step-down submodule.

[0018] Preferably, the power metering chip is an RN8209D chip.

[0019] Preferably, the AC-to-DC submodule is equipped with a varistor with a clamping voltage of 925V at its input terminal, and then connected in sequence to a rectifier diode, a wire-wound resistor, a high-voltage aluminum electrolytic capacitor, a power inductor, and a switching power supply chip, so that the switching power supply chip, in conjunction with overvoltage and overcurrent components, outputs a DC filtered signal.

[0020] Preferably, it further includes: a voltage divider sampling circuit;

[0021] The voltage divider sampling circuit is located at the output of the relay control circuit. It is used to collect the voltage on the output side of the magnetic latching relay and then divide the collected voltage and connect it to the power metering chip.

[0022] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0023] This application employs dual independent physical channels to achieve physical isolation between control and data. Simultaneously, it directly measures current through alloy shunt resistors, eliminating the risk of core saturation and ensuring the continuity of waveform transmission. Through this technical solution, it achieves hysteresis-free current sampling and interference-resistant waveform data transmission, accurately reproducing voltage and current waveform characteristics even when connected to half-wave rectifiers or dimming lighting fixtures. This provides high-fidelity raw data for waveform analysis-based load identification algorithms, effectively improving the accuracy of equipment type identification. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram of the structure of a power fingerprint smart socket circuit provided in this application.

[0026] Figure 2 This is a block diagram of the AC-to-DC submodule and a schematic diagram of the electrical signal flow. Detailed Implementation

[0027] In existing technologies, smart sockets often use current transformers as current acquisition elements for power metering and signal sampling circuits, without a dedicated waveform signal channel. When a half-wave load is connected, core saturation and signal interference can easily occur, causing current waveform distortion and affecting the accuracy of load identification. For example, in commercial complex power scenarios, when dimming lights or half-wave rectifiers are connected, traditional smart sockets cannot accurately capture the details of the current waveform, leading to an increased error rate in device identification.

[0028] To address the aforementioned issues, the inventors discovered that the core saturation effect of current transformers is a key factor causing waveform distortion. By studying the characteristics of different current sampling methods, they found that the shunt resistors made of alloy materials exhibit good linearity and no hysteresis loss. Simultaneously, they observed that the single-serial-port design of existing energy metering chips easily leads to mutual interference between parameter configuration and waveform transmission. Therefore, they proposed using dual independent serial ports to process control commands and data streams separately. Based on these findings, the final technical concept was developed: a dual-channel metering chip working collaboratively with alloy shunt resistors.

[0029] In view of this, this application discloses a power fingerprint smart socket circuit to solve the technical problem that existing power fingerprint smart socket circuits are prone to magnetic core saturation and signal interference, which causes current waveform distortion and affects the accuracy of load identification.

[0030] Please see Figure 1 This application provides a power fingerprint smart socket circuit, including: a mains power interface, an electrical data sampling circuit, an energy metering chip, a magnetic latching relay, a relay control circuit, and a main control chip. The relay control circuit is used to control the magnetic latching relay according to the instructions issued by the main control chip.

[0031] The output port of the mains power interface is connected to the first port of the electrical data sampling circuit. The second port of the electrical data sampling circuit is connected to the main control chip through the power metering chip. The third port of the electrical data sampling circuit is connected to the voltage output port through the magnetic latching relay.

[0032] The connection port between the power metering chip and the main control chip includes two independent serial ports. One port is used to configure parameters in response to instructions issued by the main control chip, and the other port is used to output waveform data to the main control chip.

[0033] The current sampling sub-circuit in the electrical data sampling circuit is specifically an alloy shunt resistor.

[0034] It should be noted that the alloy shunt resistor refers to a low-resistance resistor element made of manganin or constantan alloy material. It does not rely on a magnetic core, fundamentally eliminating the risk of magnetic saturation. This avoids the waveform distortion problem caused by magnetic core saturation in traditional current transformers under half-wave load scenarios. Specifically, it can be implemented using a 0.8 mm thick strip of alloy. The current signal is obtained by measuring the voltage drop across the resistor when the current flows through it. Dual independent serial ports refer to two physically isolated communication interfaces internal to the energy metering chip. These can be implemented using UART or SPI protocols. The first serial port receives configuration commands from the main control chip, while the second serial port continuously outputs raw waveform sampling data. A magnetic latching relay is an electromagnetic switching device that uses a permanent magnet to maintain the contact state. Specifically, a single-coil magnetic latching relay can be used.

[0035] Specifically, after receiving AC input from the mains interface, the live wire and neutral wire are connected to the electrical data sampling circuit. The current signal is converted into a voltage signal by an alloy shunt resistor, and after differential amplification, it is sent to the current sampling channel of the energy metering chip. The voltage signal is obtained through a voltage divider resistor network connected in parallel between the live wire and the neutral wire. After the energy metering chip samples the voltage and current signals at high speed, it transmits the raw waveform data to the main control chip in real time through the second serial port, and simultaneously receives calibration parameters from the main control chip through the first serial port. The main control chip generates control commands based on the received waveform data, driving the relay control circuit to change the on / off state of the magnetic latching relay.

[0036] This solution employs dual independent physical channels to achieve physical isolation between control and data. Simultaneously, it directly measures current through alloy shunt resistors, eliminating the risk of core saturation and ensuring the continuity of waveform transmission. Through these technical solutions, this application achieves hysteresis-free current sampling and interference-resistant waveform data transmission, accurately reproducing voltage and current waveform characteristics even when connected to half-wave rectifiers or dimming lighting fixtures. This provides high-fidelity raw data for waveform analysis-based load identification algorithms, effectively improving the accuracy of equipment type identification.

[0037] More specifically, the main control chip uses the STM32H750IBK6 high-performance microcontroller, combined with external SDRAM and FLASH memory, to achieve high-speed processing and long-term storage of waveform data and power parameters. The power metering and signal sampling circuit uses the RN8209D power metering chip and its peripheral sampling circuit to realize real-time acquisition and output of voltage, current waveforms, and power parameters of the electrical equipment. The magnetic latching relay control circuit is responsible for connecting and disconnecting the load, and the 4G communication module circuit realizes bidirectional data transmission and remote control with the cloud platform.

[0038] The RN8209D chip has two independent serial ports. One of them (pin 13 TX and pin 14 RX) is used for parameter configuration and is connected to PA9 and PA10 of the main control chip STM32H750IBK6, respectively. The other dedicated serial port for waveform output is configured by a register on pin 23 (PF function pin) and remapped to the TX output terminal of the dedicated serial port for waveform output. It is connected to the PC7 port of the main control chip to realize the independent output of real-time voltage and current waveform data.

[0039] The magnetic latching relay control circuit consists of a Huilongcang 973L-12VDC-1L-1A type 16A magnetic latching relay and a BL5612 driver chip. The BL5612 chip is controlled by the I / O port of an STM32H750IBK6. The output current is commutated by controlling the input level of the BL5612; it connects when a positive current flows through the coil and disconnects when a negative current flows through the coil, thus controlling the relay's on / off state. To obtain the voltage state on the output side of the magnetic latching relay, a voltage divider sampling circuit consisting of a voltage divider resistor and a sampling resistor connected in series is used at the relay control circuit output. The divided signal is directly connected to the third differential ADC input of the metering chip to determine whether the relay is truly on or off.

[0040] Based on the above basic embodiments, the voltage sampling sub-circuit provided in this application is specifically a voltage divider circuit connected in parallel between the AC live wire and the neutral wire.

[0041] A voltage divider circuit is a circuit that uses a resistor network to proportionally reduce the high voltage of AC mains power to a suitable measurement range. Specifically, it can be implemented using precision resistors connected in series, with the resistance ratio adjustable according to actual measurement requirements. Parallel connection between the AC live and neutral wires means that the two input terminals of the voltage divider circuit are respectively connected to the live and neutral wires of the AC power supply line. This can be achieved by using metal film resistors or thick film resistors connected in parallel to the circuit, allowing the voltage divider circuit to directly obtain the real-time voltage of the line.

[0042] Specifically, the voltage divider circuit consists of multiple resistors connected in series and then connected in parallel between the AC live wire and the neutral wire. The 220V AC voltage is converted into a low-voltage signal through the resistor divider network. The divided signal is then transmitted to the voltage sampling port of the energy metering chip. A filter capacitor can be added to the voltage divider circuit to eliminate high-frequency interference. This voltage divider circuit is connected to the analog-to-digital converter module of the main control chip to achieve digital processing of the voltage waveform.

[0043] In the energy metering and sampling circuit, the AC input live wire and neutral wire are connected to the circuit separately. A voltage divider sampling circuit is formed by connecting a sampling resistor and a voltage divider resistor in series. The divided signal is directly connected to the first differential ADC input of the energy metering chip. A current sampling circuit is formed by connecting to the load circuit controlled by the relay output and a shunt resistor, using the neutral wire voltage as a reference voltage. The divided signal is then connected to the second differential ADC input of the energy metering chip.

[0044] This solution directly connects a voltage divider circuit in parallel with the power supply line, avoiding the use of magnetic circuit components and eliminating the risks of hysteresis and saturation distortion. The voltage divider circuit uses purely resistive components, whose linearity and frequency response characteristics are superior to electromagnetic sensors, accurately reproducing the high-frequency details of the voltage waveform. Through this technical solution, this application achieves direct, high-precision sampling of AC voltage, providing a distortion-free voltage waveform data foundation for load identification algorithms. The structure of the voltage divider circuit simplifies hardware design, reduces manufacturing costs, and simultaneously improves the anti-interference capability of voltage sampling.

[0045] Furthermore, this application also proposes a power fingerprint smart socket circuit, which may further include a storage module; the storage module is connected to the main control chip.

[0046] The storage module refers to the hardware unit used for temporary and persistent data storage. Specifically, it can be implemented using a combination of SDRAM and FLASH architecture. SDRAM provides high-speed data caching capabilities, while FLASH provides power-off data retention. The main control chip is the core processor responsible for data processing and system control. Specifically, it can be an STM32H750IBK6 microcontroller with an integrated floating-point unit, which improves data processing efficiency through its double-precision floating-point unit. SDRAM refers to Synchronous Dynamic Random Access Memory. Specifically, a 32MByte SDRAM can be used to implement real-time caching of waveform data, alleviating the memory resource limitations of the main control chip. FLASH memory refers to non-volatile storage media. Specifically, W25Q64 / W25Q128 memory chips can be used to achieve long-term storage of historical data.

[0047] Specifically, the storage module is connected to the main control chip via a parallel bus. When processing waveform data output from the power metering chip, the main control chip temporarily stores the real-time sampled data in SDRAM, utilizing the microcontroller's DMA controller for high-speed data transfer. Simultaneously, the storage module can also be used to store the chip's control program. After load characteristic analysis is completed, the processing results are written to the FLASH memory via the SPI interface for archiving. When executing the load identification algorithm, the main control chip can call historical data models stored in FLASH for comparison calculations, while simultaneously storing the real-time acquired voltage and current waveform data and intermediate calculation variables in SDRAM, forming a collaborative mechanism for data processing and storage.

[0048] It should be noted that the external SDRAM is a W9825G6KH-6I, which has a capacity of 32MB and a 16-bit bus width. It is connected to the STM32H750IBK6 main control chip via the FSMC bus, and its address lines, data lines, and control signals (such as CS, RAS, CAS, WE) are connected to the corresponding pins of the main control chip. The program FLASH is a W25Q64JVSSIQ with a capacity of 8MB, which is connected to the main control chip via the QSPI interface. High-speed firmware reading is achieved using dedicated QSPI data lines, clock lines, and chip select signals. The data FLASH is a W25Q128JVSIQ with a capacity of 16MB, which is connected to the main control chip via the SPI interface. SPI_MISO, SPI_MOSI, SPI_SCK, and chip select signals are connected to the corresponding SPI pins of the main control chip to realize data read, write, and storage functions.

[0049] This solution, through a hierarchical storage architecture combining external SDRAM and FLASH, ensures both real-time data processing and complete preservation of historical data, overcoming the technical shortcomings of low data processing efficiency and insufficient storage capacity in existing technologies. Through this technical solution, this application effectively enhances the power fingerprint smart socket's ability to process high-frequency sampled data, ensuring the integrity and timeliness of the original waveform data required by the load identification algorithm. Simultaneously, it provides long-term reliable data storage support for equipment power consumption behavior analysis, thereby enhancing the accuracy of load feature identification and the continuous monitoring capability of equipment operating status.

[0050] Furthermore, this application may also include: a communication module; the communication module is connected to the main control chip and is used to upload power consumption data and identification results to the cloud in real time, so as to realize bidirectional data transmission and remote control with the cloud platform.

[0051] The communication module refers to the hardware unit that enables wireless data interaction between the electrical equipment and the cloud platform. Specifically, it can be implemented using a 4G / 5G communication module combined with a level conversion circuit, such as the EC800KCNCC model 4G communication module, which matches the communication level of the main control chip through level conversion. Two-way data transmission and remote control refer to the main control chip sending power consumption data and equipment identification results to the cloud through the communication module, while simultaneously receiving control commands from the cloud. This two-way communication can be achieved through UDP, TCP, and MQTT protocols, ensuring data real-time performance and control reliability.

[0052] Specifically, the main control chip processes the voltage and current waveform data, load identification results, and power consumption parameters collected by the power metering chip, and then transmits them to the communication module via a serial communication interface. The communication module encapsulates the data into data packets conforming to the Internet of Things (IoT) protocol and uploads them to the cloud server via a wireless network. When the cloud sends a control command, the communication module receives the command and forwards it to the main control chip. After parsing the command, the main control chip executes the on / off operation through the relay control circuit. For example, when the cloud detects abnormal power consumption behavior, it can immediately send a power-off command to the socket, and the main control chip drives the magnetic latching relay to cut off the power supply to the load.

[0053] This solution directly accesses the operator's network via a 4G / 5G communication module, eliminating the impact of indoor signal blind spots. Simultaneously, it employs a dedicated IoT communication protocol to ensure data transmission integrity, maintaining stable two-way communication even in complex electromagnetic environments. Through the above technical solutions, this application achieves real-time cloud synchronization of power consumption data and precise remote control of equipment, effectively solving the problems of short communication distance and weak anti-interference capability of traditional smart sockets in industrial scenarios, and providing a reliable data channel for status monitoring and anomaly response of electrical equipment.

[0054] More specifically, the communication module in this embodiment may include a 4G / 5G communication module and a level conversion circuit, wherein the 4G / 5G communication module is connected to the main control chip through the level conversion circuit.

[0055] The 4G / 5G communication module refers to a wireless transmission unit that supports fourth-generation and fifth-generation mobile communication technologies. Specifically, it can be implemented using the EC800KCNCC-IO1-SNNSA CAT1 communication module. This module has a built-in TCP / IP protocol stack and supports multi-band network access, enabling the establishment of wide-area wireless connections in IoT scenarios. The level conversion circuit refers to an interface circuit that matches different voltage logic levels. Specifically, it can be implemented using a TXS0108E chip to build a bidirectional level conversion circuit, used to adapt the 3.3V logic level of the main control chip to the 1.8V logic level of the communication module.

[0056] Specifically, during the power data acquisition process, the main control chip transmits the processed power parameters and load identification results to the level conversion circuit via the SPI interface. After voltage amplitude adjustment, the data is input to the 4G / 5G communication module. The communication module encapsulates the data according to a preset communication protocol and sends the data packets to the cellular network base station via its built-in radio frequency unit, ultimately transmitting them to the cloud server. In remote control scenarios, control commands issued from the cloud are received by the communication module and converted into logic level signals recognizable by the main control chip via the level conversion circuit, thereby triggering the relay control circuit to perform on / off operations.

[0057] This solution utilizes a 4G / 5G communication module that overcomes physical space limitations, enabling cross-regional data transmission. In existing technologies, direct connection between the communication module and the main control chip can easily lead to signal distortion due to level mismatch. This solution addresses the electrical characteristic differences between different components through a level conversion circuit, ensuring the stability of the communication link. Through the above technical solutions, this application achieves reliable transmission of power consumption data in complex environments, solving the problems of limited communication distance and insufficient anti-interference capabilities of traditional smart sockets. Furthermore, the flexible configuration of the protocol stack supports integration with various IoT platforms, providing a hardware foundation for the remote deployment of energy consumption monitoring systems.

[0058] Furthermore, the power fingerprint smart socket circuit provided in this application may also include a multi-power module, which is connected to the output terminal of the mains interface to convert 220V AC mains power into multiple DC power of different voltage levels.

[0059] Among them, a multi-channel power supply module refers to a power supply system that converts AC mains power into multiple independent DC voltage outputs. Specifically, this can be achieved using an AC-to-DC submodule combined with a multi-stage step-down circuit, for example, by using a switching power supply chip combined with filtering components to generate a stable DC voltage. A magnetic latching relay is a relay that controls the contact state through pulse signals. Specifically, a single-coil magnetic latching relay can be used to achieve mechanical holding of the contact state, consuming power only when switching states. A multi-channel hierarchical power supply structure refers to an architecture that provides independent power lines for different functional modules. Specifically, this can be achieved by setting up multiple DC step-down submodules to achieve different voltage levels of output.

[0060] Specifically, after surge protection by a varistor, the AC mains power is converted into a DC pulsating voltage by a rectifier circuit, and then converted into a primary DC voltage by a switching power supply chip. The primary DC voltage is converted into medium-voltage DC by a first DC step-down submodule to supply the main control chip and communication module. A second DC step-down submodule further converts the medium-voltage DC into low-voltage DC to supply the metering chip and sampling circuit. The magnetic latching relay switches the contact state by momentarily energizing the control coil. During steady-state operation, no holding current is required, forming a hierarchical power supply system with multiple independent power supply lines.

[0061] More specifically, the multi-power supply module includes an AC-to-DC submodule, a first DC-to-buck submodule, and a second DC-to-buck submodule. Among these,

[0062] More specifically, the AC-to-DC submodule in this embodiment converts the 220V AC mains input to 12V DC. The first and second DC-to-DC step-down submodules are used to convert the 12V voltage to different voltage levels such as 3.8V and 3.3V. The 12V DC output voltage is divided into three paths: the first path directly powers the magnetic latching relay and its drive circuit; the second path is stepped down to 3.8V via DC-DC converter to provide power to the 4G communication module; and the third path is stepped down to 3.3V via DC-DC converter to power the main control chip STM32H750IBK6, external SDRAM, FLASH memory, RN8209D power metering chip and its peripheral circuits, so as to meet the power supply requirements of different functional circuits.

[0063] Furthermore, in the AC-to-DC submodule of the multi-power supply module provided in this application, the input terminal of the AC-to-DC submodule is equipped with a varistor with a clamping voltage of 925V, and then connected in sequence to a rectifier diode, a wire-wound resistor, a high-voltage aluminum electrolytic capacitor, a power inductor, and a switching power supply chip, so that the switching power supply chip, in conjunction with overvoltage and overcurrent components, outputs a DC filtered signal.

[0064] Specifically, the input terminal of the AC-to-DC submodule is connected to the mains power via a varistor. When the input voltage exceeds the clamping voltage, the varistor conducts to absorb surge energy. Rectifier diodes convert AC power into unidirectional pulsating current, and the winding resistor limits the peak current at power-on. High-voltage aluminum electrolytic capacitors and power inductors form a PI-type filter network to suppress high-frequency interference and stabilize the DC voltage. The switching power supply chip adjusts the output voltage through high-frequency switching action, and overvoltage and overcurrent protection components ensure the stability of the output DC signal.

[0065] More specifically, the circuit block diagram of the AC-to-DC submodule and the flow of electrical signals are as follows: Figure 2 As shown, the AC-to-DC conversion circuit uses the LNK3207 chip, which features a high-voltage MOSFET of up to 725V as a 66kHz high-frequency switch, providing input and output overvoltage protection, as well as hysteresis overheat protection. The input is equipped with a varistor with a clamping voltage of 925V for surge overvoltage protection, and a rectifier diode to rectify the AC full-wave into a unidirectional half-wave. A high-power wire-wound resistor is also connected in series at the input to suppress peak current or other inrush currents during capacitor charging to protect the power supply chip. The high-voltage aluminum electrolytic capacitor, in addition to voltage regulation and energy storage, also forms a PI-type filter network with the power inductor to reduce EMI interference. The DC output is also equipped with conventional filtering and overvoltage / overcurrent protection.

[0066] This solution utilizes varistors for surge overvoltage protection, wire-wound resistors to suppress inrush current, and a PI-type filter network to reduce electromagnetic interference. Furthermore, it employs a switching power supply chip with integrated protection functions, significantly improving the reliability and anti-interference capability of the power module. Through these technical solutions, this application addresses the problem of traditional smart socket power modules being susceptible to damage from surge voltage and inrush current. Multi-level protection circuits and filtering designs ensure the stability of the DC output, providing a clean power supply environment for the power metering chip and the main control chip, thereby improving load identification accuracy and extending equipment lifespan.

[0067] Furthermore, the electric fingerprint smart socket circuit proposed in this application may further include: a voltage divider sampling circuit; the voltage divider sampling circuit is set at the output terminal of the relay control circuit, used to collect the voltage on the output side of the magnetic latching relay, and connect the collected voltage to the power metering chip after voltage division.

[0068] Among them, the voltage divider sampling circuit refers to a voltage divider network composed of multiple resistors connected in series. Specifically, it can be implemented by using two precision resistors connected in series. By adjusting the resistance ratio, the high voltage signal is reduced proportionally to a voltage value suitable for the input range of the power metering chip.

[0069] The connection after voltage division refers to directly inputting the voltage signal after voltage division to the voltage sampling port of the power metering chip. Specifically, a low-pass filter circuit can be used to eliminate high-frequency interference before connecting to the third ADC input terminal of the chip, which is used to determine whether the relay is really on or off.

[0070] Specifically, the voltage divider sampling circuit is directly installed on the output side of the magnetic latching relay, acquiring the load-side voltage signal in real time through a resistor divider network. The divided voltage signal is filtered and input to the voltage sampling channel of the energy metering chip, where waveform acquisition is performed synchronously with the current sampling signal. This design avoids the magnetic saturation problem that may occur in traditional current transformers during sudden load changes. At the same time, the high impedance characteristics of the voltage divider circuit reduce interference to the main circuit, enabling the voltage waveform data to be transmitted completely and in real time to the main control chip for load characteristic analysis.

[0071] This solution directly acquires the voltage signal from the relay output side using a voltage divider sampling circuit. Simultaneously, the voltage signal output by the voltage divider circuit can directly match the input range of the energy metering chip, reducing signal conditioning steps and improving the real-time performance and accuracy of waveform acquisition. Through this technical solution, this application achieves direct, high-precision sampling of the voltage on the output side of the magnetic latching relay, providing complete voltage waveform data support for the load identification algorithm. Furthermore, the voltage divider sampling circuit has a simple structure and low cost, meeting the input requirements of the energy metering chip without requiring additional signal conditioning circuitry, thus reducing system complexity and hardware costs.

[0072] In the description of this application, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0073] Unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. The above provides a detailed description of a power fingerprint smart socket circuit. For those skilled in the art, based on the ideas of the embodiments of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A power fingerprint smart socket circuit, characterized in that, include: The system includes a mains power interface, an electrical data sampling circuit, an energy metering chip, a magnetic latching relay, a relay control circuit, and a main control chip. The relay control circuit is used to control the magnetic latching relay according to the instructions issued by the main control chip. The output port of the mains power interface is connected to the first port of the electrical data sampling circuit, the second port of the electrical data sampling circuit is connected to the main control chip through the power metering chip, and the third port of the electrical data sampling circuit is connected to the voltage output port through the magnetic latching relay. The connection port between the power metering chip and the main control chip includes two independent serial ports. One port is used to configure parameters in response to instructions issued by the main control chip, and the other port is used to output waveform data to the main control chip. The current sampling sub-circuit in the electrical data sampling circuit is specifically an alloy shunt resistor.

2. The power fingerprint smart socket circuit according to claim 1, characterized in that, The voltage sampling sub-circuit in the electrical data sampling circuit is specifically a voltage divider circuit connected in parallel between the AC live wire and the neutral wire.

3. The power fingerprint smart socket circuit according to claim 1, characterized in that, Also includes: Storage module; The storage module is connected to the main control chip.

4. The power fingerprint smart socket circuit according to claim 1, characterized in that, Also includes: Communication module; The communication module is connected to the main control chip and is used to upload power consumption data and identification results to the cloud in real time.

5. The electric fingerprint smart socket circuit according to claim 4, characterized in that, The communication module includes a 4G / 5G communication module and a level conversion circuit, wherein the 4G / 5G communication module is connected to the main control chip through the level conversion circuit.

6. The electric fingerprint smart socket circuit according to claim 5, characterized in that, Also includes: Multi-channel power supply module; The multi-channel power module is connected to the output terminal of the AC power interface and is used to convert 220V AC AC power into DC power of multiple different voltage levels.

7. The power fingerprint smart socket circuit according to claim 6, characterized in that, The multi-channel power supply module includes: an AC-to-DC sub-module, a first DC-to-DC step-down sub-module, and a second DC-to-DC step-down sub-module.

8. The power fingerprint smart socket circuit according to claim 1, characterized in that, The power metering chip is specifically the RN8209D chip.

9. The power fingerprint smart socket circuit according to claim 7, characterized in that, The AC-to-DC submodule is equipped with a varistor with a clamping voltage of 925V at its input terminal. It is then connected in sequence to a rectifier diode, a wire-wound resistor, a high-voltage aluminum electrolytic capacitor, a power inductor, and a switching power supply chip. The switching power supply chip, in conjunction with overvoltage and overcurrent components, outputs a DC filtered signal.

10. The power fingerprint smart socket circuit according to claim 1, characterized in that, Also includes: Voltage divider voltage sampling circuit; The voltage divider sampling circuit is located at the output of the relay control circuit. It is used to collect the voltage on the output side of the magnetic latching relay and then divide the collected voltage and connect it to the power metering chip.