8/2/2019 Vignesh 3rd Sem
1/29
8/2/2019 Vignesh 3rd Sem
2/29
CONTENT1. INTRODUCTION2. GSM3. PLC 4. GENERAL DESCRIPTION OF THE SYSTEM
5. X10 Technology6. Microcontroller7. MAX2328. Power Line Carrier Modem9. Communication between Transmitter and Receiver10. ADVANTAGES & DISADVANTAGES11. APPLICATIONS12. CONCLUSION13. REFERENCE
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
3/29
INTRODUCTION As we all need an affordable smart system that can make our life
easier, more comfortable, offer more safety.
GSM based home automation system is one such system
Two main techniques applied in the system are:
-GSM
-PLC
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
4/29
GSM GSM is the most popular and widely used digital mobile telephony
system in the world.
It is now used by over 1.5 billion people all over the world.
Second generation (2G) cell phone system.
GSM uses narrowband Time Division Multiple Access (TDMA) for
voice and Short Messaging Service (SMS).
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
5/29
PLC
Power Line Communication or Power Line Carrier (PLC) is
basically a technology that enables narrow or broad band
speeds through power lines by varies advanced modulation
technology .
This technology doesnt require extra cabling. It only uses the
existing power cable in the house .
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
6/29
GENERAL DESCRIPTION OF THESYSTEM
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
7/29
X10 Technology
X10 is an international and open industry communication
standard protocol used to communicate among electronic
devices for home automation.
With X10, electronic devices that plugged into the wall socket
can communicate with each other.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
8/29
X10 Protocol X10 protocol is the language used for the control units to
communicate with each other.
Fig shows an example of X10 signal.
Basic X10 message consists of 13bits separated into 4 parts:
CET DIGITAL SIGNAL PROCESSING
-first 4bits are start code which is 1110.
-second 4bits are house code.
-next 4bits are either unit code or function
code depends on the last code.
-last bit will decide the preceding 4bit are
unit code or function code.
8/2/2019 Vignesh 3rd Sem
9/29
Example of Binary 1 and 0 X10Codes
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
10/29
Microcontroller
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
11/29
Microcontroller In this project, PIC16F877 and PIC16F628 are chosen to operate
in master and slave units respectively.
They are chosen based on the properties needed such as
number of input and output pin, RAM capacity, number of
internal timer, and etc for construction of circuits.
The main purpose of implementing microcontroller is to detect
zero-crossings and the 120kHz X10 data bursts on the 50Hz ACelectrical line.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
12/29
PIC16F877A PIC16F877A is chosen to be used in the master unit mainly
because more I/O port is needed compared to slave units.
There are five I/O port in PIC16f877A including port A, B, C,
D, and E. It can communicate with GSM modem with pin 25
(TX) and pin 26 (RX) which is bit 6 and 7 of Port C.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
13/29
PIC16F628 PIC16F628 is chosen as the slave units microcontroller due to its
less complexity compared to PIC16F877.
It is also a low cost with high performance CMOS microcontroller.
It has enhanced the core features.
8-level deep stack.
Multiple internal and external interrupt sources.
A total of 35 instruction sets are available (reduced instruction
set)
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
14/29
MAX232
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
15/29
MAX232
MAX232 is an integrated circuit (IC) that translates signals
from an RS232 serial port to signals suitable for digital logic
circuit.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
16/29
Power Line Carrier Modem
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
17/29
Power Line Carrier Modem There are a few types of power line carrier modem available
in the market such as:
-TDA5051A (Philips).
-ST7537HS1 (ST Microelectronics).
-LM1893 (National Semiconductor)
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
18/29
TDA5051A TDA5051A is one of the most popular PLC
modem IC in the market .
TDA5051A is a 16 pin integrated modem.
It uses minimum 600 baud and maximum
1200 baud data transmission rate.
A single 5V supply is needed to operate
this modem IC. Works in full duplex mode.
Pin Diagram of TDA5051A is as shown.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
19/29
Block diagram of TDA5051A
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
20/29
Communication between Transmitter andReceiver
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
21/29
Photo of the Testing Circuit
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
22/29
Input Waveform at Transmitter andOutput Waveform at Receiver
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
23/29
ADVANTAGES The technique is inexpensive . Easy to setup.
A printer or any other device that doesnt need to be directly
connected to a computer.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
24/29
DISADVANTAGES Data transmission rate is slow 50kbps to 350kbps.
The older wiring can affect performance.
The performance can be impacted by home power.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
25/29
FUTURE RECOMMENDATIONS FSK power line modem works better than ASK in the sense of
stabilization because the carrier has
-constant amplitude.
-it is immunity to non-linearities.
-immunity to adjacent channel interference and
-it has the ability to work in small SNR environments.
The data transmission rate can be increased by using INTELON
power packet technology of about 14Mbps.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
26/29
CONCLUSION The power line communication system for home automation
has been successfully studied.
However, there is error occur in the system due to the
sensitivity of the PLC modem and the disturbance in the
electrical line.
The main purpose of implementing power line
communication is because it doesnt require installing newwiring system because the data can be transmitted through
existing power line system.
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
27/29
REFERENCE IEEE paper on Design of a Wireless Sensor Network Based
Monitoring System for Home Automation by Jun Zhang,
Guangming Song, Hui Wang and Tianhua Meng;
Archnet. (2010). Power Line Carrier Modem. Retrieved August
2, 2010, from
http://www.archnetco.com/english/product/PLM01.htm.
Serasidis Vasilis. (2006). SMS Remote Control. Retrieved June
14, 2010, from
http://www.serasidis.gr/circuits/smscontrol/smscontroller.ht
m.CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
28/29
Thank you
CET DIGITAL SIGNAL PROCESSING
8/2/2019 Vignesh 3rd Sem
29/29
ANY QUESTIONS
CET DIGITAL SIGNAL PROCESSING