Sei sulla pagina 1di 3

PC BASED TEMPERATURE CONTROLLER USING DIGITAL PID/FUZZY LOGIC CONTROLLER Objective: The objective of the project is to design and

develop PC based temperature control system using Digital PID/Fuzzy controller, to control and maintain the temperature of liquid at some desired state. Functioning: The software section of the PC is designed such that the user can set any desired temperature, level, etc. using keyboard. The liquid in the tank is heated by a heater, which gets supply through TRIAC switch. The system has temperature and water level sensor for sensing current temperature and water levels. After signal conditioning they are fed to the ADC. The Microcontroller reads these quantities from ADC, send it to PC through serial communication, on receiving proper commands from PC. The actual temperature, set temperature and the water level decide the ON-OFF time of the TRIAC switch using the PID/fuzzy logic in order to control the temperature. The following options can be made in this project, 1. A buzzer can be used to indicate that the boiler is empty. 2. TRIAC can be activated so as to cut-off the power supply to the boiler, when boiler is empty. 3. The desired water level can be maintained by controlling inlet and outlet valves using relays.

Block diagram of PC based Temperature Controller Hardware: The hardware of this project includes,

89C52 Microcontroller, MAX232 level driver, and PC

Level sensor, Temperature sensor and 8 channel ADC TRIAC, relays and buzzer.

Software: PC section : C language Micrcontroller section : Keil C language for programming 89C52 Microcontroller. WIRELESS DATA TRANSMISSION PC TO 8031 AIM: The aim of the project is to develop a wireless communication system for transmitting data between PC and microcontroller. The wireless communication can be achieved by using RF transmitter and receiver of chordless phone. The wireless system can be used for full duplex communication between PC and microcontroller. HARDWARE: The wireless data transmission can be demonstrated between PC and 89C52 microcontroller system. The PC is employed at transmitter section and the microcontroller system at receiver section. For data transmission the PC is equipped with MODEM and RF Transmitter & Receiver (using chordless phone). The MODEM is interfaced to PC serial port. The microcontroller system consists of 89C52 microcontroller as CPU, Modem, RF transmitter & receiver (using chordless phone), control keys and LCD display. In addition the microcontroller system will have temperature sensor, signal conditioning circuit and TRIAC switch to control the supply to heater.

WORKING: The user can enter the set value of temperature through keyboard in PC at the transmitting end. This set value is transmitted through serial port of PC to the MODEM. The MODEM modulates the serial data by FSK principle and then sends to RF modulator for frequency modulation and transmission through antenna. The Transmitted data is received by the antenna at receiving section and passed to FM demodulator for demodulation. After demodulation the signal is sent to MODEM for conversion to digital data by FSK demodulation and then transmitted to serial port of microcontroller at the receiving end. The microcontroller at the receiving end reads the actual temperature through temperature sensor and compares with set value, to generate a control signal for switching ON / OFF the TRIAC switch to control the temperature. The microcontroller at the receiving end will display the temperature on the LCD, as well as the temperature is transmitted to the PC at the other end for display in the PC monitor. SOFTWARE IMPLEMENTATION: The software for microcontroller for data transmission and temperature control has been developed in Keil C language. The software for PC is developed in turbo C.

Potrebbero piacerti anche