Metro Train ppt
description
Transcript of Metro Train ppt
![Page 1: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/1.jpg)
METRO TRAIN
Presented By:-
![Page 2: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/2.jpg)
Project overview Block diagram Power supply Microcontroller IR Sensor Photo diode LCD Motor driver Software requirements Schematic & Working of the project Future scope Conclusion
contents
![Page 3: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/3.jpg)
IntroductionThis project is designed so as to understand the technology used in metro train movement which are used in most of the developed countries like Germany, France, and Japan etc.
These train are equipped with the CPU, which control the to and fro movement in a programmed path.
Then the train door is automatically opened so that the passengers enter inside and it closes after the prescribed time set in the controller.
It is also equipped with a passenger counting section also which counts the number of passengers leaving and entering inside the train.
The counts are displayed on LCD interfaced with microcontroller. The motion of the train is controlled by the Motor driver IC
![Page 4: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/4.jpg)
Block diagram
![Page 5: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/5.jpg)
The four diodes labeled D1 to D4 are arranged in "series pairs" with only two diodes conducting current during each half cycle. During the positive half cycle of the supply, diodes D1 and D2 conduct in series while diodes D3 and D4 are reverse biased and the current flows through the load as shown below.
Power supply
![Page 6: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/6.jpg)
It is a smaller computer Has on-chip RAM, ROM, I/O ports...
Microcontroller
RAM ROM
I/O Port
TimerSerial COM Port
Microcontroller
CPU
A single chip
![Page 7: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/7.jpg)
CPU
On-chip RAM
On-chip ROM for program code
4 I/O Ports
Timer 0
Serial Port
OSC
Interrupt Control
External interrupts
Timer 1
Timer/Counter
Bus Control
TxD RxD
P0 P1 P2 P3
Address/Data
Counter Inputs
Block diagram of mc
![Page 8: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/8.jpg)
The high-performance, low-power Atmel 8-bit AVR RISC-
based microcontroller combines 16KB of programmable
flash memory, 1KB SRAM, 512B EEPROM, an 8-channel
10-bit A/D converter, and a JTAG interface for on-chip
debugging.
By executing instructions in a single clock cycle, the
device achieves throughputs approaching 1 MIPS per MHz,
balancing power consumption and processing speed.
ATMEGA 16
![Page 9: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/9.jpg)
Features of MC
![Page 10: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/10.jpg)
Pin description
![Page 11: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/11.jpg)
An IR LED, also known as IR transmitter, is a special purpose LED that transmits infrared rays in the range of 760 nm wavelength. Such LEDs are usually made of gallium arsenide or aluminum gallium arsenide. They, along with IR receivers, are commonly used as sensors.
The appearance is same as a common LED. Since the human eye cannot see the infrared radiations, it is not possible for a person to identify whether the IR LED is working or not, unlike a common LED.
IR SENSOR
![Page 12: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/12.jpg)
A photodiode is a PN junction or PIN structure. When a photon of sufficient energy strikes the diode, it excites an electron, thereby creating a mobile electron and a positively charged electron hole.
If the absorption occurs in the junction's depletion region, or one diffusion length away from it, these carriers are swept from the junction by the built-in field of the depletion region.
Thus holes move toward the anode, and electrons toward the cathode, and a photocurrent is produced.
PHOTODIODE
![Page 13: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/13.jpg)
Most common LCDs connected to the microcontrollers are
16x2 and 20x2 displays.
This means 16 characters per line by 2 lines and 20
characters per line by 2 lines, respectively.
The standard is referred to as HD44780U, which refers to
the controller chip which receives data from an external
source (and communicates directly with the LCD.
Liquid crystal display (lcd)
![Page 14: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/14.jpg)
If an 8-bit data bus is used the LCD will require 11 data lines(3 control lines plus the 8 lines for the data bus)
The three control lines are referred to as EN, RS, and RW
EN=Enable (used to tell the LCD that you are sending it data)
RS=Register Select. When RS=0; data is treated as a command & When RS=1; data being sent is text data.
R/W=Read/Write . When RW=0; the data written to the LCD & When RW=0; the data reading to the LCD.
Contd..
![Page 15: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/15.jpg)
MOTOR DRIVER (L293D) L293D is a dual H-bridge motor driver
integrated circuit (IC). Motor drivers act as current amplifiers since
they take a low-current control signal and provide a higher-current signal.
This higher current signal is used to drive the motors.
![Page 16: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/16.jpg)
There are several ways that you can write, compile, and download
a program to the ATmega16 microcontroller. There are many
different text editors, compilers, and utilities available for many
different languages (C, BASIC, assembly language, etc.).
In this work, we have used a freeware package of software tools
named WinAVR (pronounced, “whenever”).
Software requirements
![Page 17: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/17.jpg)
Code VisionAVR (CVAVR) is the C-program language compiler that shall be used to program the MCU. CVAVR is a highly versatile software which offers “High Performance ANSI C Compiler, Integrated Development Environment, Automatic Program Generator and In-System Programmer for the Atmel AVR family of microcontrollers.” After installing and setting up CVAVR, a typical screen with a program open looks like this:
Contd..
![Page 18: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/18.jpg)
CIRCUIT DIAGRAM
.
![Page 19: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/19.jpg)
Burn the attached “demo.hex” file into our ATMega16 microcontroller using the necessary programmer and software.
Step 2: Connect the LCD module and IR sensor pair to the Board. Note that TX pin of modem is connected to RX pin of the microcontroller and RX pin of modem to the TX pin of the controller.
Step 3: Now We’ll need Serial Communication software to communicate with the ATmega16 through IR
Sensors.
Step 4: The IR Sensor will follow the single track which is given to them and it will stop at the desired station.
Step 5: It will show the station name in the LCD.
Step6: The motor driver IC will drive the motor and the gate will open .
WORKING PRINCIPLE
![Page 20: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/20.jpg)
The project detailed in this document will provide many benefits for the implementation of automation for metro train. Among these benefits are significant for automation, increased reliability and much more all resulting in superior consumer end products and therefore, achieving much higher end-user satisfaction.
CONCLUSION
![Page 21: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/21.jpg)
Future scope
We can use our system as an wireless device also.
![Page 22: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/22.jpg)
www.atmel.com www.beyondlogic.org www.wikipedia.org www.howstuffworks.com www.alldatasheets.com
References
![Page 23: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/23.jpg)
QUERIES ?
![Page 24: Metro Train ppt](https://reader035.fdocuments.us/reader035/viewer/2022081504/55cf9873550346d03397b7ee/html5/thumbnails/24.jpg)
THANKYOU