51

Jeff Presentation

Embed Size (px)

Citation preview

Page 1: Jeff Presentation
Page 2: Jeff Presentation

PROJECT TITLE

Wireless Transmission Line Fault Detection Using RF

Page 3: Jeff Presentation

Project Supervisor

Engr. Musawwar Hussain

Group Members

Abdul Rehman Samad 211-19345

Nawaf Muhammad Tahir 211-19337

Muhammad Osman Nazir 311-20372

Page 4: Jeff Presentation

Introduction

Wireless Transmission Line Fault Detection

Using Radio Frequency For Communication

Multiple sensors to monitor physical or environmental conditions

One of the Emerging Technology

Page 5: Jeff Presentation

Idea Of Our Project

Page 6: Jeff Presentation

Functionality Of Nodes

Page 7: Jeff Presentation

Hardware Design

Page 8: Jeff Presentation

Block Diagram(Node Unit)

Page 9: Jeff Presentation

Block Diagram(Base Unit)

Page 10: Jeff Presentation

Node UnitNode Unit consists of:

Voltage Sensor

Current Sensor

Temperature Sensor

Humidity Sensor

PIC Microcontroller (PIC 16F877)

Transceivers

Page 11: Jeff Presentation

Operation of Node Unit

Taking analog data of Temperature, Humidity, voltage and

current through sensors.

Converting analog data into digital through ADC.

Programming using micro-controller.

Encode data

Transmission of digital data through RF to Base Node.

Perform actions as told by the user

Page 12: Jeff Presentation

Base Unit

Base Unit consists of:

PIC Microcontroller (PIC 16F877)

Transceivers

RS 232 Port (Serial Port)

Encoder/Decoder

Page 13: Jeff Presentation

Operation of Base Unit

Receive data transmitted by Sensor Node.

Decode Data

Programming using micro-controller.

Send data to PC through RS 232 ( Serial Port)

Take actions told by user

Page 14: Jeff Presentation

SensorSensor is a device that measure physical quantity and converts it into a signal which can be read by an observer or by an instrument.

There are four types of sensors, we are using in our project to get analogue data.

Voltage Sensor

Current Sensor

Temperature Sensor

Page 15: Jeff Presentation

Temperature SensorSensor UsedLM35

FeaturesCalibrated directly in ° Celsius (Centigrade)Linear + 10.0 mV/°C scale factor

SpecificationRated for full −55° to +150°C rangeOperating Voltage 5 voltsLess than 60 A current drainμ

Page 16: Jeff Presentation

Design

Page 17: Jeff Presentation

WorkingLM35 gives the output voltage that is proportional to the Celsius temperature. The scale factor is .01V/oC .

Conversion Factor The general equation used to convert output voltage to temperature is:

Temperature ( oC) = Vout * (100 oC/V) So if  Vout  is  1V , then, Temperature = 100 oC . The output voltage varies linearly with temperature.

Page 18: Jeff Presentation

Voltage sensor

Voltage sensor is the one which detects the input voltage in the line and generates the corresponding stepped down DC output voltage which can easily be measured.

SpecificationRated for 0 to 250 voltsCurrent draining 4-5 mAFrequency 50 hertz

Page 19: Jeff Presentation

Design

Page 20: Jeff Presentation

Input Output

220 AC 2.20 DC215 AC 2.15 DC210 AC 2.10 DC

Page 21: Jeff Presentation

Working

The main function of voltage sensor is to convert 220V AC to desired DC volts.

The A.C voltage is step down

The step down voltage is converted to D.C voltage

Filtration

Variable Resister for adjusting output

Page 22: Jeff Presentation

Current sensorA current sensor is a device that detects electrical current in a wire, and generates a signal proportional to it.

Specification:

Rated at 0-250 volts

Current rating 1 A

Frequency 50-60 Hz

Page 23: Jeff Presentation

Design

Page 24: Jeff Presentation

Working

Current is Step downed

Amplification

Rectification

Page 25: Jeff Presentation

MicrocontrollerMost of the engineering projects are done with the help of Micro controller. In this project, we are going to use MICROCONTROLLER PIC 16F877

PIC 16F877: High-performance RISC CPU. Up to 8K x 14 words of Flash Program Memory. Up to 256 x 8 bytes of EEPROM data memory. Selectable oscillator options Low-power, high-speed CMOS EPROM/EEPROM technology Only single 5V source needed for programming capability Processor read/write access to program memory Wide operating voltage range: 2.5V to 5.5V High Sink/Source Current: 25 mA

Page 26: Jeff Presentation

Pin Description

Page 27: Jeff Presentation

Display on LCD

Store values in array and

then

Process Each Parameter

Call LCD and Process function

Define Functions

Initializes Variables and

function

Define Libraries

Flow Chart

Page 28: Jeff Presentation

Serial Communication

Serial communication?

Cheaper way of communication.

Time sequence

Page 29: Jeff Presentation

Usually all the Digital ICs work on TTL or CMOS voltage levels which cannot be used to communicate over RS-232 protocol.

