Title: COMMUNICATION SYSTEM FOR AUTONOMOUS HELICOPTER
1COMMUNICATION SYSTEM FOR AUTONOMOUS HELICOPTER
- Group 736
- Control engineering, Aalborg University, December
2005 - Jeppe Søndergaard Larsen
- Martin Holm Pedersen
- Per Horn Petersen
- Kenneth Sparre Sørensen
- Örn Viðarsson
- Kasper Winther
2Agenda
- Semcon presentation (Kasper)
- Alternative methods (Örn) Â
- SCTP (Kenneth)
- GUI (Per)
- Test (Jeppe)
- Poster presentation (Martin)
3- International Aerial Robotics Competition (IARC)
- Mission example
4- International Aerial Robotics Competition (IARC)
- Mission example
- Nuclear reactor melt down
5- International Aerial Robotics Competition (IARC)
- Mission example
- Nuclear reactor melt down
- Quarantine zone radius 3 km
6- International Aerial Robotics Competition (IARC)
- Mission example
- Nuclear reactor melt down
- Quarantine zone radius 3 km
- Pictures of control gauges needed
7- International Aerial Robotics Competition (IARC)
- Mission example
- Nuclear reactor melt down
- Quarantine zone radius 3 km
- Pictures of control gauges needed
- Radiation destroys Unmanned Aerial Vehicle
(UAV) within 15 minutes
8 9Helicopter
- The Communication System
- requirements
Application
Ground Station
Application
10Helicopter
- The Communication System
- requirements
Application
Minimum range 3 km
Ground Station
Application
11Helicopter
- The Communication System
- requirements
Application
Minimum range 3 km
Minimum bandwidth 8320 bps
Ground Station
Application
12Helicopter
- The Communication System
- requirements
Application
Minimum range 3 km
Minimum bandwidth 8320 bps
Ground Station
- Challenge
- Maintain high bandwidth (min. 11 mbit/s) within
close range
Application
13Helicopter
- The Communication System
- requirements
Application
Minimum range 3 km
Minimum bandwidth 8320 bps
Ground Station
- Challenge
- Maintain high bandwidth (min. 11 mbit/s) within
close range - Present data in a comprehensible way on the
ground station
Application
14Helicopter
Server application
Ground Station
Client application
15Helicopter
- Communication
- Close range WLAN
Server application
WLAN
Rated range 300 m, bandwidth 54 mbit/s
Ground Station
WLAN
Client application
16Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
Server application
WLAN
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
Client application
17Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
SLIP
Client application
18Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
SLIP
Client application
19Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
SLIP
Client application
20Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
SLIP
Client application
21Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
SLIP
Client application
22Helicopter
- Communication
- Close range WLAN
- Long range Radio modems
- Serial Line IP (SLIP)
Server application
WLAN
SLIP
Modem
Rated range 300 m, bandwidth 54 mbit/s
Rated range 5 km, bandwidth 19 200 bps
Ground Station
Modem
WLAN
- Stream Control Transmission Protocol (SCTP)
SLIP
Client application
23- SCTP features
- Connection-oriented
24- SCTP features
- Connection-oriented
- Reliable
25- SCTP features
- Connection-oriented
- Reliable
- Multistreaming (multiple independent data
streams)
26- SCTP features
- Connection-oriented
- Reliable
- Multistreaming (multiple independent data
streams) - Multihoming (multiple IP addresses at each
endpoint)
27Data
Shared memory
28Data
Shared memory
3D data representation thread
SCTP client thread
29Data
Shared memory
Semaphore
3D data representation thread
SCTP client thread
30- Client application
- 3D representation thread
- Irrlicht API (C)
31- Client application
- 3D representation thread
- Irrlicht API (C)
- OpenGL hardware acceleration
32- Client application
- 3D representation thread
- Irrlicht API (C)
- OpenGL hardware acceleration
- Initialization process
- Create scene elements
33- Client application
- 3D representation thread
- Irrlicht API (C)
- OpenGL hardware acceleration
- Initialization process
- Create scene elements
- While loop
- Draw elements and update scene
343D representation thread
35Range test
36Range test - Radio modems may need Radio
Line-of-sight
37- Conclusion
- SCTP provides the functionality needed for this
communication system
38- Conclusion
- SCTP provides the functionality needed for this
communication system - Other long-range communication devices should be
acquired
39- Conclusion
- SCTP provides the functionality needed for this
communication system - Other long-range communication devices should be
acquired - Data representation may be extended to e.g. 2D
graphs, and the user interface further developed
40- Conclusion
- SCTP provides the functionality needed for this
communication system - Other long-range communication devices should be
acquired - Data representation may be extended to e.g. 2D
graphs, and the user interface further developed - A fully functional communication system is
developed - Using two redundant connections, enabling
transparent transition between long-range and
high bandwidth communication
41- Conclusion
- SCTP provides the functionality needed for this
communication system - Other long-range communication devices should be
acquired - Data representation may be extended to e.g. 2D
graphs, and the user interface further developed - A fully functional communication system is
developed - Using two redundant connections, enabling
transparent transition between long-range and
high bandwidth communication - Reliable
42- Conclusion
- SCTP provides the functionality needed for this
communication system - Other long-range communication devices should be
acquired - Data representation may be extended to e.g. 2D
graphs, and the user interface further developed - A fully functional communication system is
developed - Using two redundant connections, enabling
transparent transition between long-range and
high bandwidth communication - Reliable
- Portable to other applications
43Alternative methods
44Agenda
- Bridging
- Custom packet forwarding
- TCP sockets
45Bridging
- Spanning Tree Protocol (STP)
- 12s transition time
- Rapid Spanning Tree Protocol (RSTP)
- Transition time in order of -
- milliseconds
-Both ethernet devices have to be initialized to
IP 0.0.0.0 -Virtual Ethernet Device on top of
SLIP
46Custom packet forwarding
SSH
Socket
47(No Transcript)
48TCP Socket
OSI model
TCP/IP model
sockets
49-The socket is initialized to -Family IPv4
(IPv6, Unix domain protocols) -Type Stream
socket (datagram socket, raw socket) -Protocol
0, means that the default combination of
family and type is selected (TCP, UDP,
SCTP) -Bind() function -Binds the well known
port to the socket -Listen() function -Moves the
socket from the closed to listen state -Accept()
function -Accepts a connection from a client and
returns a new socket descriptor
50TCP server client application
51SCTP
- Stream Control Transmission Protocol
- Kenneth Sparre Sørensen
52SCTP-Agenda
- Overview of SCTP
- Features of SCTP
- Comparison with other protocols
53Overview of SCTP
- SCTP is a reliable transport protocol (RFC2960)
- Has built-in support for multi-homed hosts
- Is message-based
- Classifies messages as
- Sequenced delivery of user message within
multiple streams - With an option for un-ordered delivery of
individual user messages - Additional security mechanisms
54Overview of SCTP
55Features of SCTP
- Connection setup (four-way handshake)
INIT
INIT-ACK
COOKIE-ECHO
COOKIE-ACK
Client
Server
56Features of SCTP
57Features of SCTP
Internet
X
Client
Server
58Features of SCTP
59Features of SCTP
SHUTDOWN
SHUTDOWN-ACK
SHUTDOWN-CMPL
Client
Server
No Half Closed State
60Features of SCTP
- Comparison of features with TCP and UDP
Courtesy Addison Wesley
61GUI for GS
- Graphical User Interface for Ground Station
- Per Horn Petersen
62GUI-Agenda
- Overview of GUI
- 3D engine Irrlicht
- Why Euler Transformation
- Update frequency
63Overview of GUI
- 3D representation shows the
- Current Position (x,y,z)
- Current Speed
- Current Rotation (Roll, Pitch and Yaw)
- Current Rotation rates
- Flightpath in 2D (3D long distance view)
- 2D Graphs could show these develop in time
- (not implemented)
64Rear view
Position window
Roll view
Pitch view
Yaw view
653D engine Irrlicht
- Open Source
- Platform independent
- C
- Looking at the existing classes as data types,
makes it possible to look at C just as if is it
was C - Irrlicht utilizes the Open GL
66Why Euler Transformation
- BECAUSE OF TWO COORDINATE
- SYSTEMS
- The helicopter rotates around its own coordinate
axes, that rotates along with the helicopter - The method used is a so called 3-2-1
transformation, which means first the 3D model
is rotated around the Z-axis, then the Y-axis and
last the X-axis
(different order gives different result) - Rotations in the GUI must be consistent to the
helicopters rotations and these are given in
Euler angles. - An example that shows the difference between
Euler transformation and no Euler transformation
67Without the Euler Transformation Notice Other
angles are zero
Axis to pitch around
Axis to roll around
Axis to yaw around
Axis to pitch around
Axis to roll around
With the Euler Transformation
Axis to yaw around
68Update frequency
- The 3D model only moves when new helicopter data
is present in shared memory - The 3D model moves non continuous
- It could be possible to estimate a route so the
3D model could move continuously in non real time
(delayed at least one sample) - A higher update frequency (than 5 Hz) could make
it possible to fly the helicopter by looking at
the GUI if the scenery was more real
69TEST
- of Radio Modems and WLAN
- Jeppe Søndergaard Larsen
70Requirement specification
- Radio Modem
- Transmission range at least 3 km.
- Transfer 208 bytes with 5 Hz (8320 bps).
- WLAN
- Transmission range at least 200 m.
- 54 Mbps
71TEST
- Two test for the Radio Modems
- Along Limfjorden
- On the beach in Blokhus
- One test for the WLAN
72Radio Modem Test along Limfjorden
Level crossing
Flydedokken
73Results of Radio Modem test
- Only every ninth ping packet received.
- A second test with SCTP package was canceled.
- SCTP was tested on a shorter distance of 500 m
- Transmission frequency of 4,43 Hz.
- 56 of the maximum rate of 19 200 bps.
- The requirement specification is not fulfilled.
- Possible because of The Fresnel Zone, or poor
Radio Modems.
74The Fresnel Zone
- Radio LOS
- A least 60 must be free for obstacles
- Radius
- d2.4km, f2.4GHz gt r8.66m
- Only 60 has to be free gt 5.2m
75Radio Modem Test in Blokhus
76Results of WLAN test