Académique Documents
Professionnel Documents
Culture Documents
ISSN: 2278-0181
Vol. 2 Issue 6, June - 2013
Abstract
IJE
RT
1. Introduction
A lighting control system using power line
communication (PLC), which is more electricity
conserving and convenient, is presented here as people
put more and more attention to energy conservation.
Thus effort has been made to conserve energy. [1], [2].
This system is developed for residential and commercial
building where large numbers of light sources are used.
But all light sources are not required during day and
night times. So to manage these light sources efficiently
according to users requirement this kind of system is
useful.
Power Line Communication (PLC) uses existing
power lines to provide a cost-effective communication
IJERTV2IS60904
a) Transmit Path
The main control module utilizes four PWM channels to
generate an approximated sine wave. The PWM channels
are shifted in phase such that a sum of their instantaneous
amplitude resembles a stepped sine wave. By filtering
this stepped sine wave using a band-pass filter, a
relatively clean sine wave is obtained, as shown in
Figure-2.
After the approximated sine wave is obtained, it is
amplified by the MCP6283 Op amp. The chip select pin
www.ijert.org
3326
b) Receive Path
IJE
RT
details
of
hardware
IJERTV2IS60904
www.ijert.org
3327
3. Network-Socket
Network-Socket elements are a parts of passive circuits
modules. The general block diagrams for networksocket circuit are given below.
IJE
RT
The Fig-5 shows connection to power line. NetworkSocket connected through live and neutral lines. A
feedback element used to indicate any light source is
ON/OFF. It sends a status signal to master module,
according to request of main control module.
The internal schematic of Network-Socket is as shown
below. The network-socket consists of coupler circuit,
communication circuit, which step-down 230V AC to
required 9V signal. At the first step power line voltage
step downed for communication purpose. Second stage
consists of feedback circuit. From one end it receives
signal from LIVE and gives to isolator. After taking
feedback signal, it is given to Load Drive. And at the
other end TRIAC used which is connecting to again
LIVE. At last step current sensing circuit used.
4. PLCC Test-Jig
IJERTV2IS60904
www.ijert.org
3328
5. Transceiver Section
6. Software Design
IJE
RT
IJERTV2IS60904
www.ijert.org
3329
IJE
RT
plm_demod_start( )
This function starts the demodulator and configures the
selected ADC channel, starts the timer that triggers ADC
conversion and optionally enables a DMA channel to
service the selected ADC input. Either DMA or ADC
and timer interrupts get enabled. It is mandatory to call
this function before any calls to plm_recv( ) are made.
IJERTV2IS60904
plm_demod_sync( )
This function forces a demodulator resynchronization
and may be called in cases when the demodulator keeps
indicating bit and byte synchronization, but higher
protocol layers decide that patterns received do not form
valid frames, thus suggesting that the byte
synchronization is misaligned.
plm_xmit( )
This function transmits a buffer and is a zero copy
operation, meaning the pointer passed is used to access
payload bytes directly when needed. The operation is
double buffered; meaning the transmission of previous
buffer may already be in progress. In all cases, the buffer
www.ijert.org
3330
plm_recv( )
This function fetches a received buffer. The two
parameters passed are the address and the size of new
buffer to fill in. The function returns an address within a
previously passed buffer, pointing to the first free
location in that buffer. If the address returned is equal to
the previously passed buffer start address, no data has
been received between the calls. If the address returned
points outside the buffer (at previous buf+size), the
buffer has been fully filled and could possibly overflow,
if it was allowed. A NULL pointer is returned on the
very first call.
plm_get_status( )
IJE
RT
PLM_TX_ACTIVE transmission is in
progress.
PLM_TX_BF transmit buffer is full.
PLM_BIT_SYNC the receiver has found bit
synchronization.
PLM_BYTE_SYNC the receiver has found
byte synchronization.
PLM_RESYNC resynchronization has been
requested.
7 Test demonstrations
This demonstration implements a UART-to-UART
connection over power lines. Test setup contains
connection from main control module to Explorer 16
development board. A test setup for PLC communication
is as given in Figure-8. Here, explorer 16 development
board
is
used
as
receiver.
On
which
dsPIC33FJ256GP710 controller used and same code is
used. For demonstration purpose the instructions are
changed according to controllers instruction set. In this
test setup main control module acts as transmitter and
explorer 16 development board used as a receiver. Data
is immediately transferred over the power line and
IJERTV2IS60904
www.ijert.org
3331
9. References
[1]
[2]
IJE
RT
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10] http://www.opensource4pic.org/content/
8. Conclusions
In this paper, we have presented a lighting control system
using power line communication (PLC). A logic method
IJERTV2IS60904
www.ijert.org
3332