Notes
Outline
A.C.M.E.
Automated Commuter Merging and Exiting
Project members:
Tim Ring
Adam Nelson
Scott Bertling
 Joe Harrill
What is ACME?
ACME is an automated highway system.
An automated highway system autonomously navigates a vehicle to a user defined destination.
The purpose of this project is to design an automated highway system on a miniature scale that could lead to further research.
ACME combines a vehicle and highway with microcontrollers, receivers, transmitters and magnetic sensors.
History
1st presented by General Motors in 1939 at the World’s Fair.
During the end of the 1980s, advances in microprocessors, wireless communications and other electronic sensors prompted a renewed interest in the automated highway, leading to the formation of the Intelligent Transportation Society (ITS) of America in 1988.
More recently, several pilot tests of automated highway systems are underway and run by the National Automated Highway System Consortium.
AHS Diagrams
Vehicles travel in “platoons” guided by onboard sensors.
Vehicles communicating on lane changes.
Exit beacon transmitting data to vehicles.
AHS Current Research
Two types of navigation.
Beginning of AHS implementations.
Why is this Important?
Roadways are dangerous and increasingly expensive to maintain.
Many societies have been very successful at finding creative alternatives to make their transportation systems safer and more efficient.
The structure of the automated highway system is a familiar format for the U.S. culture and easily recognizable to its users.
Therefore, a new infrastructure will not be needed and only retrofitting current systems will be needed.
A.C.M.E’s Project Goals
The vehicle’s guidance system is controlled by a microcontroller and sensor configurations.
This system is  guided by signals in the roadway.
Exit beacon transmitters relay exit information to vehicle.
On-Board Receivers receive this information and communicate this to the microcontroller for decision making.
ACME Block Diagram
User inputs exit # and car follows LHS magnets.
Beacon # is tripped when RF car passes.
The exit # and beacon data are compared.
RF car follows RHS magnets to exit #.
Navigation
Four types of technologies were considered for navigation in the project: imaging systems, radar, line-trackers and magnetics.
Magnetic systems are the only type that are transferable to the real world.
Sensors are not affected by dirt or mud.
Magnetic fields on the roadway operate through all environmental issues.
Magnets will not degrade over time.
Navigation Table
The Magnetometer
A magnetometer senses the generated magnetic field.
The Magnetometer of Choice
There are several types of Magnetometers. Our team selected the digital Hall-Effect Sensors which generates a voltage when the current flow is perpendicular to the applied magnetic field.
The Hall Effect Sensor
We are using the Uni-polar Hall Effect Sensor. Uni-polar meaning activation by one pole.
The output is always on and off in the presence of a  B-field. The turn on strength needed is 35 G. Switching is done by an internal NPN transistor.
Hall Effect Sensor Test Board
Magnets
Very powerful permanent magnets are needed to activate magnetometers.
These magnets are Ceramic, Alnico, Samarium and Neodymium. These compounds are mostly found in combination with Iron, Chrome, Boron and Cobalt.
Comparison of Magnets
Maximum Air Gap for Sensor Operation.
Sufficient strength to activate sensor
Application
The left two sensors track the roadway and the right two sensors track the exits.
The left side will operate until interrupted by the user that an exit is needed.
The table applies to the LHS only. RHS table being 10 = Left and 01 = Right.
Microcontroller
Adam Nelson
Microcontroller
The brains of the project, every system will be tied into the Microcontroller.
The Microcontroller must be:
Versatile
Sufficient in processing power
Easy to use
Fairly cheap
Microcontroller
Processing Power
The Microcontroller needs to be able to process functions simultaneously
The Microcontroller needs to process fast enough for precision timing and accuracy for tracking.
Microcontroller Capabilities
Versatility to handle
Multiple Sensors
Two DC Motors
RF Receiver
Keypad
LCD
Parallel Communication
System Block Diagram
Microcontroller Comparison
OOPic Vs Basic Stamp
Evaluation Board
Two choices
Buy a board
Compromise to board configuration
Save time (preassembled and tested)
Professional layout
Make a board
Allows for choosing each component
Cheap
Time consuming; learning software and              hardware, trial and error, ordering parts,
soldering, design
Evaluation Board
Board Criteria
Find a board that can easily tie into specified peripherals
Expandable for future application and ideas
Uses RS232 or USB port
Falls within budget
Evaluation Board
OOBOT40 from
Oricom Technologies
18 non-dedicated I/O lines
4 H-bridges
Up to 7 A/D lines
Up to 8 servo lines
3 High current drivers
Will run off a 9V battery
Programming
Three Main Sub procedures
Initial input: Will correspond with the user    interface via LCD and Keypad
Tracking: Follow the magnetic track linking
the magnetic sensors to the steering motor
Exiting: Break from the continuous track to an  exiting lane
Programming
The initial sub procedure will be to link the LCD and the Keypad (or other input device) together creating a user interface
The system should start out initially by displaying a message on the LCD screen asking the user for a destination, and will await for an input from the user. The data will be stored in memory and the vehicle will be set into motion.
Programming
     Input     10
