SlideShare a Scribd company logo
1 of 38
AN NJAH NATIONAL UNIVERSITY
FACULTY OF ENGINEERING
ELECTRICAL ENGINEERING DEPARTMENT
Power line
communication
Remote control of electrical equipment
Prepared by; Amani Shelbayeh, Lara Nasser, Sawsan Salah
2009
This project is about control the electrical equipment remotely, by using the FSK signal through the
power line. We managed to control two devices in our project.
Power line communication
Table of Contents
1. Team and Acknowledgements ........................................................................... 3
1.1. Team Members................................................................................................ 3
1.2. Acknowledgements.......................................................................................... 3
2. Introduction........................................................................................................ 3
2.1. Project objective............................................................................................... 4
2.2. System concept................................................................................................. 4
2.3. Transmitter section.......................................................................................... 6
2.3.1. Control panel................................................................................................. 7
2.3.2. Trigger circuit………………………………………………………………………………………….. 7
2.3.3. Microcontroller………………………………………………………………………………………… 8
2.3.4. VCO-Voltage Controlled Oscillator …………………............................8
2.3.5. Line Interface Transformer……………………………………………………………………… 9
2.4. Receiver section..............................................................................................11
2.4.1. Line Interface Transformer..........................................................................12
2.4.2. Phase locked loop ……………………………………………………………………………………12
2.4.3. Microcontroller……………………………………………………………………………………….13
2.4.4. Relay circuit…………………………………………………………………………………………….13
3. Source codes......................................................................................................14
3.1. Transmitter code............................................................................................14
3.2. Receiver code ................................................................................................17
4. Conclusions.......................................................................................................19
5. Further scope....................................................................................................19
6. Limitations........................................................................................................20
7. Circuits schematics………………………………………………………………………………………21
7.1 transmitter schematic……………………………………………………………………………….21
7.1.1. Trigger circuit………………………………………………………………………………………..22
7.1.2.VCO circuit…………………………………………………………………………………………….23
7.1.3.MCU FSK Supervisor….……………………………………………………………………….….24
7.1.4..line interface transformer…………………………………………………………………….25
7.2.Receiver side……………………………………………………………………………………………26
7.2.1.Line interface transformer……………………………………………………………………27
7.2.2.Phase locked loop…………………………………………………………………………………28
7.2.3.MCU FSK Supervisor…………………………………………………………………………….29
8.Project hardware……………………………………………………………………………………….30
Appendix 1: list of components……………………………………………………………………..
Page 2
Power line communication
1. Team and Acknowledgements
1.1. Team Members
Our group for this project consisted of three undergraduate electrical engineering
students.
• Amani Shelbayeh
• Lara Nasser
• Sawsan Salah
1.2. Acknowledgements
We would like to acknowledge the efforts and contributions made by the lab technicians in
the Electrical and Computer Engineering department at the university. Namely: eng.
Manar Qamheyeh and eng. Ala’a AlDeen Bani Odeh, eng. Nuha Odeh.
We would also like to thank Dr. Mazen Rasekh for his time and for agreeing to take on this
project. Thank you for your support in making this project a success.
2. Introduction
Power line communication system can be defined as is a system for carrying data on a
conductor also used for electric power transmission.
Our project is based on the concept of digital transmission over AC-power lines.
This concept enables the remote control of electrical equipments via the power line. In
Industries, remote control by wireless control is very difficult due the presence of high
Electromagnetic interference.
Control by Optical means needs line of sight communication, which will not be possible all
the time.
Under circumstances, control by data transmission over power lines will be the best
option.
This concept will have applications in process control industries and in places where the
equipments to be controlled are many and are widely spaced.
Moreover, this concept uses existing power lines for transmission of data and thus does
not involve any expenditure for the transmission medium.
This Project aims at implementation of such a Microcontroller based remote control
system by transmission of control data over the power lines. FSK line carrier modems are
Page 3
Power line communication
used for transmission of data over the power line. The digital data to be transmitted
modulates an FSK generator for onward transmission over the power lines.
Line carrier modems transmits and receives digital data via electric power lines instead of
telephone lines or dedicated lines. The FSK modems are interfaced to the power line via
high frequency isolation transformers.
Selective remote control means selection and operation of remotely placed equipments
from a common transmitter.
Some application areas of such a system 
1) Industrial Controls
2) Domestic appliance Control
3) Street Light Control
4) Security system Control
2.1 PROJECT OBJECTIVE:
The project involves the design and development of selective remote control system over
AC power lines as the communication channel. The system will be designed around the
microcontroller AT89C2051. The system will be designed to operate with single phase
power line. For interface with Three- phase power lines, only the line interface circuit
needs to be modified using three phase transformer.
2.2. System Concept
Selective remote control means, selecting one of the remotely placed equipments and
operating it from another centralized location.
In our project, two remotely placed equipments will be used; we will express them by using
two lamps.
To identify these remotely placed units, an address has to be assigned to each of the units.
Any eight bit word ranging from 00h to FFh can be used as addresses for these remote
units. This eight bit word is used as address for the transmission from the transmitter to
the receiver. Asynchronous serial communication protocol is used in the system.
UART port of the microcontroller is used for this purpose.
To operate the remotely placed units, a selector switch at the transmitter selects one of
the units. This selector switch enables one of the port pins of the microcontroller. When
the “Push to Start” switch is operated, a serial data communication process is initiated by
the microcontroller, wherein the address of the unit selected is transmitted as FSK signal
Page 4
Power line communication
over the power line. Once this data is transmitted, it will be available at all points
wherever the power lines runs.
The FSK signal is generated using a voltage controlled oscillator-VCO. The input to the VCO
is from the serial output port of the MCU.
The VCO generates two distinct frequencies corresponding to 1’s and 0’s of the input data.
A 60 kHz signal is generated for logic”0” and 75 kHz for logic “1”.
This FSK data is coupled to the power line through a high frequency transformer after
suitable amplification.
The receiver at the remote location receives this FSK information through a line interface
circuit coupled to the power line. The output of the interface circuit is fed to a Phase
Locked Loop. The PLL demodulates the FSK signal. The output will be a serial digital bit
stream corresponding to the one transmitted at the transmission end.
The recovered serial data is fed to the serial communication input port of the MCU. The
MCU decodes the received data and recovers the transmitted address. This address is
compared with all the addresses of the units to be controlled. When a match is found, that
particular unit is switched “ON” using a relay circuit. The output of the MCU toggles the
relay circuit. Hence the address transmitted for the first time switches “ON” the selected
unit, and the same address transmitted second time switches “OFF” the unit
.
Page 5
Power line communication
2.3. Transmitter Section
Page 6
Power line communication
2.3.1. Control Panel
The control panel has the following controls
1) System on/ off switch
2) Selector switches to select the equipment to be controlled.
3) Push switch to switch on / off the selected unit.
4) LED’s to indicate the various operating modes.
2.3.2. Trigger Circuit
A monostable circuit is used for generating trigger pulse for the MCU.
Whenever the Push switch is operated, this circuit generates the trigger pulse.
This pulse is sensed by the Microcontroller and acts upon it as programmed.
This circuit generates a negative going pulse to trigger the MCU.
The monostable used is IC CD4047.
The output is fed to the Microcontroller through the 2-position selector switch on the front
panel.
The output of monostable circuit also toggles a D- flip flop to drive a LED. Whenever the
Microcontroller is triggered, this LED glows.
Page 7
Power line communication
Figure- The output from the trigger circuit
2.3.3. Microcontroller
The microcontroller accepts input from the control panel. The output of the control panel
has two output points. These two outputs correspond to the two units to be controlled &
are connected to two input ports of the microcontroller. The control panel outputs a pulse
signal for each of the unit selected. Whenever the MCU senses this pulse, it selects the
proper address and converts it to serial format for transmission through its serial port.
Microcontroller Circuit
The system incorporates the Microcontroller AT89C2051 for controlling the serial
communication over the power line.
Port pins P1.0 and P1.1 are used as input port pins for two units to be remote controlled.
The selector switch is connected to the port pins referred above.
The serial output data from the MCU is available at connector J5. The output at J5 is
connected to the VCO circuit to generate the FSK signal.
The MCU circuit is same for Tx and Rx. In the Tx section only that portion applicable to the
transmitter is used.
2.3.4. VCO-Voltage Controlled Oscillator
Page 8
Power line communication
The VCO accepts serial data as input and outputs FSK signal. When logic 0 is present at the
input, it generates 60 kHz signal.
When logic 1 is present at its input, it generates 75 kHz signal.
Hence the output of VCO will be serial FSK data. The IC CD4046 is used for this purpose.
VCO Circuit
This circuit generates the FSK signal. The input to this circuit is from the MCU in the form of
serial data.
The VCO is built around the IC U6, CD 4046. The output from MCU is fed to the control
input of the VCO
The free running frequency of the VCO is decided by the combination of C10, R18, R19, R20
and R21. The output of the VCO is buffered by the emitter follower Q4 .
The output of the VCO feeds the line interface circuit.
Figure : the output from VCO
2.3.5. Line Interface Transformer
- Line Interface Amplifier
The FSK signal generated by the VCO is amplified by a linear amplifier to increase the level
to suitable amplitude for interface.
Page 9
Power line communication
-Transformer
This is a high frequency ferrite transformer which will interface the FSK signal to the power
line. It provides the basic isolation due to the use of separate windings for primary and
secondary.
There will be no reverse coupling from the power line to the system, since the high
frequency transformer will not develop any magnetic field at 50 Hz, which is the line
frequency.
Line Interface Circuit
This circuit performs the function of interfacing the output of VCO to the mains power line.
The basic interfacing is done through a high frequency isolation transformer.
The FSK from VCO is fed to base of Q1 through R1. Capacitor C1 is used to decrease the
switching time of Q1. Transistor Q1 is driver stage. R2 is used for discharging the base
stored charge which in turn will reduce the switch off time of Q1. R3 is the load resistor.
The amplified output at Q1 collector is fed to the base of power transistor Q2. R5, D1 and
D2 are used to provide discharge path for the base stored charge. Transformer T1 is the
driver and isolation transformer for the FSK signal. C4 is the tuning capacitor and also
removes any spurious signal. The induced signal in the secondary of the transformer is
coupled to the mains line through the coupling capacitors C5 and C6. These capacitors
provide a low impedance path for the high frequency FSK signal. At the same time these
capacitors presents high impedance to the 50Hz mains frequency. Moreover, the
secondary of T1 acts as a short for 50Hz mains frequency and as a normal secondary for
the high frequency FSK signal. Thus no reverse voltage from mains line is induced into the
circuit. The mains line is connected to J3.C2, C3, C15, C16 are supply bypass capacitors.
After coupling the FSK signal to the power line, the FSK signal will be available at all points
wherever the power line runs and the receiver can be connected at any convenient point.
Page
10
Power line communication
2.4. Receiver Section
Page
11
Power line communication
2.4.1. Line Interface Transformer
Page
12
Power line communication
The line interface transformer at the receiver detects the FSK signal and feeds it the
receiver section. This transformer will be exactly the same as used at the transmitter end.
Receiver Line Interface
Refer to the LINE INTERFACE schematic diagram.
The FSK signal received from mains power line. This signal is fed to the primary of the
isolation Transformer T2 through coupling capacitors C8 and C9.The induced signal at the
secondary of T2 is fed to the amplifier transistor Q3 through C10. R8, R9 and C9 form an
attenuating network to reduce the signal to a lower level to prevent over loading of Q3.
R10, R11, R12 and R13 are the biasing resistors for Q3. The amplified output at collector of
Q3 is fed to base of Q4 through R14 and C11. A square wave signal of about 2v-pp of
frequency of the incoming FSK signal will be available at collector of Q4. Resistor R15 and
R17 are used as potential divider for the output signal to limit the level to 2v-pp. The final
output of the circuit is available at connector J4. C12 and C13 are supply bypass capacitors.
2.4.2. Phase Locked Loop
The PLL decodes the FSK signal output of the pulse shaper and produces a serial data
corresponding to the one transmitted at the transmitter end. When 60 kHz signal is
received, the output will be logic 0. When 75 kHz signal is received, the output will be logic
1. This serial data output is fed to the receive microcontroller for further decoding.
IC LM567 is the PLL
The free running frequency of the PLL is tuned to 75 khz. The combination of C17, R25 and
preset P2 decides this frequency. In the absence of valid input frequency. The output of the
PLL is logic high. When the valid frequency is received, the output will go from high to low.
The output from the PLL will be an exact replica of serial output at the transmitter MCU.
The output of the PLL decoder is fed to the MCU circuit via an opto isolator. The opto
isolator used to prevent interference to the MCU via the power line.
2.4.3. Microcontroller
Page
13
Power line communication
The output of the PLL is fed to serial receive input port of microcontroller
AT89C2051. The received serial data is stored in one of the registers of the MCU. The MCU
holds the addresses of the units to be controlled. The received data is compared with these
addresses. One of the stored address matches with the received data. When this match is
found, the particular port of MCU assigned to that particular unit will drive an opto
coupler, which in turn will drive the selected unit.
MCU Receiver
Refer to the schematic MCU FSK Supervisor.
This circuit receives the serial data from the decoder and drives the proper Relay circuits to
operate the remotely placed units.
The circuit receives the data at connector J5, which is the serial input COM port of the
MCU.
In the receive section port P1 is the output port. The output port drives three relay circuits
corresponding to the three units. The received data is decoded by the MCU and it
compares the received data with the local addresses of the three units. When the match is
found, that particular relay is switched “ON”. The output contacts of the relay switches
“ON” the selected unit to the power line. The output port pins also drives LED’s DS3, DS4
and DS5 to the activation of relays K1, K2 and K3.
The output port of the MCU is connected to the relay circuits through opto isolators to
prevent interference from relay circuit back into the MCU circuit. The output of port pins
will be high normally. This in turn will ensure logic high at the input of relay drive buffer IC
CD 4049, circuit reference U7. The output of U7 will be low and the relay is not operated.
When a valid data is received, the output of MCU will go low and this in turn will make the
output of the buffers high. This high level will switch “ON” the relay through transistors
Q1, Q2 and Q3.
2.4.4. Relay Circuit
Relay circuits provide drive to the relays. Discrete transistors are used for this purpose. The
NO (normally open) contact of relays is connected to the power socket of different units.
Whenever a relay operates, the respective socket is switched “on”, and the connected unit
is controlled.
3. Source Codes
Page
14
Power line communication
The source code is in assembly language and used for transmitter and receiver
microcontrollers are given in this chapter.
3.1. Transmitter Code
;Program for FSK-Tx remote controller.Rev01
;Will have four switches at transmitter end
org 0000h
sjmp 0030h ;Clear vector table
org 0030h
mov a,#00h ;clear acc
mov p1,#0ffh ;make port p1 an input port
mov scon,#40h ;serial mode1, receive disabled
mov tmod,#20h ;timer1.mode2, 8 bit autoreload
mov th1,#-240 ;baud rate 150
setb tr1 ;start timer
begin:
jb p1.3,next1 ;check SW3 for logic low at pin 14
acall delay1 ;wait for a short period
jb p1.3,next1 ;if p1.2 has gone high, goto next1
mov a,#2ah ;move code 2A to acc, SW3-code
mov sbuf,a ; start sending SW3-code
wait1:
jnb ti,wait1 ;wait for end of transmission
clr ti ;clear TI bit
acall delay2 ; delay before sensing next switch
Page
15
Power line communication
sjmp begin ;go back to beginning
next1:
jb p1.4,next2 ;check SW4 at pin 15 for logic low
acall delay1 ;monitor low level for some time
jb p1.4,next2 ;if p1.3 is high goto next SW 5
mov a,#3bh ;load code 3B to acc, code for SW4
mov sbuf,a ;start sending SW4 code
wait2:
jnb ti,wait2 ;wait till end of transmission
clr ti ;clear TI flag
acall delay2
sjmp begin
next2:
jb p1.5,begin ;check SW5 at pin 16for logic low
acall delay1
jb p1.5,begin
mov a,#4ch ; 4C is the code for SW5
mov sbuf,a ;start sending SW5 code
wait3:
jnb ti,wait3 ;wait for end of transmission
clr ti
acall delay2
sjmp begin ;go to begin
; DELAY SUB ROUTINES
delay1:
mov r2,#40 ;outer loop counter
Page
16
Power line communication
again:
mov r3,#250 ;inner loop counter
stay: djnz r3,stay
djnz r2,again
ret
delay2:
mov r4,#05 ;outer loop2 counter
once: mov r5,#255 ;outer loop1 counter
back: mov r6,#255 ;inner most loop counter
hold: djnz r6,hold
djnz r5,back
djnz r4,once
ret
end
3.2. Receiver Code
;ASM program Line FSK remote receiver
Page
17
Power line communication
org 0000h
sjmp 0030h ;bypass vector lookup table
org 0030h
mov a,#00h ;clear acc
mov p1,#0ffh ;make all port-1 pins high
mov scon,#50h ;serial mode1,receive enable
mov tmod,#20h ;timer1, mode2, auto reload
mov th1,#-240 ;select baud rate-150
setb tr1 ;start timer
begin:
clr ri ;clear RI initially
here:
jnb ri,here ;monitor RI for received data
mov a,sbuf ;copy Rx data to acc
cjne a,#2ah,next1 ;If not equal check next code
cpl p1.0 ; if equal toggle p1.0, relay K1
; operates and unit U1 switches ON
cpl p1.3 ;p1.3 is low and DS3 glows
clr ri ;clear receive interrupt, ri should
;not be cleared till all codes
;are checked
sjmp begin
next1:
cjne a,#3bh,next2 ;if not equal check next code
cpl p1.1 ; if equal, toggle p1.1,relay K2
; operates and U2 switches ON
Page
18
Power line communication
cpl p1.4 ;make p1.4 low,DS4 glows
clr ri ;clear ri to receive next byte
sjmp begin
next2:
cjne a,#4ch,begin ;if not equal check next code
cpl p1.2 ;if equal, toggle p1.2, relay K3
; operates and U3 switches ON
cpl p1.5 ;make p1.5 low,DS5 glows
clr ri
sjmp begin
;delay sub-routine
delay: mov r2,#250 ;load outer loop counter
back: mov r3,#250 ;load inner loop counter
stay: djnz r3,stay
djnz r2,back
ret
end
4. Conclusion
This project simply demonstrates the capability of transmission of digital data over power
lines which have been traditionally used to transmit low frequency analog signals. This is
Page
19
Power line communication
achieved by modulating the digital signal using FSK modulation technique and thus
transmitting digital data at higher frequencies. This project thus just demonstrates the
basic idea which can be further improved upon so as to be used in various applications.
The limitation of this project is that it will successfully transmit data only over a single
same phase power line thus restricting the range of transmission. With some additional
hardware, we can achieve data transmission over all three phases of power lines thus
enabling the transmission over a greater range. Once that is achieved, this concept can be
used in various applications like home automation, home networking, street lighting,
security system control, control of various remote devices in industry and even internet
access.
5. Further Scope
Greater research in the area of transmission of digital signals over power lines will
definitely enable us to come up with various applications of the concept. The biggest
application of this concept though could be Internet Access over the Power Lines. In
today’s world where access to information on the move has become an essential part of
life to survive in the world which moves at cut throat pace, digital transmission over power
lines might enable us this access through any of the millions of power socket in the world.
This would enable us to access the internet from any location with power supply. The
device to be used to access the internet could be simply plugged into the power socket for
ready to use “Plug and Play” Internet access. This will of course require us to update the
hardware associated with the power lines as now we will have to include routers at
transformer sections. Besides this we will have to connect these power lines to the servers.
Protocols and standards for the same will have to be developed if this technology has to be
implemented on a commercial scale.
Internet access could also be made possible by the setting up of Wi-Fi Hot spots at areas
close to transformers. Thus diligent effort in this field just might enable us to access
information through the internet in a whole new way and Cable and DSL technologies just
might become completely redundant as the ubiquitous power lines itself will provide us the
gateway to the warehouse of information-the Internet.
6. Limitations
Page
20
Power line communication
Although the prospects for the implementation and use of this technology seem bright but
there are a few limitations with this concept which would have to be dealt with before its
commercial application.
1) The biggest problem that digital data transmission over power lines encounters is the
radio interference. Since the power lines are usually uncovered, unshielded and untwisted,
they might act as antennas and would thus radiate a large amount of radio energy. This
would lead to great interference with the other radio signals being transmitted at the
same time. The reverse process would also be affecting the signals being sent over the
power lines and thus lead to interference in the data transmission.
2) The power line cable, unlike any other broadband medium (copper twisted pair, fiber,
coaxial cable), is inherently unsuited for carrying the frequencies BPL uses. Power lines,
copper twisted pair, and coaxial cable all act like natural low pass filters, meaning higher
frequencies are attenuated more than lower frequencies when attempting to transmit
them through the medium.
Power lines are designed to carry electrical power. They were not designed to carry radio
signals. They do this very poorly, loosing much of the signal to losses. Another major
problem would be faced when data will have to be sent over the numerous transformers.
The transformers being high inductance devices will act as low pass filters allowing only
the low frequency components to pass through while blocking the higher frequency
signals. We will thus have to use greater number of repeaters in the communication
channel.
3) The last problem to be faced would be the same faced by all new technologies the
absence of any standard protocols. For the technology to a success and for large scale
implementation, a body such as IEEE would have to come forward with a set of rules or
standards for digital data transmission over power lines.
This would allow various equipment manufacturing companies to produce equipment
conforming to the standard valid over all countries and the service providers to transmit
and receive data as per a fixed protocol.
Once solutions to these limitations are found, this technology can be used for various
commercial applications as mentioned in the section above.
Page
21
Power line communication
7. Circuits Schematics:
TRANSMITTER
SIDE
CIRCUIT
SCHEMATICS
Page
22
Power line communication
TRIGGER CIRCUIT
U 3
7 4 1 4
147
1
3
5
9
1 1
1 3
2
4
6
8
1 0
1 2
D 1
L E D
Q 1
S W 1
C 1
R 3
R 6
U 1
4 0 4 7
5
4
6
8
1 0
1 1
1 3
7
1
2
3
1 2
9
14
A S T
A S T
-T
+ T
Q
Q
O S C
G N D
C X
R X
R C C
R E T
R S T
V D D
V C C
R 5
R 1
J 1
1 2
V C C
C 2
R 4
C 4
V C C
R 7
R 2
C 3
V C C
U 2 A
4 0 1 3
5
3 1
2
14
6
4
D
C L K Q
Q
VDD
S
R
Page
23
Power line communication
VCO CIRCUIT
R 9
R
C 2
C A P
R 6
R
R 4
R
U 2
4 0 4 6
4
1 0
16
3
9
1 4
1 5
5
2
1 3
16
7
1 1
1 2
8
V C O U T
D E M O
VDD
C IN
V C O IN
S IN
P 3
IN H
P 1
P 2
P PC 1 A
C 1 B
R 1
R 2
vss
R 8
R
C 1
C A P N P
J 2
C O N N P C B 4
1
2
3
U 3
M C T 2 E
1 6
2
5
4
R 3
R 1 1
Q 6
1 R 1 0 0 1
Q 5
1 R 1 0 0 1
R 1 0
R E S IS T O R
C 3
C A P N P
C 4
C A P N P
J 1
2
1
J 3
C O N N P C B 4
2
1
R 1
R E S IS T O R
R 7
R
R 5
R
U 1
M C T 2 E
1 6
2
5
4
Page
24
Power line communication
MCU FSK SUPERVISOR
D 4
J 9
C O N N T R B L K 4
1
2
3
4
R 1 6
D 3
R 1 5
C 6
U 3
A T 8 9 C 2 0 5 1
1
2 0
5
4
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2
3
6
7
8
9
1 1
R S T / V P P
V C C
X T A L 1
X T A L 2
P 1 . 0 / A I N 0
P 1 . 1 / A I N 1
P 1 . 2
P 1 . 3
P 1 . 4
P 1 . 5
P 1 . 6
P 1 . 7
P 3 . 0 / R X D
P 3 . 1 / T X D
P 3 . 2 / I N T 0
P 3 . 3 / I N T 1
P 3 . 4 / T 0
P 3 . 5 / T 1
P 3 . 7
5 v
J 5
1
2
3
C 7
D 2D 1
J 6
1
2
3
J 4
C O N 2
1
2
C 9
J 7
1
2
3
4
5
6
R 1 3
J 8
C O N 4
1
2
3
4
C 8
R 1 4R 1 2C 5
Page
25
Power line communication
LINE INTERFACE CIRCUIT
J 2
1
2
0
R 2
C 9
R 4
R 5
0
C 8
C 3
0
R 6
0
D 3
U 1
0
0
C 5
0
T 1
T R N S F M R 2 9 8 7 3
1 2
4
5 6
3
0
R 3
0
D 2
0
C 6
0
J 1
1
2
U 2
R 1
V C C
J 3
1
2
D 1
0
C 1
0
C 4
J 4
1
2
C 2
C 7
0
Page
26
Power line communication
RECEIVER
SIDE
CIRCUIT
SCHEMATICS
Page
27
Power line communication
LINE INTERFACE CIRCUIT
R 1
R 2
J 2
1
2
C 4
C 2
0
0
R 3
R 1 3
C 5 C 6
R 1 1
T 1
T R N S F M R 6 7 1 0 9 5 1 0
2
3
56
1
4
R 7
R 8
R 6
R 4
V C C
U 2
J 1
C O N N T R B L K 2
1
2
R 1 0
0
R 5
C 8
C 7
0
C 3
0
0
U 1
R 1 2
0
0
C 1
0
R 9
Page
28
Power line communication
PHASE LOCKED CIRCUIT
C 1
C A P N P
R 8
R E S IS T O R
U 1
1 3
2
V I N V O U T
GND
H I
J 2
C O N 2
2
1
+ C 1 2
C A P P O L
C 2
C A P N P
J 4
C O N 2
1
2
3
R 1 1
R E S IS T O R
+
C 1 3
C A P P O L
C 1 7
C A P N P
R 4
P O T
R 2
R E S IS T O R
C 1 8
C A P N P
R 7
R E S IS T O R
R 6
J 3
C O N 2
2
1
U 3
L M 5 6 7
1
2
3
47
8
6
5
OUTFIL
LFIL
IN P U T
+VCCGND
O U T P U T
T C
T R
C 1 0
C A P N P
C 1 4
C A P N P
U 2
M C T 2 E
1 6
2
5
4
C 1 6
C A P N P
Page
29
Power line communication
MCU FSK SUPERVISOR
R L 5
G 6 R N -S P D T _ 1
4
3
5
1
2
J 7
1
2
3
0J 5
1
2
3
J 2
1
2
3
J 9
1
2
3
5 v
J 1 0
1
2
3
4
5
6
U 7
5 v
U 9
M C T 2
1 6
2
5
4
U 2 B
4 0 4 9
5 4
J 8
1
2
3
R 1 2
5 v
G 6 R N - S P D T _ 1
4
3
5
1
2
R 1 0
C 1 2
0
D 5
R 2
0
R 1 7
R 9
C 1 0
U 1 0
C 8
D 7
5 v
0
R 1 4
R 1 6
U 3
M C T 2
1 6
2
5
4
U 6
M C T 2
1 6
2
5
4
0
D 1 0
D 1 1
C 1 1
U 2 A
4 0 4 9
3 2
R 1 1
R 1 8
v c c
U 4
R 4
R 5
R 3
U 2 C
4 0 4 9
7 6
1 2 v
R 8
R 7
C 9
R 1 3
J 4
1
2
3
1 2 v
0
0
R 1 9
U 8
A T 8 9 C 2 0 5 1
1
2 0
5
4
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2
3
6
7
8
9
1 1
R S T / V P P
V C C
X T A L 1
X T A L 2
P 1 . 0 / A I N 0
P 1 . 1 / A I N 1
P 1 . 2
P 1 . 3
P 1 . 4
P 1 . 5
P 1 . 6
P 1 . 7
P 3 . 0 / R X D
P 3 . 1 / T X D
P 3 . 2 / I N T 0
P 3 . 3 / I N T 1
P 3 . 4 / T 0
P 3 . 5 / T 1
P 3 . 7
D 8
R 1 5
D 9
R L 6
G 6 R N -S P D T _ 1
4
3
5
1
2
J 2 0
C O N N T R B L K 5
1
2
3
4
5
Page
30
Power line communication
Project hardware
Page
31
Power line communication
Appendix
LIST OF
COMPONENTS
Page
32
Power line communication
Trigger MCU
Sl No. Description Circuit
reference
Value
1 capacitor C1 1000uF
2 capacitor C2 0.22uF
3 capacitor C3 10uF
4 capacitor C4 0.1uF
5 resistor R1 470 ohms
6 resistor R2 470 ohms
7 resistor R3 6K8
8 resistor R4 820K
9 resistor R5 47K
10 resistor R6 470 ohms
11 resistor R7 22K
12 U1 4047
13 U2 4013
14 U3 7414
15 Q1 BC547
16 LED D1
17 Connector junction J1
18 switch Sw1
VCO
Sl. No. Description Circuit
Reference
Value
1 capacitor C1 0.1uF
2 capacitor C2 100uF
3 capacitor C3 1000pF
4 capacitor C4 s.c
5 resistor R1 15K
6 resistor R2 12K
7 resistor R3 s.c
8 resistor R4 12K
9 resistor R5 1K
10 resistor R6 47K
11 resistor R7 6K8
Page
33
Power line communication
12 resistor R8 12K
13 resistor R9 1K
14 U1 MCT2E
15 U2 MCT2E
16 U3 4046
17 Jumper Connector J2
18 Jumper Connector J1
19 Potentiometer P1 5K preset
20 Q
PLL: Receiver
Sl. No. Description Circuit
Reference
Value
1 capacitor C1 0.1uF
2 capacitor C2 100 uF
3 capacitor C3 47uF
4 capacitor C4 0.1uF
5 resistor R1 120K
6 resistor R2 10K
7 resistor R3 1K
8 resistor R4 47K
9 resistor R5 120K
10 U1 78L05
11 U2 MCT2E
12 U3 8PIN-567
13 Jumper Connector J2
14 Jumper Connector J1
15 Jumper Connector J3
16 Potentiometer P1
MCU FSK Transmitter
Page
34
Power line communication
Sl. No. Description Circuit
Reference
Value
1 capacitor C5 47uF
2 capacitor C6 0.1uF
3 capacitor C7 2.2pF
4 capacitor C8 3.3pF
5 capacitor C9 3.3pF
6 Resistor R12 470 ohms
7 Resistor R13 470 ohms
8 Resistor R14 470 ohms
9 Resistor R15 470 ohms
10 Resistor R16 47K
11 Red LED D1
12 Red LED D2
13 Red LED D3
14 Red LED D4
15 Jumper Connectors J4 2pins
16 Jumper Connectors J5 3pins
17 Jumper Connectors J6 3pins
18 Jumper Connectors J7 6pins
19 Jumper Connectors J8 4pins
20 Jumper Connectors J9 4pins
21 crystal
22 microcontroller 20 pin
ZIF
Line Interface Circuit: Transmitter
Sl. No. Description Circuit
Reference
Value
1 capacitor C1 0.1uF
2 capacitor C2 100uF
3 capacitor C3 0.22/400v(Orange)
4 capacitor C4 100uF
5 capacitor C5 0.1uF
6 capacitor C6 0.01uF
7 capacitor C7 22K-Green(223K)
8 capacitor C8 0.22/400v(Orange)
9 capacitor C9 1000uF
10 resistor R1 12K
11 resistor R2 1K5
Page
35
Power line communication
12 resistor R3 47 ohm
13 resistor R4 12K
14 resistor R5 47K
15 resistor R6 12K
16 Jumper Connector J1 2pins
17 Jumper Connector J2 2pins
18 Jumper Connector J3 2pins
19 Jumper Connector J4 2pins
20 diode D1 4148
21 diode D2 4148
22 diode D3 4148
23 Pulse transformer 1002C
24 Transistor U1 MJE3055
25 Transistor U2 BC 547
Line Interface Receiver
Sl. No. Description Circuit
Reference
Value
1 capacitor C1 100uF
2 capacitor C2 0.1uF
3 capacitor C3 0.01uF
4 capacitor C4 0.22uF
5 capacitor C5 o.c
6 capacitor C6 0.01uF
7 capacitor C7 0.22uF
8 resistor R1 5K6
9 resistor R2 4K7
10 resistor R3 6K8
11 resistor R4 5K6
12 resistor R5 3K9
13 resistor R6 47K
14 resistor R7 4K7
15 resistor R8 2K7
16 resistor R9 2K2
17 resistor R10 12K
18 resistor R11 2K7
19 resistor R12 2K2
20 resistor R13 2K2
21 Jumper Connector J1 2pins
22 Jumper Connector J2 2pins
23 Pulse transformer 1002C
24 Transistor U1 BC 547
25 Transistor U2 BC 547
Page
36
Power line communication
MCU FSK Receiver
Sl. No. Description Circuit
Reference
Value
1 capacitor C5 47uF
2 capacitor C6 0.1uF
3 capacitor C7 2.2pF
4 capacitor C8 3.3pF
5 capacitor C9 3.3pF
6 Resistor R2 12K
7 Resistor R3 470 ohm
8 Resistor R4 10K
9 Resistor R5 47K
10 Resistor R7 470 ohm
11 Resistor R8 12K
12 Resistor R9 10K
13 Resistor R10 47K
14 Resistor R11 12K
15 Resistor R12 470 ohms
16 Resistor R13 470 ohms
17 Resistor R14 470 ohms
18 Resistor R15 470 ohms
19 Resistor R16 47K
20 Resistor R17 470 ohm
21 Resistor R18 10K
22 Resistor R19 47K
23 Red LED D1
24 Red LED D2
25 Red LED D3
26 Red LED D4
27 Jumper Connectors J2 3pins
28 Jumper Connectors J7 3pins
29 Jumper Connectors J9 3pins
30 Jumper Connectors J10 6pins
31 Jumper Connectors J8 3pins
32 Jumper Connectors J4 3pins
33 Jumper Connectors J5 3pins
34 Jumper Connectors J20 5pins
35 Relay Sugar Cube
36 Relay Sugar Cube
37 Relay Sugar Cube
38 16 Pin 4049
39 crystal
40 microcontroller U8 20 pin
Page
37
Power line communication
ZIF
41 U3 6 Pin MCT2
42 U6 6 Pin MCT2
43 U9 6 Pin MCT2
44 U4 100N
45 U6 100N
46 U10 100N
Page
38

