SlideShare ist ein Scribd-Unternehmen logo
1 von 30
PROCESS CONTROL IN WET TANNERY
   The block diagram of the process can be interpreted as:
     .
          Get Input                   Converting the   Interfacing the
                          Signal                         signal with
         Signal from                     signal to
                       Conditioning                         8085
           Sensor                      digital form
                                                       microprocesor




                           Load          Interfacing    Programming the
                                           Circuit.      Microprocessor




                                                                          4
INPUT FROM SENSOR
 For temperature sensing LM35 Temperature
  sensor is used.
 The output voltage of this 3 pin temperature sensor
  is directly proportional to the ambient temperature
  and is given by the formula:
                Vout = K x T
Where,
  K = 10mV/oC (Sensor Constant),
  T= Ambient Temperature.
 For a temperature range of 0-100oC, the output
  voltage varies from 0-1V in steps of 10mV.            2
   For pH sensing, PHE-45P pH sensor is used.

   The PHE-45P is an electrode type sensor, which
    develops a voltage(potential) directly proportional to
    the concentration of H+ ions.

   For a pH range of 0-14, the output voltage of the
    sensor varies from -0.41V to +0.41V.



                                                             3
   The output voltage from the pH sensor follows Nernst
    equation of equilibrium reduction potential.



Where,
E = reduction potential(voltage generated)
R = Universal gas constant( R=8.314 J/K-mol)
T = absolute temperature(T = 298K)
F = Faraday constant(F = 96485.33C/mol)
z = number of ions involved in the reaction.

                                                           4
   On substituting the values of constants, we get:
               E = 0.4142 – 0.059pH.
    Hence, for a pH of 7, the potential would be 0,
           for a pH of 0 (pure acidic), E = 0.41V
           for a pH of 14(pure alkaline), E = -0.41V.




                                                        5
SIGNAL CONDITIONING
   The signal conditioning is done so as to interface
    the sensor’s output with the Analog to digital
    converter.



   The main aim of this module is to convert the output
    of sensors i.e., 0-1V from temperature sensor and -
    0.41V to +0.41V from pH sensor to 0-5V which is
    the acceptable working range for an analog to
    digital converter.
                                                           6
   For temperature sensor, we use a simple non
    inverting amplifier circuit, given below:




        Voltage Gain(A) = 5v/v.
                                                  7
   For pH sensor, we use an adder circuit coupled with
    an inverting amplifier:




    The output voltage is 0-5V.

                                                          8
CONVERTING TO DIGITAL FORM

   ADC0809 is used for analog to digital conversion.
    The analog signal which we get from the sensors is
    amplified to 0-5V and is given to the ADC 0809.

   The analog input from the temperature sensor is
    given at IN0 port of ADC.

   The input port selection is done through the input
    selection lines(ADD A, ADDB, ADD C) which are
    connected to the programmable peripheral interface.
                                                          9
   The conversion starts when SOC(Start of
    Conversion) is given HIGH from the microprocessor
    through 8255.

   When the analog input is converted to digital form,
    the EOC(End of Conversion) port goes HIGH,
    informing the microprocessor that the conversion is
    done.

   The clock to the ADC is given from the
    microprocessor clock output.
                                                          10
ADC 0809 PIN CONNECTION




.                         11
INTERFACING WITH MICROPROCESSOR
   The digital output from the ADC is interfaced with
    the microprocessor through a programmable
    peripheral interface (PPI 8255).

   PPI 8255 is a 40 pin IC which consists of three 8-
    bit I/O ports, a 8-bit Bi-directional data transfer port
    and a control logic buffer.

   The block diagram of 8255 is as follows:

                                                               12
.




    13
•   Data Bus Buffer: It is an 8 bit data buffer used to
    interface 8255 with 8085. It is connected to D0-D7 bits
    of 8255.

•   Read/write control logic : It consists of inputs
    RD¯,WR¯,A0,A1,CS¯ .

•   RD¯,WR¯ are used for reading and writing on to 8255
    and are connected to MEMR¯,MEMW¯ of 8085
    respectively.

•   A0,A1 are Port select signals used to select the
    particular port .
                                                              14
