You are on page 1of 6

DATA TRANSFER AND CONTROL OF HOME

1 2 3 4
M, Tamil Alagan, K.Jayaprakash, D. Sreenivasan, and K. Somaya Vimalraju
APPLIANCES USING POWER LINE
COMMUNICATION
1,3,4
Asst.Prof./ EEE, E.G.S.Pillay Engg. College, Nagapattinam
2
P.G. Scholar./ EEE, Bharathiyar College of Engg. & Tech., Karaikal.

Abstract - Nowadays, there are many technologies that have Power line modems can be used in various applications;
been developed for control applications. Power line however, the study on the use of Power Line Modems for this
communication (PLC) is one of the technologies that have report will mainly be focused on home automation
proved useful for control applications. It is widely use in home applications.
automation, automotive and internet access applications. The
aim of the project is to design a Power Line Communication The figure 1 below illustrates a typical conceptual view on the
Modem Circuit to control the home appliances between a Host use of power line modem for home automation network.
PC and a Slave Application Device. This report will discuss on
the required technology and knowledge involved in the power
line modem design. Hence, information on how the concept of
modulation schemes are introduced, how signal will transmit
through the power line and eventually work plan for the
practical design of power line modem will be discussed in this
paper. Also, academic research and study on the performance
of the transmission system was elaborated in detail, such as,
by using the Multisim software to validate the design and
component used in the circuitry prior to the building of actual
circuitry. Lastly, a lab view software will be used to
demonstrate the two power line modem interact with each
other on this communication system, by controlling a lamp
from a PC.
Figure 1 Block Diagram
I.INTRODUCTION
A general purpose PC serves as the PLC (Power Line
A Power Line Communication System is a system whereby Communication) enabled main control centre or a master
communication signals were sent and received on household Node for home automation network. PLC enabled Lamp, air
and industrial 50Hz current-bearing power line. conditioner, television, and other electrical devices are slave
nodes in the network. From the point of view of a home user, a
Power Line Carrier Communication has recently become a PLC enabled TV will look exactly the same as a normal TV as
popular technology for home automation and networking. It is the communication and control unit is embedded within and
because power line is a relatively cheaper and more robust no additional wire is required for communication.
communication channel used throughout the world except
wireless channel. It is used more commonly used than any The AC power line acts as the communication medium for all
other communication channel. the electrical devices and master control centre a data
acquisition, monitoring, and control software will run on the
A simple digital communication system usually consists of an PC.
encoder and a modulator on the transmitting side, and a
decoder and a demodulator on the receiving side. However, to Switching on/off the electrical lamps, checking room
support two ways communication (full duplex or half duplex), temperature and controlling the air conditioner and other
modem (modulator/demodulator) devices are designed and various automatic applications can be configured through
used in communication systems nowadays. proper use of developed software running on PC.
A power line modem is an all-in-one device which consists of Each node of PLC enabled electrical device will have its own
an encoder, a decoder, a modulator, and a demodulator. As the network address. The Power Line Modem enables the address,
current bearing AC mains power line is used as a transmission command, and data message frames to be sent over the AC
medium, additional coupling circuits are required in power Power Line.
line modems for better protection, isolation and impedance
matching. Due to cost constraints, such kind of PLC enabled products
could seldom be found in the consumer market at this moment
in time, however, it is likely to see such kind of systems in the are required to design in a power line modem device. Some
near future. intelligent modem ICs even have inherent error correction,
coding/decoding and the MAC Layer and Physical Layer
A. SYSTEM DESIGN Management built in a single chip.
System design consists of hardware and software design. In The IC solutions available in the market can be one of the two
hardware design, design and building of associated circuitry, categories:
like coupling circuit, modem IC circuit, level converter and   Broad band chipsets, operating at 1.6Mhz up to 80
power supply. These works comprises of derivation of MHz frequency
mathematical model and simulation work. Whereas, the   Narrow band ICs, operation at frequencies less
software design, is to design and develop a Labview than 1 MHz
application for interfacing between power line modem and PC.
TDA5051A is selected for this power line modem design
II. POWER LINE MODEM project as it is a low cost but efficient IC with convenient
UART interfaces. The others advantage is the availability of
technical datasheet and lead time for purchasing the parts
The figure below shows is a general description of a power
which can source locally easily.
line modem hardware design.
B. Detail Design of Power Line Modem
The design of power line modem is divided into 3 main sub
units, which inclusive of digital unit, power supply and
coupling circuit. This is to ease off verification and
troubleshooting during the design process.
These main sub units are as follow:-
1. Digital Unit which consists of:
a. TDA5051A Modem IC Circuit
b. Interface Circuit
2. Power Supply
3. Coupling Circuit
Figure 2
The figure 3 below shows the signal and power connections
Along the transmission path, the source digital data input or between three sub-units:
output from the Transmit/Receive Buffer of an Embedded
Control Unit or a Host PC Communication Port is first
modulated onto a kHz frequency carrier, and then it is again
conditioned (filtered or amplified) and coupled upon 50Hz
230V AC mains line. The reception part of the modem
demodulates the received digital data back from the modulated
carrier.
A.Power Line Modem ICs
The figure below shows a typical IC Solution for power line
modem

