Introduction - curs.cs.pub.ro

Download Report

Transcript Introduction - curs.cs.pub.ro

Freescale Race Challenge 2010
Introduction
Freescale Semiconductor Romania
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. © Freescale Semiconductor, Inc. 2008.
TM
Freescale Race Challenge 2010
►Introduction
►History
►Organization
►Races and Prizes
►Competition Timeline
►Support
►Slot Car Equipment
►Competition Rules
►Registration
TM
2
Introduction
► University student competition based on slot car racing
► The Goals are:
• To develop the best control algorithm that will drive the slot car on an unknown track
without student interfacing.
• To achieve the best time for 10+10 laps without dropping out of the track.
► The Objective is:
• Map the track shape during the first lap and use it to achieve a maximum speed in the
following laps.
► How
can the car map the track? Accelerometer measures centrifugal forces.
► With the support provided by Freescale and Carrera,
• Populate the provided PCB
• Build it into the provided slot car
• Create the slot car intelligence (development tools provided)
• Test it on the provided track
it's easy to go for it!
Racers need to have acumen and accuracy.
Forethought, creativity and a bit of skillfulness is needed here!
TM
3
Organization
►Organizer:
Freescale Semiconductor Romania and
Freescale Semiconductor Czech
TM
►Partner: Carrera (ConQuest entertainment a.s.)
• www.carrera-toys.com, www.autodrahy.cz
►Universities
•
•
•
•
•
•
•
- local organizational support
Polytechnic University of Bucharest (RO) – AC & ET
Brno University of Technology (CZ)
Technical University of Ostrava (CZ)
University of Žilina (SK)
Slovak University of Technology in Bratislava (SK)
University of West Bohemia in Pilsen (CZ)
Czech Technical University in Prague (CZ)
TM
4
Races
Czech And Slovak Republic
►7
•
Every
participant
who finishes
the race
will get
a prize!
University Finals
Brno 2x, Ostrava, Žilina,
Bratislava, Pilsen, Prague
► Country
•
Romania
►2
University Finals
•
Bucharest 2x
► Country
Final CZ&SK
Rožnov pod Radhoštěm
• 1st prize = 600 €
Final RO
•
•
►International
•
1st
Bucharest
prize = gift at a value of
600 €
Grand Final
Brno, 30-April-2010
TM
5
Competition Timeline - Romania
University Finals
• April 1, 2010 - Bucharest
• April 2, 2010 - Bucharest
Competition Announcement
• November, 2009
Registration
• November 16 to 27, 2009
Development
Phase
Support Distribution
• Slot car Audi R8
• PCB and ICs
• University tracks
2009
Oct
Nov
Dec
Country FInal
• April 9, 2010
• Bucharest
International Grand FInal
• April 30, 2010, Brno
2010
Jan
Feb
Mar
Apr
May
TM
6
Jun
Support from Freescale and Carrera
► Participant package
• Slot car Audi R8
• Unpopulated PCB
• Devices






•
► University package
• Slot car track pieces







Microcontroller MCF51JM64
Accelerometer MMA7361
H-Bridge MCZ33931
miniUSB connector
microSD card slot
crystal and other ICs
15 straights
1 connecting section
2 1/4 straights
2 1/3 straights
2 line changes
14 curves 1/60
6 curves 2/30
On-line Resources

Development tools
–


Digital Lap&Time Counter
•
Power supply
Freescale CodeWarrior for MCU’s
Quick Start Guidelines
Example slot car embedded application
–
–


•
including SD card and FAT driver
under USB-bootloader framework
Datasheets
PCB files
TM
7
FRC2010 – Slot Car Equipment
►Equip
the standard slot car by electronics and control
algorithm to make it a self-driving slot car
►Take
benefits of:
•
FRC2010 Participant Package
• Code Warrior Special Suit – free software development tools
• Quick Start on-line resources: trainings, software template, etc.
• Your creativity, skillfulness and enthusiasm!
TM
8
FRC2010 Participant Package
► Every registered FRC2010
• Slot car Carrera Audi R8
•
Unpopulated PCB
•
Devices