•   CS ¯ is used to select the 8255 device .
A1       A0   Selected port
0        0        Port - A
0        1        Port –B
1        0        Port – C
1        1        Control Register




                                     15
The 8255 PPI is initialized as below:

   Port A - Assigned as Input

   Port B - Assigned as output

   Port CL - Assigned as Input

   Port CU - Assigned as output
                                        16
   The Port A takes input from the digital output pins of
    ADC.

   The Port B gives signal to SOC, ALE and Input
    Select of ADC.

   The Port CL takes input from EOC.

   The Port CU gives the control signal.
                                                             17
   Control Word:




   The control word for the PPI is – 1 0 0 1 0 0 0 1 i.e.,
    91H.


                                                              18
19
MICROPROCESSOR 8085
The features of INTEL 8085 are :
    It is an 8 bit processor.
    It is a single chip N-MOS device with 40 pins.
    It has multiplexed address and data bus.(AD0-AD7).
    It works on 5 Volt dc power supply.
    The maximum clock frequency is 3 MHz while
     minimum frequency is 500kHz.
    It provides 74 instructions with 5 different addressing
     modes.
    It provides Acc ,one flag register ,6 general purpose
     registers and two special purpose registers(SP,PC).       20
PIN LAYOUT.




              21
INTERNAL ARCHITECTURE:




                         22
INSTRUCTION SET CLASSIFICATION
The entire group of instructions can be classified into five
  categories:

1.    Data Transfer Operations. E.g. MOV, MVI, LDA,STA.

2.    Arithmetic Operations. E.g. ADD, SUB, INR, DCR.

3.    Logical Operations. E.g. ANA, ORA, XRA, CMP.

4.    Branching Operations. E.g. JMP, CALL, RET, JZ.

5.    Machine Control Operations. E.g. IN, OUT, PUSH, POP.
                                                               23
. PROGRAMMING LOGIC:
.
    •   Configure 8255 I/O ports
    •   8085 sends SOC command to ADC
    •   8085 waits for EOC signal from ADC
    •   8085 reads 8-bit temperature value from
        port A
    •   8085 compares the value with set point
        value
    •   8085 generates the control signal to
        control load.                             24
FLOW CHART
   .
        .                   START



        .
                       Initialize 8255




                     CALL CONVERSION


                                Is
                              Temp
                                >
                             SETPP
                                T



                                           25
                         Turn heater off
26
PROGRAM:

           MVI A, 91H
           OUT CR

BEGIN:     CALL CONVERSATION
           CPI 41H
           JC NEXT
           MVI A, 0EH
           OUT PC
           JMP BEGIN

NEXT:      MVI A, 0FH
           OUT PC              27
           JMP BEGIN
CONVERSION SUBROUTINE:
CONVERSION:
              MVI A,00H
              OUT PB            ; Send address to select IN0
              MVI A,08H         ;Latch address by giving ALE High
              OUT PB

BACK:         MVI A,18H
              OUT PB            ; Make SOC High
              MVI A,08H
              OUT PB            ; Make SOC Low
              MVI A,00H
              OUT PB            ; Make ALE Low

LOOP:         IN PC
              ANI 01H
              JZ LOOP; Wait for EOC
              IN PA
                                                                       28
              RET               ; Return value and store Accumulator
INTERFACING CIRCUIT




                      29
   The load, in this case a heater, is a device which
    operates under 230V ac.

   The control signal from the microprocessor through
    the peripheral interface is of 5V magnitude.

   A solid state relay device is used to interface the
    control signal with the load.



                                                          30

Weitere ähnliche Inhalte

Was ist angesagt?

Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic ControllerValai Ganesh
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino AMIT SANPUI
 
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER   INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER SIRILsam
 
Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller Amogha Bandrikalli
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacingLecturer
 
Internship Report on IOT & Robotics
Internship Report on IOT & RoboticsInternship Report on IOT & Robotics
Internship Report on IOT & RoboticsAman Jaiswal
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 
Home automation using FPGA controller
Home automation  using FPGA controller Home automation  using FPGA controller
Home automation using FPGA controller Ajay1120539
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADAMohseen1234
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture pptParvesh Gautam
 