01
Programming
The tracking sub procedure will tie the magnetic sensors to the steering motor. The sensors will guide the vehicle as to where to go following the magnetic field
The system will work by sensing the logic state of the magnetic sensors; There are four logic states that are used. A change in logic state will trigger an event or interrupt that will subsequently call a subroutine that will correct the path of the vehicle.
Programming
interrupt
01        10
       00
00        00
interrupt
Programming
The exiting sub procedure will be much like the tracking except that tracking from one set of sensors will switch to another set.
The Design of this procedure begins with the data entered in from the initial sub procedure. When the vehicle falls within range to the RF signal the data received from the signal will be cross referenced with destination data. And logic will be emulated to select the appropriate course of action
Programming
       No
   yes
A.C.M.E Communications
Scott Bertling
A.C.M.E. Communication Systems
The Communications systems will be divided into two major categories.
Exit Beacon Transmitter
  and  Vehicle receiver subsystem.
The A.C.M.E. communication system will need to Transmit Exit data and have it received by the vehicle.
Remote Driver control release subsystem.
The drive control of the test vehicle will need to be relinquished from the remote control to the system MCU.
What are the A.C.M.E. Communications systems used for?
The communications in this system will be used to let the vehicle and driver know when they have arrived at a previously selected exit from the highway system.
It will communicate this information to the main system MCU so that it may select and follow the exit path.
Also, in our configuration we must be able to remotely change the drive control from the Hand held RC car remote to the MCU.
Requirements of the RF subsystem.
The RF transmitters and receivers must be:
Able to transmit and be received at a distance of  100 meters.
Be programmable.
Need only Simplex data transfer.
Be completely portable.
Small in physical size.
Low power consumption.
Interface with the A.C.M.E. system microcontroller.
Low Cost.
Vehicle Communication System
Block Diagram.
Building of  the data/RF system.
The core of the Communication System will be determined based on the following considerations:
The System will need to transmit an identification code to identify individual beacons.
 All of the systems exit beacons will transmit their specific I.D. codes on the same RF frequency.
This will allow for the vehicles in the system to be continuously tuned to all of the Beacons in the system.
The Beacon transmitter should only operate when a vehicle is detected in the range of the transmitter.
The ideal way to start.
   The best way to meet all of the needs and considerations of the communication systems is to start with a RF development kit.
These will include at least one transmitter and receiver.
Development hardware and software.
 Programmable components.
Choosing the RF components.
RF Development Kit
Kit includes MP lab IDE development environment.
Development board, USB to PC interface.
Code development in Assembly.
Allows for individual component programming or in-circuit-programming of the module.
Transmitter Modules are capable of                ICP.
 Receiver Modules do not require programming.