participant obtains:
Microcontroller MCF51JM64
Accelerometer MMA7361
H-Bridge MCZ33931
miniUSB connector
microSD card slot
8.000MHz Crystal
1A Bridge Rectifier DB106S
3.3V Linear Voltage Regulator NCP612
TM
9
Slot Car Electronic Equipment - PCB
► Populate the provided PCB
• resistors, capacitors and diodes are not provided
• use switch and line filter from the original car PCB
switch
line filter
TM
10
Slot Car Electronic Equipment - Installation
►Build the PCB into the car
• use the position and fixture of the original PCB
• make holes for miniUSB connector and microSD card
• connect original LEDs, motor, power and external capacitor
• USB cable and microSD card are not provided
TM
11
Slot Car Electronic Equipment – Schematic
►
Equipped slot car
features
• 3-axis
acceleration
measurement
•
4-quadrant DC
motor control
•
USB
connection –
primarily used
by bootloader
for flash
programming
•
microSD card
slot – runtime
data storage,
transfer to PC
•
4 LEDs control
using PWM
•
changeover
detection
TM
12
Control Algorithm Development
► On-Line Resources
• Freescale Code Warrior for Microcontrollers Special Suit

•
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS
Slot car embedded software template

link to be added
–
–
–
–
–
–
•
Trainings

Slot-Car Development Quick Start Guidelines
–


http://www.freescale.com/webapp/sps/site/training_information.jsp?code=WBT_24571
Learn Programming with C
–
http://www.freescale.com/webapp/sps/site/training_information.jsp?code=TP_C_PROGRAMMING
Datasheets

•
link to be added
Introduction to CodeWarrior
–
•
USB-bootloader framework
accelerometer driver
motor driver
SD card and FAT driver
LEDs driver
simple example application code
links to be added
PCB files

link to be added
TM
13
Competition Rules – Main Race
►
Racing Rules
•
All contestants place their cars into pits before the race.
•
Each contestant races separately against time.
•
The contestant called on takes his car from the pit and place it anywhere on the track.
•
The time measurement is started on the first pass through the time counter and stopped after 10 laps.
•
If the car drops out of the track the contestant can be put it back, to a position clearly before the drop-out point. Only one
person of a team can do this.
•
After the ride, the contestant places the car back to the pit and keeps away from pits.
•
There are two race rounds and the sum of both race times will determine the final result.
•
The slot car is placed to the right line of the track for the first round and to the left line for the 2 nd round.
•
The starting order is random for the first round and a reverse order to the intermediate results is used for the second
round.
►
Track Properties
•
The race track is unknown to the contestants until the race.
•
The track can consist only from the following set of Carrera Evolution pieces (all or a subset):




•
•
►
15 straights
1 connecting section
2 1/4 straights
2 1/3 straights




2 line changes
13 curves 1/60
2 curves 1/30
6 curves 2/30
The track is powered by the original power supply 14.8V, 2x350mA (Carrera ID: 26724)
The track does not include shoulders or guardrails
Slot Car Properties
•
The slot car Carrera Evolution Audi R8 original chassis, body, guide blade, motor and tires must be used.
•
The traction magnets must be removed, no traction magnet is allowed.
•
The slot car can be equipped by additional electronics, but only inside the body.
•
The slot car weight is limited by a maximum of 125g.
•
No remote control of the car is allowed.
•
Only one switch allowing to choose between two modes of operation is allowed on the slot car.
TM
14
Registration
►
Registration Form
Name:
.....................
E-mail: .........@...........
University: .................
Year:
.....................
Specialization: .............
Notes:
In Romania
1.
2.
Visit http://www.freescale.ro
and fill the registration form
or Send the text registration form
by email to [email protected] and
[email protected]
TM
15
TM