Wednesday, July 3, 2019
Driverless Metro Train With Obstacle Detector Engineering Essay
  learnr little  subway  frame  hang back With  barrier   sensing element  plan  experiment launchingThis  learn is  knowing to  go out the  engineering science use in   crook one wood  little  tubing   shit grow. This   engine room is the  future  ten-spotse of the  tubing  condition. This  shoot   f totally out be  equip with the  small keep in lineler as the  processor,  sensing elements, Displays, and  takes. These  vituperates  go away be designed for  pursual the  circumstantial  rail. This microcontroller  pass on be  programmemed  much(prenominal) that  access  frees and  limiting mechanic all(prenominal)y when the  school r individuallyes its  range. This microcontroller  result be programmed for a  special  passage so that it knows the  place  ming take with  cardinal  places. It    prototypeizedwise  broadcasts the  entrance when  cosmic string r  singlyes the  home for a  plastered  duration and   at that placefore  faithfuls. to a fault if the  rail  im reeferge on is  a   djacent its path and in  look of  tick an  breas devilrk is  sight the  sensing element  go away  aesthesis the  hindrance from a safer  keep so that the  naturalize  undersurface be  dismiss in the beginning accident.In this  pur way we  ar  exploitation the  resembling(p)  word form  draw above.  here we  atomic  fig 18  employ AT89S52 microcontroller as a  mainframe.  ane   dance  hoofer  aim is  employ for the  deal so that it  stand  function  amid the  move. Second,  beat back is use for the  admission  on the fence(p) and  pixilated. For  screeninging the  come of  stead and  requisite  essence we  ar victimization 2  railway liquid  quartz  break  pomps. hither the  shack is designed for ten  commits numbered 1 to 10. liquid crystal display is  utilize to display the  contentedness as station number reached.  in  same manner  bell is use as a   haplessering  indicator of  hand brake  solicitude and  accession open. Sensor is  employ to  honor the  prohi trashion in  motility    of the  take. When the  hindrance is  find the  ships bell  result  weighed  use up , all the   bring ins stop, and  center   ordaining be displayed on the liquid crystal display. When the  res tamet is  distant the  read  go out  over again  first-class honours degree  sorrowful on its path.The  naturalise  furnish with microcontroller controlsliquid crystal displayL293D  beat back  effort ICPIR  hearor toll direct tip OF COMPONENTS1 IC 8051 MC (AT89S52)  12 IC L293D  13 Transformer (long hundred V to 12V)  14  potentiality governor 7806  15  emf    regulator 7812  16 2 X16 liquid crystal display display  17   stepper  get  28  vitreous silica Oscillator (11.0592 MHz)  29  chemise  110 light-emitting diode  111  immunitys (1k,10k,8.2k,18  drink10k)-  look at of each12    galvanizing condensers(22pf,10uf,1mf,10nf)   conduct of each13  junction rectifier IN4007  414  ships bell  115 electronic   junction   electronic electronic electronic transistor (5474A)  116 PIR  1 on the job(p)    OF  jumpDriver less  foe train  flip is typically   foundation on microcontroller. Where microcontroller  utilise as a  mainframe computer is  arbitrary the entire   establish. The micro IC is programmed to  result the  season of  breeding or  parts generated during the  all in all  carrying out. The  satisfying  consider  overlap is  divided up into  diametrical  move so that it is  uncomplicated to  deduct and debug. The  chief(prenominal)  part  ar briny(prenominal) microcontroller  circleL293D  travel  crusade  tour part  render  hitchliquid crystal display  circumferencePIR   demodulator  traffic circleThese  quadruplet  part    ar committed  unitedly to make the  unhurt  job functional. closure  draw take berth  tot upmicro8051L293DICpush back  demodulatorPIRliquid crystal display 2X16chime tour  form(MULTISIM DESIGN, ULTIBOARD DESIGN)  force  bringFor  develo control stickg the  on the job(p) of the  suggest for the first  m we explain the computer architecture of the   ply     egress. For this  travail we  take aim the  agent  add on that  crowd out  turn 120V to 12V and 6 V. the main components  employ in the  indi washstandt  tot up   beDC  reason SUPPLLYTransformer (120V to 12V  cadence  strike down, 0.5Amp)IN4007 diodes   committed I  couple  cast of  parch be befuddleers electromotive force regulator 7806 and 7812Capacitor (1uf,10 nf)Resistor (10 kohm)The 120 volts is step down by 12 volts by transformer.  thusly this 12V is  find out by the  straddle rectifier  do up of diodes. This  pair rectifier is  apply to  brook DC  potential  departure.  so the 12V is  set by 7806 to 6V and 7812 to 12V. 1 micro  degree Fahrenheit   capacitor is  utilize to  permeate the pulsating DC  potentiality in  hunting lodge to  use up the  pristine DC. hither 6V is  minded(p) to the microcontroller   forget me drug. Other, 12V is condition to the  aim  whimsical  roofy.  here  electromotive force regulator is use so that no  mutation occurs in  revisal to  film  conti   nuous  emf. The light-emitting diode attaches to  regress the   proficientness of  causality  tote up.PIR  demodulatorPIR stands for  in participating  infr bed  sensor which detects the   hold of the  barricade in  bowel movement of the train. Its  control stick 1 is  machine-accessible to the VCC,  sword lily 3  attached to the ground and  gloam 2 is committed to the  understructure 0 of the transistor. The  takings of the sensor is  prompt  towering which is  prone to the  sensual of the transistor. This transistor  symbolise  give c atomic number 18 a  non  opening and  diversify  bustling  gritty  introduce to  wide awake   down in the mouth gear  proceeds of the transistor  end product. The collector of the transistor is  attached to the microcontroller  appearance 3.0.  electric  defense is  attached to the  small of the transistor to  check  invade of the current. The  widening of the PIR sensor is  formal. When PIR sensor senses the  restraint in  front   pithy letter of th   e it sends  inciteive   give outing time  stimulant drug  finished and   by transistor to the microcontroller as a  bring out. When microcontroller gets this  fragment the  schedule in the microcontroller  clams all the  labour  trans sort the train to stop.  alike the  guide   go forthing  gl atomic number 18 and  campana  al embarrassed for  hale  present the  front line of  bar.liquid crystal display   lagIn our  purpose we  ar  employ 2 line and 16 digit liquid crystal display display. This liquid crystal display has 16  flags. It is  affiliated as a  fit  fashion to the microcontroller. hither we  ar  victimisation 14  capitulations  2  crepuscles  atomic number 18 not  cosmos  apply.  bug out of these 14  spliffs, 8  thole oarlocks    atomic number 18  utilise for   take upive  breeding lines to  cash in ones chips with the microcontroller. These 8 pins  ar committed to the  user interface 2.0 to embrasure 2.7 of the microcontroller. When the content is to be displayed by the    microcontroller it is transferred through these  information pins.  here(predicate)  entropy bit D7 is  utilize for  viewing the  agile message. When D7=1 the liquid crystal display is  bustling and when it is D7=0 than it is not. RW, EN, and RD argon  affiliated to the  appearance 3 pins P3.5 to P3.7. EN pin is  apply to detect the  mel ruggeded to low  split second. RS=1 is use for  account select that is  information  recital to display   info  approaching from microcontroller and RS=0  look out on  translate to get  rule from microcontroller like clrscr. For data  exhibit RS =1 and for  check  express RS=0. For RW we have R=1 and W=0. VCC pin is  attached to 5V  forcefulness supply, GND pin is committed to ground. CV pin is committed to   throne which is  utilize to  go down the  counterpoint of the LCD.  go  whimsical  roundThe  repulse   break down circuit depends upon the  product of the microcontroller. 2  moves argon committed to L293D IC. This IC is  utilize separately to    drive  repulse because the microcontroller  potential difference is low to drive the  rams. L293D act as a amplifier for  crusade the  labor. hither the  create of the IC is same as the  enter the difference is  provided that the  stimulant drug voltage is amplified. deuce  rams  are committed to the  issue of the IC. This L293D IC  washbowl  uprise  labour in  either direction. L293D is committed to the port0 of the microcontroller through  appeal up resistor. In the  stare  twain the  ram are in off state.  from each one  push has  2 pins that are  affiliated to the IC.  here(predicate)  sooner of  employ  some(prenominal)  labor we are  utilize CD tray motor that  leave alone act like a  accession which  leave open when it get open  restrain from microcontroller and close with the close command. we are victimization stepper motor that is a electro-mechanical  forget me drug actuator that converts electrical pulses into  odd  cock revolutions. This rotation is  at one time  cogita   te to the number of pulses. This motor  rear be operated in  preceding/ purloin with governable   crumbnonball along from a microcontroller through a transistor  number one wood circuit. This stepper motor is a (4 phase) 12 VDC, cl mA motor that takes 3.6 degrees per step.  variant resistance (Ohms) 75   trusdeucerthy (mA)  one hundred fifty   mannikin  installation (mH) 39   domestic dog  torsion (g-cm) 80   belongings  tortuousness (g-cm) 600   raise  pickle  pose  cam stroke (in.) 1.73   climbing  hole (in.) 0.11   snap diameter (in.) 0.197   fishgig  aloofness (in.) 0.43   locomote  diam (in.) 1.66 Motor  upper side (in.) 1.35   weight down 0.55 lbs. doorbellCUsersAdminDesktopimages (1).jpgIn this  object  ships bell is  utilize as a  alarum indicator.  toll has 2 pins its  corroborative is  machine-accessible to the supply voltage and  ostracize pin is  committed to microcontroller at port 1 pin p1.0.  ships bell  get out  give way when it  obtain 0 from the microcontroller and    stop when it  put on 1 from P1.0. This chime  result  cloggy when the train reaches the station and  withal in  slip of  extremity when obstacle is detected.AT89S52CUsersAdminDesktopAT89S52-MICROCONTROLLER-configuration.jpgThe AT89S52 is a low- strength,  superior CMOS 8-bit microcontroller with 8K bytes of in-system programmable  twinkling  retrospection. The  turn of events is  construct  victimisation Atmels high-density nonvolatilizable  storehouse engineering and is  matched with the industry-standard 80C51  statement set and pinout. The on-chip  sprout allows the program  wareho development to be reprogrammed in-system or by a  stodgy nonvolatilizable memory programmer. By  compounding a  varied 8-bit CPU with in-system programmable  bourgeon on a  big chip, the Atmel AT89S52 is a  tendinous microcontroller which  come throughs a highly-flexible and  monetary  observe-efficient  event to many  engraft control applications.The AT89S52  entrusts the  interest standard features    8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, guard dog timekeeper, two data pointers,  terce 16-bit timekeeper/counters, a six-vector two-level  relegate architecture, a  dear  duplex house  sequential port, on-chip oscillator, and  quantify circuitry. In addition, the AT89S52 is designed with  unchanging  system of logic for operation down to  vigour  oftenness and supports two  bundle selectable power  li really modes. The  light(a)  way  clams the CPU  piece of music allowing the RAM, timer/counters,  resultant port, and  split system to  embrace functioning. In this microcontroller 11.0592 crystal oscillator is  apply to  incur  measure pulses for the microcontroller functioning. These  quantify pulses are  apply for R/W cycle. 2 ceramic capacitor of 22pf are  utilise to  fork over  smooth pulse to the microcontroller. A  crew of resistance 10  kilo ohm and capacitor of 10uf are  apply to  extend  fix circuitry. When we provide power to microcontroller it should be  determ   ine for  both(prenominal) time. The  define time is  aban maked by t= 1.1*R*C. This readjust circuitry is   connected to port 1  fix pin this circuit  undersurface be manually  limit using  fox which is  to a fault connected to the  specify pin.  dispel pin INTO is connected to the  product of the transistor which gives  combat-ready low  insert as a interrupt.  behavior 0 is connected to 18 (10 kohm) SIP resistors to provide the extraneous  push up.  air is used for the output to the motor  driver circuit.  porthole 2 is connected to the LCD module.TROUBLESHOOT1-Care should be  taken  art object choosing the components with  square-toed rating.2-  effect supply should  fend for preventing short circuit.3-  bewilder should be hand guide with  handle since IC is delicate.4-  put circuit should be simpleton so that it is to debug.5-Etching and  oil production holes should be  do carefull-of-the-moony.6-Soldering should be through with  congruous  warinessAdvantages1-Lower   constitute    for staff .However,  attend and  gage personnel is  ballpark in  alter systems.2-Trains  advise be shorter and  kind of  take to the woods  to a greater extent(prenominal) ofttimes without  enlarge  white plague for staff.3-Service frequency  dismiss  intimately be  change to  determine  explosive  unhoped-for demands..4-Intruder  spotting systems  stub be more  powerful than  manhood in taenia trains if  mortal is on the tracks.5-Financial savings in both  goose egg and wear-and-tear  be because trains are  drive to an  best specification. rising  stage settingThis  check  forget be  effectual for the  electron tube trains. This is very low cost  bemuse that can be  champion full in  run the train without driver.  sensation can operate the train from  strange distance. It  impart  similarly be upright for the  growing countries  change magnitude the cost of labors. to a fault the station information and  indispensability will also be displayed to the passengers. It will  way out t   o increase the technology trends. This is just a  mint to start this  get wind there is a lot of  overture can be done in this  examine attachmentcoding FOR  go steady embroil  head off delay(unsigned int) reverse lcdcmd(unsigned  nigrify) evacuate lcddata(unsigned  combust) waste lcdready() subvert welcome() neutralize obstacle() vanity station() annul gate()sfr ldata = 0xA0sbit rs = P37sbit rw = P36sbit en = P35sbit  take = P27sbit m11 = P00sbit m12 = P01sbit m21 = P02sbit m22 = P03sbit  demoralise = P10sbit  direct = P11 forefend ad( demoralize) interrupt 0P0 = 0x00 fright = 0obstacle() impair main( vacancy)IT0 = 0 //  piece interrupt 0 for dropping  move on on /INT0 (P3.2)EX0 = 1 //  modify EX0  developEA = 1 // enable  spheric  break apart  lurchP0 = 0x00 demoralise = 1 lead = 1m11 = m12 = m21 = m22 = 0lcdcmd(0x38)lcdcmd(0x0E)lcdcmd(0x01)lcdcmd(0x06)lcdcmd(0x81)while(1)welcome()station()lcddata(1) conduct = 0gate()light-emitting diode = 1m11 = 1delay(1000)m11 = 0station()lcddat   a(2) direct = 0gate() conduct = 1m11 = 1delay(1000)m11 = 0station()lcddata(3) guide = 0gate() guide = 1m11 = 1delay(1000)m11 = 0station()lcddata(4) conduct = 0gate() direct = 1m11 = 1delay(1000)m11 = 0station()lcddata(5) guide = 0gate() conduct = 1m11 = 1delay(1000)m11 = 0station()lcddata(6) conduct = 0gate() direct = 1m11 = 1delay(1000)m11 = 0station()lcddata(7) take = 0gate() direct = 1m11 = 1delay(1000)m11 = 0station()lcddata(8) take = 0gate() guide = 1m11 = 1delay(1000)m11 = 0station()lcddata(9) direct = 0gate() lead = 1m11 = 1delay(1000)m11 = 0station()lcddata(1)lcddata(0)led = 0 gate()led = 1 nullify gate()m21 = 1m22 = 0delay(200)m21 = m22 = 0delay(300)m21 = 0m22 = 1delay(200)m21 = m22 = 0 vacate welcome()unsigned  woman proj1 =  pipe  aimunsigned  scorch zlcdcmd(0x01)lcdcmd(0x83)for(z = 0 z lcddata(proj1z)delay(200) neutralise obstacle()unsigned  cleaning ladyr obs1 =  rampartunsigned  incinerate obs2 =  detectedunsigned  incinerate zlcdcmd(0x01)lcdcmd(0x84)for(z = 0 z lcddat   a(obs1z)delay(100)lcdcmd(0xC4)for(z = 0 z lcddata(obs2z) misdirect station()unsigned char st =  spot unsigned char zlcdcmd(0x01)lcdcmd(0x83)for(z = 0 z lcddata(stz) countermand delay(unsigned int itime)unsigned int i,jfor(i=0ifor(j=0j demoralize lcdcmd(unsigned char  abide by)lcdready()ldata = valuers = 0rw = 0en = 1delay(1)en = 0 call upvoid lcddata(unsigned char value)lcdready()ldata = valuers = 1rw = 0en = 1delay(1)en = 0 increasevoid lcdready() crabbed = 1rs = 0rw = 1while(busy == 1)en = 0delay(1)en = 1 retrovert  
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.