Isolated circuit capable of collecting single-phase and three-phase electric energy and uploading OTA to cloud platform
By designing an isolated circuit that can be used for single-three-phase power acquisition and OTA upload cloud platform, the problem of single-phase and three-phase power acquisition modules cannot be used in general, adaptive acquisition and efficient data upload are realized, and equipment redundancy and cost are reduced.
Patent Information
- Application Number
- CN202510491000.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-05
AI Technical Summary
In the prior art, the power consumption acquisition modules of single-phase and three-phase electricity cannot be universal. The power consumption acquisition modules of single-phase and three-phase electricity need to be configured separately, resulting in equipment redundancy and cost increase.
A circuit that can be isolated single three-phase electric energy acquisition and OTA upload cloud platform is designed. The acquisition logic is automatically switched through the mode selection circuit, combined with the current and voltage sampling circuit and signal isolation circuit, to achieve compatible acquisition of single-phase and three-phase electricity, and upload data to the cloud through the OTA circuit.
It realizes an adaptive acquisition mode, reduces equipment redundancy, reduces costs, improves acquisition accuracy and system reliability, and supports industrial and civil scenarios that flexibly switch power supply modes.
Smart Images

Figure CN120427973A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an isolated circuit capable of collecting single-phase and three-phase electric energy and uploading it OTA to a cloud platform. Background Art
[0002] The power collection module is used to collect power consumption and is widely used in power systems. Among them, single-phase electricity and three-phase electricity are widely used in production and life. For single-phase electricity and three-phase electricity, when collecting power consumption of single-phase electricity and three-phase electricity, their respective power collection modules are used to collect power consumption. That is, the power collection module can only collect single-phase electricity or three-phase electricity and cannot be universal. Summary of the Invention
[0003] In response to the above problems, the present invention provides an isolated circuit for single-phase and three-phase power collection and OTA upload to a cloud platform. By optimizing the circuit design, adaptive collection can be performed according to actual access, effectively solving the problems pointed out in the background technology.
[0004] The technical solution adopted in the present invention is:
[0005] An isolated circuit capable of single-phase and three-phase electric energy collection and OTA upload to a cloud platform includes a metering circuit, a current sampling circuit, a voltage sampling circuit, a power supply circuit, an MCU circuit, a mode selection circuit, a voltage isolation circuit, a signal isolation circuit, a communication circuit, and an OTA circuit. The metering circuit is respectively connected to the current sampling circuit, the voltage sampling circuit, and the mode selection circuit. The metering circuit is connected to the MCU circuit via a signal isolation circuit. The power supply circuit is respectively connected to the metering circuit, the MCU circuit, the mode selection circuit, the signal isolation circuit, and the communication circuit via a power isolation circuit. The OTA circuit includes a main chip circuit, a 485 communication circuit, a 4G remote module communication circuit, a SIM communication circuit, an antenna ANT circuit, and a DCDC power supply circuit. The DCDC power supply circuit is respectively connected to the main chip circuit and the 4G remote module communication circuit to supply power to the main chip circuit and the 4G remote module communication circuit. The main chip circuit is respectively connected to the 485 communication circuit and the 4G remote module communication circuit. The antenna ANT circuit is connected to the 4G remote module communication circuit.
[0006] Preferably, the current sampling circuit includes three current detection circuits, and the three current detection circuits are respectively used to detect the current of one live wire.
[0007] The three current detection circuits can detect the currents of the three live wires respectively. When working simultaneously, they can be used for current detection of the three-phase line. When one of them works, it can be used for current detection of the single-phase line.
[0008] Preferably, the voltage sampling circuit includes three voltage detection circuits, and the three voltage detection circuits are respectively used to detect the voltage of one live wire.
[0009] The three voltage detection circuits can detect the voltages of the three live wires respectively. When working simultaneously, they can be used for voltage detection of the three-phase line. When one of them works, it can be used for voltage detection of the single-phase line.
[0010] Preferably, the mode selection circuit includes four detection circuits arranged in parallel, one end of the four detection circuits is connected and grounded, and the other end is respectively connected to the metering circuit, and resistors (R9, R10, R11, R12) are respectively provided on the four detection circuits, and the detection circuits are connected to the power isolation circuit through resistors (R3, R4, R5, R6) at the end of the resistors (R9, R10, R11, R12) close to the metering circuit.
[0011] The mode selection circuit can automatically switch the acquisition logic according to the type of power supply (single-phase or three-phase).
[0012] Preferably, the OTA circuit further includes a storage circuit, and the storage circuit is connected to the main chip circuit.
[0013] Preferably, the OTA circuit further includes a network indicator light circuit, a mode indicator light circuit and a network start light circuit, and the network indicator light circuit, the mode indicator light circuit and the network start light circuit are respectively connected to the main chip circuit.
[0014] The communication circuit has excellent expansion capabilities. It can be directly connected to a display screen for display, or it can be connected to a smart meter, energy management system or Internet of Things terminal to support future function upgrades (such as harmonic analysis and demand statistics). The communication circuit of the present invention is connected to the OAT circuit and can transmit the collected information to the cloud.
[0015] The network indicator light circuit, mode indicator light circuit and network start light circuit can directly display the operating status for easy understanding.
[0016] The power supply circuit is powered by one of the live wires. The power supply circuit converts high-voltage alternating current into low-voltage direct current for output, and supplies power to the metering circuit, MCU circuit, mode selection circuit, signal isolation circuit and communication circuit.
[0017] The present invention combines a metering circuit, a current sampling circuit, a voltage sampling circuit, a power supply circuit, an MCU circuit, a mode selection circuit, a voltage isolation circuit, and a signal isolation circuit, so that the circuit can perform corresponding sampling according to the type of input AC power. That is, when single-phase power is input, the voltage and current are sampled according to the single-phase power, and when three-phase power is input, the voltage and current are sampled according to the three-phase power. As a result, the sampling circuit of the present invention can be used for collecting both single-phase and three-phase power at the same time, and the collected information is transmitted to the cloud via an OTA circuit, which is convenient for querying relevant information from the cloud.
[0018] Beneficial effects of the present invention:
[0019] 1. Adaptive acquisition mode: Through the mode selection circuit (configured with multiple parallel detection circuits and resistor networks), the system can automatically switch the acquisition logic according to the input power type (single-phase or three-phase) without replacing the hardware module. For example, when the input is single-phase, only the sampling circuits corresponding to the live and neutral lines are enabled. When the input is three-phase, the three live line signals are collected simultaneously.
[0020] 2. Dynamic sampling optimization: The current sampling circuit adopts three independent detection channels (each live line is equipped with a dedicated transformer), and the voltage sampling circuit realizes balanced sampling through a voltage divider resistor network to ensure data accuracy when the three-phase load is unbalanced;
[0021] 3. Modular integration: The high integration of metering circuits, current / voltage sampling circuits, and isolation circuits enables the same hardware platform to be compatible with both single-phase (220V) and three-phase (380V) application scenarios, reducing equipment redundancy and maintenance costs. It is particularly suitable for industrial and civilian scenarios that require flexible switching of power supply modes.
[0022] 4. The power isolation circuit and the signal isolation circuit (such as optocoupler isolation) realize electrical isolation between the metering circuit, MCU circuit and communication circuit, effectively suppressing common-mode interference and avoiding the impact of high-voltage side faults on the low-voltage control end;
[0023] 5. The introduction of TVS tubes and PTC resettable fuses further protects against overvoltage, overcurrent and short circuit risks. Metal film power resistors (such as MMF204) and chip capacitors are used to optimize the signal sampling path and reduce the impact of high-frequency noise on measurement accuracy.
[0024] 6. Low-cost solution: Onboard integrated design (such as surface-mount components and universal XA sockets) reduces the number of peripheral components and lowers BOM costs. The selection of isolated power modules takes into account both performance and cost, making them suitable for large-scale deployment. The communication circuit is connected to the OTA circuit to upload collected information to the cloud.
[0025] 7. Traditional solutions require separate configuration of single-phase / three-phase acquisition modules, while this design achieves "one board for multiple uses" through mode selection circuits, saving equipment space and procurement costs. Existing modules often ignore isolation design, resulting in insufficient anti-interference capabilities. This solution significantly improves system reliability through a fully isolated architecture. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural schematic diagram of the present invention;
[0027] Figure 2 For MCU circuit;
[0028] Figure 3 is a current sampling circuit;
[0029] Figure 4 It is a voltage sampling circuit;
[0030] Figure 5 For the power circuit;
[0031] Figure 6 Isolation circuit for power supply;
[0032] Figure 7 For metering circuit;
[0033] Figure 8 Select circuit for mode;
[0034] Figure 9 For communication circuits;
[0035] Figure 10 It is a signal isolation circuit;
[0036] Figure 11 Main chip circuit;
[0037] Figure 12 It is a 485 communication circuit;
[0038] Figure 13 It is the communication circuit of 4G remote module;
[0039] Figure 14 SIM communication circuit;
[0040] Figure 15 Antenna ANT circuit;
[0041] Figure 16 Power supply circuit for DCDC;
[0042] Figure 17 A storage circuit;
[0043] Figure 18 It is a network indicator light circuit;
[0044] Figure 19It is the mode indicator light circuit;
[0045] Figure 20 Start the light circuit for the network. DETAILED DESCRIPTION
[0046] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present application belongs.
[0047] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.
[0048] The present invention will be further described in detail below through specific embodiments with reference to the accompanying drawings.
[0049] like Figure 1-20 As shown, an isolated circuit for single-phase and three-phase electric energy collection and OTA upload to a cloud platform includes a metering circuit, a current sampling circuit, a voltage sampling circuit, a power supply circuit, an MCU circuit, a mode selection circuit, a voltage isolation circuit, a signal isolation circuit, a communication circuit, and an OTA circuit. The metering circuit is respectively connected to the current sampling circuit, the voltage sampling circuit, and the mode selection circuit. The metering circuit is connected to the MCU circuit through a signal isolation circuit. The power supply circuit is respectively connected to the metering circuit, the MCU circuit, the mode selection circuit, the signal isolation circuit, and the communication circuit through a power isolation circuit. The OTA circuit includes a main chip circuit, a 485 communication circuit, a 4G remote module communication circuit, a SIM communication circuit, an antenna ANT circuit, a DCDC power supply circuit, a storage circuit, a network indicator light circuit, a mode indicator light circuit, and a network start light circuit. The DCDC power supply circuit is respectively connected to the main chip circuit and the 4G remote module communication circuit to supply power to the main chip circuit and the 4G remote module communication circuit. The main chip circuit is respectively connected to the 485 communication circuit, the 4G remote module communication circuit, the storage circuit, the network indicator light circuit, the mode indicator light circuit, and the network start light circuit. The antenna ANT circuit is connected to the 4G remote module communication circuit.
[0050] The current sampling circuit includes three current detection circuits, and the three current detection circuits are respectively used to detect the current of one live wire.
[0051] The voltage sampling circuit includes three voltage detection circuits, and the three voltage detection circuits are respectively used to detect the voltage of one live wire.
[0052] The mode selection circuit includes four detection circuits arranged in parallel, one end of the four detection circuits is connected and grounded, and the other end is respectively connected to the metering circuit. Resistors (R9, R10, R11, R12) are respectively provided on the four detection circuits. The detection circuits are connected to the power isolation circuit through resistors (R3, R4, R5, R6) at the end of the resistors (R9, R10, R11, R12) close to the metering circuit.
[0053] Figure 2 The MCU circuit is illustrated, where +5V is the power supply circuit supplied by the power isolation circuit, PWM is the port connected to the signal isolation circuit, and USART0_DE, USART0_RX, and USART0_TX are the ports connected to the communication circuit.
[0054] Figure 3 The current sampling circuit is shown in FIG. 4 , which consists of three current detection circuits with the same structure, among which IA1N, IA1P, IB1N, IB1P, IC1N, and IC1P are ports connected to the metering circuit.
[0055] Figure 4 The voltage sampling circuit is shown in FIG. 4 , which consists of three voltage detection circuits with the same structure. UA, UB, and UC are ports connected to the three live wires, and UA2P, UB2P, and UC2P are ports connected to the metering circuit.
[0056] Figure 5 The power supply circuit is shown as an example, which is connected to any live wire and neutral wire. In the figure, UN is the port connected to the neutral wire, UC is the port connected to one of the live wires, and +5V is the voltage output terminal of the power supply circuit.
[0057] Figure 6 The power isolation circuit is shown in the figure. There are two +5Vs, one of which is the input and connected to the +5V of the power supply circuit, and the other is the output and connected to the metering circuit, MCU circuit, mode selection circuit, signal isolation circuit and communication circuit.
[0058] Figure 7 The metering circuit is illustrated, where the +5V is supplied by the power supply circuit through the power isolation circuit and is connected to the +5V output of the power isolation circuit. The CF port is connected to the PWM port of the MCU circuit after passing through the signal isolation circuit, and the S1, S0, SCF, and ADD ports are connected to the mode selection circuit.
[0059] Figure 8The mode selection circuit is illustrated, wherein the +5V is supplied by the power supply circuit through the power isolation circuit and is connected to the +5V output by the power isolation circuit.
[0060] Figure 9 The communication circuit is shown in FIG. 1 , where the +5V is supplied by the power supply circuit through the power isolation circuit and is connected to the +5V output of the power isolation circuit;
[0061] Figure 10 The signal isolation circuit is illustrated, where the +5V is supplied by the power supply circuit through the power isolation circuit and is connected to the +5V output by the power isolation circuit, the CF port is connected to the metering circuit, and the PWM port is connected to the MCU circuit.
[0062] Figure 11 The main chip circuit is illustrated, where the MCU_RXD3, 485_CTRL3, and MCU_TXD3 ports are connected to the corresponding ports of the 485 communication circuit, and the W25Q16_SPI_CS, SPI_SO, SPI_SCK, and SPI_SI ports are connected to the corresponding ports of the storage circuit.
[0063] Figure 12 The 485 communication circuit is illustrated, where 485_A1 and 485_B1 are 485 ports, connected to the communication circuit A and B ports, MCU_RXD3, 485_CTRL3, and MCU_TXD3 are connected to the corresponding ports of the main chip circuit. The 485 communication circuit exchanges data with the local power collection device.
[0064] Figure 13 The diagram shows the 4G remote module communication circuit, where the SIM_VDD, SIM_DATA, SIM_CLK, and SIM_RST ports are connected to the corresponding ports of the SIM communication circuit, the MAIN_ANT port is connected to the corresponding port of the antenna ANT circuit, the NET_STATUS port is connected to the corresponding port of the network indicator light circuit, the MOD_STATUS port is connected to the corresponding port of the mode indicator light circuit, and the STATUS port is connected to the corresponding port of the network start light circuit. The 4G remote module communication circuit receives power data from the 485 communication circuit, encapsulates it into TCP / IP protocol data packets, and sends it to the cloud server through the SIM communication circuit.
[0065] Figure 14 The SIM communication circuit is illustrated, where the SIM_VDD, SIM_DATA, SIM_CLK, and SIM_RST ports are connected to the corresponding ports of the 4G remote module communication circuit.
[0066] Figure 15The antenna ANT circuit is shown, where the MAIN_ANT port is connected to the corresponding port of the 4G remote module communication circuit.
[0067] Figure 16 The DCDC power supply circuit is shown to power the main chip circuit and the 4G remote module communication circuit.
[0068] Figure 17 The storage circuit is illustrated, where the W25Q16_SPI_CS, SPI_SO, SPI_SCK, and SPI_SI ports are connected to the corresponding interfaces of the main chip circuit.
[0069] Figure 18 The network indicator circuit is shown, where the NET_STATUS port is connected to the corresponding port of the 4G remote module communication circuit.
[0070] Figure 19 The mode indicator circuit is shown, where the MOD_STATUS port is connected to the corresponding port of the 4G remote module communication circuit.
[0071] Figure 20 The network startup light circuit is illustrated, where the STATUS port is connected to the corresponding port of the 4G remote module communication circuit.
[0072] The working principle of the OTA circuit of the present invention is as follows:
[0073] Data flow path:
[0074] The local electric energy equipment sends the original data (such as voltage and current values) to the 485 communication circuit through the communication circuit;
[0075] After the main chip circuit parses the data, it sends the formatted parameters (such as power and battery) to the 4G remote module communication circuit via UART;
[0076] The 4G remote module communication circuit is uploaded to the cloud platform through the SIM communication circuit, and users can view it in real time through the APP.
[0077] Power management logic:
[0078] The DCDC circuit provides independent power supply for the 4G remote module communication circuit and the main chip circuit to avoid mutual interference.
[0079] Finally, it should be noted that the above examples are merely specific embodiments of the present invention. Obviously, the present invention is not limited to the above embodiments and is subject to numerous variations. All variations that can be directly derived or conceived by a person of ordinary skill in the art from the disclosure of the present invention should be considered within the scope of protection of the present invention.
Claims
1. An isolated circuit capable of collecting single-phase and three-phase electric energy and uploading it to a cloud platform via OTA, characterized in that: It includes a metering circuit, a current sampling circuit, a voltage sampling circuit, a power supply circuit, an MCU circuit, a mode selection circuit, a voltage isolation circuit, a signal isolation circuit, a communication circuit and an OTA circuit. The metering circuit is respectively connected to the current sampling circuit, the voltage sampling circuit and the mode selection circuit. The metering circuit is connected to the MCU circuit through the signal isolation circuit. The power supply circuit is respectively connected to the metering circuit, the MCU circuit, the mode selection circuit, the signal isolation circuit and the communication circuit through the power isolation circuit. The OTA circuit includes a main chip circuit, a 485 communication circuit, a 4G remote module communication circuit, a SIM communication circuit, an antenna ANT circuit and a DCDC power supply circuit. The DCDC power supply circuit is respectively connected to the main chip circuit and the 4G remote module communication circuit to supply power to the main chip circuit and the 4G remote module communication circuit. The main chip circuit is respectively connected to the 485 communication circuit and the 4G remote module communication circuit. The antenna ANT circuit is connected to the 4G remote module communication circuit.
2. The isolated circuit capable of single-phase and three-phase power collection and OTA uploading to a cloud platform according to claim 1 is characterized in that: The current sampling circuit includes three current detection circuits, and the three current detection circuits are respectively used to detect the current of one live wire.
3. The isolated circuit capable of single-phase and three-phase power collection and OTA uploading to a cloud platform according to claim 1 is characterized in that: The voltage sampling circuit includes three voltage detection circuits, and the three voltage detection circuits are respectively used to detect the voltage of one live wire.
4. The isolated circuit capable of single-phase and three-phase power collection and OTA uploading to a cloud platform according to claim 1, characterized in that: The mode selection circuit includes four detection circuits arranged in parallel, one end of the four detection circuits is connected and grounded, and the other end is respectively connected to the metering circuit. Resistors (R9, R10, R11, R12) are respectively provided on the four detection circuits. The detection circuits are connected to the power isolation circuit through resistors (R3, R4, R5, R6) at the end of the resistors (R9, R10, R11, R12) close to the metering circuit.
5. The isolated circuit capable of single-phase and three-phase power collection and OTA uploading to a cloud platform according to claim 1 is characterized in that: The OTA circuit also includes a storage circuit, and the storage circuit is connected to the main chip circuit.
6. The isolated circuit capable of single-phase and three-phase power collection and OTA uploading to a cloud platform according to claim 1, characterized in that: The OTA circuit also includes a network indicator light circuit, a mode indicator light circuit and a network start light circuit, and the network indicator light circuit, the mode indicator light circuit and the network start light circuit are respectively connected to the main chip circuit.