Beruflich Dokumente
Kultur Dokumente
BACHELOR OF ENGINEERING
in
BONAFIDE CERTIFICATE
This is to certify that this project report AUTOMATIC BUS FARE COLLECTION SYSTEM is the bonafide work of SARAVANAN.N, SHIJU.K, SRINIVASAN.D, and THIRUPURANTHAGAN.V. who carried out the project work under my supervision.
ELECTRONICS & COMMUNICATION ENGG. ELECTRONICS & COMMUNICATION ENGG. SRI VENKATESWARA COLLEGE OF SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY TIRUPACHUR 631 203
ACKNO
CERTIFICATE OF EVALUATION COLLEGE NAME : SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY BRANCH SEMESTER PROJECT TITLE : : Electronics &Communication Engg. VIII
S. No. 1 2 3 4
SRINIVASAN.D
THIRUPURANTHAGAN.V 11604106311
The report of the project are submitted by the above students in partial fulfillment for the award of Bachelor of Engineering degree, in Electronics and Communication Engineering of Anna University where enabled and confirmed to be the report work done by the above students and then evaluated. Internal Examiner External Examiner
The Micro-controllers are far far better and had all the requirements of the user like, fast in operation, economic, small in size, user friendly, etc., Since Micro-controller has advantages than Micro-processors this has been used in the project. Programming Micro-controllers using EmbeddedC is easily understandable for those persons who has very little knowledge about it. The C program can be easily converted into assembly language using many assembler software available in the market. Due to all these aspects of Micro-controller it has been used in the PMS module as one of the control unit.
2.2 FEATURES:
Compatible with MCS-51 Products 8K Bytes of In-System Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles 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 Eight Interrupt Sources Programmable Serial Channel Low Power Idle and Power Down Modes
Fig 2.3.1
Fig 2.4.1
2.5 DESCRIPTION:
The AT89S52 is a low-power, high-performance CMOS 8-bit Microcomputer with 8K bytes of Flash programmable and erasable read only memory (EPROM). The device is manufactured using Atmels high-density non-volatile memory technology and is compatible with the industry standard 80C51 and 80C52 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in- system or by a conventional non-volatile memory programmer by combining a versatile 8bit CPU with Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcomputer, which provides a highly flexible and cost effective solution to many embedded control applications.
2.5.1 PORT 0:
Port 0 is an 8-bit open drain bi-directional I/O port. As an output Port, each pin can sink eight TTL inputs. When 1s are written to Port 0 pins, the pins can be used as high-impedance inputs. Port 0 can also be configured to be the multiplexed low-order address/data bus during accesses to external pro-gram and data memory. In this mode, P0 has internal pull ups. Port 0 also receives the code bytes during Flash programming and outputs the code bytes during program verification. External pull-ups are required during program verification.
2.5.2 PORT 1:
Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (I IL) because of the internal pull-ups. In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively, Port 1 also receives the low-order address bytes during Flash programming and verification emits the contents of the P2 Special Function Register. Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.
2.5.3 PORT 2:
Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs Port 2 pins that are externally being pulled low will source current (I IL) because of the internal pull-ups. Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, Port 2 uses strong internal pull-ups when emitting 1s. During accesses to external data memory that use 8-bit addresses, Port 2
emits the contents of the P2 Special Function Register. Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.
2.5.4 PORT 3:
Port 3 is an 8-bit bi-directional I/O port with internal pullups. The Port 3 output buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (I IL) because of the pull-ups. Port 3 also receives some control signals for Flash programming and verification.
RST:
Reset input. A high on this pin for two machine cycles while the Oscillator is running resets the device.
ALE/PROG:
Address Latch Enable is an output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming .In normal operation, ALE is emitted at a constant rate of 1/6 the oscillator frequency and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external data memory. If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALEdisable bit has no effect if the micro controller is in external execution mode.
PSEN:
Program Store Enable is the read strobe to external program memory. When the AT89S52 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.
EA/V PP:
External Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external pro-gram memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should be strapped to V CC for internal program executions. This pin also receives the 12-volt programming enable volt-age (V PP) during Flash programming when 12volt programming is selected.
XTAL1:
Input to the inverting oscillator amplifier and input to the internal Clock operating circuit.
This SFR indicates where the next value to be taken from the stack will be read from, in internal RAM. This SFR is modified by all instructions, which modify the stack and whenever the instructions are provoked by the micro controller.
DATA POINTER:
The SFRs DPL and DPH work together to represent a 16-bit value called the Data Pointer. These registers reside at locations 82H, 83H respectively. The DPTR is used in operations regarding external RAM and some instructions involving code memory. Since it is an unsigned two-byte integer value, it can represent values from 0000H to FFFFH.
PCON (Power Control Register): The power control SFR is used to control the 89S52s Power control modes. Certain operations of 89C52 allow it to go into a type of sleep mode.
The timer mode SFR is used to configure the mode of operation of each of the two timers. Using this SFR program may configure each timer to be a 16-bit timer, an 8-bit auto-reload timer, a 13-bit timer, or two separate timers. Additionally, we may configure the timers to only count when an external pin is activated or to count events that are indicated on an external pin.
ACCUMULATOR:
The accumulator, as its name suggests is used as a general register to accumulate the results of a large number of instructions. It can hold an 8-bit value and it is the most versatile register. The accumulator resides as SFR at E0H.
B Register:
The B register is very similar to the accumulator, in the sense that it can hold an 8-bit value. It resides at F0H.The B register is commonly used by programmers as an auxiliary register to store temporary values.
TIMER 0, 1:
Fig 2.5.1
TIMER 2 REGISTER:
Control and status bits are contained in registers T2CON and 2MOD for Timer 2. The register pair (RCAP2H, RCAP2L) is the Capture/Reload registers for Timer 2 in 16-bit capture mode or 16-bit auto-reload mode.
INTERRUPT REGISTERS:
The individual interrupt enable bits are in the IE register. Two Priorities can be set for each of the six-interrupt sources in the IP register.
DATA REGISTER: The AT89S52 implements 256 bytes of on-chip RAM. The upper 128 bytes occupy a parallel address space to the Special Function Registers. That means the upper 128 bytes have the same addresses as the SFR space but are physically separate from SFR space. When an instruction accesses an internal location above address 7FH, the address mode used in the instruction specifies whether the CPU accesses the upper 128 bytes of RAM or the SFR space. Instructions that use direct addressing access SFR space.
TIMER 0, 1:
TABLE 2.5.1 Timer 0 and Timer 1 in the AT89S52 operate the same way as Timer 0 and Timer 1 in the AT89S52
TIMER 2:
Timer 2 is a 16-bit Timer/Counter that can operate as either a timer or an event counter. The type of operation is selected by bit C/T2 in the SFR T2CON Timer 2 has three operating modes: capture, auto-reload (up or down counting), and baud rate generator. The modes are selected by bits in T2CON; Timer 2 consists of two 8-bit registers, TH2 and TL2. In the Timer function, the TL2 register is incremented every machine cycle. Since a machine cycle consists of 12 oscillator periods, the count rate is 1/12 of the oscillator frequency. Count is incremented. The new count value appears in the register during S3P1 of the cycle following the one in which the transition was detected. Since two machine cycles (24 oscillator Periods) are required to recognize a 1 to-0 transition; the maximum count rate is 1/24 of the oscillator frequency. To ensure that a given level is sampled at least once before it changes, the level should be held for at least one full machine cycle.
50% duty cycle clock ranging from 61 Hz to 4 MHz at a 16 MHz operating frequency. To configure the Timer/Counter 2 as a clock generator, bit C/T2 (T2CON.1) must be cleared and bit T2OE (T2MOD.1) must be set. Bit TR2 T2CON.2) starts and stops the timer. The clock-out frequency depends on the oscillator frequency and the reload value of Timer 2 capture registers (RCAP2H, RCAP2L), as shown in the following equation. In the clock-out mode, Timer 2 rollovers will not generate an interrupt.
UART:
The UART in the AT89S52 operates the same way as the UART in the AT89C52.
INTERRUPTS:
The AT89S52 has a total of six interrupt vectors: two external Interrupts (INT0 and INT1), three timer interrupts (Timers 0, 1, and 2), and the serial port interrupt. Each of these interrupt sources can be individually enabled or disabled by setting or clearing a bit in Special Function Register IE. IE also contains a global disable bit, EA, which disables all interrupts at once. By setting this interrupt as high each interrupt is individually enabled or disabled by setting or clearing its enable bit.
OSCILLATOR CHARECTERISTICS:
XTAL1 and XTAL2 are the input and output, respectively, of an Inverting amplifier that can be configured for use as an on-chip Oscillator; either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven; there are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maxi-mum voltage high and low time specifications must be observed.
IDLE MODE:
In idle mode, the CPU puts itself to sleep while all the onchip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset. Note that when idle mode is terminated by a hardware reset, the device normally resumes program execution from where it left off, up to two machine cycles before the internal reset algorithm takes control. Onchip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when idle mode is terminated by a reset, the instruction
following the one that invokes idle mode should not write to a port pin or to external memory.
The AT89S52 is normally shipped with the on-chip Flash memory array in the erased state (that is, contents = FFH) and ready to be programmed. The programming interface accepts either a high-voltage (12volt) or a low-voltage (V CC) program enable signal. The low voltageprogramming mode provides a convenient way to program the AT89c51 inside the users system, while the high voltage programming mode is compatible with conventional third- party Flash or EPROM programmers.
PROGRAMMING ALGORITHM:
To program the AT89S52, take the following steps. 1. Input the desired memory location on the address lines. 2. Input the appropriate data byte on the data lines. 3. Activate the correct combination of control signals. 4. Raise EA/V PP to 12V for the high-voltage programming mode. 5. Pulse ALE/PROG once to program a byte in the Flash array or the lock bits. The byte-write cycle is self-timed and typically takes no more than 1.5 Ms. Repeat steps 1 through 5, changing the address and data for the entire array or until the end of the object file is reached.
DATA POLLING:
The AT89S52 features Data Polling to indicate the end of a write cycle. During a write cycle, an attempted read of the last byte written will result in the complement of the written data on PO.7. Once the write cycle has been completed, true data is valid on all outputs, and the next cycle may begin. Data Polling may begin any time after a write cycle has been initiated.
READY/BUSY:
The progress of byte programming can also be monitored by the RDY/BSY output signal. P3.4 is pulled low after ALE goes high during programming to indicate BUSY. P3.4 is pulled high again when programming is done to indicate READY.
PROGRAMS VERIFY:
If lock bits LB1 and LB2 have not been programmed, the programmed code data can be read back via the address and data lines for verification. The lock bits cannot be verified directly. Verification of the lock bits is achieved by observing that their features are enabled.
CHIP ERASE:
The entire Flash array is erased electrically by using the proper Combination of control signals and by holding ALE/PROG low for 10 Ms. the code array is written with all 1s. The chip erase operation must be executed before the code memory can be reprogrammed.
KEYBOARD The AT keyboard was a keyboard with 84 keys introduced with the IBM PC/AT computer. It succeeded the 83-key PC/XT keyboard and therefore did not have many of the features seen on modern keyboards such as arrow keys and dual ctrl and alt keys. It was later replaced with the 101-key Enhanced keyboard. Nonetheless, "AT keyboard" remains a popular name for any keyboard that uses the 5-pin DIN connector. Many Enhanced keyboards used this, though it was eventually superseded by the PS/2 connector and many modern computers use Universal Serial Bus (USB) connectors instead.
KEYBOARD COMMANDS Besides Scan codes, commands can also be sent to and from the keyboard. The following section details the function of these commands. By no means is this a complete list. These are only some of the more common commands.
HOST COMMANDS These commands are sent by the Host to the Keyboard. The most common command would be the setting/resetting of the Status Indicators (i.e. the Num lock, Caps Lock & Scroll Lock LEDs). The more common and useful commands are shown below.
ED
Set Status LED's - This command can be used to turn on and off the
Num Lock, Caps Lock & Scroll Lock LED's. After Sending ED, keyboard will reply with ACK (FA) and wait for another byte which determines their Status. Bit 0 controls the Scroll Lock, Bit 1 the Num Lock and Bit 2 the Caps lock. Bits 3 to 7 are ignored. EE Echo - Upon sending a Echo command to the Keyboard, the keyboard
should reply with a Echo (EE) F0 Set Scan Code Set. Upon Sending F0, keyboard will reply with ACK
(FA) and wait for another byte, 01-03 which determines the Scan Code Used. Sending 00 as the second byte will return the Scan Code Set currently in Use F3 Rate. F4 Keyboard Enable - Clears the keyboards output buffer, enables Set Typematic Repeat Rate. Keyboard will Acknowledge command
with FA and wait for second byte, which determines the Typematic Repeat
Keyboard Scanning and returns an Acknowledgment. F5 Keyboard Disable - Resets the keyboard, disables Keyboard Scanning
and returns an Acknowledgment. FE Resend - Upon receipt of the resend command the keyboard will re-
FF
COMMANDS Now if the Host Commands are send from the host to the keyboard, then the keyboard commands must be sent from the keyboard to host. If you think this way, you must be correct. Below details some of the commands which the keyboard can send. FA AA EE FE Acknowledge Power On Self Test Passed (BAT Completed) See Echo Command (Host Commands) Resend - Upon receipt of the resend command the Host should re-
transmit the last byte sent. 00 FF Error or Buffer Overflow Error or Buffer Overflow
SCON CODES The diagram below shows the Scan Code assigned to the individual keys. The Scan code is shown on the bottom of the key. E.g. The Scan Code for ESC is 76. All the scan codes are shown in Hex. Codes
As you can see, the scan code assignments are quite random. In many cases the easiest way to convert the scan code to ASCII would be to use a look up table. Below is the scan codes for the extended keyboard & Numeric keypad
THE KEYBOARD'S CONNECTOR The PC's AT Keyboard is connected to external equipment using four wires. These wires are shown below for the 5 Pin DIN Male Plug & PS/2 Plug.
DIN Male Plug 1. KBD Clock 2. KBD Data 3. N/C 4. GND 5. +5V (VCC)
PS/2 PIN
6. N/C
It is the LCD controller driver for up to 16-character 2-line display with double height function. It contains microprocessor Interface circuits, Instruction decoder controller and character generator ROM/RAM and common and segment drivers. The bleeder resistance generates for LCD Bias voltage internally. The CR oscillator Incorporates C and R, therefore no external components for oscillation are required. microprocessor. The character generator consists of 9,600 bits ROM and 32 x 5 bits RAM. The standard version ROM is coded with 240 characters including capital and small letter fonts. The 16-common and 80-segment The microprocessor Interface circuits which operate 2MHz frequency can be connected directly to 4/8bit
drive up to 16-character 2-line LCD panel which divided two common electrode blocks. The rectangle outlook is very applicable to COG.
The micro-controller and its other auxiliaries need supply for its functioning. This is derived from the power supply unit. There are two power supply terminals. One of them is for the micro-controller unit and the other for driving the Sampling circuit. The output of this unit is 5V & 9V respectively. The circuit diagram is shown in Fig.3.1. Here it consists of a stepdown transformer of 230/12V rating. The 12V AC supply is then connected to a full wave bridge rectifier. The bridge circuit is designed using the diodes. The output of bridge rectifier is of pulsating nature. Hence to smoothen these, a smoothing capacitor is provided. Then this smoothed out supply is given to two general-purpose regulator ICs 7805 & 7809A. These two ICs provide a voltage of 5V to micro-controller unit and 9V to sampling circuit. All these arrangements are provided in case no DC source available. In case of its availability, a separate terminal is provided to connect it directly to the voltage regulators.
BRIDGE +
230V AC SUPPLY
GND
GND
TRANSFORMER
5V DC
TO MICROCONTROLLER
18 17 16 15 14 13 12 11 10
V R1 J P 1 1 2 5 6 4 V C C 12 34 56 78 9
C C C O 2 1 0
N 4
e y b o a r d 1 1 1 1 1 r e c o r 1 re c o r d 1 1 L O H I
D D D D D D D D X 1 1 1 1 1 1
P O 5 4 3 2 1 0
0 1 2 3 4 5 6 7
2 5 6 9
1 10 20
0 1 2 3U 46 5 6 7 8 9 1 0 1 1 1 2
1 1 r e c o r d 1 r e c o r d d e t e9 8 7 6 5 4 3 2 1 J 1 1 D 01 2 D 11 3 D 2 4 D 31 5 1 6 2 D 6 41 4 7 D 51 8 D 61 9 D 7
10K RE S I S T OR DI P 9
c t
1 1 1 1 1 1
4 3 4 7 8
U 7 D D D 3D 4D 7D 8D 0D G 1O G 0 1 2 3 4 5 6 7 Q Q Q Q Q Q Q Q VN C
2 50 61 92 13 14 15 16 27 DC
2 5 6 9 0
D D D D D D D D
0 1 2 3 4 5 6 7
( ( ( ( ( ( ( (
L L L L L L L L
C C C C C C C C
D D D D D D D D
) ) ) ) ) ) ) )
OC ND VG CC
7 4 L S 3 7 3 U 1 0 3 2 4 D 0 Q 50 D 1 Q 61 7 8 D 2 Q 92 1 3D 3 Q 1 3 1 4D 4 Q 1 4 1 7D 5 Q 1 5 1 8D 6 Q 1 6 1 0D 7 Q 2 7 1 G V N DC 1 1O C G
9 8
S 1 S 2 E E
1 0 K 20 18 19 1 1 . 0 5 9 2 M Y 1 h z U 5 1 1 5 Y 10 4 2 A B Y 11 3 3 C Y 12 2 7 4 Y L 1 3S 1 1 3 8 Y 14 0 6 4 G 1 Y 95 5 G 2 YA 76 G 2 YB 7 16 VCC 8 G ND D 11 N 4 0 0 7 D 2 1 N B 2 1 3 . 6 V B A T T 1
V C
( B
2 5 6 9 0
14 28
R S ( R / W E n a b B a c k
L C ( L l e li g
) ( L C D ) h t ( L C D
G ND V CC
4 0 0 7
7 4 L S 3 7 3
C1 33pf
33pf
C2
E R
1 2
6 A
C C U 6 B 4 4 0 0 1
5 6
14
3 4 0 0 1
A2 N 0 . 0 1 M F
6 1 L O W S P K E E M D 2 C 5 T 21 EK
5 6 E
6 1 M E D I U M K S 1 E D K 1 4
1 1 1 H I G H S K P E E D 2 5 4 1 K
1 1 4
C 1 2 3 4 5 6 7 8 9
0 M I C R O C O N T R O L L E R 3 5 I 0 N Tk E R F A 1 R 1 0 U 2 B 2 7 L R 25 47 H M 4 2 8 0 2 0 5 Q 1 2 7 C 0 M 4 . 1 m f d l a t c h 1 1 1 1 1 3 + 5 6 2 R K 4 9 1 k U 20 1 VC C 4 7 N 7Q 6Q 5Q 4Q 3Q 2Q 1Q 0Q 1 1 1 1 9 6 5 2 9 7 6 6 5 5 2 4 3 2 1 0 J 1 2 3 4 5 6 7 8 t e9 1 1 1 C 4 4 L S 3 7 1 k L M 3 11 C I N G W I 5 T H0 3 kH M 2 0 0 7 C 1 V C R 7 U R 8 1 2 4 + 2 A 3 2 4 R 3 1 1 0 6 1 0 k k V R 4 R 7 5 4 1 3 R C 2 5 0 C . 1 Jm 1 3 2 m 3 f d C 2
K k 2
KE Y PA D
i c
1 J 1
3.58M hz
r e
r d
R 3 3. 9 L K E
DD
C R 1 r e c o 1 0 1 k r d l a t c h
GN D GND 1
t e A c Gt N D 2 3 X 2 4 6 X 1 M I 4C 5 I N 4 1 L I 4N 4 E 5 S 2 V R 4 E3 F 6 S S 3 D 4 7 2 7 R D DY 4 6 1 8 K 1 D 4 5 0 9 D 3 4 9 1 K0 2 K1 3 D 3 3 8 1 D 3 2 7 1 K2 4 T3 E S D T 3 1 6 1 W4 L DE 3 NO 5 1 W 1 C5 P M U R 3 M / 4 M A M I T3 E 3 1 W6 E N 1 D 7 E N N C3 2 1 0N 3 C 1 1 S8 A 1 S9 A S 1 A 3 1 0 2 2 S0 A S 2 A 2 1 9 1 2 S1 A S 3 A 2 1 8 0 2 S 2 A S4 A 2 97 8 2 S 3 A S5 A 6 2 S4 A S A 7 U 3 VDD 1 VD D 1 26
EG
r e
1 10
c r e
r d
r d
c 0 1 2 O
OC GN D
8 7 4 3
8 D7 D4 D3 D D D D D
0 A A A A A A A 2 A5 2 A4 2 A1 2 A3 2 A A 9 8 7 6 5 4 3 V J 1 C C 2 2 2 2 0 C6 C7 W2 O M T T O N
5 0 1 2 3 4 5 6 7 8 9 D D D D D D D D 0 1 2 1 2
1 1 1 1 1 1 1 1
0 1 2 3 4 5 6 7
1 2 3 5 6 7 8 9
1 1 1
S S E C
S S S S S S S S W W W W W W
W W 6
5 P
9 BP 1 BP 1 BP 1 BP 5 3 1 S U US S U US 1 UU2
S U US W WTS W WTS S
W WTS
0 S T HT
S P
2 S T HT OB
U S S W H S W
T H O P B NU U 1 4
CUN V
KEY PA D
U S SW H
T H O P B NU U
1 2 3 4 5 O B UN 6 7 8 9 1 0
OT C
TN O 1 C
N0
7 P 8 P
U S S W H S W
T H O P B NU U 3 W 1 7
S T HT
OB
UN
U S S W H
TS 4 T H O B N U S W D P
T S
T T
J 5 V V C E C E 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 C 1 2 E
o Ja Pr d 1 5 6 4
R E
S N
G R 5 V 0 1 2 3 4 5 6 O N 1 6 E E R 1 1 K V C 4 1 3 6 0
R D 0 R D 1 R D 2 R D 3 R D 4 R D 5 R D 6 R D 7 V C C
3 R R
E E
2 3
POWER SUPPLY
C 1 2
T 1 V I N7 8 0 G N D 5 V O U 2 T V C C
7 0
.1 M
1 0
ABSTRACT:
Electric motors account for as much as 50% of the total energy use. Because of the inefficient design and operation of the common fixed-speed motor, much of this energy is actually wasted. Equipped with controls to vary their speed and torque to match their workload, major energy savings would be achieved.
Use of Induction
(HVAC) systems has significantly reduced energy consumption and audible noise while improving comfort and air quality. However, most efforts have coupled new motors with digital controls, using complex, unit-specific system designs to make the motor and controls compatible. These custom digital solutions are not translatable for use with other motors and systems and are often far more costly than the units they displace.
A new approach, using the optically programmable control, offers a universal, simple, and low-cost solution for HVAC systems, including those with 3phase-induction motors.
Cost associated with that directly or indirectly measure the motor speed makes many existing control designs not production viable. In this project, we study the challenging task of controlling the speed of induction motor.In our project that voice will be recognize with in the frequency limit.
BLOCK DIAGRAM
HARDWARE COMPONENTS
Micro-controller External memory LCD display Key pad 3 Phase Induction Motor DSP HM 2007 Mike Power supply(5v)