Beruflich Dokumente
Kultur Dokumente
ON
BACHELOR OF TECHNOLOGY
IN
KURUKSHETRA UNIVERSITY,KURUKSHETRA
Many lives & destinies are destroyed due to the lack of proper guidance, directions &
opportunities. It is in this respect I feel that I am in much better condition today due to
continuous process of motivation & focus provided by my parents & teachers in general. The
process of completion of this project was a tedious job & requires care & support at all stages. I
would like to highlight the role played by individuals towards this.
I am eternally grateful to honorable principal Dr. D.P. Gupta for providing us the opportunity &
infrastructure to complete the project as a partial fulfillment of B.Tech degree.
I am very thankful to Asst. Prof. Rajiv Chechi, Head of Department, for his kind support &
faith in us.
I would like to express my sincere thanks, with deep sense of gratitude to my project guide Asst.
Prof. Devender Prakash for their keen interests my project.
I also thank Mr. Varun Sharma for his valuable help in our project.
I am also thankful to all visible & invisible hands which helped us to complete this project with a
feeling of success.
Nikhil (1705429)
(i)
CERTIFICATE
We hereby certify the work which is being presented in the project entitled “METRO TRAIN
PROTOTYPE” by “NIKHIL SHARMA, HEMANT KUMAR, PRIYANSHU CAUHAN” in
partial fulfillment of requirements for the award of degree B.Tech (Electronics &
Communication Engg.) submitted in the Department of Electronics & Communication Engg.
at Haryana College Of Technology & Management, Kaithal under Kurukshetra University,
Kurukshetra is carried out during a period from August2008 to December2008 under the
supervision of “Asstt. Prof. Devender Prakash” Department of Electronics & Communication
Engineering, HCTM Kaithal. The matter presented in this project has not been submitted by me
in any other University/ Institue for the award of B.Tech. Degree.
This is to certify that the above statement made by the candidate is correct to the best of my/our
knowledge.
The B.Tech Viva Voce Examination of “Nikhil Sharma, Hemant Kumar, Priyanshu Chauhan”
has been held on _____________ and accepted.
H.O.D
(ii)
ABSTRACT
This project is designed so that students can understand the technology used in the now a
day’s driver less metro train which is used in most of the developed countries like
Germany, France, and Japan etc. These trains are equipped with the CPU, which control
the train. The train is programmed for the specific path. Every station on the path is
defined; stoppage timing of the train and distance between the two stations is predefined.
In this Project
In this project we try to give the same prototype for this type of trains. We are using
microcontroller 8051 as CPU. The motion of the train is controlled by the Stepper Motor,
for displaying message in the train we are using Intelligent LCD Display of two lines.
The train is designed for three stations, named as Aligarh, Ghaziabad & New Delhi. The
Stoppage time is of 3 Sec and time between two consecutive stations is 6 sec. There is a
LCD display for showing various messages in the train for passengers. There are
indicators, which are used to show the train direction i.e. Up path and Down path. Before
stopping at station the train blows the buzzer. It also includes an emergency brake system
due to which the train stops as soon as the brakes are applied and resumes journey when
the emergency situation is over.
This paper describes a prototype that has been developed to demonstrate the concept of
integrated gaming and simulation for incident management. Architecture for the purpose
was developed and presented at the last conference. A hypothetical emergency incident
scenario has been developed for demonstrating the applicability of integrated simulation
and gaming. A number of simulation and gaming modules have been utilized to model
the major aspects of the hypothetical scenario. The modules demonstrate the value of
utilizing simulation for incident management applications. They can be used to highlight
the value of simulation and gaming for training applications in particular. Two of the
simulation modules have been integrated using a modified implementation of the high
level architecture to give an idea of the advantages. Technical issues in integration are
identified.
(iii)
LIST OF TABLES
(iv)
LIST OF FIGURES
(v)
CONTENTS
Page
CONTENTS No.
Certificate (i)
Acknowledgement (ii)
(iii
Abstract )
(iv
List of Tables )
List of Figures (v)
Chapter 1
ユ Introduction 1-29
Chapter 2
ユ Literature Review 30-37
Chapter 3
ユ PCB Designing 38-40
ユ Working 41-42
ユ Block Diagram 43
ユ Circuit Diagram 44
Chapter 4
ユ Cost Analysis 45
ユ Problem Faced & Troubleshooting 46
Chapter 5
ユ Conclusion 47
ユ Future Scope 47
REFERENCES 48-49
APPENDIX
ユ Program Coding 50-58
ユ Datasheets 59-77
MINOR PROJECT: METRO TRAIN PROTOTYPE 1
CHAPTER 1
INTRODUCTION & COMPONENTS
INTRODUCTION
This project is designed so that students can understand the technology used in the
now a day’s driver less metro train which is used in most of the developed countries
like Germany, France, and Japan etc. These trains are equipped with the CPU, which
control the train. The train is programmed for the specific path. Every station on the
path is defined; stoppage timing of the train and distance between the two stations is
predefined. This is very wonderful project to control the working of the train without
driver. These train are equipped with the CPU which control the train.
1. 8051 Microcontroller
2. ULN 2003
3. Stepper motor
4. LCD
In this project we try to give the same prototype for this type of trains. We are using ATMEL
microcontroller 8051 to control all the function as CPU. Microcontroller controls the rotation of
motor. First the motor is controlled and name of each station is displayed over LCD and
accordingly the different delay for each station is provided. So this project works for metro
train without driver. The motion of the train is controlled by the Stepper Motor, for displaying
message in the train we are using Intelligent LCD Display of two lines. The train is designed
for three stations, named as New Delhi, Noida, and Greater Noida. The Stoppage time is of 3
Sec and time between two consecutive stations is 6 sec. There is a LCD display for showing
various messages in the train for passengers. There are indicators, which are used to show the
train direction i.e. UP path and down path. Before stopping at station the train blows the buzzer.
It also includes an emergency brake system due to which the train stops as soon as the brakes
are applied and resumes journey when the emergency situation is over.
DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGG.
HARYANA COLLEGE OF TECHNOLOGY & MANAGEMENT, KAITHAL
MINOR PROJECT: METRO TRAIN PROTOTYPE 2
APPLICATIONS
Telecom
Mobile phone systems (handsets and base stations), modems, routers
Automotive application
Braking system, Traction control, Airbag release system, Management units, and
Steer-by-wire systems.
Domestic application
Dishwasher, television, washing machines, microwave ovens, Video recorders,
Security system, Garage door controllers, Calculators, Digital watches, VCRs, Digital
cameras, Remote Controls, Treadmills
Robotic
Fire fighting robot, Automatic floor cleaner, robotic arm
Aerospace application
Flight control system, Engine controllers, Autopilots, Passenger entertainment system
Medical equipment
Anesthesia monitoring system, ECG monitors, Pacemakers, Drug delivery
systems, MRI scanners
Defense system
Radar systems, Fighter aircraft flight control system, Radio system, Missile guidance
systems
Office automation
Laser printers, Fax machines, Pagers, Cash registers, Gas pumps, Credit /Debit card
readers, Thermostats, Grain analyzers
COMPONENTS
2 IC ULN 2003 1
3 Transformer 1
6 Stepper Motor 1
7 Crystal Oscillator 1
8 Switch 2
9 LED 2
10 Resistors(220Ω,4.7kΩ,10kΩ) 10
11 Capacitors(33pf,ceramic disk) 2
12 Diode 2
13 Buzzer 1
COMPONENT DESCRIPTION
1) MICRO-CONTROLLER 8051
DESCRIPTION
PROCESSOR
INSTRUCTIONS
Instructions in a computer are binary numbers just like data. Different numbers, when
read and executed by a processor, cause different things to happen. The instructions
are also called opcodes or machine codes.
Different bit patterns activate or deactivate different parts of the processing core.
Every processor has its own instruction set varying in number, bit pattern and
functionality.
PROGRAM
ASSEMBLY LANGUAGE
ASSEMBLER
A high level language like C may be used to write programs for processors. Software
called compiler converts this high level language program down to machine code.
Ease of programming and portability.
PIN DESCRIPTION
External Access: EA 31
0• Connected to VCC for on chip ROM
0• Connected to Ground for external ROM containing the code Input Pin
PORT 0
0• Pins 32-39
0• Dual role: 8051 multiplexes address and data through port 0 to save
pins .AD0-AD7
PORT 1
0• Pins 1 through 8
0• No dual function
PORT 2
0• Pins 21 through 28
0• Dual Function: Along with Port 0 used to provide the 16-Bit address
for external memory. It provides higher address A8-A16
PORT 3
0• Pins 10 through 17
PROCESSOR ARCHITECTURE
ALU
The Arithmetic Logic Unit (ALU) performs the internal arithmetic manipulation of
data line processor. The instructions read and executed by the processor decide the
operations performed by the ALU and also control the flow of data between registers
and ALU.
Operations performed by the ALU are Addition , Subtraction , Not , AND , NAND ,
OR , NOR , XOR , Shift Left/Right , Rotate Left/right , Compare etc. Some ALU
supports Multiplication and Division. Operands are generally transferred from two
registers or from one register and memory location to ALU data inputs. The result of
the operation is the placed back into a given destination register or memory location
from ALU output.
REGISTERS
Registers are the internal storage for the processor. The number of registers varies
significantly between processor architectures.
ユ WORKING REGISTERS
Temporary storage during ALU Operations and data transfers.
ユ INDEX REGISTERS
Points to memory addresses.
ユ STATUS REGISTERS
Stores the current status of various flags denoting conditions resulting from
various operations.
ユ CONTROL REGISTERS
Contains configuration bits that affect processor operation and the operating
modes of various internal subsystems.
MEMORY
ユ SRAM
Volatile, fast, low capacity, expensive, requires lesser external
support circuitry.
ユ DRAM
Volatile, relatively slow, highest capacity needs continuous refreshing. Hence
require external circuitry.
ユ OTP ROM
One time programmable, used for shipping in final products.
ユ EPROM
Erasable programmable, UV Erasing, Used for system development and
debugging.
ユ EEPROM
Electrically erasable and programmable, can be erased programmed in- circuit,
Used for storing system parameters.
ユ FLASH
Electrically programmable & erasable, large capacity, organized as sectors.
BUSES
A bus is a physical group of signal lines that have a related function. Buses allow for
the transfer of electrical signals between different parts of the processor.
CONTROLLER LOGIC
Processor brain decodes instructions and generate control signal for various sub units.
It has full control over the clock distribution unit of processor.
I/O Peripherals
The I/O devices are used by the processor to communicate with the external world
0• Parallel Ports.
0• Serial Ports.
0• ADC/DAC.
2) ULN 2003
FEATURES
DESCRIPTION
The ULN2001, ULN2002, ULN2003 and ULN2004 are high voltage, high current
Darlington Arrays each contain seven open collector Darlington pairs with common
emitters. Each Channel rated at 500mA and can withstand peak currents of 600mA.
Suppression diodes are Included for inductive load driving and the inputs are pinned
opposite the outputs to simplify board
MAXIMUM RATING
Table No. 1.2: Maximum Rating of ULN
Digital system and microcontroller pins lack sufficient current to drive the relay.
While the stepper motor’s coil needs around 10ma to be energized, the
microcontroller’s pin can provide a maximum of 1-2 mA current. For this reason, we
place a driver.
3) VOLAGE REGULATOR
Voltage regulator ICs are available with fixed (typically 5, 12 and 15V) or variable
output voltages. The maximum current they can pass also rates them. Negative
voltage regulators are available, mainly for use in dual supplies. Most regulators
include some automatic protection from excessive current (over load protection) and
overheating (thermal protection). Many of fixed voltage regulator ICs has 3 leads.
They include a hole for attaching a heat sink if necessary.
DESCRIPTION
These voltage regulators are monolithic circuit integrated circuit designed as fixed
voltage regulators for a wide variety of applications including local, on card
regulation. These regulators employ internal current limiting, thermal shutdown, and
safe-area compensation. With adequate heat sinking they can deliver output current in
excess of 1.0 A. Although designed primarily as a fixed voltage regulator, these
devices can be used with external components to obtain adjustable voltage and
current.
FEATURES
4) STEPPER MOTOR
GENERAL INFORMATION
TECHNICAL SPECIFICATIONS
5) LCD DISPLAY
SCHEMATIC DIAGRAM