Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… ·...

18
An Embedded Linux Platform to collect, analyze and store critical data for navigation of an autonomous vehicle By Sonia Thakur James M.Conrad Presenter: Bin Huang

Transcript of Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… ·...

Page 1: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

An Embedded Linux Platform to collect, analyze and store critical data for navigation

of an autonomous vehicle

By Sonia Thakur

James M.Conrad

Presenter: Bin Huang

Page 2: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Autonomous Underwater Vehicle (AUV)

• Gather oceanographic dataand strategic military data

A Hydroid Remus AUV

• AUV community major concerns underwater navigationfor autonomous vehicle

• Implement a Global PositioningSystem (GPS) unit

Page 3: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Global Positioning System (GPS)

• What could GPS unit do?Provide very precise and inexpensive measurements of

geodetic coordinates

• Disadvantage of GPS unitRadio signals cannot penetrate beneath the ocean’s surface

• AUV community found a solutionUse inertial measurement unit integrated with GPS to produce navigation

information

Page 4: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

What is Linux?

• Multi-tasking, multi-user, multi-processor operating system

• Unix-like

• Developed by Linus Torvalds,University of Helsinki, in 1991

• Support ARM,X86, Alpha, SuperH, PowerPC and SPARC

Page 5: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Linux Kernel

• Memory managementBuild up a virtual addressing space

• File systemsThe kernel builds a structured file system on hardware

• Process managementThe kernel creates and destroy processHandle input and output connectionThe scheduler controls how process share the CPU

• Device control

• Networking

Page 6: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Time to implement our hardware system…

• External ADC

• RS-232 Interfacing

• A single board computer

• Accelerometer

System resources:

• GPS Receiver

• Analog Compass

• Thermistor

Page 7: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

TS-7200 Single board computer

• ARM9 ArchitectureBased on 32-bit RISC architectureSupports Linux operating system

• Support a compact Flash card (CF Card)

• Runs on a 200Mhz ARM9 processor

• Support USB and Ethernet ports

Page 8: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Max197 External ADC

• An optional 8 channel ADC

• Convert an analog signal to 12-bit digital output

• Integrated in TS-7200

• Each channel is independently software programmable

Page 9: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

SiRF star III based EM402 GPS Receiver

• Self-contained GPS unit with a passive antenna

• 4800 baud serial data bus

• To provide the absolute positioning of any object

Page 10: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

RS-232 Interfacing

• Support efficient data communication at low baud rates <20kps

• Exchanging data by reading from or writing to a file

• Single-ended serial communication protocol

Page 11: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

ADXL311EB Accelerometer board

• Used along with gyroscopes, which measure the angular acceleration of a rigid body

• By integrating the output of the accelerometer, the velocity of the system is obtained

• Measure the linear acceleration of a rigid body along a single axis

• Dual axis accelerometer

20

1tan * *

2Dis ce velocity time acceleration time= +

Page 12: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

R1655 Analog Compass

• Measure the direction of the horizontal component

• Compass output resemble a sine-cosine set of curves

Page 13: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

LM35 Thermistor

• Nominal output voltage is from 250mV to 1.000V

• A negative temperature coefficient

Page 14: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

The complete system setup

Page 15: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Now we start to develop software…

• CompilerGNU C compiler provides all the software for the development

of an Embedded Linux system

• Linux EnvironmentTS-Linux embedded distribution is installed on the on board

Flash memory(Download it at http://www.embeddedarm.com )

Page 16: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Description of main program

• MAX 197 external ADC

• Header file for the external ADC

• RS232 configuration code

• GPS ReceiverLinux distinguished devices into three fundamental device

types: a char module, a block module, a network moduleChar devices are accessed by means of file system nodes, such

as /dev/tty1 and /dev/lp0

Page 17: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

Output from the ADC and the GPS Receiver

Page 18: Presentation An Embedded Linux Platform for AUV Binhuangjmconrad/ECGR6185-2007-01/notes/Pr… · Autonomous Underwater Vehicle (AUV) ... Microsoft PowerPoint - Presentation_An Embedded

• Use an Embedded Linux supporting a single board computer

•Most of the work has been done in kernel development

• the code is written as generic as possible, so that it could be ported to other Linux-based SBC

• Interface Ethernet and USB

•Various sensor measurement for Marine research

Thank you!

System features