Microprocessor vs. microcontroller
Microprocessor vs. microcontrollerMicroprocessor vs. microcontroller
Microprocessor vs. microcontrolleraviban
 

Was ist angesagt? (20)

8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER   INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 
Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller Module 1 - ARM 32 Bit Microcontroller
Module 1 - ARM 32 Bit Microcontroller
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacing
 
Embedded system.ppt
Embedded system.pptEmbedded system.ppt
Embedded system.ppt
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Internship Report on IOT & Robotics
Internship Report on IOT & RoboticsInternship Report on IOT & Robotics
Internship Report on IOT & Robotics
 
3 jump, loop and call instructions
3 jump, loop and call instructions3 jump, loop and call instructions
3 jump, loop and call instructions
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Pulse width modulation
Pulse width modulationPulse width modulation
Pulse width modulation
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Home automation using FPGA controller
Home automation  using FPGA controller Home automation  using FPGA controller
Home automation using FPGA controller
 
PPT of PLC and SCADA
PPT of PLC and SCADAPPT of PLC and SCADA
PPT of PLC and SCADA
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 
Microprocessor vs. microcontroller
Microprocessor vs. microcontrollerMicroprocessor vs. microcontroller
Microprocessor vs. microcontroller
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Cycloconverters
CycloconvertersCycloconverters
Cycloconverters
 

Andere mochten auch

TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORSubash Sambath Kumar
 
microcontroller based temperature sensor
microcontroller based temperature sensormicrocontroller based temperature sensor
microcontroller based temperature sensorDerrick D'souza
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableSubhashini Sundaram
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085Subash Sambath Kumar
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectSneh Pahilwani
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller richa1910n
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Wuzna Haroon
 
Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Patrick Nicholson
 
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities SAP Portal
 

Andere mochten auch (17)

TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
 
microcontroller based temperature sensor
microcontroller based temperature sensormicrocontroller based temperature sensor
microcontroller based temperature sensor
 
Micro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz TableMicro Processor Mini Project,Electronic Quiz Table
Micro Processor Mini Project,Electronic Quiz Table
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085
 
Number Guessing Game - A 8085 Project
Number Guessing Game - A 8085 ProjectNumber Guessing Game - A 8085 Project
Number Guessing Game - A 8085 Project
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
List of 8085 programs
List of 8085 programsList of 8085 programs
List of 8085 programs
 
black jack using vhdl
black jack using vhdlblack jack using vhdl
black jack using vhdl
 
Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution Diarrhea:Myths and facts, Precaution
Diarrhea:Myths and facts, Precaution
 
cathy resume
cathy resumecathy resume
cathy resume
 
Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016Alta White Paper D2C eCommerce Case Study 2016
Alta White Paper D2C eCommerce Case Study 2016
 
Nt1310 project
Nt1310 projectNt1310 project
Nt1310 project
 
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
Enterprise workspaces - Extending SAP NetWeaver Portal capabilities
 
Information från Läkemedelsverket #5 2013
Information från Läkemedelsverket #5 2013Information från Läkemedelsverket #5 2013
Information från Läkemedelsverket #5 2013
 
Basics of Coding in Pediatrics Medical Billing
Basics of Coding in Pediatrics Medical BillingBasics of Coding in Pediatrics Medical Billing
Basics of Coding in Pediatrics Medical Billing
 

Ähnlich wie Microprocessor based Temperature Controller

analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac finalDrVikasMahor
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Daman Singh
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfsatyamsinha37
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERChirag Lakhani
 
Sensor interfacing in 8051
Sensor interfacing in 8051Sensor interfacing in 8051
Sensor interfacing in 8051Irfan Ahmad
 
interfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfinterfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfSrikrishna Thota
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAmitabh Shukla
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfVikasMahor3
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based TransmitterAbhishek Sutrave
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasB.k. Das
 
Temperature Controller with Atmega16
Temperature Controller with Atmega16Temperature Controller with Atmega16
Temperature Controller with Atmega16Siddhant Jaiswal
 