So a voltage or level converter is needed which can convert TTL to RS232 and RS232 to TTL voltage levels.

The most commonly used RS-232 level converter is MAX232.

RS232

Page 30: Jeff Presentation

MAX 232

This IC includes charge pump which can generate RS232 voltage levels from 5V power supply.

Converts from RS232 voltage levels to TTL voltage levelsMAX232 has two sets of line drivers for transferring and

receiving dataLine drivers used for TxD are called T1 and T2Line drivers for RxD are designated as R1 and R2T1 and R1 are used together for TxD and RxD of the PIC

16f877A

Page 31: Jeff Presentation

MAX 232 Pin Description

Page 32: Jeff Presentation

MAX232 Interfacing with Serial port

Page 33: Jeff Presentation

Baud Rate

Baud rate is a measure of how fast data are moving between instruments that use serial communication.

Baud can be abbreviated using the shortened form “Bd” when being used for technical purposes.

Must make sure that the baud rate of the PIC system matches the baud rate of the PC's COM port

Page 34: Jeff Presentation

Working of Microcontroller

PIC 16F877A microcontroller can be set to transfer and receive serial data at different baud rates using software instructions.

In this project baud rate 9600bps is used.

Page 35: Jeff Presentation

RxD and TxD pins in the 16F877A

16F877A has two pins used for Transferring and

Receiving Data Serially

TxD and RxD are part of the port c group

Pin 25 (Port c) is assigned to TxD

Pin 26 (Port c) is designated as RxD

Pins are TTL compatible

Require a line driver to make them RS232 compatible

Driver is the MAX232 chip

Page 36: Jeff Presentation

Start and stop bits

A synchronous method, each character is placed between

start and stop bits called framing

Start bit is always one bit

Stop bit can be one or two bits

Start bit is always a 0 (low)

Stop bit(s) is 1 (high)

LSB is sent out first

Page 37: Jeff Presentation
Page 38: Jeff Presentation

In modern PCs one stop bit is standard

When transferring a text file of ASCII characters using 1

stop bit there is total of 10 bits for each character

8 bits for the ASCII code ,1 bit each for the start and stop

bits

For each 8-bit character there are an extra 2 bits, which

gives 20% overhead

Page 39: Jeff Presentation

RF Transceivers We have used car alarm security system modules for our

wireless communication.

RF Transmitter Specification: Nominal Voltage: DC 12V

Operating Current: 15mA

Operating Frequency: 433MHz

Modulation: FSK

Radiated Power: 20mW

Characteristics: Small size, low power, medial distance

Page 40: Jeff Presentation

RF Transceivers

RF Receiver Specification:Some specification of RF

receiver which we are using is given below:

Nominal Voltage: DC 5V

Operating Current: 15mA

Operating Frequency: 433MHz

Modulation: FSK

Page 41: Jeff Presentation

Working of Transceiver

Communication unit basically transmits data from control

unit part I to control unit part II .

RF Module which transmits data at 315/433 MHz is used.

there are two basic parts in communication unit called as

transmitter and receiver.

Hardware coding is done while sending data.

Page 42: Jeff Presentation

PT2262In our project we have use a RF Encoder PT2262 and PT2272 RF Decoder. RF Transmitter is connected to the different components through RF Encoder. This encoder converts the 4-bit data into a single bit and sends it to the transmitter which will be transmitting. The data which is in the air is an analog value. Features

CMOS TechnologyLow Power ConsumptionUp to 6 Data PinsOperating Voltage: Vcc = 12 Volts

Page 43: Jeff Presentation

Pin Configuration

Page 44: Jeff Presentation

PT 2272PT 2272 is a remote control decoder utilizing CMOS Technology. At the receiving end, the receiver receives this analog value on a single data line and passes this data to the decoder. The decoder does the opposite functioning of the encoder i.e., it converts the single bit data into four bit data and gives it to the microcontroller which does the further processing.

Features CMOS Technology Low Power Consumption Very High Noise Immunity Wide range of Operating Voltage: Vcc = 4 ~ 15 Volts

Page 45: Jeff Presentation

Pin Configuration

Page 46: Jeff Presentation

Modulation

It is an addition of information to an electronic signal.

There are two types of Modulation

Analogue Modulation

Digital Modulation

Page 47: Jeff Presentation

Use of Modulation Scheme

In our Project we are using Digital Modulation Scheme.

Fundamental digital modulation techniques are based on keying:

In the case of PSK (phase-shift keying), a finite number of phases are used.

In the case of FSK (frequency-shift keying), a finite number of frequencies are used.

In the case of ASK (amplitude-shift keying), a finite number of amplitudes are used.

Page 48: Jeff Presentation

FSK

In our project FSK is used as Modulation scheme.

Frequency Shift Keying (FSK).

Page 49: Jeff Presentation

Flow Chart

Page 50: Jeff Presentation

Modifications

Long Range of communication

Multiple Nodes

Networking Topologies

Addition of other Parameters

Page 51: Jeff Presentation

Thank you

Any Questions ??