Power carrier to RS-232 communication device and method
By designing a power carrier to RS-232 communication device, using DBPSK modem and demodulation and level conversion, the mutual conversion of power carrier signals and RS-232 data is realized, and the compatibility problem between power carrier communication and traditional civil interfaces is solved. Real-time monitoring and conversion capabilities without the need for additional power adapters.
Patent Information
- Application Number
- CN202411326261.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing power carrier communication technology cannot communicate with traditional civil interfaces such as RS-232 interfaces, resulting in limited application.
Design a power carrier to RS-232 communication device, including a filtering unit, a conversion unit, a first data conversion unit and a second data conversion unit, and realizes the power carrier signal and RS-232 data through DBPSK modem and demodulation and level conversion The mutual conversion between them is directly powered by 220V AC, and there is no need to configure an additional power adapter.
It realizes effective conversion between power carrier signals and RS-232 data, solves the problem that the power carrier communication interface cannot communicate with traditional civil interfaces, has real-time monitoring and conversion functions, and does not require an additional power adapter.
Smart Images

Figure CN119182425A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of power line carrier communication, and specifically relates to a power line carrier to RS-232 communication device. Background Art
[0002] Power Line Communication (PLC) is a communication method that uses power lines as a transmission medium for data transmission. The basic principle of power line carrier communication is to modulate the data signal onto a high-frequency carrier signal and then transmit it through the power line.
[0003] The existing power carrier communication technology is mainly used in the power grid industry, mostly on strong power interfaces. Traditional civilian communication interfaces are mostly weak power interfaces, such as RS-232 interface, TTL interface, USB interface, etc. Due to different interfaces, the power carrier communication interface cannot communicate with the traditional civilian interface. Summary of the invention
[0004] The present application provides a power carrier to RS-232 communication device to solve the problem that the power carrier communication interface cannot communicate with the traditional civilian interface.
[0005] The technical solution adopted in this application is:
[0006] The present application embodiment provides a power line carrier to RS-232 communication device, comprising:
[0007] filter units for monitoring and controlling electromagnetic interference;
[0008] A conversion unit for converting AC power into DC power;
[0009] The first data conversion unit is used to monitor the power carrier signal in the alternating current in real time, and convert the power carrier signal into TTL communication data through DBPSK modulation and demodulation;
[0010] A second data conversion unit, used for converting the received TTL communication data into RS-232 data;
[0011] The filtering unit is connected to the AC interface and AC terminal of the conversion unit, and the DC interface of the conversion unit is connected to the power supply interfaces of the first data conversion unit and the second data conversion unit; the L / N interface of the first data conversion unit is connected to the AC terminal, the TTL interface of the first data conversion unit is connected to the TTL interface of the second data conversion unit, and the RS232 interface of the second data conversion unit is connected to the RS-232 terminal.
[0012] The power carrier to RS-232 communication device provided in this application also includes the following additional technical features:
[0013] According to an embodiment of the present application, a status display unit is used to display the power status of the device and the data reception and transmission status of the power carrier; the status display unit is connected to the status interface of the first data conversion unit.
[0014] According to one embodiment of the present application, the AC terminal is connected to 220V mains electricity.
[0015] According to one embodiment of the present application, the RS-232 terminal is connected to an RS-232 user interface.
[0016] According to one embodiment of the present application, the first data conversion unit adopts an SSC1642 chip.
[0017] According to an embodiment of the present application, the second data conversion unit adopts a MAX3232 chip.
[0018] According to one embodiment of the present application, the communication rate of the first data conversion unit is 5 Kbps.
[0019] The present application also provides a power carrier to RS-232 communication method, which is applied to a hardware device including a filtering unit, a conversion unit, a first data conversion unit and a second data conversion unit, including:
[0020] Monitor whether there is a power carrier signal in the alternating current on the AC terminal according to the first data conversion unit, and if so, convert the power carrier signal into a first logic signal and send it to the second data conversion unit;
[0021] When the second data conversion unit receives the first logic signal, it converts the first logic signal into a second logic signal and sends it to the user through the output terminal.
[0022] According to one embodiment of the present application, it also includes:
[0023] The second data conversion unit monitors whether the output terminal receives user data, and if so, converts the data into the first logic signal and sends it to the first data conversion unit;
[0024] The first data conversion unit converts the received first logic signal into the power carrier signal, and sends it to the mains through the AC terminal.
[0025] According to an embodiment of the present application, the first data conversion unit and the second data conversion unit implement conversion of the first logic signal and the second logic signal through level conversion.
[0026] Due to the adoption of the above technical solution, the beneficial effects achieved by this application are as follows:
[0027] This application can convert the power carrier signal into TTL data through the first data conversion unit, and can also convert TTL data into a power carrier signal, and can also monitor the power carrier signal in the alternating current in real time, and convert the received TTL data into RS-232 data through the second data conversion unit, and can also convert the received RS-232 data into TTL data, thereby realizing the ability to convert the power carrier signal into RS-232 data and RS-232 data into power carrier data, solving the problem that the power carrier communication interface cannot communicate with the traditional civilian interface. This application comes with a conversion unit and can directly use 220V AC power supply without the need for an additional power adapter. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0029] Figure 1 A circuit schematic diagram of a power carrier to RS-232 communication device provided in an embodiment of the present application;
[0030] Figure 2 A flowchart of a power line carrier to RS-232 communication method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to more clearly illustrate the overall concept of the present application, a detailed description is given below in an illustrative manner in conjunction with the accompanying drawings.
[0032] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present application is not limited by the specific embodiments disclosed below. It should be noted that the embodiments of the present application and the features in each embodiment may be combined with each other without conflict.
[0033] In addition, in the description of the present application, it should be understood that the orientations or positional relationships indicated by the terms "top", "bottom", "inside", "outside", "axial", "radial", "circumferential", etc. are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0034] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0035] In the present application, unless otherwise clearly specified and limited, a first feature "above" or "below" a second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in an appropriate manner in any one or more embodiments or examples.
[0036] like Figure 1 As shown, the embodiment of the present application provides a power carrier to RS-232 communication device, including:
[0037] The filter unit is used to filter out electromagnetic interference signals from the 220V alternating current input from the AC terminal.
[0038] Specifically, the filtering unit includes:
[0039] Varistor: When the voltage exceeds a certain threshold, the resistance of the varistor will drop sharply, thereby consuming excess voltage energy and protecting the subsequent circuit from damage.
[0040] Safety capacitor: Add capacitor devices that meet safety standards into the circuit to filter out high-frequency noise while ensuring the safety and stability of the circuit.
[0041] Common-mode rejection: Use components such as common-mode chokes to reduce the effects of common-mode noise and improve signal quality.
[0042] The filter unit is connected to the AC interface and AC terminal of the conversion unit, which ensures that the AC power entering the device is processed by the filter unit, thereby reducing the impact of external electromagnetic interference on the device.
[0043] For example, in a practical application scenario, suppose there is a power carrier to RS-232 communication device that needs to be used in a home or office environment, where there may be multiple sources of electromagnetic interference, such as other electronic devices, wireless communication signals, etc. The design of the filter unit can ensure that the device can still operate stably in these environments, as follows:
[0044] Varistor: When there is a sudden voltage change at the AC input end, the varistor will respond quickly, consume the excess voltage energy and protect the internal circuit from damage.
[0045] Safety capacitor: Installing a safety capacitor on the input power line can effectively filter out high-frequency noise, ensure the cleanliness of the power supply, and reduce interference to other equipment.
[0046] Common mode choke: Install a common mode choke on the power input line to reduce the impact of common mode noise, improve signal quality, and ensure the accuracy of data transmission.
[0047] You can also add a high-frequency filter network to the circuit to effectively filter out high-frequency noise and improve signal clarity and reliability. Use LC filters (inductor and capacitor combination) or RC filters (resistor and capacitor combination) to build the filter network.
[0048] You can also use physical barriers to block electromagnetic fields and reduce the impact of electromagnetic interference. Use a metal casing to encapsulate the entire device to reduce the impact of external electromagnetic interference. Use shielded cables, especially for sensitive signal lines, to reduce the impact of external electromagnetic interference on the signal.
[0049] The conversion unit is used to convert the alternating current processed by the filtering unit into direct current and to supply power to the first data unit and the second data unit.
[0050] Specifically, the main function of the conversion unit is to convert the AC power obtained from the mains power grid into DC power suitable for internal use of the equipment. This usually involves several steps:
[0051] Rectification: Converting alternating current into pulsating direct current.
[0052] Filtering: Smoothing out pulsating DC power through components such as capacitors to reduce ripple.
[0053] Voltage Regulation: Ensures that the output voltage remains constant regardless of changes in input voltage.
[0054] The specific technical implementation of the conversion unit includes the following aspects:
[0055] Rectifier bridge: A diode rectifier bridge is usually used to achieve the rectification function.
[0056] Filter capacitor: Large-capacity capacitors are used for filtering and reducing output voltage ripple.
[0057] Voltage stabilization circuit: may include a linear regulator or a switched-mode power supply (SMPS) to achieve voltage regulation.
[0058] For example,
[0059] AC power input: 220V AC power is connected to the device through the AC terminal.
[0060] Rectifier bridge circuit: A bridge rectifier circuit consisting of four diodes (such as 1N4007) is used to convert AC power into pulsating DC power.
[0061] Filter capacitor: Use a large-capacity electrolytic capacitor (e.g. 2200μF / 25V) to smooth the pulsating DC power and reduce ripple.
[0062] Voltage Regulator: A linear voltage regulator LM7805 is used which is capable of providing a stable 5V DC output voltage for powering the internal circuits.
[0063] Switching power supply: If higher efficiency and smaller size are required, you can choose to use a switching mode power supply controller (such as UC3842) to design a high-efficiency switching power supply module.
[0064] Direct current output: After rectification, filtering and voltage stabilization, the conversion unit provides stable direct current to the first data conversion unit and the second data conversion unit through the DC interface.
[0065] A switching power supply can also be constructed using a PWM (Pulse Width Modulation) controller and a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor).
[0066] A simple LC filter circuit can also be added after the rectifier bridge to reduce the distortion of the current waveform.
[0067] It can also be implemented using a dedicated PFC controller IC and switching elements such as IGBTs or MOSFETs.
[0068] The first data conversion unit is used to monitor the power carrier signal in the alternating current in real time, and convert the power carrier signal into a first logic signal through a DBPSK modulation and demodulation method.
[0069] The first data conversion unit is a first data conversion unit, which includes:
[0070] DBPSK modulation and demodulation: DBPSK modulation and demodulation is adopted, which is an efficient modulation technology suitable for power line communication. DBPSK can improve the anti-interference ability of the signal and is easy to demodulate at the receiving end.
[0071] Signal detection: monitor the power carrier signal in the AC power in real time, and start the demodulation process once the signal is detected.
[0072] Signal conversion: Convert the detected analog power carrier signal into a digital TTL signal.
[0073] Hardware implementation: Use the SSC1642 chip as the core processing unit, which supports DBPSK modulation and demodulation and can operate at a communication rate of 5Kbps.
[0074] Signal detection circuit: extract the power carrier signal from the AC power through circuits such as high-pass filter and band-pass filter.
[0075] Modem: Adopts SSC1642 chip, supports DBPSK modulation and demodulation, and can convert power carrier signal into TTL data or vice versa.
[0076] Data interface: Use TTL level interface to exchange data with the second data conversion unit.
[0077] The connection relationship between the first data conversion unit and other parts of the system is as follows:
[0078] AC power input: Connect to 220V AC power through the AC terminal.
[0079] Signal input / output: The L / N interface of the first data conversion unit is connected to the AC terminal for receiving or sending a carrier signal.
[0080] Data interface: The TTL interface is connected to the TTL interface of the second data conversion unit and is used to receive and send TTL data.
[0081] Power supply interface: powered by the DC interface of the conversion unit.
[0082] The workflow of the first data conversion unit includes:
[0083] Power carrier signal detection: monitor whether there is a power carrier signal in the AC power through the AC terminal.
[0084] Signal demodulation: If a signal is detected, the power carrier signal is demodulated into TTL data through DBPSK modulation and demodulation.
[0085] Data sending: Send TTL data to the second data conversion unit.
[0086] Data reception: Receives TTL data from the second data conversion unit and modulates it into a power carrier signal.
[0087] Signal transmission: The power carrier signal is sent into the alternating current through the AC terminal.
[0088] For example, in the signal detection circuit, an LC filter (inductor L and capacitor C) is used to form a bandpass filter to extract a signal within a specific frequency range from the alternating current.
[0089] Modem: Use SSC1642 chip, which has built-in DBPSK modulation and demodulation function, and the working parameters can be configured by programming.
[0090] Data interface: TTL level interface, including TXD (transmit data) and RXD (receive data) pins, used to connect to the second data conversion unit.
[0091] Power supply interface: powered by 5V DC provided by the conversion unit.
[0092] It is also possible to use an adaptive modem that is able to switch between DBPSK and higher order modulation schemes such as QPSK.
[0093] Alternatively, OFDM modulator and demodulator chips can be used, such as the ADALM-OFDM kit from Analog Devices.
[0094] The second data conversion unit is used to monitor whether the output terminal receives user data and convert the received first logic signal into a second logic signal.
[0095] Specifically, the second data conversion unit is a second data conversion unit, which includes:
[0096] Data conversion: Convert TTL level data signals into level signals that comply with RS-232 standards.
[0097] Logic level conversion: Since the TTL level (0-5V) is different from the RS-232 level (±3V to ±15V), level conversion is required.
[0098] Signal amplification and shaping: Ensure that the converted signal can meet the transmission requirements of the RS-232 interface.
[0099] The specific technical implementation of the second data conversion unit includes the following aspects:
[0100] Logic level conversion chip: MAX3232 chip is used as the core processing unit. This chip can convert TTL level to RS-232 level and has a built-in signal amplification function.
[0101] Data interface: Use TTL level interface to exchange data with the first data conversion unit.
[0102] Power supply interface: powered by direct current provided by the conversion unit.
[0103] For example, a logic level conversion chip: Use the MAX3232 chip, which is able to convert TTL levels to RS-232 levels and has a built-in signal amplification function.
[0104] Data interface: The TTL level interface is connected to the first data conversion unit for data exchange.
[0105] Power supply interface: powered by direct current provided by the conversion unit.
[0106] It is also possible to use chips with adaptive level control, such as the MAX232 variant MAX3222, which allows the user to set the output level via external resistors.
[0107] You can also use chips with advanced data buffering functions, such as MAX3222E or similar chips, which support high-speed data transmission and have built-in data buffers.
[0108] Signal isolation can also be achieved using optocouplers or magnetic couplers.
[0109] The filter unit is connected to the AC port of the conversion unit, the DC port of the conversion unit is connected to the power supply interface of the first data conversion unit, and the signal interface of the first data conversion unit is connected to the signal interface of the second data conversion unit.
[0110] Specifically,
[0111] Connection between filter unit and conversion unit:
[0112] Filter unit: Located before the conversion unit, it is connected to 220V AC through the AC terminal to reduce the impact of external electromagnetic interference on subsequent circuits.
[0113] Conversion unit: The AC interface is connected to the filtering unit to receive the alternating current processed by the filtering unit; the DC interface outputs direct current to power the first data conversion unit and the second data conversion unit.
[0114] Connection between the conversion unit and the first data conversion unit and the second data conversion unit:
[0115] Conversion unit: The direct current output by the DC interface supplies power to the first data conversion unit and the second data conversion unit to ensure that these units can work normally.
[0116] Connection between the first data conversion unit and the AC terminal:
[0117] The first data conversion unit: the L / N interface is connected to the AC terminal and is used to receive or send a power carrier signal.
[0118] Connection between the first data conversion unit and the second data conversion unit:
[0119] The first data conversion unit: The TTL interface is connected to the TTL interface of the second data conversion unit and is used to receive and send TTL data.
[0120] Connection between the second data conversion unit and the RS-232 terminal:
[0121] Second data conversion unit: The RS232 interface is connected to the RS-232 terminal and is used for receiving and sending RS-232 data.
[0122] For example, the connection between the filter unit and the conversion unit:
[0123] Filter unit: It is composed of components such as varistors and safety capacitors and is located before the conversion unit.
[0124] Conversion unit: The AC interface is connected to the filter unit to receive the alternating current processed by the filter unit; the DC interface outputs direct current.
[0125] Connection between the conversion unit and the first data conversion unit and the second data conversion unit:
[0126] Conversion unit: The DC interface outputs direct current and is connected to the power supply interfaces of the first data conversion unit and the second data conversion unit.
[0127] Connection between the first data conversion unit and the AC terminal:
[0128] The first data conversion unit: the L / N interface is connected to the AC terminal and is used to receive or send a power carrier signal.
[0129] Connection between the first data conversion unit and the second data conversion unit:
[0130] The first data conversion unit: the TTL interface is connected to the TTL interface of the second data conversion unit.
[0131] Connection between the second data conversion unit and the RS-232 terminal:
[0132] The second data conversion unit: the RS232 interface is connected with the RS-232 terminal.
[0133] You can also use a high-speed TTL or LVDS interface, such as the SN74LVDS93N, to achieve faster data transfer speeds.
[0134] High-performance EMC components such as high-pass filters, low-pass filters or common-mode chokes can also be used to improve the performance of the filtering unit.
[0135] According to an embodiment of the present application, a status display unit is used to display the power status of the device and the data reception and transmission status of the power carrier; the status display unit is connected to the status interface of the first data conversion unit.
[0136] Specifically, LED indicator light: a red LED light indicates a power state, a green LED light indicates a data receiving state, and a blue LED light indicates a data sending state.
[0137] Status interface connection: The status display unit is connected to the first data conversion unit through the status interface to obtain power status and data transmission status information.
[0138] State recognition logic: Use a microcontroller or simple logic circuit to recognize the state information and control the state of the LED light.
[0139] The connection relationship between the status display unit and other parts of the system is as follows:
[0140] Status interface connection: The status display unit is connected to the status interface of the first data conversion unit to obtain the power status and data transmission status information of the device.
[0141] The workflow of the status display unit includes:
[0142] Power status indication: When the device is powered on, the red LED light turns on, indicating that the device is powered on.
[0143] Data receiving status indication: When data is being received, the green LED light will light up or flash, indicating that data is being received.
[0144] Data sending status indication: When data is being sent, the blue LED light will light up or flash, indicating that data is being sent.
[0145] According to one embodiment of the present application, the AC terminal is connected to 220V mains electricity.
[0146] Specifically, the AC terminal uses a C14 socket that complies with the IEC 60320 standard and can be connected to a standard C13 plug.
[0147] Safety measures: The AC terminal is equipped with an insulating shell and is connected to the ground port of the device to ensure user safety.
[0148] Connection method: The AC terminal is directly connected to the 220V mains power supply, without the need for an additional power adapter.
[0149] According to one embodiment of the present application, the RS-232 terminal is connected to an RS-232 user interface.
[0150] Specifically, RS-232 interface type: usually uses a standard RS-232 connector, such as a DB-9 or DB-25 connector.
[0151] Data interface connection: connected to the RS232 interface of the second data conversion unit through the RS-232 terminal, used to receive and send RS-232 data.
[0152] Data transmission protocol: Follow RS-232 standard to ensure the correctness and compatibility of data transmission.
[0153] According to one embodiment of the present application, the first data conversion unit adopts the SSC1642 chip.
[0154] Specifically, the SSC1642 chip: as the core processing unit of the first data conversion unit, supports DBPSK modulation and demodulation, and can operate at a communication rate of 5Kbps.
[0155] Signal detection circuit: Use circuits such as high-pass filters and band-pass filters to extract the power carrier signal from the alternating current.
[0156] Signal conversion circuit: Use the SSC1642 chip to convert the detected analog power carrier signal into a digital TTL signal.
[0157] According to an embodiment of the present application, the second data conversion unit adopts a MAX3232 chip.
[0158] Specifically, the MAX3232 chip: as the core processing unit of the second data conversion unit, can convert the TTL level to the RS-232 level and has a built-in signal amplification function.
[0159] Data interface: The TTL level interface is connected to the first data conversion unit for data exchange.
[0160] Power supply interface: powered by direct current provided by the conversion unit.
[0161] According to one embodiment of the present application, the communication rate of the first data conversion unit is 5 Kbps.
[0162] Specifically, the SSC1642 chip: as the core processing unit of the first data conversion unit, supports DBPSK modulation and demodulation, and can operate at a communication rate of 5Kbps.
[0163] Signal detection circuit: Use circuits such as high-pass filters and band-pass filters to extract the power carrier signal from the alternating current.
[0164] Signal conversion circuit: Use the SSC1642 chip to convert the detected analog power carrier signal into a digital TTL signal.
[0165] Example 2
[0166] like Figure 2 As shown, the present application also provides a power carrier to RS-232 communication method, which is applied to a hardware device including a filtering unit, a conversion unit, a first data conversion unit and a second data conversion unit, including:
[0167] Monitor whether there is a power carrier signal in the alternating current on the AC terminal according to the first data conversion unit, and if so, convert the power carrier signal into a first logic signal and send it to the second data conversion unit;
[0168] When the second data conversion unit receives the first logic signal, it converts the first logic signal into a second logic signal and sends it to the user through the output terminal.
[0169] According to one embodiment of the present application, it also includes:
[0170] The second data conversion unit monitors whether the output terminal receives user data, and if so, converts the data into the first logic signal and sends it to the first data conversion unit;
[0171] The first data conversion unit converts the received first logic signal into the power carrier signal, and sends it to the mains through the AC terminal.
[0172] According to an embodiment of the present application, the first data conversion unit and the second data conversion unit implement conversion of the first logic signal and the second logic signal through level conversion.
[0173] Anything not described in this application can be achieved by adopting or drawing on existing technologies.
[0174] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0175] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A power carrier to RS-232 communication device, characterized in that: include: The filter unit is used to filter out electromagnetic interference signals from the 220V alternating current input from the AC terminal; a conversion unit, used to convert the alternating current processed by the filtering unit into direct current, and to supply power to the first data unit and the second data unit; The first data conversion unit is used to monitor the power carrier signal in the alternating current in real time, and convert the power carrier signal into a first logic signal through DBPSK modulation and demodulation; The second data conversion unit is used to monitor whether the output terminal receives user data and convert the received first logic signal into a second logic signal; The filtering unit is connected to the AC port of the conversion unit, the DC port of the conversion unit is connected to the power supply interface of the first data conversion unit, and the signal interface of the first data conversion unit is connected to the signal interface of the second data conversion unit.
2. The device according to claim 1, characterized in that Also includes: Status display unit, used to display the power status of the device and the data receiving and sending status of the power carrier; The status display unit is connected to the status interface of the first data conversion unit.
3. The device according to claim 1, characterized in that The AC terminal is connected to 220V mains electricity.
4. The device according to claim 1, characterized in that The output terminal is connected to the output port of the second data conversion unit, and the output terminal is connected to the user interface.
5. The device according to claim 1, characterized in that The first data conversion unit adopts SSC1642 chip.
6. The device according to claim 1, characterized in that The second data conversion unit adopts a MAX3232 chip.
7. The device according to claim 5, characterized in that The communication rate of the first data conversion unit is 5 Kbps.
8. A method for converting power carrier to RS-232 communication, applied to a hardware device including a filtering unit, a conversion unit, a first data conversion unit and a second data conversion unit, characterized in that: include: Monitor whether there is a power carrier signal in the alternating current on the AC terminal according to the first data conversion unit, and if so, convert the power carrier signal into a first logic signal and send it to the second data conversion unit; When the second data conversion unit receives the first logic signal, it converts the first logic signal into a second logic signal and sends it to the user through the output terminal.
9. The method according to claim 8, characterized in that Also includes: The second data conversion unit monitors whether the output terminal receives user data, and if so, converts the data into the first logic signal and sends it to the first data conversion unit; The first data conversion unit converts the received first logic signal into the power carrier signal, and sends it to the mains through the AC terminal.
10. The method according to claim 8, characterized in that The first data conversion unit and the second data conversion unit implement conversion of the first logic signal and the second logic signal through level conversion.
Citation Information
Patent Citations
Modem based on EURIDIS protocol
CN105553514A
Multi-frequency point carrier host system for medium voltage carrier communication
CN105790793A
Flush power line carrier communication modem
CN2638337Y
Serial data converter for power line communication
KR101400688B1
