Design and Development of A Power Line Communication System Kim Siong
Design and Development of A Power Line Communication System Kim Siong
ELEC 4840B
: C3067053
Cohort
: EE206 (EE28)
Supervisor :
Dr Jamil Khan
(UON supervisor)
Mr Lee Kar Heng (PSB supervisor)
ELEC 4840B
Project No: JK04
ABSTRACT
Nowadays, there are many technologies that have been developed for control
applications. Power line communication (PLC) is one of the technologies that have
proved useful for control applications. It is widely use in home automation, automotive
and internet access applications.
The aim of the project is to design a Power Line Communication Modem Circuit to
control the home appliances between a Host 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 labview 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.
TABLE OF CONTENTS
1.0 Introduction ............................................................................................................................ 1
1.1 Objectives ........................................................................................................................... 4
1.2 Scopes of Project................................................................................................................. 4
1.2.1 Project Planning ........................................................................................................... 4
1.2.2 System Design .............................................................................................................. 4
1.2.3 System verification....................................................................................................... 4
2.0 Literature Review .................................................................................................................... 5
2.1 Source Data and Message Frames ...................................................................................... 5
2.2. Layers, Access Methods and Protocols .............................................................................. 6
2.2.1 Physical Layer and Modulation Techniques................................................................. 6
2.2.2 The Medium Access MAC Layer ................................................................................... 7
2.2.3 Protocols for MAC Layer in Power Line Modems ........................................................ 7
2.3 Characteristics on the Power Line Communication ............................................................ 8
2.3.1 Modulation and Coding for Narrowband Systems ...................................................... 8
2.3.2 Signal Attenuation........................................................................................................ 9
2.3.3 Signal-to-Noise Ratio.................................................................................................... 9
2.3.4 Coupling the Signal onto the Channel........................................................................ 10
2.4 Homeplug Power Line Modem ......................................................................................... 11
2.4.1 Homeplug Transmission Techniques ......................................................................... 12
2.4.2 HomePlug Standard & Comparison ........................................................................... 13
2.5 Other Power Line Modem Standards ............................................................................... 14
2.6 Frequency Allocation by FCC and CELENEC ...................................................................... 15
3.0 Specification of Power line Modem ...................................................................................... 17
3.1 Power Line Modem Hardware .......................................................................................... 17
LIST OF TABLE
Table 1: MAC Layer in Power Line Modems ................................................................................. 8
Table 2: Coupling Components [21] ........................................................................................... 11
Table 3: Comparison table for Homeplug 1.0 & Homeplug AV .................................................. 14
Table 4: Five spectrum bands ..................................................................................................... 16
Table 5: Broadband IC Chipsets .................................................................................................. 19
Table 6: Narrowband IC Chipsets................................................................................................ 20
Table 7: Specification of Power Line Modem Circuit .................................................................. 22
Table 8: Transmission Parameter [2] .......................................................................................... 25
Table 9: Receiving Parameter [2] ................................................................................................ 26
Table 10: Clock Parameter .......................................................................................................... 27
Table 11: RS232/TTL Level Converter ......................................................................................... 29
Table 12: Coupling circuit requirement ...................................................................................... 39
Table 13: Address Field .......................................................................................................... 46
Table 14: Data Field ................................................................................................................ 46
Table 15: Cost Analysis........................................................................................................... 60
LIST OF FIGURE
Figure 1: PLC Enable Electrical Appliance ..................................................................................... 2
Figure 2: Conceptual Block Diagram ............................................................................................. 3
Figure 3 : Project Planning ............................................................................................................ 5
Figure 4: Coupling Circuit Requirement ...................................................................................... 10
Figure 5: CELENEC Frequency Band Allocation [7] ..................................................................... 16
Figure 6: FCC Frequency Band [8] ............................................................................................... 16
Figure 7: Power Line Modem Hardware Design ......................................................................... 17
LIST OF ACRONYMS
Acronyms
PLC
FHSS
MAC
ASK
FSK
PSK
QAM
Quadrature Modulation
CDMA
OFDM
MOV
TTL
Transistor-transistor level
Project No JK04
ELEC4840B
1.0 Introduction
A Power Line Communication System is a system whereby communication signals
were sent and received on household and industrial 50Hz current-bearing power line.
Power Line Carrier Communication has recently become a popular technology for
home automation and networking. It is because power line is a relatively cheaper and
more robust communication channel used throughout the world except wireless
channel. It is used more commonly used than any other communication channel.
A simple digital communication system usually consists of an encoder and a modulator
on the transmitting side, and a decoder and a demodulator on the receiving side.
However, to support two ways communication (full duplex or half duplex), modem
(modulator/demodulator) devices are designed and used in communication systems
nowadays.
A power line modem is an all-in-one device which consists of an encoder, a decoder, a
modulator, and a demodulator. As the current bearing AC mains power line is used as
a transmission medium, additional coupling circuits are required in power line modems
for better protection, isolation and impedance matching.
Power line modems can be used in various applications; however, the study on the
use of Power Line Modems for this report will mainly be focused on home automation
applications.
The figure 1 below illustrates a typical conceptual view on the use of power line
modem for home automation network.
Page 1 of 51
Project No JK04
ELEC4840B
A general purpose PC serves as the PLC (Power Line Communication) enabled main
control center or a master Node for home automation network. PLC enabled Lamp, air
conditioner, television, and other electrical devices are slave nodes in the network.
From the point of view of a home user, a PLC enabled TV will look exactly the same as
a normal TV as the communication and control unit is embedded within and no
additional wire is required for communication.
The AC power line acts as the communication medium for all the electrical devices and
master control centre a data acquisition, monitoring, and control software will run on
the PC.
Page 2 of 51
Project No JK04
ELEC4840B
Switching on/off the electrical lamps, checking room temperature and controlling the
air conditioner and other various automatic applications can be configured through
proper use of developed software running on PC.
The figure below shows the conceptual block diagram of a PLC enabled electrical
device. It will have a power line modem, a control unit and a normal function unit
internally.
Function Unit
Power Supply
Power Point
Power Line
Modem
Control Unit
Address/Command/
Data
Figure 2: Conceptual Block Diagram
Each node of PLC enabled electrical device will have its own network address. The
Power Line Modem enables the address, command, and data message frames to be
sent over the AC Power Line.
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 near future.
Page 3 of 51
Project No JK04
ELEC4840B
1.1 Objectives
The objective of this project is to design and develop a low cost narrowband power
line communication module applies in home automation system to control home
appliances. By using the existing power point socket outlet through power line, to
control and regulate the lamp.
Page 4 of 51
Project No JK04
ELEC4840B
Project No JK04
ELEC4840B
command coded in binary form. The message frame will always start with preamble to
signify the devices that a message is coming and always end with a stop bit.
Project No JK04
ELEC4840B
Protocol
Description
It is a primary/secondary access method in which the primary
station asks the secondary station if it has any data to send.
Arbitration based polling can handle heavy traffic and does
provide QoS guarantees
Polling.
Aloha
These schemes, e.g. token ring, token bus, are efficient under
Token
heavy symmetric loads. However, they can be expensive to
passing
schemes. implement and can cause serious problems with lost
tokens on noisy unreliable channels such as PLs
Page 7 of 51
Project No JK04
ELEC4840B
CSMA with overload detection has been proposed for PLC.
CSMA is a contention based access method in which each
station listens to the line before transmitting data. CSMA is
efficient under light to medium traffic loads and for many lowduty-cycle busty terminals (e.g. Internet browsing).
Carrier
Sense
Multiple
Access
(CSMA)
Project No JK04
ELEC4840B
Page 9 of 51
Project No JK04
ELEC4840B
SNR =
Re ceivedPower
NoisePower
Coupling Circuit
o
o
o
Conductive
coupling
High pass filter
Galvanic
isolation
(optional)
Over Voltage
protection
There are two method of connecting the power line communication module into the
network [13]:
Capacitive Coupling: A capacitor is responsible for the actual coupling and the
signal is modulated onto the networks voltage waveform.
Page 10 of 51
Project No JK04
ELEC4840B
Inductive Coupling: An inductor is used to couple the signal onto the networks
current waveform. Inductive coupling some time is rather noisy, however, the
advantage is, no physical connection to the network has to be made. Thus
make it safer to install as compare to capacitive coupling.
When designing the coupling circuit, two major types of components as described in
the table 10 below should be considered. Another important feature to take notes is
the protective coupler circuitry. Inclusive of varistors, zener diodes and also coupling
transformers need to consider in the circuit, which involving current and voltage
transients might also damage the chipset.
Component
Coupling
capacitors
Coupling
transformers
Description
These are extensively used in power line communications, most
commonly to couple the PLC signal to the power line, but also as a
part of more sophisticated, higher-order filters. The requirements
and essential characteristics of coupling capacitors have been
standardized in ANSI C93.1-1972. Coupling capacitors carry the
communication current and thus have to be high-frequency
capacitors (self resonant frequency has to be higher than the
modulation frequency). Conversely, they have to filter the power
voltage (dropped across the component), as well as voltage surges
and therefore need to be high-voltage capacitors. The filtering
characteristics of the coupling capacitors are quite dependent on the
load onto which the waveform terminates.
The main function of the coupling transformers is to provide galvanic
isolation and impedance adaptation, but the coupling transformer
has also to pass the high-frequency communication signal and it has
to be designed as such. The power waveform has a much lower
frequency and much higher voltage level, and the power waveform
has a saturating influence in the order of at least 100000 compared
to the communication waveform. Therefore, the power waveform is
typically first low-pass filtered before entering the coupling
transformer.
Table 2: Coupling Components [21]
Project No JK04
ELEC4840B
Homeplug standards [17] are basically to fulfill the requirement of networking and data
communication in the homes and offices to obsolete the need of extra wiring and
networking. Usually in every home there is power line to run different appliances so
homeplug follow this scenario to control communication between different rooms. The
technology developed in homeplug is able to send data, voice and video within
different rooms.
The challenges faced by the Alliance were the way to combat other electrical noise
[15] that exists due to the use of a power outlet to transfer information. Whenever any
appliance is turned on or off, it creates noise that could possibly disrupt data transfer
through the wiring. Another problem that has also been resolved was the lack of
standardization in the market for the digital networking products and technologies.
With the implementation of the IEEEs 1901 broadband power line standard (due for
approval on September, 2010), Homeplug technology has been validated by both
IEEE and the market and was selected as a baseline technology for the standard
since it is the most widely deployed technology. The three major specification
published by Homeplug (Homeplug AV, Homeplug Green PHY and the developing
Homeplug AV2) are all compliant to IEEE 1901 and the Homeplug Power Line
Alliance will be the certifying body for IEEE 1901 products [17].
2.4.1 Homeplug Transmission Techniques
OFDM was adopted by the Homeplug Power Line Alliance [17] because of its
robustness to noise and the fact that it is a parallel data transmission method using a
number of parallel FDM sub-bands. Due to the absence of moving devices in the
power line network, there are no Doppler effect. The other problem is timing offset,
which can be mitigated by offset estimation and compensation.
Spread spectrum signal modulation is different [18]. Since the useful bandwidth in the
power line channel is under 25 MHz, the effect of spread spectrum modulation is
considered limited. Using single carrier modulation on the power line is possible, but
equalizers could be needed to reduce the delay spread effect, but the cost will be
relatively high.
In order to cope with the wide variation in channel conditions, the physical layer
protocol (PHY) for PLC must be adaptive, intelligently using more robust modulation
Page 12 of 51
Project No JK04
ELEC4840B
and coding schemes, with lower data rates as needed. In addition, critical protocol
management information requires high fidelity forward error correction (FEC) coding to
ensure that the protocol functions correctly in the worst case situations [18].
2.4.2 HomePlug Standard & Comparison
The homeplug version v1.0 is designed for low bandwidth and cost effective solution
for the power line communication. The homeplug 1.0 uses 84 sub carriers in the
frequency range of 1MHz to 4.5MHz. So the bandwidth of 3.5MHz is used to adjust all
the sub-carriers carrying different data streams [19]. The feature of FEC is also used
in the homeplug version 1.0. Medium access control is TDMA which provides better
quality of service. This feature is used without the major changing in the hardware
architecture. More work need to be done on the physical and MAC layer of the device,
although continuous research is also being done on network, session and transport
layer [15].
I.
II.
HOMEPLUG AV Standard
This standard is designed to provide sufficient bandwidth for HDTV and
VoIP.
III.
IV.
HOMEPLUG GREENPHY
It is a subset of Home Plug AV standard and a peak rate of 10 Mbps is
provided for this standard that is designed into smart meter and smaller
appliances.
V.
VI.
Project No JK04
ELEC4840B
Homeplug 1.0
Homeplug AV
14
256
128
84
56
4.3 - 20.9
DQPSK4
5.12
50
200
3072
1536
1058
917
1.8 30
1024 - QAM
40.96
75
Project No JK04
ELEC4840B
Frequency Range
Description
3 to 9 KHz
9 to 95 KHz
95 to 125KHz
125 to 140KHz
Project No JK04
140 to 148.5KHz
ELEC4840B
The use of this frequency band is limited to the energy
providers customers; no access protocol
is defined for this frequency band. Using"D-Band".
Page 16 of 51
Project No JK04
ELEC4840B
Along the transmission path, the source digital data input or 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.
Page 17 of 51
Project No JK04
ELEC4840B
The use of power line modem ICs simplifies the power line modem circuitry. The
modulator, demodulator circuits and interfaces to the Host are now all embedded in
single IC chip set. The host controller or PC may write data bytes to the
communication port of the modem IC chip set with the use of level converter.
With the use of power line modem IC, only level converter ICs such as MAX232, a
power supply circuit, analog front end, coupling circuit and sometimes external
oscillator circuits are required to design in a power line modem device. Some
intelligent modem ICs even have inherent error correction, coding/decoding and the
MAC Layer and Physical Layer Management built in a single chip.
The IC solutions available in the market can be one of the two categories:
Broad band chipsets, operating at 1.6Mhz up to 80 MHz frequency
Narrow band ICs, operation at frequencies less than 1 MHz
Page 18 of 51
Project No JK04
ELEC4840B
The table 5 below shows a summary on analysis of available broad band IC chipsets
in the market,
Vendor
Intellon
Part Number
INT6400/INT1400
chipset
Evaluation Board
*INT5130
HomePlug
AV/OFDM/200MBps
INT6400
HomePlug
1.0/OFDM/14Mbps
*Max2986
HomePlug 1.0
/OFDM/14 Mbps
MAX2990EVKITB#
HomePlug 1.0
/OFDM/14 Mbps
Maxim
The Piranha
**Cogency chipset
(CS1100+AD9875.)
*Conexant CX11647
Systems
*DS2
Supported
Homeplug
Version/spec
Associated key
Components
Price
$10.50/chip
$2500
Obsolete
$9.95/chip
$1500
HomePlug
1.0/OFDM/14Mbps
HomePlug
1.0/OFDM/14Mbps
The broad band chipsets have complex interfaces to host like MII (Media Independent
Interface) to support higher data rates. The costs of ICs and evaluation boards are
relatively higher than narrow band chipsets. The technical and sale support provided
by these suppliers are relatively poor. This could be that they are not keen to support
student project and they have minimum order quantity of these chip sets. Also, the
most important factor is that the technical datasheet is difficult to obtain.
Narrow Band chipset have simpler interfaces to the host. The cost of ICs and
evaluation boards are lower. Most importantly, the technical datasheet is available and
Page 19 of 51
Project No JK04
ELEC4840B
easy to obtain which simplifies our design work. Table 5 below shows a few narrow
band ICs
Vendor
ST
Ariane
Controls
Model
Supported
HomePlug
Version/spec
ST7540
Up to 4.8kbps
using FSK
EVALST7540-2 : BOARD EVAL
ST7540 PWR LINE TXRX
USD16.32
PLM-1
USD12.50
Up to 30kbps
using FSK
AC-EDP6 evaluation kit
Phillips
TDA5051AT
Yitran
0.625 to
7.5kbps using
DCSK
IT800
(Differential
Code Shift
Keying)
IT800(Evaluation Kit)
*Echelon
Cost
PL3120
ASK
modulation, with
data rate of
1.2kbps
USD157
USD500
USD10.50
USD10.20
USD1500
FSK modulation
with data rate of
5.4kps
TDA5051A is selected for this power line modem design 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 which can source locally
easily.
Page 20 of 51
Project No JK04
ELEC4840B
Page 21 of 51
Project No JK04
ELEC4840B
TDA5051A
Carrier Frequency
Modulation
Coupling Circuit
Interface Circuit
Range
Binary 0
Page 22 of 51
Project No JK04
ELEC4840B
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. For more detail on
TDA5051A modem IC specification refer to appendix A1
In this TDA5051A chipset, it can divide them into 3 major sections which make up a
complete modem IC. All these 3 major sections will be discussed in the next following
topic on their functionality and operation.
1. Transmission Section
2. Reception Section
3. Clock Section
Page 23 of 51
Project No JK04
ELEC4840B
f CR =
f OSC
64
7.3728 10 6
= 115 KHz
64
Transmission Section of the chip is designed in such a way that whenever the data
signal at DataIN pin (pin 1) is LOW, a burst of carrier frequency 115KHz is generated at
TXOUT pin (pin 10) as shown in the figure 11 the relationship between DataIN and
TXOUT. TXOUT pin is in a high-impedance state as long as the device is not transmitting.
Modulation is performed internally by control logic, ROM and digital to analog
conversion section. The carrier frequency is generated by scanning the ROM memory.
The power output stage can feed a 120 dBV (RMS) signal on a typical 30 load.
1
f CR
Page 24 of 51
Project No JK04
ELEC4840B
Table 8 below shows the parameters of transmission section essential for modem
design:
Parameter
Value
V IH (HIGH-level
input voltage @
DATA IN pin 1)
1.9V~5.5V
V IL (LOW-level
input voltage @
DATA IN pin 1)
0.5V ~0.9V
t W (DI)(min)
[minimum pulse
width@ DATA IN
pin 1]
190 us (typical @
fosc = 8.48 MHz)
Remark
These parameters are calculated at Vcc =
5V. This characteristics should be
considered in the interface circuit design to
TDA5051A DATA_IN pin
Vo(rms) output
carrier signal @ pin
10
(RMS value)
DATA_IN = LOW;
ZL = CISPR16
Io(max) power
amplifier maximum
output current @
pin 10 (peak value)
160 mA
DATA_IN = LOW;
ZL = 1
ZO output
impedance of the
power amplifier
VO output DC level
at pin 10
2.5 V
NIL
Page 25 of 51
Project No JK04
ELEC4840B
Value
V OH (HIGH-level output
voltage@ DATA OUT pin,
pin 14)
> 2.4V
V OL (LOW-level output
voltage@ DATA OUT pin,
pin 14)
<0.45V
82 - 122 dBV
Z I input impedance@ RX
pin, pin 14
V I DC level at pin RX IN
Remark
I OH = 1.6 mA , I OL = 1.6 mA
50k
2.5 V
Page 26 of 51
Project No JK04
ELEC4840B
Value
115KHz
64
Page 27 of 51
Project No JK04
ELEC4840B
4.2.1Serial Communication
Data transmission from computer using graphical user interface (GUI) to power line
communication modem via the serial communication, and this connection is based on
Electronic Industries Association (EIA232). DTE and DCE should be very familiar from
this EIA232 standard, which represent by Data communication Equipment (DCE) and
Data Terminal Equipment (DTE) respectively. These terms are used to indicate the
pin-out for the connectors on a device and the direction of the signals on the pins. The
computer is a DTE device, while most of other devices are usually DCE devices that
go with the current project, where the power line communication modem is a DCE
device.
Pin
Mnemonic
DCD
Signal
Direction
DTE <=
RD
Receive Data
DTE <=
TD
Transmit Data
DTE =>
DTR
DTE =>
Gnd
Signal Ground
DSR
DTE <=
RTS
Request To Send
DTE =>
CTS
Clear To Send
DTE <=
RI
Ring Indicator
DTE <=
Page 28 of 51
Project No JK04
ELEC4840B
Serial port on the computer generate serial signal voltage level in form of RS232 from
-3V to -25V with respect to signal ground (pin5) will assign as logic 1 (Mark).
Whereas voltages level from +3V to +25V will assign as logic 0 (Space). The
voltages range between -/+3V is considered a transition region for which a signal state
is not assigned.
TTL
Logic
-15V ..-3V
+2V ....+5V
High
+3V..+15V
0V...+0.8V
Low
Page 29 of 51
Project No JK04
ELEC4840B
Basically these Max232 provides 2-channel that covert +5V to +/-10V for RS232
operation. Capacitor (C1) will used in the first converter to double the +5V input to
+10V on capacitor (C3) at the V+ output. The second converter uses capacitor (C2) to
invert +10V to -10V on capacitor (C4) at the V- output [23]. For more detail of this
max232 IC chipset, kindly refer to the Appendix B
Project No JK04
ELEC4840B
However, after considering all this pro & con, having a reliable source is still an
essential for this device to prevent this constraints. After all, the consumption for this
entire device will not exceed 76mA [2], thus the energy usage is very 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 voltage regulator and few components act as half
wave rectifier. In this power supply, it consists of primary and secondary protection.
Secondary protection consists of the metal oxide varistor (MOV), rated at 230VAC for
the power line operation. This MOV will be able to limit the overvoltage spikes which
might damage Capacitor (C1). Whereas a primary protection includes an extra fast
fuse connected before the MOV, this is to overcome the long and severe overvoltage,
so that the fuse will be destroyed before the MOV.
Capacitor (C1) is used to discharge high voltage, whereas to R1 & L1 is connected
before the rectifier to prevent current surge during power up. And with D2 and C2 in
place, it provides a minimum voltage 28VDC before entering into the voltage regulator.
Which will eventually generate a +5VDC source after go through a voltage regulator.
Page 31 of 51
Project No JK04
ELEC4840B
IIN
IIN can be calculated from the equivalent circuit in figure 14, the given formula as
shown in Eq. (5.2.1)
V = IR + IX L + IX C
I IN
+ j 1 10 3
6
4
.
7
10
+ 68
6
470 10
) +
(5.2.1)
= 2300 + 0.7
Where = 2 50 = 314.159
j
j
I IN
+ 68 = 2300 + 0.7
+ j 314.159 1 10 3 +
6
6
314.159 470 10
314.159 4.7 10
Project No JK04
ELEC4840B
I IN =
230.70
687.1 84.32
I IN = 0.33584.32
I IN = 335mA
The equivalent circuit is used to calculate the IOUT, the formula is given in Eq. (5.2.2)
5V
Zth
I OUT =
V
Zth
C 3 = 100 F , XC 3 =
(5.2.2)
j
2 50 100 10 6
= j 31.83
C 4 = 47F , XC 4 =
j
2 50 47 10 9
= j 67725.5
Zth =
Zth =
XC 3 XC 4
XC 3 + XC 4
( j31.83) ( j 67725.5)
( j31.83) + ( j 67725.5)
Page 33 of 51
Project No JK04
ELEC4840B
Zth =
2155702.67 180
67757.33 90
Zth = 31.81 90
I OUT =
5
31.81
I OUT = 157 mA
From the data sheet of TDA5051A the maximum draw current is 76mA [2]. However,
the MAX232 interface circuit will draw extra 10mA [23], this will add up to 76mA giving
the total current consumption of Power Line Modem circuit to be approximately 86mA.
Despite the total consumption of the power line communication modem is about
86mA. For a safe use of power supply, the total draw current can go up to 157mA.
Page 34 of 51
Project No JK04
ELEC4840B
Figure 19: : Power Supply circuit (Equivalent Circuit Design Using Multisim
Multimeter (XSC1) is used for testing the output of the circuit. Looking at the output of
the circuit showing in figure 15, the output of the equivalent circuit shown 5.008VDC
which determines that the designed circuit met the power supply specification. This
simulation work also test the maximum input voltage source which this circuit can
withstand or before the result starts to saturate. This was being done by varying the
input up to some extend of +/- 50V, or in the fluctuation in the input, the output source
of the circuit remains stable and not affected.
An oscilloscope is also used in this simulation test to confirm the DC source level. As
shown from the oscilloscope, a 5VDC source is obtained.
Page 35 of 51
Project No JK04
ELEC4840B
This will be the last simulation test, multimeter is used to test the total output current of
the entire circuit. From figure 21 shown below, the total measure output current of the
circuit is 151.7mA. As compare to the calculated value (157mA) in Eq. 5.2.2 which is
slightly different by 6 mA. This could be due to the tolerant of the components used in
multisim.
Page 36 of 51
Project No JK04
ELEC4840B
In conclusion, base on calculated value, it was proven by the simulation test that the
circuit it safe and meet all expectation from the design.
(20 log10
(20 log10
Vout
)
1V
230V
) = 167 dBVrms
1V
Since the modem sensitivity of TDA5051A is about 82dBuV as specify from the
datasheet [2], it is mandatory to provide an attenuation of 167-82=85dB of the 50Hz
sine wave component.
However, the coupling network is not only a high-pass filter, the digital filter of the RX
section in TDA5051A needs an anti- aliasing filter in order to function properly.
Page 37 of 51
Project No JK04
ELEC4840B
With all these aspect, the coupling network behavior is in fact a band pass filter,
featuring a center frequency equal to the chosen carrier frequency for TDA5051A.
Table 12 below summarizes typical requirements which the coupling circuit design for
TDA5051A has to be considered at center frequency (carrier frequency FCR) 115 KHz:
Page 38 of 51
Project No JK04
ELEC4840B
RECEPTION MODE
35 Ohms
100 KHz
> 90 dB
> 50 dB
82 dBuVrms
7 Ohms
122 dBuVrms
VA
Z1
Z2
Vin
Page 39 of 51
Project No JK04
ELEC4840B
Z2
VOC = VIN
Z1 + Z 2
Where Z 1 = X C1 + X L1
Z 2 = X C 3 // X L 2
= 2 f = 2 3.1416 50 = 314.159
X C1 = (
1
C1
)=
1
= 67725.51
314.159 47 10 9
X C1 = X C 3 = 67725.51
X L1 = L1 = 2 3.1416 50 47 10 6 = 0.014765
X L1 = X L 2 = 0.014765
Z 1 = j 67725.51 + j 0.014765 = j 67725.49
Z2 =
j 67725.51 j 0.014765
=
j 67725.51 + j 0.014765
67725.51 90 )(0.01476590
j 67725.495
999.9670
999.9670
= 0.01476590
=
j 67725.495 67725.495 90
= j 0.014765
VOC = 23090(
0.01476590
j 67725.49 + j 0.014765
)
Page 40 of 51
Project No JK04
ELEC4840B
= 23090 (
= 230 90
0.01476590
j 67725.47
0.01476590
67725.47 90
= 50 10 6 270
This ratio will effectively eliminate the 230VRMS signal to 50 uV with attenuation of
133.25dB, effectively exceeding the requirement of 87dB by RX input of
TDA5051A.
Attenuation(dB
) = 20 log
230V
= 133.25 dB
50 10 6
Figure 25: Coupling Circuit Test (Equivalent Circuit Design Using Multisim)
Page 41 of 51
Project No JK04
ELEC4840B
As shown on the figure 26, input voltage was successfully suppressed to about 50 V. The
obtained result is equal to the calculated values.
The output current for the entired coupling circuit as shown in the figure 27. As
specify in the datasheet a typical 50k ohm input impedance which represent the RXIN
on the TDA5051A IC chipset.
Page 42 of 51
Project No JK04
ELEC4840B
Page 43 of 51
Project No JK04
ELEC4840B
Page 44 of 51
Project No JK04
ELEC4840B
Lower
Nibble
LSB
Higher
Nibble
MSB
Figure 30: Bit Pattern at COM Port for character A (1 stop bit, no parity)
Page 45 of 51
Project No JK04
ELEC4840B
Unit
Master
Slave 1
Slave 2
Slave 255
Address
(binary)
0000 0000
0000 0001
0000 0010
1111 1111
COMMAND
LIGHT 'xx' ON
LIGHT 'xx' OFF
DIM "xx"
Acknowledge
Higher
Nibble
0000
0111
1001
0100
Lower Nibble
bbbb
bbbb
bbbb
1011
Hex
0X
7X
9X
4B
Remark
Lamp Number X =
1~A
Dim Level X = 1~A
Acknowledge char:
Page 46 of 51
Project No JK04
ELEC4840B
because of the application of this project, as is just only controlling of appliances and
sending string of data. Also, it will minimize the error occur if the speed is too fast.
Page 47 of 51
Project No JK04
ELEC4840B
Oscilloscope
2 X Multimeter
Signal generator
Power Supply
Output
Voltage 5 VDC
Page 48 of 51
Project No JK04
ELEC4840B
Choosing quart crystal of 7.3728 MHz, a carrier frequency of 115 KHz will be
generated as shown from the oscilloscope in the figure 29. The test was carry out
when data input feed in with a high input signal (5VDC), about 500mV will generate at
the TX_OUT pin. And when data input feed in with a low input signal (0VDC), a 2.5 VDC
will generated at TX_OUT pin. All measurements obtained were accordance to
TDA5051A datasheet [2].
Page 49 of 51
Project No JK04
ELEC4840B
Figure 37 below shown a floating signal exist when data input signal is at open circuit.
A pull up resistor (as shown in figure 31) will be introduced by connecting across the
data input and 5VDC supply, to ensure that the signal will always stay high when not
transmitting.
Pull Up Resistor
Page 50 of 51
Project No JK04
ELEC4840B
Inject a 300Hz
into first modem,
as shown in the
blue waveform
Second modem
receive 300Hz,
as shown in
yellow
Project No JK04
ELEC4840B
Page 52 of 51
Project No JK04
ELEC4840B
Carried
frequency travel
along the AC line
Showing AC
mains present
Page 53 of 51
Project No JK04
ELEC4840B
Level
converter
Modem
Chip set
Coupling
Circuit
Figure 41 shown that the data was entered from a labview software, and this data will
transmit from one modem to another modem through level converter, and the result
shown that same data was obtained at the receiving end modem.
Page 54 of 51
Project No JK04
ELEC4840B
Page 55 of 51
Project No JK04
Distance
ELEC4840B
Display
Result
X
Figure 45: Distance Test between Two modems
Page 56 of 51
Project No JK04
ELEC4840B
Page 57 of 51
Project No JK04
ELEC4840B
Modem IC
chipset
Power
supply
Level
converter
Page 58 of 51
Project No JK04
ELEC4840B
Figure 49 shown below the complete setup of the power line communication modem
controller the lamp via the power line.
Power Supply
Quantity
Unit
price
Total
Cost
02
$1.20
$2.40
Inductor (1mH)
02
$0.50
$1.00
02
$2.50
$5.00
Diode (IN4006)
04
0.40
$1.60
02
$0.50
$1.00
02
$0.60
$1.20
02
$0.40
$0.80
Capacitor (47nF)
02
$0.50
$1.00
02
$0.80
$1.60
TDA5051A IC
02
$6.50
$13.00
Crystal (7.3728MHz)
02
$1.60
$3.20
Capacitor (22pF)
04
$0.40
$1.60
Resistor (2.2Mohm)
02
$0.20
$0.40
02
$5.30
$10.60
Component Description
Modem Chipset
Page 59 of 51
Project No JK04
ELEC4840B
Capacitor (10 F)
05
$0.40
$2.00
02
$1.20
$2.40
X2 capacitor(250V, 47nF)
02
$0.80
$1.60
Inductor (47H)
04
$0.40
$1.60
02
$0.60
$1.20
Capacitor (1 F, 16V)
02
$0.50
$1.00
02
$0.50
$1.00
Capacitor (10nF)
02
$0.50
$1.00
AC power plug
02
$3.50
$7.00
Modem casing
02
$5.00
$10.00
02
$2.00
$4.00
02
$2.00
$4.00
02
$4.00
$8.00
$5.00
$5.00
Coupling Circuit
Miscellaneous
Others
Total Cost
$94.20
Page 60 of 51
Project No JK04
ELEC4840B
Part B Plan
Page 61 of 51
Project No JK04
ELEC4840B
In this report, a basic understanding of the use of Power Line Modem ICs in Power
Line Modem Devices has been achieved, a conceptual approach to detailed circuit
construction using selected IC TDA5051A has been initiated, however, there are more
to be learned on the communication scheme of the interface from PC to IC, and a
detailed design of interface circuit is also another challenge. Practical Experiments
are required to understand the characteristics of IC, noise, impedance, and
attenuation behavior of the power line for the improvement of basic design. After all
the hardware requirements have been achieved, the software development in PC to
facilitate communication between two modem devices. All these requirements will be
considered in the future plan of the project.
References:
[1] http://hih.au.dk/Chipsets-8402.aspx
Page 62 of 51
Project No JK04
ELEC4840B
Page 63 of 51
Project No JK04
ELEC4840B
[15] HomePlug 1.0 powerline communication LANs protocol description and performance
results. International Journal Of Communication Systems. Int. J. Commun. Syst. 2003;16: (in
press) (DOI:10.1002/dac.601)
[16] HomePlug Alliance. HomePlug 1.0 Specification. June 2001
[17] http://www.homeplug.org/tech/ieee_1901
[18] M. Karl and K. Dostert, Selection of An Optimal Modulation Scheme for Digital
Communications over Low Voltage Power Lines, IEEE 4th Intl. Symp. Spread Spectrum
Tech. and Apps., vol. 3, 1996, pp. 108791
[19] Gardner S, Markwalter B, Yonge L. HomePlug standard brings networking to the home.
Communication Systems Design Magazine,
http://www.commsdesign.com/main/2000/12/0012feat5.htm,[Dec 2000].
[20] Microchip Application Note AN954
MAX232 data sheet
[21] DESIGN OF BROADBAND COUPLING CIRCUITS FOR POWERLINE
COMMUNICATION
Osama Bilal, Er Liu, Yangpo Gao and. Timo O. Korhonen
Communications Laboratory,
Helsinki University of Technology
P.O. Box 3000, FIN-02015 HUT, Finland
Phone: +358-9-4514905, Fax: +358-9-4512345
E-mail: {osama, liuer, gyp}@cc.hut.fi, [email protected]}
[22] Power Lin Communications
Theory and Applications for Narrowband and Boardband Communications over Power Lines
Editors, Hendrik C. Ferreira, Lutz Lampe, John Newbury, Theo G. Swart
[23] http://www.datasheetcatalog.org/datasheet/texasinstruments/max232.pdf
Design of Power-Line Communication System (PLC) Using a PIC Microcontroller
Q. Al-Zobi1, I. Al-Tawil2, K. Gharaibeh3 and I. S. Al-Kofahi
J. of Active and Passive Electronic Devices, Vol. 3, pp. 331340
Design of Impedance Matching Couplers
for Power Line Communications
Rodolfo Araneo #1, Salvatore Celozzi #2, Giampiero Lovat #3
# Department of Electrical Engineering Sapienza University of Rome
Via Eudossiana 18, 00184, Rome Italy
Power Line Communications: An Overview - Part I,II
Muhammad Salman Yousuf*, Mustafa El-Shafei**
* Research Assistant, Department ofElectrical Engineering
** Professor, Department of Systems Engineering
King Fahd University ofPetroleum and Minerals, Dhahran, KSA.
syousuf@kfupm. edu. sa, [email protected]. edu. Sa
Page 64 of 51
Project No JK04
ELEC4840B
Page 65 of 51
Project No JK04
ELEC4840B
Page 66 of 51
Project No JK04
ELEC4840B
Page 67 of 51
Project No JK04
ELEC4840B
Page 68 of 51
Project No JK04
ELEC4840B
Page 69 of 51
Project No JK04
ELEC4840B
Page 70 of 51
Project No JK04
ELEC4840B
Page 71 of 51
Project No JK04
ELEC4840B
Page 72 of 51