CN102045086A - Power line carrier wave communication method based on ARM7 and ST7538 - Google Patents

Power line carrier wave communication method based on ARM7 and ST7538 Download PDF

Info

Publication number
CN102045086A
CN102045086A CN2009100242283A CN200910024228A CN102045086A CN 102045086 A CN102045086 A CN 102045086A CN 2009100242283 A CN2009100242283 A CN 2009100242283A CN 200910024228 A CN200910024228 A CN 200910024228A CN 102045086 A CN102045086 A CN 102045086A
Authority
CN
China
Prior art keywords
power line
data
power
sci
communication
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
Application number
CN2009100242283A
Other languages
Chinese (zh)
Inventor
郗晓勇
孟小军
汪鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Yinhe Power Instruments and Meters Stock Co Ltd
Original Assignee
Shaanxi Yinhe Power Instruments and Meters Stock Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shaanxi Yinhe Power Instruments and Meters Stock Co Ltd filed Critical Shaanxi Yinhe Power Instruments and Meters Stock Co Ltd
Priority to CN2009100242283A priority Critical patent/CN102045086A/en
Publication of CN102045086A publication Critical patent/CN102045086A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention relates to power line carrier wave communication technology, comprising a microcontroller, a modulation-demodulation chip, a power line interface and a software control program. The invention provides a new power communication method with small investment and rapid effectiveness by utilizing an AC power line as a communication line and applying the electric power carrier wave communication technology.

Description

A kind of power line carrier communication method based on ARM7 and ST7538
Technical field
The present invention relates to a kind of electric line carrier communication technology.
Technical background
Automatic meter reading system mainly contains wire communication technology and power carrier communication technology at present.The wire communication technology is preponderated with its stability as conventional method, but wire communication shop lineman's journey is great, and is artificially damaged easily; Especially under the situation that residential building has built up, in the wall surface backguy, put to no little inconvenience again to resident family.
The Principle of Communication of traditional low voltage power line carrier system is as shown in Figure 1:
Data are sent by Master Communication Equipment, through communication interface modules, deposit in one section buffering area in the microcontroller processing, communicate modulation after the encoded again processing, are coupled on the power line at last.At the other end of power line, data receive to separate from power line after decoupling zero again and are transferred to the microcontroller, after communication interface to from communication equipment.In whole system, microcontroller is the core of system, and it is responsible for the coordination and the scheduling of each task in the whole system.And power line interface mainly plays the function of coupling, isolation, filtering and protection.
Summary of the invention
The objective of the invention is to, utilize AC power cord as communication line, power application carrier communication technology provides a kind of new electric power communication method.
The present invention is achieved in that by hardware system and software systems and constitutes.
Hardware system contains micro controller, modem chip, power line interface.
1. the selection of micro controller
Because have unfavorable factors such as signal attenuation is big, time variation is big, noise effect is big on the low-voltage power line, these problems cause the rising of the error rate, communication quality seriously descends.Except the communication device that chooses improves communication quality from the aspect of " firmly ", reduce outside the error rate, another kind of solution is to adopt the strong coding and decoding scheme of some error correcting capabilities, this may make that algorithm is complicated, arithmetic speed reduces and then causes traffic rate to descend, this method is comparatively harsh to the requirement of processor calculating speed, also requires little processing that stronger controlled function is arranged simultaneously.After taking into account operational capability and control performance, the present invention has selected the LP2132 single-chip microcomputer of the ARM kernel of Philip (Philips) company for use, LPC2132 is based on a microcontroller of supporting 32/16 ARM7TDMI-SCPU of real-time simulation and embedded tracking, and has the high speed Flash memory of the embedding of 64kB.The memory interface of 128 bit widths and unique accelerating structure can move 32 codes under maximum clock speed.Less encapsulation and extremely low power consumption make LPC2132 can be used for mini-system ideally, as access control and POS machine.
2. the selection of modem chip
The present invention has selected the ST7538 of SGSTHOMSON company.ST7538 can realize reliable communication under the very wide channel circumstance of noise band.The all functions that transmit and receive data that ST7538 is inner integrated by serial communication, can be connected with microprocessor easily.Inside has the automatic control of voltage and electric current is controlled automatically, as long as can be connected in the power network by small number of external devices such as coupling transformers.ST7538 is a powerful, power carrier chip that integrated level is very high, and it is the application of family and industrial environment, has taked multiple Anti-Jamming Technique.
3. power line interface is used for connecting the device to power line, is a coupling circuit--be used for the transmission and the reception of fsk signal; Also be a filtering system simultaneously--can filter out electric power signal, and noise signal and the surging signal of 220V/50Hz reliably.
Software systems of the present invention have been controlled finishing of target.
Operation principle of the present invention is: data are sent by Master Communication Equipment, through communication interface modules, deposit in one section buffering area in the microcontroller processing, communicate modulation after the encoded again processing, are coupled on the power line at last.At the other end of power line, data receive to separate from power line after decoupling zero again and are transferred to the microcontroller, after communication interface to from communication equipment.In whole system, microcontroller is the core of system, and it is responsible for the coordination and the scheduling of each task in the whole system.And power line interface mainly plays the function of coupling, isolation, filtering and protection.
The present invention utilizes AC power cord as communication line, and power application carrier communication technology provides the new method of the power communication of a kind of small investment, instant effect.
Description of drawings
Fig. 1. the system principle diagram of traditional power line carrier communication;
Fig. 2. the power line interface circuit schematic diagram of the present invention's prize;
Fig. 3. the systems soft ware schematic flow sheet.
Embodiment
Below in conjunction with accompanying drawing, narrate embodiments of the invention.
Present embodiment contains hardware: micro controller, modem chip, power line interface.The LP2132 single-chip microcomputer of the ARM kernel of selecting Philip (Philips) company for use of micro controller; The ST7538 of the selection SGSTHOMSON company of modem chip.
The circuit of power line interface is as shown in Figure 2: it at first is a coupling circuit, is used for the transmission and the reception of fsk signal; Also be a filtering system simultaneously, can filter out electric power signal, and noise signal and the surging signal of 220V/50Hz reliably.Transtation mission circuit is made of C4, C5, R3, L3, D1, D2, D3, T1, C1, L1, R1, and wherein C4, C5, R3, L3 and C1, L1, R1 constitute two band pass filters respectively, and D1, D2, D3 constitute protective circuit.The desirable resonance frequency of two band pass filters can be calculated by following formula:
Figure B2009100242283D0000031
Figure B2009100242283D0000032
Receiving circuit is made of C2, C3, R2, L2, D1, D2, D3, T1, C1, L1, R1; wherein D1, D2, D3 constitute protective circuit equally; and the reception bandwidth-limited circuit of C2, C3, a second order of R2, L2 formation, its centre frequency f0 and quality factor Q can be calculated by following formula:
Fig. 3 display system software flow.When system power-up started, system program entered the state that receives data from power line, began to detect the correctness that has that it's too late of ripple signal, whether was transformed into the Rule of judgment that receives data mode from SCI as system with this.If the carrier signal of detecting and correct, then system begins to receive the data that transmit from power line, and this moment, SCI mouth interrupt status was to power up initial value afterwards, and promptly the SCI mouth is in to receive and interrupts closing.If there is not carrier signal at the beginning, then system begins to detect the SCI mouth, judges whether the SCI mouth has data to send, and determines whether will enter data receiving state with this.If power line and SCI mouth all free of data transmit generation, then system reenters detected state, restarts to detect power line, enters new round circulation.
Being in reception and transmit status simultaneously for fear of the SCI mouth, causing data collision, is to finish with the inquiry and being provided with of interruption of status word in the program.No matter be to receive data or after the SCI mouth is received data, all will judge the situation of system channel, thereby decision is that data are passed to power line or pass to communication equipment from PL2132 from the interrupt status of SCI mouth from power line.In case data forwarding is finished, then whole system is got back to detected state, waits for the startup of new round data transmit-receive.
Low-voltage powerline carrier communication is a problem with broad prospect of application.But the low-voltage power power distribution network is an open network, when transmission signals, have decay big, disturb characteristics such as strong, impedance variation complexity, on power line, carry out at a high speed, reliable, safe data communication also has many technical problems to need research.As center processor, the communication module that realizes as modem chip with ST7538 can realize reliable communication to this scheme, has certain practical value with this a high-performance microcontroller of PL2132.