More Related Content

What's hot

SRS-PDR-CDR_Rev_1_3
SRS-PDR-CDR_Rev_1_3SRS-PDR-CDR_Rev_1_3
SRS-PDR-CDR_Rev_1_3
Zack Lyman
 
Transformer protection using microcontroller and gsm technology
Transformer protection using microcontroller and gsm technologyTransformer protection using microcontroller and gsm technology
Transformer protection using microcontroller and gsm technology
Kartik Patel
 
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
nikhilhiware
 
Wireless power theft monitoring
Wireless power theft monitoringWireless power theft monitoring
Wireless power theft monitoring
Biswajit Pratihari
 
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
Iaetsd Iaetsd
 
A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...
eSAT Journals
 
Final paperenhancing distribution system through the use of real time etherne...
Final paperenhancing distribution system through the use of real time etherne...Final paperenhancing distribution system through the use of real time etherne...
Final paperenhancing distribution system through the use of real time etherne...
Genc Gjergjani
 
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
soundaryamangapu
 

What's hot (20)

wireless power transfer
wireless power transferwireless power transfer
wireless power transfer
 
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
Ieeepro techno solutions   ieee embedded project  - low power wireless sensor...Ieeepro techno solutions   ieee embedded project  - low power wireless sensor...
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
 
Yochi
YochiYochi
Yochi
 
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
Ieeepro techno solutions   ieee embedded project - multi channel remote contr...Ieeepro techno solutions   ieee embedded project - multi channel remote contr...
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
 
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
 
