CN105515615A - Power line carrier communication method - Google Patents
Power line carrier communication method Download PDFInfo
- Publication number
- CN105515615A CN105515615A CN201610016890.4A CN201610016890A CN105515615A CN 105515615 A CN105515615 A CN 105515615A CN 201610016890 A CN201610016890 A CN 201610016890A CN 105515615 A CN105515615 A CN 105515615A
- Authority
- CN
- China
- Prior art keywords
- machine
- main frame
- data
- modulator
- demodulator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/542—Systems for transmission via power distribution lines the information being in digital form
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/56—Circuits for coupling, blocking, or by-passing of signals
Abstract
The invention discloses a power line carrier communication method, which comprises the following steps that a host and all slaves are set into a receiving state at ordinary times, wherein a modulation frequency of a modem of the host is set to be 150kHz, and a modulation frequency of modems of the salves is set to be 100kHz; the host sends data to the slaves: the modem is set into a 100kHz sending state, then the data is sent through a serial sending interface TXD, and is modulated into a 100kHz FSK carrier signal through the modem, and the FSK carrier signal is coupled to a transformer and to a power line. The method is reasonable in design, convenient to use, simple in circuit and low in cost, and all modulation and demodulation functions are realized by virtue of LM1893 and a small number of external elements.
Description
Technical field
The invention particularly relates to a kind of electric line carrier communication method.
Background technology
In various distributed real-time, usually need to carry out remote data transmission between scm application system, at present, the most frequently used method is the serial line interface utilizing single-chip microcomputer, is realized by the connection laid specially.But, some system difficult wiring for various reasons, some system is due to high degree of dispersion, and wiring cost is high, as Automatic meter reading system, network alarm system etc.In these similar systems, realize the method for remote data communication between single-chip microcomputer by power line carrier, there is incomparable superiority.But because power line has the characteristic of strong noise, high decay, make the actual track more complicated of electric line carrier communication, although also there is the power line carrier special module of some better performances available, selling at exorbitant prices, cannot promote.
Summary of the invention
The object of the invention is to for above-mentioned the deficiencies in the prior art, a kind of electric line carrier communication method is provided.
Technical scheme of the present invention is achieved in that
A kind of electric line carrier communication method, method is as follows: main frame and be allly all set to accepting state from machine at ordinary times, wherein the frequency, demodulation frequency of host modem is set to 150kHz, 100kHz is set to from the frequency, demodulation frequency of machine modulator-demodulator, main frame sends data to from machine: the transmission state first modulator-demodulator being arranged to 100kHz, then send mouth TXD by serial and send data, the FSK carrier signal of 100kHz is modulated into through modulator-demodulator, pass through coupling transformer, be coupled on power line, be in the carrier signal all reception of the modulator-demodulators from machine power lines of accepting state, and complete demodulation, data are inputted respective CPU by serial interface closing in RXD, when receiving the data of first character joint from machine, if the busy mark of main frame, forbid sending data from machine to main frame, and the data of a byte are often received from machine, pass through interrupt service subroutine, successively to systematic code, address code distinguishes, as identical with the machine, then proceed the reception of subsequent data, until receive end mark, then modulator-demodulator is switched back the demodulation state of 150kHz by main frame, then the data received are verified from machine, and modulator-demodulator is switched to the modulation condition of 150kHz, time delay certain hour, by the situation of correcting errors obtained according to verification, beam back main frame.Main frame receives data, to correcting errors, mark judges, as error identification or confiscate loopback message within a certain period of time, then carries out order repeating transmission, send the carrier frequency of data acquisition 150kHz from machine to main frame, its course of work is substantially identical to sending data from machine with main frame.
Main frame and from machine comprise main frame transmitting-receiving bitcom and from machine transmitting-receiving bitcom, main frame, to adopt from the reception of machine and interrupt controlling to start, inquiry mode is adopted to receive after starting, transmitting-receiving bitcom only realizes data receiver or the transmission of one-time continuous, and complete once complete communication process also needs corresponding main program to coordinate.
Main frame is all connected with power line by modulator-demodulator from machine with all.
Modulator-demodulator adopts LM1893.
Beneficial effect of the present invention:
The present invention is reasonable in design, easy to use, utilizes LM1893 and a small amount of outward element to realize the repertoire of modulation and demodulation, and circuit is simple, and cost is low.
Accompanying drawing explanation
Below in conjunction with the embodiment in accompanying drawing, the present invention is described in further detail, but do not form any limitation of the invention.
Fig. 1 is power line carrier communication system structure chart of the present invention;
Fig. 2 is master controller modem circuit figure of the present invention;
Fig. 3 is that main frame of the present invention sends subroutine flow chart;
Fig. 4 is of the present invention from owner's program flow diagram.
Embodiment
Consult shown in Fig. 1, a kind of electric line carrier communication method of the present invention, method is as follows: main frame and be allly all set to accepting state from machine at ordinary times, wherein the frequency, demodulation frequency of host modem is set to 150kHz, 100kHz is set to from the frequency, demodulation frequency of machine modulator-demodulator, main frame sends data to from machine: the transmission state first modulator-demodulator being arranged to 100kHz, then send mouth TXD by serial and send data, the FSK carrier signal of 100kHz is modulated into through modulator-demodulator, pass through coupling transformer, be coupled on power line, be in the carrier signal all reception of the modulator-demodulators from machine power lines of accepting state, and complete demodulation, data are inputted respective CPU by serial interface closing in RXD, when receiving the data of first character joint from machine, if the busy mark of main frame, forbid sending data from machine to main frame, and the data of a byte are often received from machine, pass through interrupt service subroutine, successively to systematic code, address code distinguishes, as identical with the machine, then proceed the reception of subsequent data, until receive end mark, then modulator-demodulator is switched back the demodulation state of 150kHz by main frame, then the data received are verified from machine, and modulator-demodulator is switched to the modulation condition of 150kHz, time delay certain hour, by the situation of correcting errors obtained according to verification, beam back main frame.Main frame receives data, to correcting errors, mark judges, as error identification or confiscate loopback message within a certain period of time, then carries out order repeating transmission, send the carrier frequency of data acquisition 150kHz from machine to main frame, its course of work is substantially identical to sending data from machine with main frame.
Main frame and from machine comprise main frame transmitting-receiving bitcom and from machine transmitting-receiving bitcom, main frame, to adopt from the reception of machine and interrupt controlling to start, inquiry mode is adopted to receive after starting, transmitting-receiving bitcom only realizes data receiver or the transmission of one-time continuous, and complete once complete communication process also needs corresponding main program to coordinate.
Main frame is all connected with power line by modulator-demodulator from machine with all.
Modulator-demodulator adopts LM1893.
Above illustrated embodiment is better embodiment of the present invention, only be used for conveniently the present invention being described, not any pro forma restriction is done to the present invention, have in any art and usually know the knowledgeable, if do not depart from the present invention carry in the scope of technical characteristic, utilize the Equivalent embodiments that the done local of disclosed technology contents is changed or modified, and do not depart from technical characteristic content of the present invention, all still belong in the scope of the technology of the present invention feature.
Claims (5)
1. an electric line carrier communication method, it is characterized in that: method is as follows: main frame and be allly all set to accepting state from machine at ordinary times, wherein the frequency, demodulation frequency of host modem is set to 150kHz, 100kHz is set to from the frequency, demodulation frequency of machine modulator-demodulator, main frame sends data to from machine: the transmission state first modulator-demodulator being arranged to 100kHz, then send mouth TXD by serial and send data, the FSK carrier signal of 100kHz is modulated into through modulator-demodulator, pass through coupling transformer, be coupled on power line, be in the carrier signal all reception of the modulator-demodulators from machine power lines of accepting state, and complete demodulation, data are inputted respective CPU by serial interface closing in RXD, when receiving the data of first character joint from machine, if the busy mark of main frame, forbid sending data from machine to main frame, and the data of a byte are often received from machine, pass through interrupt service subroutine, successively to systematic code, address code distinguishes, as identical with the machine, then proceed the reception of subsequent data, until receive end mark, then modulator-demodulator is switched back the demodulation state of 150kHz by main frame, then the data received are verified from machine, and modulator-demodulator is switched to the modulation condition of 150kHz, time delay certain hour, by the situation of correcting errors obtained according to verification, beam back main frame.
2. main frame receives data, to correcting errors, mark judges, as error identification or confiscate loopback message within a certain period of time, then carries out order repeating transmission, send the carrier frequency of data acquisition 150kHz from machine to main frame, its course of work is substantially identical to sending data from machine with main frame.
3. a kind of electric line carrier communication method as claimed in claim 1, it is characterized in that: described main frame and from machine comprise main frame transmitting-receiving bitcom and from machine transmitting-receiving bitcom, main frame, to adopt from the reception of machine and interrupt controlling to start, inquiry mode is adopted to receive after starting, transmitting-receiving bitcom only realizes data receiver or the transmission of one-time continuous, and complete once complete communication process also needs corresponding main program to coordinate.
4. a kind of electric line carrier communication method as claimed in claim 1, is characterized in that: described main frame is all connected with power line by modulator-demodulator from machine with all.
5. a kind of electric line carrier communication method as claimed in claim 1, is characterized in that: described modulator-demodulator adopts LM1893.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016890.4A CN105515615A (en) | 2016-01-12 | 2016-01-12 | Power line carrier communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610016890.4A CN105515615A (en) | 2016-01-12 | 2016-01-12 | Power line carrier communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105515615A true CN105515615A (en) | 2016-04-20 |
Family
ID=55723326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610016890.4A Pending CN105515615A (en) | 2016-01-12 | 2016-01-12 | Power line carrier communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105515615A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107968757A (en) * | 2016-10-20 | 2018-04-27 | 国民技术股份有限公司 | A kind of demodulation method and system of shift keying modulation signal |
WO2021197044A1 (en) * | 2020-03-30 | 2021-10-07 | 阳光电源股份有限公司 | Data transceiving control method and application system therefor |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0880308A2 (en) * | 1997-05-22 | 1998-11-25 | Giorgio Reverberi | Device for monitoring and managing lighting systems |
CN101075827A (en) * | 2007-07-18 | 2007-11-21 | 李大东 | Digital information transmitting system based on power circuit |
CN102104399A (en) * | 2011-01-16 | 2011-06-22 | 郭建国 | System for ensuring power line carrier communications between energy meter gateways and white information appliances |
CN102546033A (en) * | 2011-12-15 | 2012-07-04 | 广东佳和通信技术有限公司 | Multimachine communication device achieved by adopting pulse modulation combined with serial port mode |
CN102890661A (en) * | 2011-07-19 | 2013-01-23 | 北京精益达明电子科技有限责任公司 | Host-slave communication protocol |
CN103441913A (en) * | 2013-09-05 | 2013-12-11 | 桂林电子科技大学 | Low-voltage DC power line bus communication system and communication method |
CN103547048A (en) * | 2013-11-14 | 2014-01-29 | 东莞欧其照明有限公司 | Lamp control system and method based on power line |
CN103916284A (en) * | 2013-01-06 | 2014-07-09 | 上海开通数控有限公司 | RS485 communication interface automatic baud rate and communication address detection method |
-
2016
- 2016-01-12 CN CN201610016890.4A patent/CN105515615A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0880308A2 (en) * | 1997-05-22 | 1998-11-25 | Giorgio Reverberi | Device for monitoring and managing lighting systems |
CN101075827A (en) * | 2007-07-18 | 2007-11-21 | 李大东 | Digital information transmitting system based on power circuit |
CN102104399A (en) * | 2011-01-16 | 2011-06-22 | 郭建国 | System for ensuring power line carrier communications between energy meter gateways and white information appliances |
CN102890661A (en) * | 2011-07-19 | 2013-01-23 | 北京精益达明电子科技有限责任公司 | Host-slave communication protocol |
CN102546033A (en) * | 2011-12-15 | 2012-07-04 | 广东佳和通信技术有限公司 | Multimachine communication device achieved by adopting pulse modulation combined with serial port mode |
CN103916284A (en) * | 2013-01-06 | 2014-07-09 | 上海开通数控有限公司 | RS485 communication interface automatic baud rate and communication address detection method |
CN103441913A (en) * | 2013-09-05 | 2013-12-11 | 桂林电子科技大学 | Low-voltage DC power line bus communication system and communication method |
CN103547048A (en) * | 2013-11-14 | 2014-01-29 | 东莞欧其照明有限公司 | Lamp control system and method based on power line |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107968757A (en) * | 2016-10-20 | 2018-04-27 | 国民技术股份有限公司 | A kind of demodulation method and system of shift keying modulation signal |
CN107968757B (en) * | 2016-10-20 | 2020-12-18 | 国民技术股份有限公司 | Demodulation method and system for frequency shift keying modulation signal |
WO2021197044A1 (en) * | 2020-03-30 | 2021-10-07 | 阳光电源股份有限公司 | Data transceiving control method and application system therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101404556B (en) | One-wire bus communication method | |
CN204928889U (en) | Many interfaces protocol converter | |
CN110187172A (en) | A kind of ammeter monitoring system converted based on infrared modulated with wireless communication | |
CN103200082A (en) | Ethernet radio network gateway based on Z-Wave technology | |
CN205068378U (en) | Multi -functional wireless serial ports device | |
CN205142203U (en) | Automatic transceiver circuits of RS485 | |
CN105515615A (en) | Power line carrier communication method | |
CN108512907A (en) | The equipment communication means of half transparent transmission | |
CN208240198U (en) | Car license recognition equipment | |
CN102929830A (en) | Software simulation rapid communication protocol | |
CN103454951A (en) | Synchronous serial communication interface device | |
CN210222118U (en) | Ammeter monitoring system based on infrared modulation conversion and wireless communication | |
CN205356339U (en) | Power line carrier wave communication device | |
CN208369601U (en) | A kind of high speed 1553B bus communication interface module | |
CN203618013U (en) | RS485-Profibus PA bus converter | |
CN105162792A (en) | USB network card and Ethernet data conversion method | |
CN104485985B (en) | Letter transfer device and letter transfer method suitable for short-wave radio station communication | |
CN201869212U (en) | Two-wire-system host computer circuit | |
CN201985886U (en) | Two-wire slave machine circuit | |
CN106372022B (en) | A kind of usb signal isolation extension device and method | |
CN208623685U (en) | A kind of router and gateway integral box | |
CN203504768U (en) | Green non-driven wireless modem/WIFI router device | |
CN217590985U (en) | 5G communication centralized device and mobile terminal | |
CN211702555U (en) | WIFI module circuit board | |
CN202535353U (en) | Quadrature modulation power line carrier communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160420 |
|
WD01 | Invention patent application deemed withdrawn after publication |