Claims (3)

1. the device for power line carrier communications based on ARM7 and ST7538 is characterized in that: contain micro controller, modem chip, power line interface;
Said micro controller is selected the LP2132 single-chip microcomputer of the ARM kernel of Philip (Philips) company for use;
Said modem chip, the ST7538 of selection SGSTHOMSON company.
Said power line interface is a coupling circuit.
2. according to the transmission method of the described device for power line carrier communications of claim 1, it is characterized in that:
When system power-up started, system program entered the state that receives data from power line, began to detect the correctness that has that it's too late of ripple signal:
If the carrier signal of detecting and correct, then system begins to receive the data that transmit from power line, and promptly the SCI mouth is in to receive and interrupts closing;
If there is not carrier signal at the beginning, then system begins to detect the SCI mouth, judges whether the SCI mouth has data to send;
If power line and SCI mouth all free of data transmit generation, then system reenters detected state, restarts to detect power line, enters new round circulation.
3. according to the transmission method of the described device for power line carrier communications of claim 2, it is characterized in that: the situation of judging system channel from the interrupt status of SCI mouth.
CN2009100242283A 2009-10-10 2009-10-10 Power line carrier wave communication method based on ARM7 and ST7538 Pending CN102045086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100242283A CN102045086A (en) 2009-10-10 2009-10-10 Power line carrier wave communication method based on ARM7 and ST7538

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100242283A CN102045086A (en) 2009-10-10 2009-10-10 Power line carrier wave communication method based on ARM7 and ST7538

Publications (1)

