You are on page 1of 6

AUTOMATIC POWER GRID CONTROLLER Introduction:

Automation of systems has become the demand of the day. Newer technology has made everything automatic and self repairable. In fact most of the developed systems are impossible to be controlled by human beings. There are many advantages of automation, first and most common human errors are eliminated, speed of operation becomes very fast and most advantageous is that the cost gets reduced. In this project we are controlling a power grid and different units are controlled on the basis of time. Description: The working of the system can be described as shown below.

We will be using serial com of the PC to control different relays. Although we can control multiple relays as shown above, here we will be controlling 4 relays only for our purpose. For the sake of simplicity, we will control only four relays. It can be extended according to the requirements. Controlling variable is time. In the duration of 24 hours, we will allot different time slots to each unit. On proper time, the relays will be activated automatically and corresponding unit will get activated. The functioning direction is shown below.

AUTOMATI ON SOFTWAR E MADE IN VB 6.0

SERIA L PORT INTER FACIN G

RELA Y DRIV ER

RELAYS CONNECT ED TO DIFFEREN T UNITS

Software: In software we shall use VB interfacing to control the serial port. It provides easy method to implement a graphical user interface. MS comm. 6.0 will be used to control the serial port. It has inbuilt control over serial port. Only parameters are reacquired to be configured.

Hardware: Microcontroller is the central part of the hardware. In serves two purposes, first it controls the serial communication and secondly it controls the relays. Other parts include optocouplers, relay driver and relays. ULN 2803:
The eight NPN Darlington connected transistors in this family of arrays are ideally suited for interfacing between low logic level digital circuitry (such as TTL, CMOS or PMOS/NMOS) and the higher current/voltage requirements of lamps, relays, printer hammers or other similar loads for a broad range of computer, industrial, and consumer applications. All devices feature open collector outputs and freewheeling clamp diodes for transient Suppression. The ULN2803 is designed to be compatible with standard TTL families while the ULN2804 is optimized for 6 to 15 volt high level CMOS or PMOS.

AT89S8253: Features Compatible with MCS-51 Products 12K Bytes of In-System Programmable (ISP) Flash Program Memory SPI Serial Interface for Program Downloading Endurance: 10,000 Write/Erase Cycles 2K Bytes EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 64-byte User Signature Array 2.7V to 5.5V Operating Range

Fully Static Operation: 0 Hz to 24 MHz Three-level Program Memory Lock 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Nine Interrupt Sources Enhanced UART Serial Port with Framing Error Detection and Automatic Address Recognition Enhanced SPI (Double Write/Read Buffered) Serial Interface Low-power Idle and Power-down Modes Interrupt Recovery from Power-down Mode Programmable Watchdog Timer Dual Data Pointer Power-off Flag Four-level Enhanced Interrupt Controller Programmable and Fuse able x2 Clock Option

Advantages: Easy to operate Cost effective Very efficient Disadvantages: Not capable to detect any fault in the supply

You might also like