The use of power line modem ICs simplifies the power line Fig.4 Signal & Power Connections for Power Line Modem
modem circuitry. The modulator, demodulator circuits and
interfaces to the Host are now all embedded in single IC chip C. TDA5051A Modem IC Functional Description and
set. The host controller or PC may write data bytes to the Important Design Parameters
communication port of the modem IC chip set with the use of TDA5051A is a modem Integration circuit chipset, operates
level converter. from a 5VDC supply. This dedicated to transmit data over a
With the use of power line modem IC, only level converter power line network by means of any two wire networks in
ICs such as MAX232, a power supply circuit, analog front exchanging information. The modulation scheme is used
end, coupling circuit and sometimes external oscillator circuits Amplitude Shift Keying (ASK) carrier technique with a data
baud rate of 600 or maximum of 1200. In this amplitude
modulation technique, the modulation signals for binary 1 is
equal to the amplitude of the carrier frequency and is “0” for
binary 0 as shown in figure 10. Amplitude shift keying (ASK) III. IMPLEMENTATION
is also called as on & off keying because of this unique
property. Max 232 Level converter
TDA5051A modem IC chipset will be used for direct interface
with RS232/TTL level converter from the modem to computer
serial port. The Max232 from Maxim is used as the heart of
RS232/TTL level converter. This Max232 IC provides the best
noise reduction and also very reliable again discharge and
short circuit. Also, its low power consumption logic can
operate in the range of 0V and +3.3V or even lower voltage.
The purpose of using this level converter in this design is to
covert TTL logic which operate between 0V to 5V into RS232
which having the operating voltage from -15V to
+15V.Whereby the voltage level operate for Data IN & Data
OUT from the modem IC chipset is about 2.5VDC. By doing
FIG: Amplitude Shift Keying that, modem IC chipset will not be damage with these high
level voltage.
With the help of few components connect externally which
used for decouple purposes. Also as a form of protection on
the chipset against overvoltage surge and negative transient
signals. A standard quartz crystal will used to connect on-chip
reference oscillator which required set the operating frequency
known as carrier frequency in transmission mode and
receiving mode which known as detection frequency. The chip
is based on the automatically tuned filters for transmit and
receive.

All inputs and outputs signal are compatible with TTL/CMOS


feature, which provide easy connection to the interface
hardware inputs & outputs port.

Figure : interface circuit design