Publication Number Publication Date
CN102045086A true CN102045086A (en) 2011-05-04

Family

ID=43910928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100242283A Pending CN102045086A (en) 2009-10-10 2009-10-10 Power line carrier wave communication method based on ARM7 and ST7538

Country Status (1)

Country Link
CN (1) CN102045086A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097819A1 (en) * 2011-12-31 2013-07-04 深圳市比亚迪汽车研发有限公司 Electric automobile charging/discharging carrier apparatus and communication method and system
CN103312376A (en) * 2012-03-15 2013-09-18 深圳光启创新技术有限公司 Communication system based on power line and visible light
CN105743544A (en) * 2014-05-26 2016-07-06 国网河南省电力公司南阳供电公司 Interface network used for nonlinear load power grid management optimization

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9718374B2 (en) 2011-12-31 2017-08-01 Shenzhen Byd Auto R&D Company Limited Electric vehicle and charging system for electric vehicle
US9604545B2 (en) 2011-12-31 2017-03-28 Shenzhen Byd Auto R&D Company Limited Carrier communication method and system based on charging-discharging of electric vehicle and carrier device
US9260022B2 (en) 2011-12-31 2016-02-16 Shenzhen Byd Auto R&D Company Limited Electric vehicle and power system and motor controller for electric vehicle
US9272629B2 (en) 2011-12-31 2016-03-01 Shenzhen Byd Auto R&D Company Limited Power system switching between charge-discharge function and driving function and electric vehicle comprising the same
US9290105B2 (en) 2011-12-31 2016-03-22 Shenzhen Byd Auto R&D Company Limited Electric vehicle and active discharging system for electric vehicle
EP2800284A4 (en) * 2011-12-31 2016-05-18 Shenzhen Byd Auto R&D Co Ltd Electric automobile charging/discharging carrier apparatus and communication method and system
US10173545B2 (en) 2011-12-31 2019-01-08 Byd Company Limited Electric vehicle and discharging apparatus thereof
US9969290B2 (en) 2011-12-31 2018-05-15 Shenzhen Byd Auto R&D Company Limited Charging system for electric vehicle and electric vehicle comprising the same
US9718373B2 (en) 2011-12-31 2017-08-01 Shenzhen Byd R&D Company Limited Electric vehicle and discharging apparatus thereof
WO2013097819A1 (en) * 2011-12-31 2013-07-04 深圳市比亚迪汽车研发有限公司 Electric automobile charging/discharging carrier apparatus and communication method and system
US9493088B2 (en) 2011-12-31 2016-11-15 Shenzhen Byd Auto R&D Company Limited Electric automobile and integrated control system thereof
US9796287B2 (en) 2011-12-31 2017-10-24 Shenzhen Byd Auto R&D Company Limited Electric vehicle and discharging apparatus thereof
CN103312376A (en) * 2012-03-15 2013-09-18 深圳光启创新技术有限公司 Communication system based on power line and visible light
CN105743544A (en) * 2014-05-26 2016-07-06 国网河南省电力公司南阳供电公司 Interface network used for nonlinear load power grid management optimization

Similar Documents

Publication Publication Date Title
CN105680908B (en) A kind of Whole frequency band power-line carrier communication method
CN102325065A (en) Double-channel digital family control and interaction system and implementation method thereof
CN103152236B (en) The protocol conversion module of Modbus and TCP and intelligent breaker
CN101639819A (en) Bus system adopting pulse interval for serial communication and two-core belt power supply
CN102868575A (en) Simulation method and system of electric power line carrier communication system
CN102045086A (en) Power line carrier wave communication method based on ARM7 and ST7538
CN101750526A (en) Method and device for collecting data in automatic meter reading system
CN106124880A (en) A kind of power transmission and transforming equipment comprehensive state Monitoring Data communication system being wirelessly transferred based on LoRa
CN105388868A (en) Intelligent home remote monitoring system
CN101916464A (en) Zigbee technology-based access control management method and device
CN102331735A (en) PLC bus control circuit applied to digital home
CN201263157Y (en) Minitype embedded network module for transferring UART interface to CAN-bus
CN201114143Y (en) Converter for universal serial to CAN bus
CN105573947A (en) APB (Advanced Peripheral Bus) based SD/MMC (Secure Digital/ MultiMedia Card) control method
CN201374722Y (en) Multi-serial port dual-Ethernet networked server
CN201994934U (en) Low pressure electric power communication connector based on carrier wave communication and RS485
CN201994955U (en) Intelligent home control device for supporting wire and wireless remote communication
CN101924579A (en) Method for dynamically transmitting power line carrier wave information and processing module thereof
CN205539186U (en) Based on smart power grids management electric energy meter
WO2015017339A1 (en) Electromagnetic compatibility filter with an integrated power line communication interface
CN201708810U (en) Serial-to-Ethernet device
CN201238294Y (en) Water-proof protection module of radio base station
CN202694559U (en) Carrier concentrator
CN202918273U (en) Analog quantity digitization isolation device
CN205490538U (en) Full -band power line carrier communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110504