project - Copy
project - Copyproject - Copy
project - Copypiedaholic
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Guhan k
 

Ähnlich wie Microprocessor based Temperature Controller (20)

analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)
 
digitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdfdigitalvoltmeterusing805112b2-170214173216 (1).pdf
digitalvoltmeterusing805112b2-170214173216 (1).pdf
 
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLERDIGITAL VOLTMETER USING 8051 MICROCONTROLLER
DIGITAL VOLTMETER USING 8051 MICROCONTROLLER
 
Sensor interfacing in 8051
Sensor interfacing in 8051Sensor interfacing in 8051
Sensor interfacing in 8051
 
interfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfinterfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdf
 
Chapter5 dek3133
Chapter5 dek3133Chapter5 dek3133
Chapter5 dek3133
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
8255
82558255
8255
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
MPC of TWT based Transmitter
MPC of TWT based TransmitterMPC of TWT based Transmitter
MPC of TWT based Transmitter
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
 
Temperature Controller with Atmega16
Temperature Controller with Atmega16Temperature Controller with Atmega16
Temperature Controller with Atmega16
 
project - Copy
project - Copyproject - Copy
project - Copy
 
8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]
 
Digital stop watch
Digital stop watchDigital stop watch
Digital stop watch
 

Kürzlich hochgeladen

Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 

Kürzlich hochgeladen (20)

Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 

