Product categories

Have You Seen

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

Mornsun B0505S-1WR3 DC-DC Isolated ConverterMORNSUN B0505S 1WR3 1 watt, 5 Volts Isolated DC to DC Po..

Rs.106.20 (inc GST)
Rs.90.00 + GST

SKU: 2969 | DAE663
Stock: 40
XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)XL1509-Adj E1 Buck DC to DC Converter IC, Ad..

Rs.25.96 (inc GST)
Rs.22.00 + GST

SKU: 3657 | DAF397
Stock: 485

Digital Temperature Monitoring & Control System



Digital Temperature Monitoring & Control System

Aim

The aim of the project is to accurately control process/system temperature without extensive operator involvement. In this project we are continuously monitoring the temperature of a device and displaying it on the LCD. And if the temperature goes above the set point a fan/cooling system is turned ON via a relay. The set point is variable and can be changed with the help of keypad.

Introduction:

 

A temperature control system relies upon a controller, which is connected to a temperature sensor. It compares the actual temperature to the desired control temperature, or set point, and provides an output to a control element. Mostly the control element is a heater.

ADC is used to convert the output voltage of the temperature sensor into digital value which is connected to a microcontroller. The microcontroller then compares the current temperature with the set temperature & if the current temperature is lesser than set temperature the relay is turned ON, which can be used to turn ON a Heater. The Set point can be changed with the help of two switches.

Simple Schematic of Temparature Controller

There are three basic types of controllers:

  1. Store data on a tag
  2. Can be hidden
  3. Work in harsh environment

Depending upon the system to be controlled, the operator will be able to use one type or another to control the process.

On Off Control:

An on-off controller is the simplest form of temperature control device. The output from the device is either on or off, with no middle state. An on-off controller will switch the output only when the temperature crosses the setpoint.

For heating control, the output is on when the temperature is below the setpoint, and off above setpoint.

Since the temperature crosses the setpoint to change the output state, the process temperature will be cycling continually, going from below setpoint to above, and back below. In cases where this cycling occurs rapidly, and to prevent damage to contactors and valves, an on-off differential, or “hysteresis,” is added to the controller operations. This differential requires that the temperature exceed setpoint by a certain amount before the output will turn off or on again. On-off differential prevents the output from “chattering” or making fast, continual switches if the cycling above and below the setpoint occurs very rapidly.

On-off control is usually used where a precise control is not necessary, in systems which cannot handle having the energy turned on and off frequently, where the mass of the system is so great that temperatures change extremely slowly, or for a temperature alarm. One special type of on-off control used for alarm is a limit controller. This controller uses a latching relay, which must be manually reset, and is used to shut down a process when a certain temperature is reached.

Proportional Control:

Proportional controls are designed to eliminate the cycling associated with on-off control. A proportional controller decreases the average power supplied to the heater as the temperature approaches setpoint. This has the effect of slowing down the heater so that it will not overshoot the setpoint, but will approach the setpoint and maintain a stable temperature.

This proportioning action can be accomplished by turning the output on and off for short time intervals. This "time proportioning" varies the ratio of “on” time to "off" time to control the temperature. The proportioning action occurs within a “proportional band” around the setpoint temperature. Outside this band, the controller functions as an on-off unit, with the output either fully on (below the band) or fully off (above the band). However, within the band, the output is turned on and off in the ratio of the measurement difference from the setpoint. At the setpoint (the midpoint of the proportional band), the output on:off ratio is 1:1; that is, the on-time and off-time are equal. if the temperature is further from the setpoint, the on- and off-times vary in proportion to the temperature difference. If the temperature is below setpoint, the output will be on longer; if the temperature is too high, the output will be off longer.

PID Control:

The third controller type provides proportional with integral and derivative control, or PID. This controller combines proportional control with two additional adjustments, which helps the unit automatically compensate for changes in the system. These adjustments, integral and derivative, are expressed in time-based units; they are also referred to by their reciprocals, RESET and RATE, respectively.

The proportional, integral and derivative terms must be individually adjusted or “tuned” to a particular system using trial and error. It provides the most accurate and stable control of the three controller types, and is best used in systems which have a relatively small mass, those which react quickly to changes in the energy added to the process.