SRS-PDR-CDR_Rev_1_3
SRS-PDR-CDR_Rev_1_3SRS-PDR-CDR_Rev_1_3
SRS-PDR-CDR_Rev_1_3
 
Transformer protection using microcontroller and gsm technology
Transformer protection using microcontroller and gsm technologyTransformer protection using microcontroller and gsm technology
Transformer protection using microcontroller and gsm technology
 
why time synchronization is important in power generation, transmission and ...
 why time synchronization is important in power generation, transmission and ... why time synchronization is important in power generation, transmission and ...
why time synchronization is important in power generation, transmission and ...
 
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
MY PROJECT-automatic load sharing of transformer by using GSM tecnique.
 
Substation monitoring1
Substation monitoring1Substation monitoring1
Substation monitoring1
 
Wireless power theft monitoring
Wireless power theft monitoringWireless power theft monitoring
Wireless power theft monitoring
 
Implementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using BluetoothImplementation and Controlling of Electrical Appliances by using Bluetooth
Implementation and Controlling of Electrical Appliances by using Bluetooth
 
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
iirdem ADVANCING OF POWER MANAGEMENT IN HOME WITH SMART GRID TECHNOLOGY AND S...
 
A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...
 
A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...A remote monitoring system for a three phase 10-kva switchable distribution t...
A remote monitoring system for a three phase 10-kva switchable distribution t...
 
