wireless process controll systems

download wireless process controll systems

of 38

Transcript of wireless process controll systems

  • 8/14/2019 wireless process controll systems

    1/38

    WIRELESS PROCESSWIRELESS PROCESS

    CONTROL SYSTEMCONTROL SYSTEM

  • 8/14/2019 wireless process controll systems

    2/38

    Submitted By

    K.VINOTH JOHN RAJ

    (Electronics and Communication Department)

    Udaya School of Engineering

  • 8/14/2019 wireless process controll systems

    3/38

    ABSTRACTABSTRACT

    The aim of the project is to control theThe aim of the project is to control the

    devices through SMS and to display thedevices through SMS and to display the

    current values of temperature, pressure,current values of temperature, pressure,

    humidity in LCD using sensors. Accordinghumidity in LCD using sensors. According

    to the sensors value the microcontrollerto the sensors value the microcontroller

    controls the device automatically.controls the device automatically.

  • 8/14/2019 wireless process controll systems

    4/38

    Our project is having 5 processesOur p

    roject is having 5 processes

    1.Monitoring1.MonitoringThe three sensors are reading theThe three sensors are reading the

    present values of Temperature, Pressure,present values of Temperature, Pressure,

    Humidity and displays in the LCD.Humidity and displays in the LCD.Eg:Eg

    :

    Temp

    Press

    Hum

    Temp:32

    Press:45

    Hum :45

  • 8/14/2019 wireless process controll systems

    5/38

    2.Automatic process:2.Automatic process:

    Here the set point is stored in micro controller.Here the set point is stored in micro controller.

    When the sensors value exceeds our set point,When the sensors value exceeds our set point,the microcontroller controls the devicethe microcontroller controls the device

    automaticallyautomatically

    Eg:Eg

    :

    Pres

    s Set point: 70

    Press:

    71

    Pump

  • 8/14/2019 wireless process controll systems

    6/38

    3.Sending SMS:

    When the Sensors value exceeds our set

    point the micro controller automatically sendssms to the operators mobile.

    Eg

    Temp Set point : 70

    Temp.Exeeds

    To 71

    Temp: 71

  • 8/14/2019 wireless process controll systems

    7/38

    4. Controlling process:

    The operator can change the set point

    by sending SMS by his mobile.Eg:

    Set point: 70Newsetpoint:85

    Setpoint :85

  • 8/14/2019 wireless process controll systems

    8/38

    5.Controlling the devices:

    The operator can control the devices which canbe connected in micro controller by sending

    sms.

    Eg:-----

    Micro

    controller

    Heater:

    Off

    Heater

  • 8/14/2019 wireless process controll systems

    9/38

    6. Maintaining the process:6. Maintaining the process:

    By sending two set points(upper andBy sending two set points(upper and

    lower) through sms we can maintain thelower) through sms we can maintain the

    process between the two set points.process between the two set points.

    It is not included in this project.It is not included in this project.

  • 8/14/2019 wireless process controll systems

    10/38

    Block Diagram:Block Diagram:

    Sensor-1Lamp

    Mobile

  • 8/14/2019 wireless process controll systems

    11/38

    8051 8 bit controller8051 8 bit controller:-:-

    The P89C51RD2BN contains a non volatile flashThe P89C51RD2BN contains a non volatile flashprogram memory that is both parallel programmableprogram memory that is both parallel programmableand In-system and In-application programmable.and In-system and In-application programmable.

    In-system programming allows the user toIn-system programming allows the user todownload code while the microcontroller sits indownload code while the microcontroller sits inapplication.application.

    In-application programming means that microIn-application programming means that microcontroller fetches new program code andcontroller fetches new program code andreprograms itself while in the systemreprograms itself while in the system

  • 8/14/2019 wireless process controll systems

    12/38

    This microcontroller receives the current values fromThis microcontroller receives the current values fromthree sensors(Temp,Press,Humid) and stored inthree sensors(Temp,Press,Humid) and stored inmemory. The microcontroller converts this digitalmemory. The microcontroller converts this digitalvalue into ASCII code and gives to LCD display.value into ASCII code and gives to LCD display.

    The sensors values are compared with the setpointThe sensors values are compared with the setpointwhich is stored in memory. When this value exceedswhich is stored in memory. When this value exceedsthis set point the microcontroller sends alert SMS tothis set point the microcontroller sends alert SMS toOperators mobile.Operators mobile.

    The Operators mobile number is stored inThe Operators mobile number is stored inmicrocontroller.microcontroller.

    When the new setpoint is given by operator theWhen the new setpoint is given by operator themicrocontroller deletes the old set point and stores themicrocontroller deletes the old set point and stores thenew set point.new set point.

    The microcontroller can accept other controllingThe microcontroller can accept other controllingcommands from operator. According to the commandcommands from operator. According to the commandthe microcontroller controls the device.the microcontroller controls the device.

  • 8/14/2019 wireless process controll systems

    13/38

    Sensors:Sensors: Sensors are used to sense the values suchSensors are used to sense the values such

    as temperature, pressure, humidity,as temperature, pressure, humidity,touch-sensitive sensor,light intensitytouch-sensitive sensor,light intensitysensor etc.sensor etc.

    AA sensorsensor is a device that measures ais a device that measures aphysical quantity and converts it into aphysical quantity and converts it into a

    signal which can be read by an observer orsignal which can be read by an observer orby an instrument. For accuracy, all sensorsby an instrument. For accuracy, all sensorsneed to be calibrated against knownneed to be calibrated against knownstandards.standards.

    Applications include Air conditioner, cars,Applications include Air conditioner, cars,

    aerospace, medical instruments,aerospace, medical instruments,manufacturing and robotics, heater.manufacturing and robotics, heater.

  • 8/14/2019 wireless process controll systems

    14/38

    Pressure sensorPressure sensor

  • 8/14/2019 wireless process controll systems

    15/38

    Pressure sensor(HRS4H-S-DCR)Pressure sensor(HRS4H-S-DCR):-:-

    The pressure sensor measures theThe pressure sensor measures theatmospheric pressure and generates a voltageatmospheric pressure and generates a voltageproportional to the air pressure. The higher theproportional to the air pressure. The higher theair pressure higher the voltage.air pressure higher the voltage.

    An equation is provided by the manufacturer:An equation is provided by the manufacturer:V = 5.0(0.009P 0.095)V = 5.0(0.009P 0.095)V is the voltage and P is the air pressure inV is the voltage and P is the air pressure inkilopascals.kilopascals.

    The applications include automobile,The applications include automobile,mechanical, chemical industries.mechanical, chemical industries.

  • 8/14/2019 wireless process controll systems

    16/38

    Temperature SensorTemperature Sensor

  • 8/14/2019 wireless process controll systems

    17/38

    Temperature Sensor(LM35)Temperature Sensor(LM35)

    The LM35The LM35 seriesseries are precision integratedare precision integratedcircuit temperature sensors. The o/p voltagecircuit temperature sensors. The o/p voltage

    is linearly proportional to celsius temperature.is linearly proportional to celsius temperature.

    It can be used by single power supply or plusIt can be used by single power supply or plusand minus supplies.It has very low selfand minus supplies.It has very low selfheating less than 0.1C.heating less than 0.1C.

    Operating voltage 4 to 30 voltsOperating voltage 4 to 30 voltsSensing range -55C to +150CSensing range -55C to +150C0.5C accuracy guaranteeble0.5C accuracy guaranteeble

  • 8/14/2019 wireless process controll systems

    18/38

    Humidity SensorHumidity Sensor

  • 8/14/2019 wireless process controll systems

    19/38

    Humidity Sensor(SY-HS-220)Humidity Sensor(SY-HS-220)

    A humidity sensor measures the humidityA humidity sensor measures the humiditylevel by measuring the change in thelevel by measuring the change in theresistance of an element or the change inresistance of an element or the change inthe electrostatic capacity of that elementthe electrostatic capacity of that elementas it absorbs or releases moisture.as it absorbs or releases moisture.

    The o/p voltage is linearly inverselyThe o/p voltage is linearly inverselyproportional to humidity.It is used in Airproportional to humidity.It is used in Airconditioner, Weather forecast, Humidityconditioner, Weather forecast, Humiditychamber.chamber.

    Operating voltage 5VOperating voltage 5VOperating Temperature 0 to 60 COperating Temperature 0 to 60 COutput voltage 0 to 3.3VOutput voltage 0 to 3.3V5% accuracy guaranteeble5% accuracy guaranteeble

  • 8/14/2019 wireless process controll systems

    20/38

    RelayRelay

    connection to

    P3.0230V

    AC

  • 8/14/2019 wireless process controll systems

    21/38

    A relay is a simpleA relay is a simple electromechanical switchelectromechanical switchmade up of anmade up of an electromagnetelectromagnet and a set ofand a set ofcontacts.contacts.

    When the supply voltage is given to the coil isWhen the supply voltage is given to the coil is

    magnetized and closes the switch. It causes shortmagnetized and closes the switch. It causes shortcircuit.circuit.

    When no supply voltage is given the coil is notWhen no supply voltage is given the coil is not

    magnetized and the switch is not closed. Itmagnetized and the switch is not closed. Itcauses for open circuit.causes for open circuit.

    RelayRelay

    http://electronics.howstuffworks.com/electromagnet.htmhttp://electronics.howstuffworks.com/electromagnet.htmhttp://electronics.howstuffworks.com/electromagnet.htm
  • 8/14/2019 wireless process controll systems

    22/38

    ADCADC

  • 8/14/2019 wireless process controll systems

    23/38

    ADC 0809:ADC 0809:

  • 8/14/2019 wireless process controll systems

    24/38

    LCDLCD

  • 8/14/2019 wireless process controll systems

    25/38

    LCDLCD

    It is the abbreviation ofIt is the abbreviation of liquid crystal display.liquid crystal display.

    LCDLCD is an electronically-modulated optical device shapedis an electronically-modulated optical device shapedinto a thin, flat panel made up of any number of color orinto a thin, flat panel made up of any number of color ormonochrome pixels filled with liquidmonochrome pixels filled with liquid crystals and arrayedcrystals and arrayedin front of a light source (backlight) or reflector.in front of a light source (backlight) or reflector.

    It is often utilized in battery-powered electronic devicesIt is often utilized in battery-powered electronic devices

    because it uses very small amounts of electric power.because it uses very small amounts of electric power.

  • 8/14/2019 wireless process controll systems

    26/38

  • 8/14/2019 wireless process controll systems

    27/38

    GSMGSM

    12v AC

  • 8/14/2019 wireless process controll systems

    28/38

    GSM ModemGSM Modem

    Global system for mobile communication is a globallyGlobal system for mobile communication is a globallyaccepted standards for digital cellular communication.accepted standards for digital cellular communication.

    The Gsm network is divided into three major systems:The Gsm network is divided into three major systems:

    the switching system(ss), the base station system(Bss),andthe switching system(ss), the base station system(Bss),andthe operation and support system(Oss).the operation and support system(Oss).

    The communication between Gsm and controller isThe communication between Gsm and controller isachieved through Max232, and are connected by RS232achieved through Max232, and are connected by RS232

  • 8/14/2019 wireless process controll systems

    29/38

    VALUEVALUE

    void Compare_Range(void)void Compare_Range(void) {{ unsigned char dummy;unsigned char dummy;

    if ((TEMP_SET_VALUE < Temperature)&& (Temp_Status==ON))if ((TEMP_SET_VALUE < Temperature)&& (Temp_Status==ON))

    {{ Temp_Bulb = 0;Temp_Bulb = 0; Temp_Status = OFF;Temp_Status = OFF; dummy = (Temperature/10);dummy = (Temperature/10); Temp[0]= (dummy+0x30);Temp[0]= (dummy+0x30); dummy = (Temperature%10); // Second digitdummy = (Temperature%10); // Second digit

    Temp[1]= (dummy+0x30); // second digit ascii Temp[1]= (dummy+0x30); // second digit ascii strcpy(alert_string,"\n\rTemp Max Alert: ");strcpy(alert_string,"\n\rTemp Max Alert: "); strncat(alert_string,Temp,2);strncat(alert_string,Temp,2); GSM_Send_Msg(alert_string);GSM_Send_Msg(alert_string); }}

  • 8/14/2019 wireless process controll systems

    30/38

    if ((HUMID_SET_VALUE < Humidity) && (Humid_Status==ON))if ((HUMID_SET_VALUE < Humidity) && (Humid_Status==ON)) {{

    Humid_Bulb = 0;Humid_Bulb = 0; Humid_Status = OFF;Humid_Status = OFF;

    dummy = (Humidity/10);dummy = (Humidity/10); Humid[0]= (dummy+0x30);Humid[0]= (dummy+0x30);

    dummy = (Humidity%10); // Second digitdummy = (Humidity%10); // Second digit Humid[1]= (dummy+0x30); // second digit asciiHumid[1]= (dummy+0x30); // second digit ascii

    strcpy(alert_string,"\n\rHumidity Max Alert: ");strcpy(alert_string,"\n\rHumidity Max Alert: "); strncat(alert_string,Humid,2);strncat(alert_string,Humid,2);

    GSM_Send_Msg(alert_string);GSM_Send_Msg(alert_string); }}

  • 8/14/2019 wireless process controll systems

    31/38

    if ((PRESS_SET_VALUE < Pressure) && (Press_Status==ON))if ((PRESS_SET_VALUE < Pressure) && (Press_Status==ON)) {{ Press_Bulb = 0;Press_Bulb = 0;

    Press_Status = OFF;Press_Status = OFF;

    dummy = (Pressure/10);dummy = (Pressure/10); Press[0]= (dummy+0x30);Press[0]= (dummy+0x30); dummy = (Pressure%10); // Second digitdummy = (Pressure%10); // Second digit

    Press[1]= (dummy+0x30); // second digit asciiPress[1]= (dummy+0x30); // second digit ascii

    strcpy(alert_string,"\n\rPressure Max Alert: ");strcpy(alert_string,"\n\rPressure Max Alert: "); strncat(alert_string,Press,2);strncat(alert_string,Press,2); GSM_Send_Msg(alert_string);GSM_Send_Msg(alert_string);

    }}

    }}

  • 8/14/2019 wireless process controll systems

    32/38

    Components Used:Components Used:

    GSM modemGSM modem : 1.: 1.

    ControllerController : P89C51RD2BN: P89C51RD2BN

    ToolTool : Keil IDE.: Keil IDE.

    ADCADC : 4 Channels.: 4 Channels.

    LEDsLEDs : Red .: Red .

    MAX232 DriverMAX232 Driver : 2.: 2.

    Power Supply Unit.Power Supply Unit.

    Software Used:Software Used:

    Operating systemOperating system : windows: windows

    Programming LanguageProgramming Language : Embedded C: Embedded C

    IDEIDE : Keil: Keil

  • 8/14/2019 wireless process controll systems

    33/38

  • 8/14/2019 wireless process controll systems

    34/38

    AdvantagesAdvantages

    The operator can do the controlling process fromThe operator can do the controlling process fromanywhere in the world.anywhere in the world.

    The operator can get acknowledgement for every sms.The operator can get acknowledgement for every sms.

    The operator can get sms from the controller.The operator can get sms from the controller.

    So operator can know theSo operator can know theresult of the process though his mobile.result of the process though his mobile.

    The sms can be sent to number of persons as our need.The sms can be sent to number of persons as our need.

    The operator can use any sim card to send sms as wellThe operator can use any sim card to send sms as wellin Gsm modem we can use any sim card.in Gsm modem we can use any sim card.

    For security purpose we can add code with the sms.For security purpose we can add code with the sms.

  • 8/14/2019 wireless process controll systems

    35/38

  • 8/14/2019 wireless process controll systems

    36/38

    DisadvantagesDisadvantages

    During network problem we have toDuring network problem we have to

    go for manual operation.go for manual operation.

    We have to spend money for eachWe have to spend money for each

    sms.sms.

    This process takes little more timeThis process takes little more time

    than other wireless control process.than other wireless control process.

  • 8/14/2019 wireless process controll systems

    37/38

    Applications:Applications:

    It can be used in industriesIt can be used in industries

    It can be used in factories, laboratoriesIt can be used in factories, laboratories It can be used in medical fieldsIt can be used in medical fields

    It can be used in home appliances alsoIt can be used in home appliances also

    Reducing vehicle theftReducing vehicle theft Reducing smuggling in vehiclesReducing smuggling in vehicles

    Current billing and current cutCurrent billing and current cut

    Automatic control for transformerAutomatic control for transformer

  • 8/14/2019 wireless process controll systems

    38/38

    THANK YOU