It is recommended in systems where the load changes often and the controller is expected to compensate automatically due to frequent changes in set point, the amount of energy available, or the mass to be controlled. OMEGA offers a number of controllers that automatically tune themselves. These are known as auto tune controllers.

Block Diagram:

Figure shows the block diagram of system.

K001

 

 

Application consists of the following section:

1.  Microcontroller :

The controller is the heart of entire system, and the whole system should be analyzed in selecting the proper controller. The following items should be considered when selecting a controller:

 

1 Type of input sensor (thermocouple, RTD) and temperature range

2 Type of output required (electromechanical relay, SSR, analog output)

3 Control algorithm needed (on/off, proportional, PID)

4 Number and type of outputs (heat, cool, alarm, limit)


We will be using ATMEL’s AT89S51 microcontroller. It is a 40 pin microcontroller with 128 bytes RAM & 4kb flash memory.

It performs all the functions like getting data from ADC, Comparing the current temperature to set temperature, Turning ON/OFF the relay & displaying the temperature & Set Point on the LCD.

2.  Keypad:

The keypad consists of 2 keys i.e. Increment & Decrement. These TACTILE SWITCHES are used to Increase & Decrease the temperature set point correspondingly.

3.  ADC:

The output of the temperature sensor is an analog signal & cannot be directly given to the microcontroller. We need to convert this analog signal into digital so we will be using MCP3201 which is a successive approximation 12-bit ADC. The controller communicates with this device using SPI Protocol.

4.  Temperature Sensor:

We are using LM 35 as temperature sensor. LM 35 is a precision temperature sensor whose output is linearly proportional to Celsius Temperature. The LM35 is rated to operate from -55° Centigrade to 150° Centigrade with a linear scale factor of +10mv/° C.

5.  LCD:

The 16 X 2 LCD Display provides a user interface. A liquid crystal display (commonly abbreviated LCD) is a thin, flat display device made up of any number of color or monochrome pixels arrayed in front of a light source or reflector. It is prized by engineers because it uses very small amounts of electric power, and is therefore suitable for use in battery-powered electronic devices.

6.  Relay Driver:

The Relays require suitable ‘PULL IN’ current or ‘HOLDING’ current (around 70ma) to turn it ON. Moreover the Relay coil voltage (12volts) is more that what the controller can handle. So to provide the necessary current & at the required voltage a relay driver circuit is required.

 

7.  Power Supply:

We require regulated 5 volts for microcontroller, ADC, Temperature Sensor, LCD & approximately 12 volts for the Relay. These voltages are generated from 230v line voltage.

 

8.  Relay:

Relays are components which are basically used to turn ON/OFF high current or Voltages devices. A relay is TURNED ON when a sufficient holding current is passed through its coil. We are using 12v SPDT relay i.e. the voltage required to energize the coil is 12v and of Single Pole Double Throw (SPDT) type i.e. it consists of one common Pole & two outputs namely the Normally Open (NO) & Normally Closed (NC) outputs.

Hardware Requirement:

  1. Microcontroller 89s52
  2. ADC: MCP3201
  3. LCD: 16x2 Alphanumeric Display
  4. Temperature Sensor: LM 35

Software Requirement:

  1. Keil Software as Compiler.
  2. Proteus for Circuit Designing
  3. Protel for PCB Designing.

 

APPLICATION:

  1. Air Conditioners
  2. Water Heaters
  3. Thermal Baths
  4. Furnaces
  5. Incubators.

Text Books:

  1. Muhammad Ali Mazidi –“THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEMS”, Pearson education,
  2. Ayala- “INTRODUCTION TO 8051 MICROCONTROLLER”

Website:

  1. www.howstuffworks.com
  2. www.instructables.com/id/Cellphone-operated-Robot/
  3. www.dnatechindia.com
  4. www.answers.com

Magazines:

  1. Electronics for you
  2. Electrikindia
Written by Amol Shah

Amol Shah

Founder of DNA Technology an Electronic Engineer by choice. Started working on this website as an Hobby and now its a full time venture. Very passionate about Electronics and like to learn new stuff. Want to make DNA Technology one of the best Online Store for Electronics Components in India.
Follow Me Twitter | Facebook | Google Plus | Instagram