Microprocessor based Temperature Controller

  • 1. PROCESS CONTROL IN WET TANNERY  The block diagram of the process can be interpreted as: . Get Input Converting the Interfacing the Signal signal with Signal from signal to Conditioning 8085 Sensor digital form microprocesor Load Interfacing Programming the Circuit. Microprocessor 4
  • 2. INPUT FROM SENSOR  For temperature sensing LM35 Temperature sensor is used.  The output voltage of this 3 pin temperature sensor is directly proportional to the ambient temperature and is given by the formula: Vout = K x T Where, K = 10mV/oC (Sensor Constant), T= Ambient Temperature.  For a temperature range of 0-100oC, the output voltage varies from 0-1V in steps of 10mV. 2
  • 3. For pH sensing, PHE-45P pH sensor is used.  The PHE-45P is an electrode type sensor, which develops a voltage(potential) directly proportional to the concentration of H+ ions.  For a pH range of 0-14, the output voltage of the sensor varies from -0.41V to +0.41V. 3
  • 4. The output voltage from the pH sensor follows Nernst equation of equilibrium reduction potential. Where, E = reduction potential(voltage generated) R = Universal gas constant( R=8.314 J/K-mol) T = absolute temperature(T = 298K) F = Faraday constant(F = 96485.33C/mol) z = number of ions involved in the reaction. 4
  • 5. On substituting the values of constants, we get: E = 0.4142 – 0.059pH. Hence, for a pH of 7, the potential would be 0, for a pH of 0 (pure acidic), E = 0.41V for a pH of 14(pure alkaline), E = -0.41V. 5
  • 6. SIGNAL CONDITIONING  The signal conditioning is done so as to interface the sensor’s output with the Analog to digital converter.  The main aim of this module is to convert the output of sensors i.e., 0-1V from temperature sensor and - 0.41V to +0.41V from pH sensor to 0-5V which is the acceptable working range for an analog to digital converter. 6
  • 7. For temperature sensor, we use a simple non inverting amplifier circuit, given below: Voltage Gain(A) = 5v/v. 7
  • 8. For pH sensor, we use an adder circuit coupled with an inverting amplifier: The output voltage is 0-5V. 8
  • 9. CONVERTING TO DIGITAL FORM  ADC0809 is used for analog to digital conversion. The analog signal which we get from the sensors is amplified to 0-5V and is given to the ADC 0809.  The analog input from the temperature sensor is given at IN0 port of ADC.  The input port selection is done through the input selection lines(ADD A, ADDB, ADD C) which are connected to the programmable peripheral interface. 9
  • 10. The conversion starts when SOC(Start of Conversion) is given HIGH from the microprocessor through 8255.  When the analog input is converted to digital form, the EOC(End of Conversion) port goes HIGH, informing the microprocessor that the conversion is done.  The clock to the ADC is given from the microprocessor clock output. 10
  • 11. ADC 0809 PIN CONNECTION . 11
  • 12. INTERFACING WITH MICROPROCESSOR  The digital output from the ADC is interfaced with the microprocessor through a programmable peripheral interface (PPI 8255).  PPI 8255 is a 40 pin IC which consists of three 8- bit I/O ports, a 8-bit Bi-directional data transfer port and a control logic buffer.  The block diagram of 8255 is as follows: 12
  • 13. . 13
  • 14. Data Bus Buffer: It is an 8 bit data buffer used to interface 8255 with 8085. It is connected to D0-D7 bits of 8255. • Read/write control logic : It consists of inputs RD¯,WR¯,A0,A1,CS¯ . • RD¯,WR¯ are used for reading and writing on to 8255 and are connected to MEMR¯,MEMW¯ of 8085 respectively. • A0,A1 are Port select signals used to select the particular port . 14 • CS ¯ is used to select the 8255 device .
  • 15. A1 A0 Selected port 0 0 Port - A 0 1 Port –B 1 0 Port – C 1 1 Control Register 15
  • 16. The 8255 PPI is initialized as below:  Port A - Assigned as Input  Port B - Assigned as output  Port CL - Assigned as Input  Port CU - Assigned as output 16
  • 17. The Port A takes input from the digital output pins of ADC.  The Port B gives signal to SOC, ALE and Input Select of ADC.  The Port CL takes input from EOC.  The Port CU gives the control signal. 17
  • 18. Control Word:  The control word for the PPI is – 1 0 0 1 0 0 0 1 i.e., 91H. 18
  • 19. 19
  • 20. MICROPROCESSOR 8085 The features of INTEL 8085 are :  It is an 8 bit processor.  It is a single chip N-MOS device with 40 pins.  It has multiplexed address and data bus.(AD0-AD7).  It works on 5 Volt dc power supply.  The maximum clock frequency is 3 MHz while minimum frequency is 500kHz.  It provides 74 instructions with 5 different addressing modes.  It provides Acc ,one flag register ,6 general purpose registers and two special purpose registers(SP,PC). 20
  • 23. INSTRUCTION SET CLASSIFICATION The entire group of instructions can be classified into five categories: 1. Data Transfer Operations. E.g. MOV, MVI, LDA,STA. 2. Arithmetic Operations. E.g. ADD, SUB, INR, DCR. 3. Logical Operations. E.g. ANA, ORA, XRA, CMP. 4. Branching Operations. E.g. JMP, CALL, RET, JZ. 5. Machine Control Operations. E.g. IN, OUT, PUSH, POP. 23
  • 24. . PROGRAMMING LOGIC: . • Configure 8255 I/O ports • 8085 sends SOC command to ADC • 8085 waits for EOC signal from ADC • 8085 reads 8-bit temperature value from port A • 8085 compares the value with set point value • 8085 generates the control signal to control load. 24
  • 25. FLOW CHART  . . START . Initialize 8255 CALL CONVERSION Is Temp > SETPP T 25 Turn heater off
  • 26. 26
  • 27. PROGRAM: MVI A, 91H OUT CR BEGIN: CALL CONVERSATION CPI 41H JC NEXT MVI A, 0EH OUT PC JMP BEGIN NEXT: MVI A, 0FH OUT PC 27 JMP BEGIN
  • 28. CONVERSION SUBROUTINE: CONVERSION: MVI A,00H OUT PB ; Send address to select IN0 MVI A,08H ;Latch address by giving ALE High OUT PB BACK: MVI A,18H OUT PB ; Make SOC High MVI A,08H OUT PB ; Make SOC Low MVI A,00H OUT PB ; Make ALE Low LOOP: IN PC ANI 01H JZ LOOP; Wait for EOC IN PA 28 RET ; Return value and store Accumulator
  • 30. The load, in this case a heater, is a device which operates under 230V ac.  The control signal from the microprocessor through the peripheral interface is of 5V magnitude.  A solid state relay device is used to interface the control signal with the load. 30