Power adapter with carrier communication capability, and carrier communication system and method based on power adapter
By integrating the power line carrier module into the power adapter, the problem of the power adapter not having communication function is solved, the communication function of the power adapter is realized, the connection layout and installation and maintenance of smart devices are simplified, and the cost is reduced.
Patent Information
- Application Number
- CN202510650378.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-09-19
AI Technical Summary
Existing power adapters do not have communication functions, which complicates the connection lines and device layout of smart devices, makes installation and maintenance difficult, and is costly.
A power adapter with carrier communication capability is designed, including a first power supply unit, a power line carrier module and a data line. Data transmission is achieved through the power line. The power line carrier module is integrated into the power adapter to simplify line connection and layout.
The communication function of the power adapter is realized, which reduces the difficulty and cost of installation and maintenance, simplifies the connection layout of smart devices, and improves the reliability and integration of the equipment.
Smart Images

Figure CN120675588A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a power adapter, and in particular to a power adapter with carrier communication capability, and a carrier communication system and method based on the power adapter. Background Art
[0002] Power adapters are power conversion devices for small electronic devices and appliances. They are used in devices such as smart speakers, set-top boxes, routers, and centralized control panels. Their core function is to convert one form of electrical energy into another to meet the power needs of specific electrical devices. With the rapid development of the Internet of Things and intelligent control technologies, different smart products require different power adapters, and the role of power adapters is becoming increasingly important. The current development direction of power adapters is mainly towards lightweight, miniaturization, and high power density. At the same time, the demand for stable operating efficiency of electrical devices is increasing, but the intelligence of power adapters has not made significant progress.
[0003] Existing smart devices such as sensors, smart speakers, and smart central control panels require power from dedicated power adapters. These power adapters lack communication capabilities and cannot serve as a data transmission channel. Therefore, multiple smart devices require additional communication equipment, such as Wi-Fi and power line carrier communication. However, as the number of connected smart devices increases, network bandwidth resources become increasingly scarce, and interference between devices becomes more severe. Wireless technology has become a bottleneck in the development of intelligent stability. However, smart device communication control linked by wired power line carriers offers high reliability and stability, with performance unmatched by wireless networks.
[0004] The existing power line carrier and power adapter are two independent modules with different functions, which inevitably complicates the connection lines and equipment layout, increases the difficulty of installation and maintenance, and is costly. Summary of the Invention
[0005] The purpose of the present invention is to solve the technical problems that the existing power adapter does not have communication function, the connection lines and device layout of smart devices are complicated, the installation and maintenance are difficult, and the cost is high. A power adapter with carrier communication capability and a carrier communication system and method based on the power adapter are proposed.
[0006] To solve the above technical problems, the present invention provides the following technical solutions:
[0007] A power adapter with carrier communication capability is characterized in that it comprises a first power supply unit, a power line carrier module and a data line;
[0008] The input end of the first power supply unit is connected to the power line, and the output end is connected to the external smart device through a data line, so as to supply power to the smart device;
[0009] One end of the power line carrier module is connected to the power line, and the other end is connected to an external smart device through a data line. It is used to convert the carrier signal in the power line into a digital signal and send it to the receiving smart device during data transmission, or convert the digital signal sent by the receiving smart device into a carrier signal during data reception and load it into the power line for transmission;
[0010] The data line includes a positive voltage line V+, a negative voltage line V-, a transmission line TX and a receiving line RX; one end of the positive voltage line V+ and the negative voltage line V- are connected to the first power supply unit, and the other end is connected to the smart device to realize the power supply function; one end of the transmission line TX and the receiving line RX are connected to the power line carrier module, and the other end is connected to the smart device to realize the communication function.
[0011] Furthermore, the power line carrier module includes a signal coupling unit, a carrier transceiver unit, a main control unit, a UART unit, a protocol / rule / control instruction library unit, a storage unit and an I / O port unit;
[0012] One end of the signal coupling unit is bidirectionally connected to the power line, and the other end is bidirectionally connected to the carrier transceiver unit; the signal coupling unit is used to extract and separate the carrier signal from the power line during data transmission and output it to the carrier transceiver unit, and to load the carrier signal output by the carrier transceiver unit onto the power line during data reception;
[0013] The carrier transceiver unit is bidirectionally connected to the main control unit, and is used to demodulate the carrier signal output by the signal coupling unit and transmit it to the main control unit during data transmission, and modulate the digital signal output by the main control unit and transmit it to the signal coupling unit during data reception;
[0014] The main control unit is bidirectionally connected to the UART unit, the protocol / statute / control instruction library unit, and the storage unit respectively. The main control unit is used to demodulate the carrier signal output by the carrier transceiver unit into a digital signal according to the specified control instruction during the data transmission process, and output it to the UART unit; during the data reception process, the digital signal output by the UART unit is modulated into a carrier signal according to the specified control instruction and output it to the carrier transceiver unit;
[0015] The UART unit is connected to the transmitting line TX and the receiving line RX for transmitting digital signals;
[0016] The protocol / statute / control instruction library unit is used to connect different protocols and exchange and convert protocol data. The protocol / statute / control instruction library unit supports protocols such as PWM, TTL, I2C, SPI, and supports protocol and protocol customization;
[0017] The storage unit is used to store internal programs, working information or digital signals;
[0018] The input end of the I / O port unit is connected to the main control unit, and the output end is connected to an external intelligent device, and is used to output different protocol signals of the protocol / protocol / control instruction library unit.
[0019] Furthermore, it also includes a second power supply unit, the input end of the second power supply unit is connected to the power line, and the output end is connected to the power line carrier module, for supplying power to the power line carrier module.
[0020] Furthermore, it also includes a level conversion unit, the input end of the level conversion unit is connected to the output end of the first power supply unit, and the output end of the level conversion unit is connected to the power line carrier module to supply power to the power line carrier module.
[0021] Furthermore, the power line carrier module also includes a protection unit, one end of which is bidirectionally connected to the power line, and the other end is bidirectionally connected to the signal coupling unit; the protection unit uses a varistor or a transient voltage suppression diode to prevent transient high voltage and surges on the power line.
[0022] Furthermore, the power line carrier module also includes a port protection unit, one end of which is bidirectionally connected to the UART unit and is also connected to the output end of the I / O port unit; the other end of the port protection unit is connected to the transmitting line TX and the receiving line RX; the port protection unit is used to prevent the port from being damaged by static electricity.
[0023] Furthermore, the output end of the second power supply unit is also connected to a peripheral sensor or actuator for auxiliary power supply;
[0024] The circuit topology of the second power supply unit is a resistance-capacitance power supply mode or a non-isolated power supply topology.
[0025] The present invention also provides a carrier communication system based on a power adapter, comprising a smart device A, a smart device B, a power adapter, and a power line; the special features of the system are:
[0026] The power adapter adopts the above-mentioned power adapter with carrier communication capability;
[0027] The power line carrier modules in the power adapter are bidirectionally connected to the power line and are used to exchange carrier signals with the power line;
[0028] The data line of the power adapter is bidirectionally connected to the smart device A, and is used to exchange digital signals with the smart device A and to supply power to the smart device A;
[0029] The first power supply unit input end of the power adapter is connected to the power line for obtaining electrical energy.
[0030] The smart device B has power line carrier communication capability and is connected to the power line.
[0031] The present invention also provides a power adapter-based carrier communication method, which is based on the above-mentioned power adapter-based carrier communication system and is special in that it includes the following steps:
[0032] a1. Connect smart device A to the power line via a power adapter, and connect smart device B to the power line;
[0033] a2. Smart device A sends a digital signal to the power adapter via the data line. The power line carrier module in the power adapter modulates the digital signal into a carrier signal.
[0034] a3. The power line carrier module of power adapter A loads the carrier signal onto the power line, and the power line carrier module set in smart device B extracts the carrier signal from the power line;
[0035] a4. Smart device B demodulates the carrier signal into a digital signal, completing carrier communication.
[0036] Furthermore, step a2 is specifically as follows:
[0037] a2.1. Smart device A outputs a digital signal to the power adapter via the data line. The UART unit of the power adapter receives the digital signal via the receiving line RX and transmits the digital signal to the main control unit.
[0038] a2.2. The main control unit of the power adapter modulates the digital signal into a carrier signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and then transmits it to the carrier transceiver unit of the power adapter;
[0039] a2.3. The carrier transceiver unit of the power adapter sends the carrier signal to the signal coupling unit of the power adapter;
[0040] Step a3 is specifically as follows:
[0041] a3.1. The signal coupling unit of the power adapter loads the carrier signal onto the power line through the coupling circuit;
[0042] a3.2. Smart device B extracts the carrier signal from the power line;
[0043] Step a4 is specifically as follows:
[0044] a4.1. The power line carrier module of smart device B transmits the carrier signal to the main control unit through the carrier transceiver unit;
[0045] a4.2. The main control unit of the PLC module of smart device B demodulates the carrier signal into a digital signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and transmits it to the UART unit of the PLC module of smart device B, completing the carrier communication.
[0046] Or it is transmitted to the UART unit and storage unit of the power line carrier module of smart device B, and the storage unit stores it to complete the carrier communication;
[0047] Or it can be transferred to a storage unit for storage to complete carrier communication.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. The power adapter with carrier communication capability provided by the present invention includes a first power supply unit, a power line carrier (PLC) module, and a data cable. The first power supply unit powers an external smart device, and the PLC module can send and receive data via the power line, thus realizing the power adapter's communication function. This invention has the advantages of low modification cost, simple installation and maintenance, and easy expansion.
[0050] 2. In the power adapter with carrier communication capability provided by the present invention, the input of the first power supply unit is connected to the power line, the output of the first power supply unit is connected to the input of the level conversion unit, and the output of the level conversion circuit is connected to the input of the power line carrier module. The level conversion circuit converts the output voltage of the first power supply to the voltage level required by the PLC carrier module, thereby reducing the production cost of the power line carrier module adapter.
[0051] 3. The power adapter with carrier communication capability provided by the present invention also includes a second power supply unit, the output of which is further connected to a peripheral sensor or actuator for auxiliary power supply. Auxiliary power supply can simplify the design of smart products, improve integration, and facilitate modular applications.
[0052] 4. In the power adapter with carrier communication capabilities provided by the present invention, the power line carrier module can be independently powered by a second power supply unit, facilitating module standardization and eliminating the need to consider the level conversion and power requirements of the power adapter's internal modules. The physical isolation of the first and second power supply units facilitates integration into power adapters of various specifications and models.
[0053] 5. In the power adapter with carrier communication capability provided by the present invention, the circuit topology of the second power supply unit can be a simple resistor-capacitor power supply method. If the module itself requires an additional power supply unit (such as a relay or electronic switch), the circuit topology of the second power supply unit can be a non-isolated power supply topology. Both of the above second power supply units can achieve outstanding advantages in terms of size, performance, and cost.
[0054] 6. The power adapter-based carrier communication method provided by the present invention can realize two-way communication between smart devices with the help of power lines, integrate the power carrier function into the power adapter, simplify the line connection and layout between smart devices, and reduce the difficulty of installation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 This is a structural diagram of a first embodiment of a power adapter with carrier communication capability according to the present invention;
[0056] Figure 2 This is a connection block diagram of a first embodiment of a power adapter with carrier communication capability according to the present invention;
[0057] Figure 3 This is a connection block diagram of the power line carrier module in the first embodiment of the power adapter with carrier communication capability of the present invention;
[0058] Figure 4 This is a connection block diagram of a second embodiment of a power adapter with carrier communication capability according to the present invention. DETAILED DESCRIPTION
[0059] The present invention will be further described below with reference to the accompanying drawings and examples.
[0060] Example 1
[0061] The present invention provides a power adapter with carrier communication capability, such as Figure 1 As shown, it includes a first power supply unit, a second power supply unit, a power line carrier module (PLC) and a data line.
[0062] like Figure 2 As shown, the first power supply unit has an input connected to the AC power line and an output connected to the smart device via a data line. It converts a high voltage of approximately 220V into a stable low voltage of approximately 5V to 20V required for operation of the smart device, while also converting the AC input into a DC output. The first power supply unit can employ a forward switching power supply, a flyback switching power supply, a half-bridge switching power supply, or a full-bridge switching power supply.
[0063] The input end of the second power supply unit is connected to the power line, and the output end is connected to the power line carrier module (PLC). It is used to convert the high voltage of about 220V into the stable low voltage required for the operation of the power line carrier module, and convert the AC input into DC output to power the power line carrier module (PLC). The output end of the second power supply unit can also assist in powering peripheral electrical equipment such as sensors and actuators. Auxiliary power supply can simplify the design of smart products, improve the degree of integration, and facilitate modular application. The first power supply unit and the second power supply unit are physically isolated from each other, making it easy to be built into power adapters of various specifications and models.
[0064] The power line carrier module can be powered separately by a second power supply unit, which facilitates module standardization and can be built into power adapters of various specifications and models without considering the level conversion and power requirements of the built-in module of the power adapter.
[0065] Since the power line carrier module consumes less than 10mW in standby mode and less than 30mW when receiving or transmitting data, the second power supply unit can be designed with a simple RC topology. If the module requires an additional power supply unit (such as a relay or electronic switch), a non-isolated topology can be used. Both of these second power supply units offer significant advantages, including compact size, high performance, and low cost.
[0066] like Figure 3 As shown, the power line carrier module includes a protection unit, a signal coupling unit, a carrier transceiver unit, a main control unit, a UART unit, a port protection unit, a protocol / rule / control instruction library unit, a storage unit, and an I / O port unit.
[0067] The protection unit is bidirectionally connected to the power line to prevent surges on the power line and surge voltages generated during use. The protection unit uses varistors or TVS (transient voltage suppression diodes) to prevent transient high voltage or surge damage to the circuit, providing reliable high-voltage crosstalk protection.
[0068] The signal coupling unit has a bidirectional connection to the protection unit at one end and to the carrier transceiver unit at the other. The signal coupling unit includes a coupling circuit. During data transmission, the signal coupling unit extracts and separates the carrier signal from the power line and outputs it to the carrier transceiver unit. During data reception, the carrier signal output by the carrier transceiver unit is then transferred to the power line.
[0069] The carrier transceiver unit is bidirectionally connected to the main control unit and utilizes a fully digital power line carrier communication link protocol. This enables the power adapter to achieve an extremely high signal-to-noise ratio while consuming minimal energy, effectively mitigating and counteracting strong grid interference. The carrier transceiver unit supports standard serial port protocols with baud rates of 9600-115200 bps for uplink and the power line carrier digital bus communication protocol for downlink. During data transmission, it demodulates the carrier signal output by the signal coupling unit and transmits it to the main control unit. During data reception, it modulates the digital signal output by the main control unit and transmits it to the signal coupling unit.
[0070] The main control unit is bidirectionally connected to the UART unit, the protocol / rule / control instruction library unit, and the storage unit. During data transmission, the main control unit is used to demodulate the carrier signal output by the carrier transceiver unit into a digital signal according to the specified control instructions and output it to the UART unit; during data reception, the main control unit is used to modulate the digital signal output by the UART unit into a carrier signal according to the specified control instructions and output it to the carrier transceiver unit.
[0071] The main control unit utilizes unimpeded real-time digital power line communication technology, including real-time data transmission mechanisms and unimpeded real-time communication guarantee mechanisms. This ensures real-time data transmission and reliable operation under all power grid conditions, providing maintenance-free operation. This technology addresses some common issues with carrier data transmission, such as signal blockage caused by interference and attenuation in communication links, uncertainty caused by frequent signal relays, low communication efficiency, low success rates, poor real-time performance, and inability to meet practical requirements.
[0072] The master control unit utilizes power line digital communication data frame synchronization technology, specifically a PLC digital bus protocol, which allows the host to correct the clocks of each slave node within the system, ensuring that all nodes in the communication network remain synchronized. The power line carrier module offers enhanced fault tolerance and error correction capabilities during communication, is more receptive to a variety of sub-node products, and reduces manufacturing costs while ensuring reliability, enabling stable and reliable operation in complex and harsh power grid environments.
[0073] The main control unit adopts power line digital communication data frame time slot technology and a fully digital communication structure. The power line carrier module has both synchronous and asynchronous communication mechanisms, and has embedded data frame time slot communication technology in the communication protocol. This enables the power line carrier module to effectively cope with the strong attenuation and strong interference formed after the commissioning of numerous electrical equipment in various complex power grid architecture environments in terms of reliability and success rate.
[0074] The main control unit also has data byte and frame detection and CRC check, and uses multiple redundancy protection mechanisms to ensure that communication reliability, communication success rate, communication real-time, communication bit error rate and other key elements of the data exchange link meet industrial standards, fully meeting the requirements of low-voltage power line carrier communication in harsh and complex environments, and is used in intelligent management systems that require demanding real-time data communication and real-time control command interaction.
[0075] The UART unit is bidirectionally connected to the port protection unit and connected to the data line through the port protection unit. The UART unit is used to send data from external smart devices to the carrier transceiver unit, and vice versa. The UART unit outputs data through the UART serial port with data transparent transmission function. The default communication rate is 9600bps, and it supports communication rates between 1200bps and 230400bps.
[0076] The port protection unit refers to adding corresponding protection devices to the output port of the PLC carrier module to prevent various interfaces, such as I / O port units, serial input / output ports, and output power ports, from being damaged by static electricity, thereby improving product reliability.
[0077] The protocol / statute / control instruction library unit is bidirectionally connected to the main control unit for docking different protocols and protocol data exchange and conversion. The output signal protocol of the power line carrier module can be PWM, TTL, I2C, SPI, and the protocol and protocol support customization.
[0078] The storage unit is bidirectionally connected to the main control unit. The storage unit adopts DATA-RAM memory or DATA-E2PROM memory and is used for storing internal programs, information or data generated during the working process.
[0079] The input end of the I / O port unit is connected to the main control unit, and the output end is connected to the port protection unit. The I / O port unit is used to output commands of different communication protocols and can be expanded to an external I2C, SPI storage space port or PWM output port. The function can be adjusted according to the application solution and supports isolated output.
[0080] The output end of the pairing unit is connected to the main control unit. Its function is to connect two communicating smart devices before use. The pairing unit can use NFC writing method to complete the connection between the two smart devices, or it can use mechanical dial buttons to complete the connection between the two smart devices.
[0081] The data cable consists of four wires: a positive voltage line (V+), a negative voltage line (V-), a transmit line (TX), and a receive line (RX). The positive voltage line (V+) and the negative voltage line (V-) connect the first power supply unit to the smart device, providing power. The transmit line (TX) and the receive line (RX) connect the power line carrier module to the smart device. The smart device transmits information and instructions to the power line carrier module via the transmit line (TX). The power line carrier module then transmits data acquired from the power line to the smart device via the receive line (RX), enabling the power adapter's communication function.
[0082] The present invention also provides a power adapter-based carrier communication system, comprising a smart device A, a smart device B, a power adapter, and a power line; the power adapter adopts the above-mentioned power adapter with carrier communication capability.
[0083] The power line carrier modules in the power adapter are bidirectionally connected to the power line and are used to exchange carrier signals with the power line;
[0084] The data lines in the power adapter are bidirectionally connected to smart device A for exchanging digital signals with smart device A and for supplying power to smart device A. The input terminals of the first power supply unit in the power adapter are both connected to the power line for receiving power. The input terminals of the second power supply unit in the power adapter are both connected to the power line for receiving power. Smart device B has power line carrier communication capability and is connected to the power line.
[0085] The present invention also provides a power adapter-based carrier communication method, based on the above-mentioned power adapter-based carrier communication system, comprising the following steps:
[0086] a1. Connect smart device A to the power line via a power adapter, and connect smart device B to the power line;
[0087] a2. Smart device A sends a digital signal to the power adapter via the data line. The power line carrier module in the power adapter modulates the digital signal into a carrier signal.
[0088] a2.1. Smart device A outputs a digital signal to the power adapter via the data line. The UART unit of the power adapter receives the digital signal via the receiving line RX and transmits the digital signal to the main control unit.
[0089] a2.2. The main control unit of the power adapter modulates the digital signal into a carrier signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and then transmits it to the carrier transceiver unit of the power adapter;
[0090] a2.3. The carrier transceiver unit of the power adapter sends the carrier signal to the signal coupling unit of the power adapter;
[0091] a3. The power line carrier module of the power adapter loads the carrier signal onto the power line. The smart device B is provided with a power line carrier module. The power line carrier module uses the power adapter with carrier communication capability described above to extract the carrier signal from the power line.
[0092] a3.1. The signal coupling unit of the power adapter loads the carrier signal onto the power line through the coupling circuit;
[0093] a3.2. Smart device B extracts the carrier signal from the power line;
[0094] a4. Smart device B demodulates the carrier signal into a digital signal, completing carrier communication.
[0095] a4.1. The power line carrier module of smart device B transmits the carrier signal to the main control unit through the carrier transceiver unit;
[0096] a4.2. The main control unit of the PLC module of smart device B demodulates the carrier signal into a digital signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and transmits it to the UART unit of the PLC module of smart device B, completing the carrier communication.
[0097] Or it is transmitted to the UART unit and storage unit of the power line carrier module of smart device B, and the storage unit stores it to complete the carrier communication;
[0098] Or it can be transferred to a storage unit for storage to complete carrier communication.
[0099] During the entire process, the protection unit always protects the power lines to prevent surges and transient high voltages from damaging the circuits; the port protection unit protects the output ports to prevent electrostatic damage and improve product reliability.
[0100] Taking the example of one-way transmission from a smart speaker, when the smart speaker receives a user's voice command, such as "turn on the lights" or "open the curtains," the smart speaker first converts the voice command into a digital signal. This signal is then transmitted via a data cable to the power line carrier module connected to the power adapter. The power line carrier module's main control unit processes the digital signal according to the corresponding data protocol. The carrier transceiver unit modulates the digital signal into a carrier signal, and the signal coupling unit loads the carrier signal onto the power line. When the power adapter connected to the smart light or smart curtain at the receiving end of the same power grid receives the carrier signal, the signal coupling unit extracts the carrier signal. This signal is then demodulated into a digital signal by the carrier transceiver module. The main control unit then parses and processes the digital signal, and finally transmits it via the data cable to the smart light or smart curtain to execute the corresponding voice command.
[0101] After the smart light or smart curtain executes the voice command, it can also send a feedback command to the smart speaker to indicate the current execution status. At this time, the smart light or smart curtain acts as the sending end and the smart speaker acts as the receiving end.
[0102] Example 2
[0103] like Figure 4 As shown, this embodiment differs from the first embodiment in that it includes a first power supply unit, a level conversion unit, a power line carrier module (PLC), and a data line. The input end of the first power supply unit is connected to the power line, the output end of the first power supply unit is connected to the input end of the level conversion unit, and the output end of the level conversion circuit is connected to the input end of the power line carrier module. The level conversion circuit converts the output voltage of the first power supply to the level required by the PLC carrier module, reducing the production cost of the power line carrier module adapter. The output end of the first power supply unit also powers the smart device via the data line.
[0104] Take the smart central control screen of a smart home as an example: when the user performs operations such as turning off the lights or closing the curtains on the smart central control screen, the smart central control screen will convert the user's voice commands into digital signals and transmit them to the power line carrier module of the power adapter through the data cable. The power line carrier module will process the instructions corresponding to the digital signal according to the corresponding data protocol. The carrier transceiver unit will modulate the digital signal into a carrier signal, and the signal coupling unit will load the carrier signal onto the power line. When the power adapter in the same power grid receives the carrier signal, the power line carrier module will demodulate the carrier signal and convert it into an open / close command that can be executed by the lights or curtains. After the lights or curtains execute the open / close command, they will send a digital signal for feedback status to the smart central control screen, indicating the current execution status of the lights or curtains, so that the operating status of the relevant equipment can be viewed on the smart central control screen.
Claims
1. A power adapter with carrier communication capability, characterized in that: It includes a first power supply unit, a power line carrier module and a data line; The input end of the first power supply unit is connected to the power line, and the output end is connected to the external smart device through a data line, so as to supply power to the smart device; One end of the power line carrier module is connected to the power line, and the other end is connected to an external smart device through a data line. It is used to convert the carrier signal in the power line into a digital signal and send it to the receiving smart device during data transmission, or convert the digital signal sent by the receiving smart device into a carrier signal during data reception and load it into the power line for transmission; The data line includes a positive voltage line V+, a negative voltage line V-, a transmission line TX and a receiving line RX; one end of the positive voltage line V+ and the negative voltage line V- are connected to the first power supply unit, and the other end is connected to the smart device to realize the power supply function; one end of the transmission line TX and the receiving line RX are connected to the power line carrier module, and the other end is connected to the smart device to realize the communication function.
2. The power adapter with carrier communication capability according to claim 1, wherein: The power line carrier module includes a signal coupling unit, a carrier transceiver unit, a main control unit, a UART unit, a protocol / rule / control instruction library unit, a storage unit and an I / O port unit; One end of the signal coupling unit is bidirectionally connected to the power line, and the other end is bidirectionally connected to the carrier transceiver unit; The signal coupling unit is used to extract and separate the carrier signal from the power line during data transmission and output it to the carrier transceiver unit. During data reception, the carrier signal output by the carrier transceiver unit is loaded onto the power line. The carrier transceiver unit is bidirectionally connected to the main control unit, and is used to demodulate the carrier signal output by the signal coupling unit and transmit it to the main control unit during data transmission, and modulate the digital signal output by the main control unit and transmit it to the signal coupling unit during data reception; The main control unit is bidirectionally connected to the UART unit, the protocol / statute / control instruction library unit, and the storage unit respectively. The main control unit is used to demodulate the carrier signal output by the carrier transceiver unit into a digital signal according to the specified control instruction during the data transmission process, and output it to the UART unit; during the data reception process, the digital signal output by the UART unit is modulated into a carrier signal according to the specified control instruction and output it to the carrier transceiver unit; The UART unit is connected to the transmitting line TX and the receiving line RX for transmitting digital signals; The protocol / statute / control instruction library unit is used to connect different protocols and exchange and convert protocol data. The protocol / statute / control instruction library unit supports protocols such as PWM, TTL, I2C, SPI, and supports protocol and protocol customization; The storage unit is used to store internal programs, working information or digital signals; The input end of the I / O port unit is connected to the main control unit, and the output end is connected to an external intelligent device, and is used to output different protocol signals of the protocol / protocol / control instruction library unit.
3. The power adapter with carrier communication capability according to claim 2, wherein: It also includes a second power supply unit, the input end of the second power supply unit is connected to the power line, and the output end is connected to the power line carrier module, for supplying power to the power line carrier module.
4. The power adapter with carrier communication capability according to claim 2, wherein: It also includes a level conversion unit, the input end of the level conversion unit is connected to the output end of the first power supply unit, and the output end of the level conversion unit is connected to the power line carrier module to supply power to the power line carrier module.
5. The power adapter with carrier communication capability according to claim 3 or 4, characterized in that: The power line carrier module also includes a protection unit, one end of which is bidirectionally connected to the power line and the other end is bidirectionally connected to the signal coupling unit; the protection unit uses a varistor or a transient voltage suppression diode to prevent transient high voltage and surges on the power line.
6. The power adapter with carrier communication capability according to claim 5, characterized in that: The power line carrier module also includes a port protection unit, one end of which is bidirectionally connected to the UART unit and is also connected to the output end of the I / O port unit; the other end of the port protection unit is connected to the transmitting line TX and the receiving line RX; the port protection unit is used to prevent the port from being damaged by static electricity.
7. The power adapter with carrier communication capability according to claim 3, wherein: The output end of the second power supply unit is also connected to a peripheral sensor or actuator for auxiliary power supply; The circuit topology of the second power supply unit is a resistance-capacitance power supply mode or a non-isolated power supply topology.
8. A power adapter-based carrier communication system, comprising a smart device A, a smart device B, a power adapter, and a power line; characterized in that: The power adapter is a power adapter with carrier communication capability as described in any one of claims 1 to 7; The power line carrier modules in the power adapter are bidirectionally connected to the power line and are used to exchange carrier signals with the power line; The data line of the power adapter is bidirectionally connected to the smart device A, and is used to exchange digital signals with the smart device A and to supply power to the smart device A; The first power supply unit input end of the power adapter is connected to the power line for obtaining electrical energy. The smart device B has power line carrier communication capability and is connected to the power line.
9. A carrier communication method based on a power adapter, based on the carrier communication system based on a power adapter according to claim 8, characterized in that: The following steps are involved: a1. Connect smart device A to the power line via a power adapter, and connect smart device B to the power line; a2. Smart device A sends a digital signal to the power adapter via the data line. The power line carrier module in the power adapter modulates the digital signal into a carrier signal. a3. The power line carrier module of power adapter A loads the carrier signal onto the power line, and the power line carrier module set in smart device B extracts the carrier signal from the power line; a4. Smart device B demodulates the carrier signal into a digital signal, completing carrier communication.
10. The carrier communication method based on a power adapter according to claim 9, characterized in that: Step a2 is specifically as follows: a2.
1. Smart device A outputs a digital signal to the power adapter via the data line. The UART unit of the power adapter receives the digital signal via the receiving line RX and transmits the digital signal to the main control unit. a2.
2. The main control unit of the power adapter modulates the digital signal into a carrier signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and then transmits it to the carrier transceiver unit of the power adapter; a2.
3. The carrier transceiver unit of the power adapter sends the carrier signal to the signal coupling unit of the power adapter; Step a3 is specifically as follows: a3.
1. The signal coupling unit of the power adapter loads the carrier signal onto the power line through the coupling circuit; a3.
2. Smart device B extracts the carrier signal from the power line; Step a4 is specifically as follows: a4.
1. The power line carrier module of smart device B transmits the carrier signal to the main control unit through the carrier transceiver unit; a4.
2. The main control unit of the PLC module of smart device B demodulates the carrier signal into a digital signal according to the protocol and instructions in its protocol / rule / control instruction library unit, and transmits it to the UART unit of the PLC module of smart device B, completing the carrier communication. Or it is transmitted to the UART unit and storage unit of the power line carrier module of smart device B, and the storage unit stores it to complete the carrier communication; Or it can be transferred to a storage unit for storage to complete carrier communication.