Rahul koundinya
Rahul koundinya Rahul koundinya
Rahul koundinya
 
sms based speed change of motor or fan
sms based speed change of motor or fansms based speed change of motor or fan
sms based speed change of motor or fan
 
Final paperenhancing distribution system through the use of real time etherne...
Final paperenhancing distribution system through the use of real time etherne...Final paperenhancing distribution system through the use of real time etherne...
Final paperenhancing distribution system through the use of real time etherne...
 
Design for Postplacement Mousing based on GSM in Long-Distance
Design for Postplacement Mousing based on GSM in Long-DistanceDesign for Postplacement Mousing based on GSM in Long-Distance
Design for Postplacement Mousing based on GSM in Long-Distance
 
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
13080527 a-solution-to-remote-detection-of-illegal-electricity-rahul-raj
 

Viewers also liked

cellphone based device control
cellphone based device controlcellphone based device control
cellphone based device control
student
 
cellphone based control of electrical equipment
cellphone based control of electrical equipmentcellphone based control of electrical equipment
cellphone based control of electrical equipment
Rohit Sharma
 
Speed control of 1 φ inducton motor using traic
Speed control of 1 φ inducton motor using traicSpeed control of 1 φ inducton motor using traic
Speed control of 1 φ inducton motor using traic
jawededu
 

Viewers also liked (11)

cellphone based device control
cellphone based device controlcellphone based device control
cellphone based device control
 
cellphone based control of electrical equipment
cellphone based control of electrical equipmentcellphone based control of electrical equipment
cellphone based control of electrical equipment
 
Speed control of 1 φ inducton motor using traic
Speed control of 1 φ inducton motor using traicSpeed control of 1 φ inducton motor using traic
Speed control of 1 φ inducton motor using traic
 
Power Theft Detection
Power Theft DetectionPower Theft Detection
Power Theft Detection
 
Ppt power theft identification and detection using gsm
Ppt power theft identification and detection using gsmPpt power theft identification and detection using gsm
Ppt power theft identification and detection using gsm
 
prepaid energy meter
prepaid energy meterprepaid energy meter
prepaid energy meter
 
Smart energy meter (Updated)
Smart energy meter (Updated)Smart energy meter (Updated)
Smart energy meter (Updated)
 
Optical Current Transformer (OCT)
Optical Current Transformer (OCT)Optical Current Transformer (OCT)
Optical Current Transformer (OCT)
 
Smart grid ppt
Smart grid pptSmart grid ppt
Smart grid ppt
 
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
GSM BASED PREPAID ENERGY METER BILLING VIA SMSGSM BASED PREPAID ENERGY METER BILLING VIA SMS
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
 
Robotics project ppt
Robotics project pptRobotics project ppt
Robotics project ppt
 

Similar to Remote control of electrical equipment(eee499.blogspot.com)

RAJPRASAD PAPER NO-127
RAJPRASAD PAPER NO-127RAJPRASAD PAPER NO-127
RAJPRASAD PAPER NO-127
RAJPRASAD RS
 
Report_Modernization of Gas Metering Station
Report_Modernization of Gas Metering StationReport_Modernization of Gas Metering Station
Report_Modernization of Gas Metering Station
Tariq Jamil
 
Power theft detection via plc
Power theft detection via plcPower theft detection via plc
Power theft detection via plc
bbshashanka
 
Gsm based smart card information for lost atm cards
Gsm based smart card information for lost atm cardsGsm based smart card information for lost atm cards
Gsm based smart card information for lost atm cards
Somanchi Aditya
 
Architecture for Smart Grid based Consumer End Solution
Architecture for Smart Grid based Consumer End SolutionArchitecture for Smart Grid based Consumer End Solution
Architecture for Smart Grid based Consumer End Solution
Shashank Dhariwal
 
eIisrt arutselvi (electrical)
eIisrt arutselvi (electrical)eIisrt arutselvi (electrical)
eIisrt arutselvi (electrical)
IISRT
 