The RF development KIT
Transmitter and Receiver Modules
Beacon Housing
Enclose Transmitter and Vehicle Detection switch.
Small
(2.5” x 2.75” x 5.25”)
Weather Proof
Manufacturer Unknown
Vehicle Motion Detector
Motion Detector Switch
Detects vibration from vehicle.
No additional power required to operate.
Closes circuit on transmitter CCA.
Manufacturer Unknown
Beacon to Vehicle Block Diagram
Receiver Decode to Interface
The data that is transmitted will first be demodulated within the Receiver Module.
It is now a PWM data stream at base-band.
The PWM data is then decoded to a parallel data configuration with the programmed decoding PIC.
The output from the decoding PIC will now need to be conditioned for interface with the OOBOT40 microcontroller.
Exit Beacon Data Latch
The  four bit parallel data that is decoded will be latched for the MCU to detect.
This will allow the MCU to accept the data when it is ready and not interrupt any drive control sequences.
Also, the latched data will drive a LED to indicate it’s condition.
The MCU will toggle a conformation bit when it accepts the data.
Communication Beacon/Vehicle Flowchart
Receiver Decode to Interface
Exit Beacon Data Latch
Remote Control Transfer
Remote Operator to Vehicle Block Diagram
Motor Control
Joe Harrill
The Vehicle
HPI R/C car-Dash Series
Existing Vehicle Power
7.2 Volt NiCd battery pack
Used to power the drive motor
Powers the Steering motor in manual drive
Additional power
6-10 Volt battery pack to power
Micro-controller through 5 volt voltage regulator
 H-bridges on evaluation board
External H-bridge for drive motor
Drive Motor
The drive motor for the car is a 7.2 Volt electric motor with 6 Amps peak current at full throttle moving the car at speeds of 30mph.
3 Amps peak for the operation of this project due to the minimal velocity. This current occurs when moving the car from rest.
1 Amp continuous during constant minimal velocity
Drive System Block Diagram
Basic H-Bridge Design
SN754410
16 pin H-Bridge IC
Manufactured by Texas Instruments
2 Amp max current
1 Amp continuous current
Already integrated with the OObot40 board and the OOpic
High Current H-bridge
TPIC0108B
20 pin H-bridge
Optimized for low power battery operations
Input Voltage between 6 and 18 Volts
Peak current of 7.5 Amps and continuous current output of 4.8 Amps
Provides overvoltage, over current and over temperature protection
Obtained as a sample from Texas Instruments
TPIC0108B
High Current H-Bridge
NIMH-0050
Manufacturer: New Micros
5 Amp continuous current
6 Amp peak current
Separate circuit keeps control board safe from overloading current.
H-Bridge selection
Steering
The steering mechanism is powered by an electric motor that is hooked up to a sensor with a wiper and a pot that determines the position of the wheels.
The electric motor will run off the SN754410 H-bridges currently on the OObot40 board, a high current H-bridge is still needed to power the drive motor.  It has not been decided between the NIMH-0050 or the TPIC0108B
Switching the polarity on the steering motor effectively steers the car in opposite directions.
Steering System Block Diagram
Administrative Content
Distribution of Work
Completion
Budget to Date
Vehicle                                                   $50.00
Micro-controller                                      $88.00
RF transmitters and receivers               $135.00
Miscellaneous parts                               $40.00
Extra Battery pack                                 $30.00
2 Serial Cables @ $13.00 each            $26.00
OOpic programming book                     $24.00
Unipolar Hall Effect sensors                 Freebie
                                                       ____________
                                                                $393.00
Projected Expenses
Magnets ($0.28 per 1.87”, 26’ total)        $50.00
Highway model materials                        $60.00
Switches for exit selection                       $5.00
LCD                                                         $40.00
External H-Bridge                                   $30.00
Miscellaneous Components                   $15.00
Expenses to date                                  $393.00
                                                          __________
Total Expenses                                    $593.00
Fin