Freescale PowerPoint Template

Download Report

Transcript Freescale PowerPoint Template

Scale Model Autonomous Racing :
High Speeds and High Tech
AN4245:
Using a RCA Camera for line detection
Francisco Ramírez – FAE
TM
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
CM-26N/P CMOS
► Pixel
matrix array
► 1vpp@75ohms output
► Color RCA camera
► Lens of 7.9mm
► No control signals
► Only one output signal
► Complete image view
► Changeable lens
► Auto gain
► Auto contrast
► Auto focused
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
1
RCA signal
Output from the camera
► 30
frames per second
► 525 scanlines
► Horizontal sync
► Color encoding
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
2
RCA signal
Vertical synchronization
► Vertical
sync
► ~1ms
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
3
CM-26N/P CMOS / RCA signal
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
4
Processing the RCA signal
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
5
Processing the RCA signal
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
6
Processing the RCA signal
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
7
AN4245:
Using a RCA camera for Line Detection
Configurations set to
interface MPC5604B to
the RCA:
• core running @64 MHz
High level code
Code for
gathering
image
Code
developed by
user
• ADC module in scan
mode – 1MHz speed for
one conversion every 1μs
Low level drivers
Driver_ ADC
• ADC Watchdog
• ADC Scan Mode
• Interrupts with the end of
conversion on the ADC
module
• ADC watchdog to
increase performance
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
8
Advantages
 No external analog
processing needed.
Disadvantages
 Can’t accelerate frame
rate
 Never faces problems for  You have less time to
calibrating.
process the image since
almost all the time is
 Can “see” in dark places
taken to gather it.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
9
For more information
And for a better reference,
go to www.freescale.com …
…and download the documentation
and example code as AN4245SW.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners. © 2010 Freescale Semiconductor, Inc.
10