Similar to Remote control of electrical equipment(eee499.blogspot.com) (20)

RAJPRASAD PAPER NO-127
RAJPRASAD PAPER NO-127RAJPRASAD PAPER NO-127
RAJPRASAD PAPER NO-127
 
SECURED WIRELESS POWER TRANSMISSION USING RADIO FREQUENCY SIGNAL
SECURED WIRELESS POWER TRANSMISSION USING RADIO FREQUENCY SIGNALSECURED WIRELESS POWER TRANSMISSION USING RADIO FREQUENCY SIGNAL
SECURED WIRELESS POWER TRANSMISSION USING RADIO FREQUENCY SIGNAL
 
Secured wireless power
Secured wireless powerSecured wireless power
Secured wireless power
 
speed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTspeed control of three phase induction motor using IOT
speed control of three phase induction motor using IOT
 
20BEE042 5th semester Internship PPT.pptx
20BEE042 5th semester Internship PPT.pptx20BEE042 5th semester Internship PPT.pptx
20BEE042 5th semester Internship PPT.pptx
 
A overview on WAMS/PMU.
A overview on WAMS/PMU.A overview on WAMS/PMU.
A overview on WAMS/PMU.
 
SEG 3 unit ppt.pptx
SEG 3 unit ppt.pptxSEG 3 unit ppt.pptx
SEG 3 unit ppt.pptx
 
Tech seminar
Tech seminarTech seminar
Tech seminar
 
Report_Modernization of Gas Metering Station
Report_Modernization of Gas Metering StationReport_Modernization of Gas Metering Station
Report_Modernization of Gas Metering Station
 
Power theft detection via plc
Power theft detection via plcPower theft detection via plc
Power theft detection via plc
 
Communicating to Your Meters
Communicating to Your MetersCommunicating to Your Meters
Communicating to Your Meters
 
Gsm based smart card information for lost atm cards
Gsm based smart card information for lost atm cardsGsm based smart card information for lost atm cards
Gsm based smart card information for lost atm cards
 
Wireless power theft monitoring
Wireless power theft monitoring Wireless power theft monitoring
Wireless power theft monitoring
 
D041121722
D041121722D041121722
D041121722
 
Architecture for Smart Grid based Consumer End Solution
Architecture for Smart Grid based Consumer End SolutionArchitecture for Smart Grid based Consumer End Solution
Architecture for Smart Grid based Consumer End Solution
 
TESCO Tuesday: Communication Equipment
TESCO Tuesday: Communication EquipmentTESCO Tuesday: Communication Equipment
TESCO Tuesday: Communication Equipment
 
eIisrt arutselvi (electrical)
eIisrt arutselvi (electrical)eIisrt arutselvi (electrical)
eIisrt arutselvi (electrical)
 
GSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault DetectionGSM Based Device Controlling and Fault Detection
GSM Based Device Controlling and Fault Detection
 
IRJET- Solar Powered Transmission Line Inspection Robot
IRJET- Solar Powered Transmission Line Inspection RobotIRJET- Solar Powered Transmission Line Inspection Robot
IRJET- Solar Powered Transmission Line Inspection Robot
 
Data Transmission Through Inductive Coupled System
Data Transmission Through Inductive Coupled SystemData Transmission Through Inductive Coupled System
Data Transmission Through Inductive Coupled System
 

More from slmnsvn

Analysis optimization and monitoring system
Analysis optimization and monitoring system Analysis optimization and monitoring system
Analysis optimization and monitoring system
slmnsvn
 
Analysis optimization and monitoring system
Analysis optimization and monitoring system Analysis optimization and monitoring system
Analysis optimization and monitoring system
slmnsvn
 
Smart fuel theft detector
Smart fuel theft detectorSmart fuel theft detector
Smart fuel theft detector
slmnsvn
 
Smart fuel theft detector
Smart fuel theft detectorSmart fuel theft detector
Smart fuel theft detector
slmnsvn
 
Rfid attendace system
Rfid attendace systemRfid attendace system
Rfid attendace system
slmnsvn
 
Quad pod transformable vehicle
Quad pod transformable vehicleQuad pod transformable vehicle
Quad pod transformable vehicle
slmnsvn
 
Quad pod transformable vehicle
Quad pod transformable vehicleQuad pod transformable vehicle
Quad pod transformable vehicle
slmnsvn
 
Power factor correction
Power factor correctionPower factor correction
Power factor correction
slmnsvn
 
Power factor correction
Power factor correctionPower factor correction
Power factor correction
slmnsvn
 
Optimum performances of ramallah
Optimum performances of ramallahOptimum performances of ramallah
Optimum performances of ramallah
slmnsvn
 
Optimum performances of ramallah
Optimum performances of ramallahOptimum performances of ramallah
Optimum performances of ramallah
slmnsvn
 
Optimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate networkOptimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate network
slmnsvn
 
Optimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate networkOptimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate network
slmnsvn
 
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2
slmnsvn
 
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2
slmnsvn
 
Optimum performance for aqraba electrical network
Optimum performance for aqraba electrical networkOptimum performance for aqraba electrical network
Optimum performance for aqraba electrical network
slmnsvn
 
Mini scada system for monitoring pv and wind installation in meteorology stat...
Mini scada system for monitoring pv and wind installation in meteorology stat...Mini scada system for monitoring pv and wind installation in meteorology stat...
Mini scada system for monitoring pv and wind installation in meteorology stat...
slmnsvn
 

More from slmnsvn (20)

Analysis optimization and monitoring system
Analysis optimization and monitoring system Analysis optimization and monitoring system
Analysis optimization and monitoring system
 
Analysis optimization and monitoring system
Analysis optimization and monitoring system Analysis optimization and monitoring system
Analysis optimization and monitoring system
 
Smart home
Smart homeSmart home
Smart home
 
Smart fuel theft detector
Smart fuel theft detectorSmart fuel theft detector
Smart fuel theft detector
 
Smart fuel theft detector
Smart fuel theft detectorSmart fuel theft detector
Smart fuel theft detector
 
Rfid attendace system
Rfid attendace systemRfid attendace system
Rfid attendace system
 
Quad pod transformable vehicle
Quad pod transformable vehicleQuad pod transformable vehicle
Quad pod transformable vehicle
 
Quad pod transformable vehicle
Quad pod transformable vehicleQuad pod transformable vehicle
Quad pod transformable vehicle
 
Power factor correction
Power factor correctionPower factor correction
Power factor correction
 
Power factor correction
Power factor correctionPower factor correction
Power factor correction
 
Optimum performances of ramallah
Optimum performances of ramallahOptimum performances of ramallah
Optimum performances of ramallah
 
Optimum performances of ramallah
Optimum performances of ramallahOptimum performances of ramallah
Optimum performances of ramallah
 
Optimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate networkOptimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate network
 
Optimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate networkOptimum performance of tulkarim governorate network
Optimum performance of tulkarim governorate network
 
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2
 
Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2Optimum performance for aqraba electrical network 2
Optimum performance for aqraba electrical network 2
 
Optimum performance for aqraba electrical network
Optimum performance for aqraba electrical networkOptimum performance for aqraba electrical network
Optimum performance for aqraba electrical network
 
Multi tone test
Multi tone testMulti tone test
Multi tone test
 
Multi tone test
Multi tone testMulti tone test
Multi tone test
 
Mini scada system for monitoring pv and wind installation in meteorology stat...
Mini scada system for monitoring pv and wind installation in meteorology stat...Mini scada system for monitoring pv and wind installation in meteorology stat...
Mini scada system for monitoring pv and wind installation in meteorology stat...
 

Recently uploaded

Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (20)

Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 