Power Supply
Instead of using a 9V battery pack going into the voltage
regulator to obtain the 5VDC source to power the modem. AC
power supply will be designed to power the modem circuitry.
The reason is being, when using a 9V battery pack once the
voltage drop below 6.5VDC, the supply voltage after the
voltage regulator drop to below 4.5V. The modem chipset will
not be able to operate when the supply voltage is less than
4.75VDC according to the datasheet [2]. This problem will
encounter during the testing of modem chipset. Also, another
disadvantage of using the battery source is there won’t be any
indication/notification to the user when voltage fall below the
threshold value, the user will only aware or notify when the
Fig: TDA5051A chipset modem stop operation (transmit/receive). Despite it will
provide a pure DC source for the modem. On the other hand,
In this TDA5051A chipset, it can divide them into 3 major the advantage of using battery pack is, when using the modem
sections which make up a complete modem IC. All these 3 it need not to turn on the power source to power up the
major sections will be discussed in the next following topic on modem, thus it help to save some energy.
their functionality and operation. However, after considering all this pro & con, having
1. Transmission Section a reliable source is still an essential for this device to prevent
this constraints. After all, the consumption for this entire
2. Reception Section
device will not exceed 76mA, thus the energy usage is very
3. Clock Section low. AC power supply would be the most ideal choice instead
of battery source.
This AC power supply circuit will be fed in with 230VAC and
eventually step down and covert to 5VDC with the help of Since the modem sensitivity of TDA5051A is about 82dBuV
voltage regulator and few components act as half wave as specify from the datasheet [2], it is mandatory to provide an
rectifier. In this power supply, it consists of primary and attenuation of 167-82=85dB of the 50Hz sine wave
secondary protection. Secondary protection consists of the component.
metal oxide varistors (MOV), rated at 230VAC for the power However, the coupling network is not only a high-pass filter,
line operation. This MOV will be able to limit the overvoltage the digital filter of the RX section in TDA5051A needs an
spikes which might damage Capacitor (C1). Whereas a anti- aliasing filter in order to function properly.
primary protection includes an extra fast fuse connected
before the MOV, this is to overcome the long and severe In transmission mode of TDA5051A, the band-pass filter is
overvoltage, so that the fuse will be destroyed before the used to eliminate the unexpected harmonics digitized carrier
MOV. and the aliasing components around the sampling frequency
Capacitor (C1) is used to discharge high voltage, whereas to (Fosc/2+Fc, Fosc/2-Fc) as shown in figure22. In general, the
R1 & L1 is connected before the rectifier to prevent current main features of coupling network, is to 50 Hz rejection >
surge during power up. And with D2 and C2 in place, it 80dB with anti aliasing for the digital filter >50dB at the
provides a minimum voltage 28VDC before entering into the sampling frequency of (1/2fOSC) as shown in figure.
voltage regulator. Which will eventually generate a +5VDC
source after go through a voltage regulator.

Figure : power supply Fig: Coupling network curve

Coupling Circuit Design


In this coupling circuit a double LC bandpass filter is
used to provide efficient rejection 50Hz signal (high
pass) and anti-aliasing (low pass) for digital filter without
any adjustment or tunable from the components. All
values on this coupling circuit will be determine by
impedance matching from the calculation as discussed
on the circuit analysis. A unidirectional transient
suppressor (SA5.0A, D1) is connected across the
TXOUT and RXIN to protect from overvoltage. It also
protects the TXOUT from negative transient voltage
which also might damage the circuit output amplifier.

Figure power supply equivalent circuit

Coupling Circuit Specification


As modem IC chipset usually has maximum voltage ratings of
less than 50V, the operating voltage of AC mains can easily
damage the IC chipset. The coupling circuit has to effectively
block this AC mains signal preventing it from reaching the
input of modem communication system [21]. Another main
purpose is to block low frequency power signal which allow
high frequency (carrier frequency) to pass into the modem IC
chipset.

A typical 230V AC mains power line can be seen as a 50Hz


sine wave signal source, delivering 167 dBμ Vrms to the
modem communication system at about 30 ohms line
impedance of load.
IV. IMPLEMENTATION Safety device includes, MCB, Variable Transformer (Varic),
Fuse and isolating transformer will be used during the test
when the present of 230VAC.
B. IMPLEMENTING THE POWER LINE MODEM CONTROL Purpose of having those protection devices are as follows:-
MESSAGE FRAME ON RS232 COM PORT  Main Circuit Breaker (MCB) – To protect from Live to
Neutral shorted
The figure below shows the standard bit pattern sending
character “A” (hexadecimal ‘41’ or binary 0100 0001) at serial  Variable Transformer (Varic) – Vary the voltage, from 0 V
COM port: to the respective nominal value (230VAC). This is to prevent
further damage to the component if any components not
function or operating to its respective optimum performance.

 Fuse – To protect the circuit from overload

 Isolating Transformer – Although isolating transformer can


eliminates the noise and blocking of DC signals. However, in
this setup is just to eliminates bonding and it contains the
shock hazard within the device where it might be at a
hazardous potential different between the tested devices.

REFERENCES

