Intelligent controller circuit based on single live wire electricity taking
By designing an intelligent controller circuit based on single-wire power supply, the current rectification power supply is achieved by utilizing the voltage difference of the live wire, which solves the problem that smart home devices do not require an additional power supply in the case of a single live wire, and realizes convenient installation and wireless control.
Patent Information
- Application Number
- CN202423102361.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Priority Date
- 2023-12-26
- Filing Date
- 2024-12-16
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2034-12-16
AI Technical Summary
Existing smart home electrical control devices require an additional power supply when using a single live wire, which hinders their promotion and use.
Design an intelligent controller circuit based on single-wire power supply, including a microprocessor, a storage module, a wireless communication module, a button module, and a single-wire power supply module. The current is rectified by the single-wire power supply chip and the switching circuit through the voltage difference across the live wire to supply power to the microprocessor, storage module, and wireless communication module.
It enables power supply without additional power in the case of a single live wire, is easy to install and modify, and supports wireless control and human-computer interaction of smart home devices.
Smart Images

Figure CN223501314U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of smart homes, specifically to a smart controller circuit based on single-wire power supply. Background Technology
[0002] To save on wiring costs, traditional home electrical control devices typically share a neutral wire, connecting the live wire to a traditional mechanical switch, such as for lighting switches. Traditional mechanical switches rely on manual operation to close and open the circuit, therefore they do not require their own power.
[0003] With the development of IoT technology, smart homes have seen rapid growth in recent years. Smart homes enable various forms of control over electrical devices, including wireless, automatic, and voice control, enhancing the home experience. However, existing home electrical control devices, such as switch boxes, use mechanical switches, meaning they only have a live wire and no neutral wire. This necessitates a power supply for smart home electrical control devices that require live operation, thus hindering their widespread adoption.
[0004] Therefore, there is an urgent need for an intelligent controller that can achieve single-wire power supply to meet the power consumption and control needs of smart home electrical control devices when only a single live wire is connected. Summary of the Invention
[0005] This invention addresses the problem that existing smart home electronic control devices require a separate power supply by proposing a smart controller circuit based on single-wire power supply. This circuit enables power supply from a single wire, eliminating the need for a separate power source. It also features wireless communication and a button module for human-computer interaction. The embedded design of the circuit structure makes it simple to install and modify.
[0006] To achieve the above objectives, this utility model proposes an intelligent controller circuit based on single-wire power supply, including a live wire, a microprocessor, a storage module, a wireless communication module, a button module, and a single-wire power supply module. The microprocessor is communicatively connected to the wireless communication module and the storage module. The input terminal of the microprocessor is electrically connected to the output terminal of the button module. The microprocessor, the button module, and the wireless communication module are all electrically connected to the output terminal of the single-wire power supply module.
[0007] The single-wire power supply module includes a single-wire power supply chip and a switching circuit. The output terminal of the single-wire power supply chip is connected to the switching circuit. The two ends of the switching circuit are respectively provided with wiring terminals, and the switching circuit is connected to the two ends of the live wire through the wiring terminals.
[0008] Furthermore, the switching circuit includes a first MOSFET and a second MOSFET. The source (S) of the first MOSFET and the second MOSFET are grounded. The drain (D) of the first MOSFET and the second MOSFET are electrically connected to the live wire through terminals. The gate (G) of both the first MOSFET and the second MOSFET are connected to a single-wire power supply chip.
[0009] A switching circuit is set up, and the switching on and off of the switching circuit is controlled by a single-wire power chip. When the switching circuit is on, the current generated on both sides of the live wire is obtained, and then the single-wire power chip outputs DC current to supply the microprocessor, storage module, wireless communication module and button module.
[0010] Furthermore, the storage module includes a storage chip, and the microprocessor is connected to the storage chip via I2C serial communication.
[0011] Storage chips are used to store control parameters, providing the hardware foundation for intelligent controller circuits to be used in a variety of scenarios.
[0012] Furthermore, the button module includes multiple touch buttons and a button chip, with the multiple touch buttons connected to the input terminal of the button chip and the output terminal of the button chip connected to a microprocessor.
[0013] The touch buttons are easy to use and facilitate human-computer interaction.
[0014] Furthermore, the wireless communication module includes, but is not limited to, one or more combinations of a 2.4G wireless module, a Bluetooth module, a LoRa module, and a WiFi module.
[0015] The beneficial effects of this utility model through the above technical solution are as follows:
[0016] This invention achieves single-wire power supply, eliminating the need for a separate power source for the circuit's control section. It is easy to install, modify, and use. A single-wire power supply module is connected to both ends of a live wire. This module includes a single-wire power supply chip and a switching circuit, which is connected to both ends of the live wire via terminals. Due to a voltage difference across the live wire, current flows when the switching circuit is active. This current is rectified and processed by the single-wire power supply module to output a direct current, which powers the microprocessor, storage module, wireless communication module, and button module. The microprocessor connects to the controlled electrical components, the storage module stores control parameters, the wireless communication module enables wireless communication between the microprocessor and external devices, and the button module facilitates human-machine interaction with the microprocessor. This invention has a simple structure and is easy to modify and install in existing circuits. Attached Figure Description
[0017] Figure 1 This is a circuit diagram of an intelligent controller circuit based on single-wire power supply according to the present invention.
[0018] Figure 2 This is a microprocessor circuit diagram of an intelligent controller circuit based on single-wire power supply according to this utility model;
[0019] Figure 3 This is a circuit diagram of a single-wire power supply module for an intelligent controller circuit based on single-wire power supply according to this utility model.
[0020] Figure 4 This is a circuit diagram of the storage module of an intelligent controller circuit based on single-wire power supply according to this utility model;
[0021] Figure 5 This is a circuit diagram of a wireless communication module for an intelligent controller circuit based on single-wire power supply according to this utility model.
[0022] Figure 6 This is a circuit diagram of the button module of an intelligent controller circuit based on single-wire power supply according to this utility model.
[0023] The reference numerals are as follows: 1 is the live wire, 2 is the microprocessor, 3 is the storage module, 4 is the wireless communication module, 5 is the button module, 6 is the single-wire power supply module, 7 is the single-wire power supply chip, and 8 is the switch circuit. Detailed Implementation
[0024] The present invention will be further described below with reference to the accompanying drawings and specific embodiments:
[0025] Example 1
[0026] like Figures 1-6 As shown, an intelligent controller circuit based on single-wire power supply includes a live wire 1, a microprocessor 2, a storage module 3, a wireless communication module 4, a button module 5, and a single-wire power supply module 6. The microprocessor 2 is communicatively connected to the wireless communication module and the storage module 3. The input terminal of the microprocessor 2 is electrically connected to the output terminal of the button module 5. The microprocessor 2, the button module 5, and the wireless communication module 4 are all electrically connected to the output terminal of the single-wire power supply module 6.
[0027] The single-wire power supply module 6 includes a single-wire power supply chip 7 and a switching circuit 8. The output terminal of the single-wire power supply chip 7 is connected to the switching circuit 8. The two ends of the switching circuit 8 are respectively provided with wiring terminals, and the switching circuit 8 is connected to the two ends of the live wire 1 through the wiring terminals.
[0028] like Figure 3 As shown, the switching circuit 8 includes a first MOSFET and a second MOSFET. The source (S) of the first MOSFET and the second MOSFET are grounded. The drain (D) of the first MOSFET and the second MOSFET are electrically connected to the live wire 1 through the terminal block. The gate (G) of the first MOSFET and the second MOSFET are both connected to the single-wire power chip 7.
[0029] like Figure 2 and 4 As shown, the storage module 3 includes a storage chip, and the microprocessor 2 is connected to the storage chip via I2C serial communication.
[0030] like Figure 2 and 6 As shown, the button module 5 includes multiple touch buttons and a button chip. The multiple touch buttons are connected to the input terminal of the button chip, and the output terminal of the button chip is connected to the microprocessor 2.
[0031] like Figure 2 and 5 As shown, the wireless communication module 4 includes, but is not limited to, one or more combinations of a 2.4G wireless module, a Bluetooth module, a LoRa module, and a WiFi module.
[0032] In this embodiment, the microcontroller 2 is an STM32 microcontroller, the single-wire power chip 7 is an XD303A chip, and the wireless communication module 4 is a WiFi module.
[0033] Example 2
[0034] To facilitate understanding of this application, this embodiment uses a lighting scenario to illustrate the single-wire power supply intelligent control of this application, based on Embodiment 1. In this embodiment, the microcontroller 2 is connected to a lighting lamp via an optocoupler and a relay. The lighting lamp is connected to the neutral wire through the normally open contact of the relay to form a circuit with a circuit voltage of 220V and 50Hz.
[0035] Before operation, the relay coil is de-energized, its normally open contact is open, the lighting circuit is broken, and the lighting is in a de-energized state.
[0036] At this time, the single-wire power supply module 6, located between the two ends of the live wire 1, generates current due to the voltage difference. When the voltage waveform is within ±30V (±30V is an approximate value; the actual value varies between manufacturers), the single-wire power supply chip 7 turns on the first and second MOSFETs, connecting the two ends of live wire 1 to form a loop. Current flows through the single-wire power supply chip 7, and the CIN pin of the chip 7 stores power through external circuitry and outputs a DC 3.3V current to power the microprocessor 2, button module 5, and wireless communication module 4. The storage module 3 is powered through the microprocessor 2. Therefore, the microprocessor 2, button module 5, and wireless communication module 4 remain powered even when the lighting circuit is broken.
[0037] When the touch button is pressed, the touch button outputs a level signal to the microprocessor 2 via the button chip. The microprocessor 2 then turns on the optocoupler, which in turn energizes the relay coil, closes its normally open contacts, and energizes the lighting circuit, causing the lighting lamp to light up.
[0038] The embodiments described above are merely preferred embodiments of this utility model and are not intended to limit the scope of implementation of this utility model. Therefore, all equivalent changes or modifications made to the structure, features and principles described in the patent claims of this utility model should be included within the scope of the patent application of this utility model.
Claims
1. A smart controller circuit based on single-wire power supply, comprising a live wire (1), characterized in that, It also includes a microprocessor (2), a storage module (3), a wireless communication module (4), a button module (5), and a single-fire power supply module (6). The microprocessor (2) is communicatively connected to the wireless communication module and the storage module (3). The input terminal of the microprocessor (2) is electrically connected to the output terminal of the button module (5). The microprocessor (2), the button module (5), and the wireless communication module (4) are all electrically connected to the output terminal of the single-fire power supply module (6). The single-wire power supply module (6) includes a single-wire power supply chip (7) and a switching circuit (8). The output end of the single-wire power supply chip (7) is connected to the switching circuit (8). The two ends of the switching circuit (8) are respectively provided with wiring terminals. The switching circuit (8) is connected to the two ends of the live wire (1) through the wiring terminals.
2. The intelligent controller circuit based on single-wire power supply according to claim 1, characterized in that, The switching circuit (8) includes a first MOS transistor and a second MOS transistor. The source (S) of the first MOS transistor and the second MOS transistor are grounded. The drain (D) of the first MOS transistor and the second MOS transistor are electrically connected to the live wire (1) through the terminal block. The gate (G) of the first MOS transistor and the second MOS transistor are both connected to the single-wire power chip (7).
3. The intelligent controller circuit based on single-wire power supply according to claim 1, characterized in that, The storage module (3) includes a storage chip, and the microprocessor (2) is connected to the storage chip via I2C serial communication.
4. The intelligent controller circuit based on single-wire power supply according to claim 2, characterized in that, The button module (5) includes multiple touch buttons and a button chip. The multiple touch buttons are connected to the input terminal of the button chip, and the output terminal of the button chip is connected to the microprocessor (2).
5. The intelligent controller circuit based on single-wire power supply according to claim 1, characterized in that, The wireless communication module (4) includes, but is not limited to, one or more combinations of a 2.4G wireless module, a Bluetooth module, a LoRa module and a WiFi module.