Remote control of electrical equipment(eee499.blogspot.com)

  • 1. AN NJAH NATIONAL UNIVERSITY FACULTY OF ENGINEERING ELECTRICAL ENGINEERING DEPARTMENT Power line communication Remote control of electrical equipment Prepared by; Amani Shelbayeh, Lara Nasser, Sawsan Salah 2009 This project is about control the electrical equipment remotely, by using the FSK signal through the power line. We managed to control two devices in our project.
  • 2. Power line communication Table of Contents 1. Team and Acknowledgements ........................................................................... 3 1.1. Team Members................................................................................................ 3 1.2. Acknowledgements.......................................................................................... 3 2. Introduction........................................................................................................ 3 2.1. Project objective............................................................................................... 4 2.2. System concept................................................................................................. 4 2.3. Transmitter section.......................................................................................... 6 2.3.1. Control panel................................................................................................. 7 2.3.2. Trigger circuit………………………………………………………………………………………….. 7 2.3.3. Microcontroller………………………………………………………………………………………… 8 2.3.4. VCO-Voltage Controlled Oscillator …………………............................8 2.3.5. Line Interface Transformer……………………………………………………………………… 9 2.4. Receiver section..............................................................................................11 2.4.1. Line Interface Transformer..........................................................................12 2.4.2. Phase locked loop ……………………………………………………………………………………12 2.4.3. Microcontroller……………………………………………………………………………………….13 2.4.4. Relay circuit…………………………………………………………………………………………….13 3. Source codes......................................................................................................14 3.1. Transmitter code............................................................................................14 3.2. Receiver code ................................................................................................17 4. Conclusions.......................................................................................................19 5. Further scope....................................................................................................19 6. Limitations........................................................................................................20 7. Circuits schematics………………………………………………………………………………………21 7.1 transmitter schematic……………………………………………………………………………….21 7.1.1. Trigger circuit………………………………………………………………………………………..22 7.1.2.VCO circuit…………………………………………………………………………………………….23 7.1.3.MCU FSK Supervisor….……………………………………………………………………….….24 7.1.4..line interface transformer…………………………………………………………………….25 7.2.Receiver side……………………………………………………………………………………………26 7.2.1.Line interface transformer……………………………………………………………………27 7.2.2.Phase locked loop…………………………………………………………………………………28 7.2.3.MCU FSK Supervisor…………………………………………………………………………….29 8.Project hardware……………………………………………………………………………………….30 Appendix 1: list of components…………………………………………………………………….. Page 2
  • 3. Power line communication 1. Team and Acknowledgements 1.1. Team Members Our group for this project consisted of three undergraduate electrical engineering students. • Amani Shelbayeh • Lara Nasser • Sawsan Salah 1.2. Acknowledgements We would like to acknowledge the efforts and contributions made by the lab technicians in the Electrical and Computer Engineering department at the university. Namely: eng. Manar Qamheyeh and eng. Ala’a AlDeen Bani Odeh, eng. Nuha Odeh. We would also like to thank Dr. Mazen Rasekh for his time and for agreeing to take on this project. Thank you for your support in making this project a success. 2. Introduction Power line communication system can be defined as is a system for carrying data on a conductor also used for electric power transmission. Our project is based on the concept of digital transmission over AC-power lines. This concept enables the remote control of electrical equipments via the power line. In Industries, remote control by wireless control is very difficult due the presence of high Electromagnetic interference. Control by Optical means needs line of sight communication, which will not be possible all the time. Under circumstances, control by data transmission over power lines will be the best option. This concept will have applications in process control industries and in places where the equipments to be controlled are many and are widely spaced. Moreover, this concept uses existing power lines for transmission of data and thus does not involve any expenditure for the transmission medium. This Project aims at implementation of such a Microcontroller based remote control system by transmission of control data over the power lines. FSK line carrier modems are Page 3
  • 4. Power line communication used for transmission of data over the power line. The digital data to be transmitted modulates an FSK generator for onward transmission over the power lines. Line carrier modems transmits and receives digital data via electric power lines instead of telephone lines or dedicated lines. The FSK modems are interfaced to the power line via high frequency isolation transformers. Selective remote control means selection and operation of remotely placed equipments from a common transmitter. Some application areas of such a system  1) Industrial Controls 2) Domestic appliance Control 3) Street Light Control 4) Security system Control 2.1 PROJECT OBJECTIVE: The project involves the design and development of selective remote control system over AC power lines as the communication channel. The system will be designed around the microcontroller AT89C2051. The system will be designed to operate with single phase power line. For interface with Three- phase power lines, only the line interface circuit needs to be modified using three phase transformer. 2.2. System Concept Selective remote control means, selecting one of the remotely placed equipments and operating it from another centralized location. In our project, two remotely placed equipments will be used; we will express them by using two lamps. To identify these remotely placed units, an address has to be assigned to each of the units. Any eight bit word ranging from 00h to FFh can be used as addresses for these remote units. This eight bit word is used as address for the transmission from the transmitter to the receiver. Asynchronous serial communication protocol is used in the system. UART port of the microcontroller is used for this purpose. To operate the remotely placed units, a selector switch at the transmitter selects one of the units. This selector switch enables one of the port pins of the microcontroller. When the “Push to Start” switch is operated, a serial data communication process is initiated by the microcontroller, wherein the address of the unit selected is transmitted as FSK signal Page 4
  • 5. Power line communication over the power line. Once this data is transmitted, it will be available at all points wherever the power lines runs. The FSK signal is generated using a voltage controlled oscillator-VCO. The input to the VCO is from the serial output port of the MCU. The VCO generates two distinct frequencies corresponding to 1’s and 0’s of the input data. A 60 kHz signal is generated for logic”0” and 75 kHz for logic “1”. This FSK data is coupled to the power line through a high frequency transformer after suitable amplification. The receiver at the remote location receives this FSK information through a line interface circuit coupled to the power line. The output of the interface circuit is fed to a Phase Locked Loop. The PLL demodulates the FSK signal. The output will be a serial digital bit stream corresponding to the one transmitted at the transmission end. The recovered serial data is fed to the serial communication input port of the MCU. The MCU decodes the received data and recovers the transmitted address. This address is compared with all the addresses of the units to be controlled. When a match is found, that particular unit is switched “ON” using a relay circuit. The output of the MCU toggles the relay circuit. Hence the address transmitted for the first time switches “ON” the selected unit, and the same address transmitted second time switches “OFF” the unit . Page 5
  • 6. Power line communication 2.3. Transmitter Section Page 6
  • 7. Power line communication 2.3.1. Control Panel The control panel has the following controls 1) System on/ off switch 2) Selector switches to select the equipment to be controlled. 3) Push switch to switch on / off the selected unit. 4) LED’s to indicate the various operating modes. 2.3.2. Trigger Circuit A monostable circuit is used for generating trigger pulse for the MCU. Whenever the Push switch is operated, this circuit generates the trigger pulse. This pulse is sensed by the Microcontroller and acts upon it as programmed. This circuit generates a negative going pulse to trigger the MCU. The monostable used is IC CD4047. The output is fed to the Microcontroller through the 2-position selector switch on the front panel. The output of monostable circuit also toggles a D- flip flop to drive a LED. Whenever the Microcontroller is triggered, this LED glows. Page 7
  • 8. Power line communication Figure- The output from the trigger circuit 2.3.3. Microcontroller The microcontroller accepts input from the control panel. The output of the control panel has two output points. These two outputs correspond to the two units to be controlled & are connected to two input ports of the microcontroller. The control panel outputs a pulse signal for each of the unit selected. Whenever the MCU senses this pulse, it selects the proper address and converts it to serial format for transmission through its serial port. Microcontroller Circuit The system incorporates the Microcontroller AT89C2051 for controlling the serial communication over the power line. Port pins P1.0 and P1.1 are used as input port pins for two units to be remote controlled. The selector switch is connected to the port pins referred above. The serial output data from the MCU is available at connector J5. The output at J5 is connected to the VCO circuit to generate the FSK signal. The MCU circuit is same for Tx and Rx. In the Tx section only that portion applicable to the transmitter is used. 2.3.4. VCO-Voltage Controlled Oscillator Page 8
  • 9. Power line communication The VCO accepts serial data as input and outputs FSK signal. When logic 0 is present at the input, it generates 60 kHz signal. When logic 1 is present at its input, it generates 75 kHz signal. Hence the output of VCO will be serial FSK data. The IC CD4046 is used for this purpose. VCO Circuit This circuit generates the FSK signal. The input to this circuit is from the MCU in the form of serial data. The VCO is built around the IC U6, CD 4046. The output from MCU is fed to the control input of the VCO The free running frequency of the VCO is decided by the combination of C10, R18, R19, R20 and R21. The output of the VCO is buffered by the emitter follower Q4 . The output of the VCO feeds the line interface circuit. Figure : the output from VCO 2.3.5. Line Interface Transformer - Line Interface Amplifier The FSK signal generated by the VCO is amplified by a linear amplifier to increase the level to suitable amplitude for interface. Page 9
  • 10. Power line communication -Transformer This is a high frequency ferrite transformer which will interface the FSK signal to the power line. It provides the basic isolation due to the use of separate windings for primary and secondary. There will be no reverse coupling from the power line to the system, since the high frequency transformer will not develop any magnetic field at 50 Hz, which is the line frequency. Line Interface Circuit This circuit performs the function of interfacing the output of VCO to the mains power line. The basic interfacing is done through a high frequency isolation transformer. The FSK from VCO is fed to base of Q1 through R1. Capacitor C1 is used to decrease the switching time of Q1. Transistor Q1 is driver stage. R2 is used for discharging the base stored charge which in turn will reduce the switch off time of Q1. R3 is the load resistor. The amplified output at Q1 collector is fed to the base of power transistor Q2. R5, D1 and D2 are used to provide discharge path for the base stored charge. Transformer T1 is the driver and isolation transformer for the FSK signal. C4 is the tuning capacitor and also removes any spurious signal. The induced signal in the secondary of the transformer is coupled to the mains line through the coupling capacitors C5 and C6. These capacitors provide a low impedance path for the high frequency FSK signal. At the same time these capacitors presents high impedance to the 50Hz mains frequency. Moreover, the secondary of T1 acts as a short for 50Hz mains frequency and as a normal secondary for the high frequency FSK signal. Thus no reverse voltage from mains line is induced into the circuit. The mains line is connected to J3.C2, C3, C15, C16 are supply bypass capacitors. After coupling the FSK signal to the power line, the FSK signal will be available at all points wherever the power line runs and the receiver can be connected at any convenient point. Page 10
  • 11. Power line communication 2.4. Receiver Section Page 11
  • 12. Power line communication 2.4.1. Line Interface Transformer Page 12
  • 13. Power line communication The line interface transformer at the receiver detects the FSK signal and feeds it the receiver section. This transformer will be exactly the same as used at the transmitter end. Receiver Line Interface Refer to the LINE INTERFACE schematic diagram. The FSK signal received from mains power line. This signal is fed to the primary of the isolation Transformer T2 through coupling capacitors C8 and C9.The induced signal at the secondary of T2 is fed to the amplifier transistor Q3 through C10. R8, R9 and C9 form an attenuating network to reduce the signal to a lower level to prevent over loading of Q3. R10, R11, R12 and R13 are the biasing resistors for Q3. The amplified output at collector of Q3 is fed to base of Q4 through R14 and C11. A square wave signal of about 2v-pp of frequency of the incoming FSK signal will be available at collector of Q4. Resistor R15 and R17 are used as potential divider for the output signal to limit the level to 2v-pp. The final output of the circuit is available at connector J4. C12 and C13 are supply bypass capacitors. 2.4.2. Phase Locked Loop The PLL decodes the FSK signal output of the pulse shaper and produces a serial data corresponding to the one transmitted at the transmitter end. When 60 kHz signal is received, the output will be logic 0. When 75 kHz signal is received, the output will be logic 1. This serial data output is fed to the receive microcontroller for further decoding. IC LM567 is the PLL The free running frequency of the PLL is tuned to 75 khz. The combination of C17, R25 and preset P2 decides this frequency. In the absence of valid input frequency. The output of the PLL is logic high. When the valid frequency is received, the output will go from high to low. The output from the PLL will be an exact replica of serial output at the transmitter MCU. The output of the PLL decoder is fed to the MCU circuit via an opto isolator. The opto isolator used to prevent interference to the MCU via the power line. 2.4.3. Microcontroller Page 13
  • 14. Power line communication The output of the PLL is fed to serial receive input port of microcontroller AT89C2051. The received serial data is stored in one of the registers of the MCU. The MCU holds the addresses of the units to be controlled. The received data is compared with these addresses. One of the stored address matches with the received data. When this match is found, the particular port of MCU assigned to that particular unit will drive an opto coupler, which in turn will drive the selected unit. MCU Receiver Refer to the schematic MCU FSK Supervisor. This circuit receives the serial data from the decoder and drives the proper Relay circuits to operate the remotely placed units. The circuit receives the data at connector J5, which is the serial input COM port of the MCU. In the receive section port P1 is the output port. The output port drives three relay circuits corresponding to the three units. The received data is decoded by the MCU and it compares the received data with the local addresses of the three units. When the match is found, that particular relay is switched “ON”. The output contacts of the relay switches “ON” the selected unit to the power line. The output port pins also drives LED’s DS3, DS4 and DS5 to the activation of relays K1, K2 and K3. The output port of the MCU is connected to the relay circuits through opto isolators to prevent interference from relay circuit back into the MCU circuit. The output of port pins will be high normally. This in turn will ensure logic high at the input of relay drive buffer IC CD 4049, circuit reference U7. The output of U7 will be low and the relay is not operated. When a valid data is received, the output of MCU will go low and this in turn will make the output of the buffers high. This high level will switch “ON” the relay through transistors Q1, Q2 and Q3. 2.4.4. Relay Circuit Relay circuits provide drive to the relays. Discrete transistors are used for this purpose. The NO (normally open) contact of relays is connected to the power socket of different units. Whenever a relay operates, the respective socket is switched “on”, and the connected unit is controlled. 3. Source Codes Page 14
  • 15. Power line communication The source code is in assembly language and used for transmitter and receiver microcontrollers are given in this chapter. 3.1. Transmitter Code ;Program for FSK-Tx remote controller.Rev01 ;Will have four switches at transmitter end org 0000h sjmp 0030h ;Clear vector table org 0030h mov a,#00h ;clear acc mov p1,#0ffh ;make port p1 an input port mov scon,#40h ;serial mode1, receive disabled mov tmod,#20h ;timer1.mode2, 8 bit autoreload mov th1,#-240 ;baud rate 150 setb tr1 ;start timer begin: jb p1.3,next1 ;check SW3 for logic low at pin 14 acall delay1 ;wait for a short period jb p1.3,next1 ;if p1.2 has gone high, goto next1 mov a,#2ah ;move code 2A to acc, SW3-code mov sbuf,a ; start sending SW3-code wait1: jnb ti,wait1 ;wait for end of transmission clr ti ;clear TI bit acall delay2 ; delay before sensing next switch Page 15
  • 16. Power line communication sjmp begin ;go back to beginning next1: jb p1.4,next2 ;check SW4 at pin 15 for logic low acall delay1 ;monitor low level for some time jb p1.4,next2 ;if p1.3 is high goto next SW 5 mov a,#3bh ;load code 3B to acc, code for SW4 mov sbuf,a ;start sending SW4 code wait2: jnb ti,wait2 ;wait till end of transmission clr ti ;clear TI flag acall delay2 sjmp begin next2: jb p1.5,begin ;check SW5 at pin 16for logic low acall delay1 jb p1.5,begin mov a,#4ch ; 4C is the code for SW5 mov sbuf,a ;start sending SW5 code wait3: jnb ti,wait3 ;wait for end of transmission clr ti acall delay2 sjmp begin ;go to begin ; DELAY SUB ROUTINES delay1: mov r2,#40 ;outer loop counter Page 16
  • 17. Power line communication again: mov r3,#250 ;inner loop counter stay: djnz r3,stay djnz r2,again ret delay2: mov r4,#05 ;outer loop2 counter once: mov r5,#255 ;outer loop1 counter back: mov r6,#255 ;inner most loop counter hold: djnz r6,hold djnz r5,back djnz r4,once ret end 3.2. Receiver Code ;ASM program Line FSK remote receiver Page 17
  • 18. Power line communication org 0000h sjmp 0030h ;bypass vector lookup table org 0030h mov a,#00h ;clear acc mov p1,#0ffh ;make all port-1 pins high mov scon,#50h ;serial mode1,receive enable mov tmod,#20h ;timer1, mode2, auto reload mov th1,#-240 ;select baud rate-150 setb tr1 ;start timer begin: clr ri ;clear RI initially here: jnb ri,here ;monitor RI for received data mov a,sbuf ;copy Rx data to acc cjne a,#2ah,next1 ;If not equal check next code cpl p1.0 ; if equal toggle p1.0, relay K1 ; operates and unit U1 switches ON cpl p1.3 ;p1.3 is low and DS3 glows clr ri ;clear receive interrupt, ri should ;not be cleared till all codes ;are checked sjmp begin next1: cjne a,#3bh,next2 ;if not equal check next code cpl p1.1 ; if equal, toggle p1.1,relay K2 ; operates and U2 switches ON Page 18
  • 19. Power line communication cpl p1.4 ;make p1.4 low,DS4 glows clr ri ;clear ri to receive next byte sjmp begin next2: cjne a,#4ch,begin ;if not equal check next code cpl p1.2 ;if equal, toggle p1.2, relay K3 ; operates and U3 switches ON cpl p1.5 ;make p1.5 low,DS5 glows clr ri sjmp begin ;delay sub-routine delay: mov r2,#250 ;load outer loop counter back: mov r3,#250 ;load inner loop counter stay: djnz r3,stay djnz r2,back ret end 4. Conclusion This project simply demonstrates the capability of transmission of digital data over power lines which have been traditionally used to transmit low frequency analog signals. This is Page 19
  • 20. Power line communication achieved by modulating the digital signal using FSK modulation technique and thus transmitting digital data at higher frequencies. This project thus just demonstrates the basic idea which can be further improved upon so as to be used in various applications. The limitation of this project is that it will successfully transmit data only over a single same phase power line thus restricting the range of transmission. With some additional hardware, we can achieve data transmission over all three phases of power lines thus enabling the transmission over a greater range. Once that is achieved, this concept can be used in various applications like home automation, home networking, street lighting, security system control, control of various remote devices in industry and even internet access. 5. Further Scope Greater research in the area of transmission of digital signals over power lines will definitely enable us to come up with various applications of the concept. The biggest application of this concept though could be Internet Access over the Power Lines. In today’s world where access to information on the move has become an essential part of life to survive in the world which moves at cut throat pace, digital transmission over power lines might enable us this access through any of the millions of power socket in the world. This would enable us to access the internet from any location with power supply. The device to be used to access the internet could be simply plugged into the power socket for ready to use “Plug and Play” Internet access. This will of course require us to update the hardware associated with the power lines as now we will have to include routers at transformer sections. Besides this we will have to connect these power lines to the servers. Protocols and standards for the same will have to be developed if this technology has to be implemented on a commercial scale. Internet access could also be made possible by the setting up of Wi-Fi Hot spots at areas close to transformers. Thus diligent effort in this field just might enable us to access information through the internet in a whole new way and Cable and DSL technologies just might become completely redundant as the ubiquitous power lines itself will provide us the gateway to the warehouse of information-the Internet. 6. Limitations Page 20
  • 21. Power line communication Although the prospects for the implementation and use of this technology seem bright but there are a few limitations with this concept which would have to be dealt with before its commercial application. 1) The biggest problem that digital data transmission over power lines encounters is the radio interference. Since the power lines are usually uncovered, unshielded and untwisted, they might act as antennas and would thus radiate a large amount of radio energy. This would lead to great interference with the other radio signals being transmitted at the same time. The reverse process would also be affecting the signals being sent over the power lines and thus lead to interference in the data transmission. 2) The power line cable, unlike any other broadband medium (copper twisted pair, fiber, coaxial cable), is inherently unsuited for carrying the frequencies BPL uses. Power lines, copper twisted pair, and coaxial cable all act like natural low pass filters, meaning higher frequencies are attenuated more than lower frequencies when attempting to transmit them through the medium. Power lines are designed to carry electrical power. They were not designed to carry radio signals. They do this very poorly, loosing much of the signal to losses. Another major problem would be faced when data will have to be sent over the numerous transformers. The transformers being high inductance devices will act as low pass filters allowing only the low frequency components to pass through while blocking the higher frequency signals. We will thus have to use greater number of repeaters in the communication channel. 3) The last problem to be faced would be the same faced by all new technologies the absence of any standard protocols. For the technology to a success and for large scale implementation, a body such as IEEE would have to come forward with a set of rules or standards for digital data transmission over power lines. This would allow various equipment manufacturing companies to produce equipment conforming to the standard valid over all countries and the service providers to transmit and receive data as per a fixed protocol. Once solutions to these limitations are found, this technology can be used for various commercial applications as mentioned in the section above. Page 21
  • 22. Power line communication 7. Circuits Schematics: TRANSMITTER SIDE CIRCUIT SCHEMATICS Page 22
  • 23. Power line communication TRIGGER CIRCUIT U 3 7 4 1 4 147 1 3 5 9 1 1 1 3 2 4 6 8 1 0 1 2 D 1 L E D Q 1 S W 1 C 1 R 3 R 6 U 1 4 0 4 7 5 4 6 8 1 0 1 1 1 3 7 1 2 3 1 2 9 14 A S T A S T -T + T Q Q O S C G N D C X R X R C C R E T R S T V D D V C C R 5 R 1 J 1 1 2 V C C C 2 R 4 C 4 V C C R 7 R 2 C 3 V C C U 2 A 4 0 1 3 5 3 1 2 14 6 4 D C L K Q Q VDD S R Page 23
  • 24. Power line communication VCO CIRCUIT R 9 R C 2 C A P R 6 R R 4 R U 2 4 0 4 6 4 1 0 16 3 9 1 4 1 5 5 2 1 3 16 7 1 1 1 2 8 V C O U T D E M O VDD C IN V C O IN S IN P 3 IN H P 1 P 2 P PC 1 A C 1 B R 1 R 2 vss R 8 R C 1 C A P N P J 2 C O N N P C B 4 1 2 3 U 3 M C T 2 E 1 6 2 5 4 R 3 R 1 1 Q 6 1 R 1 0 0 1 Q 5 1 R 1 0 0 1 R 1 0 R E S IS T O R C 3 C A P N P C 4 C A P N P J 1 2 1 J 3 C O N N P C B 4 2 1 R 1 R E S IS T O R R 7 R R 5 R U 1 M C T 2 E 1 6 2 5 4 Page 24
  • 25. Power line communication MCU FSK SUPERVISOR D 4 J 9 C O N N T R B L K 4 1 2 3 4 R 1 6 D 3 R 1 5 C 6 U 3 A T 8 9 C 2 0 5 1 1 2 0 5 4 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 3 6 7 8 9 1 1 R S T / V P P V C C X T A L 1 X T A L 2 P 1 . 0 / A I N 0 P 1 . 1 / A I N 1 P 1 . 2 P 1 . 3 P 1 . 4 P 1 . 5 P 1 . 6 P 1 . 7 P 3 . 0 / R X D P 3 . 1 / T X D P 3 . 2 / I N T 0 P 3 . 3 / I N T 1 P 3 . 4 / T 0 P 3 . 5 / T 1 P 3 . 7 5 v J 5 1 2 3 C 7 D 2D 1 J 6 1 2 3 J 4 C O N 2 1 2 C 9 J 7 1 2 3 4 5 6 R 1 3 J 8 C O N 4 1 2 3 4 C 8 R 1 4R 1 2C 5 Page 25
  • 26. Power line communication LINE INTERFACE CIRCUIT J 2 1 2 0 R 2 C 9 R 4 R 5 0 C 8 C 3 0 R 6 0 D 3 U 1 0 0 C 5 0 T 1 T R N S F M R 2 9 8 7 3 1 2 4 5 6 3 0 R 3 0 D 2 0 C 6 0 J 1 1 2 U 2 R 1 V C C J 3 1 2 D 1 0 C 1 0 C 4 J 4 1 2 C 2 C 7 0 Page 26
  • 28. Power line communication LINE INTERFACE CIRCUIT R 1 R 2 J 2 1 2 C 4 C 2 0 0 R 3 R 1 3 C 5 C 6 R 1 1 T 1 T R N S F M R 6 7 1 0 9 5 1 0 2 3 56 1 4 R 7 R 8 R 6 R 4 V C C U 2 J 1 C O N N T R B L K 2 1 2 R 1 0 0 R 5 C 8 C 7 0 C 3 0 0 U 1 R 1 2 0 0 C 1 0 R 9 Page 28
  • 29. Power line communication PHASE LOCKED CIRCUIT C 1 C A P N P R 8 R E S IS T O R U 1 1 3 2 V I N V O U T GND H I J 2 C O N 2 2 1 + C 1 2 C A P P O L C 2 C A P N P J 4 C O N 2 1 2 3 R 1 1 R E S IS T O R + C 1 3 C A P P O L C 1 7 C A P N P R 4 P O T R 2 R E S IS T O R C 1 8 C A P N P R 7 R E S IS T O R R 6 J 3 C O N 2 2 1 U 3 L M 5 6 7 1 2 3 47 8 6 5 OUTFIL LFIL IN P U T +VCCGND O U T P U T T C T R C 1 0 C A P N P C 1 4 C A P N P U 2 M C T 2 E 1 6 2 5 4 C 1 6 C A P N P Page 29
  • 30. Power line communication MCU FSK SUPERVISOR R L 5 G 6 R N -S P D T _ 1 4 3 5 1 2 J 7 1 2 3 0J 5 1 2 3 J 2 1 2 3 J 9 1 2 3 5 v J 1 0 1 2 3 4 5 6 U 7 5 v U 9 M C T 2 1 6 2 5 4 U 2 B 4 0 4 9 5 4 J 8 1 2 3 R 1 2 5 v G 6 R N - S P D T _ 1 4 3 5 1 2 R 1 0 C 1 2 0 D 5 R 2 0 R 1 7 R 9 C 1 0 U 1 0 C 8 D 7 5 v 0 R 1 4 R 1 6 U 3 M C T 2 1 6 2 5 4 U 6 M C T 2 1 6 2 5 4 0 D 1 0 D 1 1 C 1 1 U 2 A 4 0 4 9 3 2 R 1 1 R 1 8 v c c U 4 R 4 R 5 R 3 U 2 C 4 0 4 9 7 6 1 2 v R 8 R 7 C 9 R 1 3 J 4 1 2 3 1 2 v 0 0 R 1 9 U 8 A T 8 9 C 2 0 5 1 1 2 0 5 4 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 3 6 7 8 9 1 1 R S T / V P P V C C X T A L 1 X T A L 2 P 1 . 0 / A I N 0 P 1 . 1 / A I N 1 P 1 . 2 P 1 . 3 P 1 . 4 P 1 . 5 P 1 . 6 P 1 . 7 P 3 . 0 / R X D P 3 . 1 / T X D P 3 . 2 / I N T 0 P 3 . 3 / I N T 1 P 3 . 4 / T 0 P 3 . 5 / T 1 P 3 . 7 D 8 R 1 5 D 9 R L 6 G 6 R N -S P D T _ 1 4 3 5 1 2 J 2 0 C O N N T R B L K 5 1 2 3 4 5 Page 30
  • 32. Power line communication Appendix LIST OF COMPONENTS Page 32
  • 33. Power line communication Trigger MCU Sl No. Description Circuit reference Value 1 capacitor C1 1000uF 2 capacitor C2 0.22uF 3 capacitor C3 10uF 4 capacitor C4 0.1uF 5 resistor R1 470 ohms 6 resistor R2 470 ohms 7 resistor R3 6K8 8 resistor R4 820K 9 resistor R5 47K 10 resistor R6 470 ohms 11 resistor R7 22K 12 U1 4047 13 U2 4013 14 U3 7414 15 Q1 BC547 16 LED D1 17 Connector junction J1 18 switch Sw1 VCO Sl. No. Description Circuit Reference Value 1 capacitor C1 0.1uF 2 capacitor C2 100uF 3 capacitor C3 1000pF 4 capacitor C4 s.c 5 resistor R1 15K 6 resistor R2 12K 7 resistor R3 s.c 8 resistor R4 12K 9 resistor R5 1K 10 resistor R6 47K 11 resistor R7 6K8 Page 33
  • 34. Power line communication 12 resistor R8 12K 13 resistor R9 1K 14 U1 MCT2E 15 U2 MCT2E 16 U3 4046 17 Jumper Connector J2 18 Jumper Connector J1 19 Potentiometer P1 5K preset 20 Q PLL: Receiver Sl. No. Description Circuit Reference Value 1 capacitor C1 0.1uF 2 capacitor C2 100 uF 3 capacitor C3 47uF 4 capacitor C4 0.1uF 5 resistor R1 120K 6 resistor R2 10K 7 resistor R3 1K 8 resistor R4 47K 9 resistor R5 120K 10 U1 78L05 11 U2 MCT2E 12 U3 8PIN-567 13 Jumper Connector J2 14 Jumper Connector J1 15 Jumper Connector J3 16 Potentiometer P1 MCU FSK Transmitter Page 34
  • 35. Power line communication Sl. No. Description Circuit Reference Value 1 capacitor C5 47uF 2 capacitor C6 0.1uF 3 capacitor C7 2.2pF 4 capacitor C8 3.3pF 5 capacitor C9 3.3pF 6 Resistor R12 470 ohms 7 Resistor R13 470 ohms 8 Resistor R14 470 ohms 9 Resistor R15 470 ohms 10 Resistor R16 47K 11 Red LED D1 12 Red LED D2 13 Red LED D3 14 Red LED D4 15 Jumper Connectors J4 2pins 16 Jumper Connectors J5 3pins 17 Jumper Connectors J6 3pins 18 Jumper Connectors J7 6pins 19 Jumper Connectors J8 4pins 20 Jumper Connectors J9 4pins 21 crystal 22 microcontroller 20 pin ZIF Line Interface Circuit: Transmitter Sl. No. Description Circuit Reference Value 1 capacitor C1 0.1uF 2 capacitor C2 100uF 3 capacitor C3 0.22/400v(Orange) 4 capacitor C4 100uF 5 capacitor C5 0.1uF 6 capacitor C6 0.01uF 7 capacitor C7 22K-Green(223K) 8 capacitor C8 0.22/400v(Orange) 9 capacitor C9 1000uF 10 resistor R1 12K 11 resistor R2 1K5 Page 35
  • 36. Power line communication 12 resistor R3 47 ohm 13 resistor R4 12K 14 resistor R5 47K 15 resistor R6 12K 16 Jumper Connector J1 2pins 17 Jumper Connector J2 2pins 18 Jumper Connector J3 2pins 19 Jumper Connector J4 2pins 20 diode D1 4148 21 diode D2 4148 22 diode D3 4148 23 Pulse transformer 1002C 24 Transistor U1 MJE3055 25 Transistor U2 BC 547 Line Interface Receiver Sl. No. Description Circuit Reference Value 1 capacitor C1 100uF 2 capacitor C2 0.1uF 3 capacitor C3 0.01uF 4 capacitor C4 0.22uF 5 capacitor C5 o.c 6 capacitor C6 0.01uF 7 capacitor C7 0.22uF 8 resistor R1 5K6 9 resistor R2 4K7 10 resistor R3 6K8 11 resistor R4 5K6 12 resistor R5 3K9 13 resistor R6 47K 14 resistor R7 4K7 15 resistor R8 2K7 16 resistor R9 2K2 17 resistor R10 12K 18 resistor R11 2K7 19 resistor R12 2K2 20 resistor R13 2K2 21 Jumper Connector J1 2pins 22 Jumper Connector J2 2pins 23 Pulse transformer 1002C 24 Transistor U1 BC 547 25 Transistor U2 BC 547 Page 36
  • 37. Power line communication MCU FSK Receiver Sl. No. Description Circuit Reference Value 1 capacitor C5 47uF 2 capacitor C6 0.1uF 3 capacitor C7 2.2pF 4 capacitor C8 3.3pF 5 capacitor C9 3.3pF 6 Resistor R2 12K 7 Resistor R3 470 ohm 8 Resistor R4 10K 9 Resistor R5 47K 10 Resistor R7 470 ohm 11 Resistor R8 12K 12 Resistor R9 10K 13 Resistor R10 47K 14 Resistor R11 12K 15 Resistor R12 470 ohms 16 Resistor R13 470 ohms 17 Resistor R14 470 ohms 18 Resistor R15 470 ohms 19 Resistor R16 47K 20 Resistor R17 470 ohm 21 Resistor R18 10K 22 Resistor R19 47K 23 Red LED D1 24 Red LED D2 25 Red LED D3 26 Red LED D4 27 Jumper Connectors J2 3pins 28 Jumper Connectors J7 3pins 29 Jumper Connectors J9 3pins 30 Jumper Connectors J10 6pins 31 Jumper Connectors J8 3pins 32 Jumper Connectors J4 3pins 33 Jumper Connectors J5 3pins 34 Jumper Connectors J20 5pins 35 Relay Sugar Cube 36 Relay Sugar Cube 37 Relay Sugar Cube 38 16 Pin 4049 39 crystal 40 microcontroller U8 20 pin Page 37
  • 38. Power line communication ZIF 41 U3 6 Pin MCT2 42 U6 6 Pin MCT2 43 U9 6 Pin MCT2 44 U4 100N 45 U6 100N 46 U10 100N Page 38