[1] http://hih.au.dk/Chipsets-8402.aspx
Interface message frame
The interface message frame which is supposed to be sent out [2] TDA5051A Product Data Sheet
via serial COM port will have a 16 bits preamble, an 8 bits
address field, 8 bits data field and 1 stop bit fields. [3] Design of Power-Line Communication System (PLC)
Considering 1 start bit and 1 stop bit of COM port Using a PIC Microcontroller
communication, it will take approximately 113 us (1/300 * Q. Al-Zobi1, I. Al-Tawil2, K. Gharaibeh3 and I. S. Al-
[16+8+8+1+1] ~ 113 us) to send this message frame at the Kofahi
baud rate of 300 bits per second. J. of Active and Passive Electronic Devices, Vol. 3, pp.
331–340
Preamble
It is planned to use a 16 bit preamble of 8 falling and 8 rising
edges. Implementing this on standard COM Port, the interface [4] Power Line Communications: An Overview - Part I,II
software has to send character “UU” via PC COM port as a Muhammad Salman Yousuf*, Mustafa El-Shafei**
preamble.
[5]http://america2.renesas.com/applications/wired_conn
ectivity/powerline_comm.html

[6] http://www.homeplug.org/home/

[7]http://www.google.com.sg/imglanding?q=CENELEC
%20Frequency%20Band
%20Allocation&imgurl=http://plc.qcslink.com/IntroPLC/Im
age1.gif&imgrefurl=http://plc.qcslink.com/IntroPLC/LowB
WDD.htm&usg=__c8zs58mw4F-
51_CBZ2mBPsFdwnw=&h=353&w=691&sz=6&hl=en&u
m=1&itbs=1&tbnid=fXgXCGyJv8O4OM:&tbnh=71&tbnw
=139&prev=/images%3Fq%3DCENELEC
%2BFrequency%2BBand%2BAllocation%26um
V.TEST RESULT AND VERIFICATION %3D1%26hl%3Den%26sa%3DG%26tbs
Testing for the power line communication modem is divided %3Disch:1&um=1&sa=G&tbs=isch:1&start=0#tbnid=fXg
into 4 mains hardware and each hardware is tested XCGyJv8O4OM&start=0
individually before interface and combining them together.
These 4 hardware includes, power supply, modem IC circuit, [8]http://www.google.com.sg/imglanding?q=FCC
coupling circuit and level converter. And because this test %20frequency
involves with 230VAC, before commencement of the test, %20band&imgurl=http://www.furaxa.com/images/UWB-
safety device and safety awareness need to be considered and Spectrum-
put in place. FCC.jpg&imgrefurl=http://www.furaxa.com/Press
%2520release%2520aug
%252015%25202003.htm&usg=__RG3nkVNMuQ5kQtAl
YZro8sQjvag=&h=277&w=540&sz=35&hl=en&um=1&itb
s=1&tbnid=YmSWUFij6wBGlM:&tbnh=68&tbnw=132&pr
ev=/images%3Fq%3DFCC%2Bfrequency%2Bband
%26um%3D1%26hl%3Den%26sa%3DX%26tbs
%3Disch:1&um=1&sa=X&tbs=isch:1&start=0#tbnid=_xy
TNt-BCYK7KM&start=6

[9]L.M Millanta et al., “A Classification of the Power-Line


Voltage Disturbances for an Exhaustive Description and
Measurement”, Proceedings of the IEEE National
Symposium on Electromagnetic Compatibility, Denver,
CO, USA, pp. 33-226, May 1989

[10] Olaf Hooijien, ‘ Aspects of Residential Power Line


Communication” , Ph D. Thesis, Shaker Verlag GmbH,
ISBN 3-8265-3429-8,1998

[11] R.M Vines et al, “Noise on the residential power


distribution circuits” , IEEE Transactions on
Electromagnetic Compatibility, Vol. 26. No. 4, pp.161-
168, November 1984

[12] L.M Millanta et al., “A Classification of the Power-


Line Voltage Disturbances for an Exhaustive Description
and Measurement”, Proceedings of the IEEE National
Symposium on Electromagnetic Compatibility, Denver,
CO, USA, pp.332-226, May 1989

[13] Fredrik Roos, “Powerline Communication in Train


Control Systems”, Master Thesis, KTH, Stockholm, 2000

[14] Lars Selander, “Power-Line Communication –


Channel Properties and Communication Strategies” ,
Ph.D. Thesis, Lund University, 1999

You might also like