UAV Presentation

46,885 views
46,677 views

Published on

UAV (Thesis Project) Power Point Presentation

42 Comments
94 Likes
Statistics
Notes
No Downloads
Views
Total views
46,885
On SlideShare
0
From Embeds
0
Number of Embeds
14,337
Actions
Shares
0
Downloads
0
Comments
42
Likes
94
Embeds 0
No embeds

No notes for slide

UAV Presentation

  1. 1. Unmanned Aerial Vehicle ((UAV))
  2. 2. UAV <ul><ul><li>Presented By: </li></ul></ul><ul><ul><ul><li>Alexander Mohamed Osman </li></ul></ul></ul><ul><ul><ul><li>Riyad Ahmed El-laithy </li></ul></ul></ul><ul><ul><ul><li>Ruyyan Ahmed El-laithy </li></ul></ul></ul><ul><ul><ul><li>Peter Raouf Zaki </li></ul></ul></ul>
  3. 3. Introduction <ul><li>What are UVs ? </li></ul><ul><li>What are UAVs ? </li></ul><ul><li>Types of UAVs </li></ul><ul><ul><li>Fixed wing UAV </li></ul></ul><ul><ul><li>Helicopter UAV </li></ul></ul><ul><ul><li>Quadroter UAV </li></ul></ul>
  4. 4. Quadrotor Advantage Over Fixed-Wing Vehicle <ul><li>Less design complexity. </li></ul><ul><li>Minimal space for take-off and landing. A VTOL vehicle. </li></ul>
  5. 5. Quadrotor Advantage Over Helicopter <ul><li>Quadrotors do not require mechanical linkages. </li></ul><ul><li>T he use of four rotors allows each individual rotor to have a smaller diameter than the equivalent helicopter rotor . </li></ul>
  6. 6. Conventional Design
  7. 7. Control Scheme Direction ∆ Motor 1 ∆ Motor 2 ∆ Motor 3 ∆ Motor 4 Z+ (Up) + + + + Z- (Down) - - - - X+ (Left) + 0 0 + X- (Right) 0 + + 0 Y+ (Forward) + + 0 0 Y- (Backward) 0 0 + +
  8. 8. Materials used in building the Prototypes <ul><li>Balsa wood planks </li></ul><ul><li>Super glue </li></ul>
  9. 9. The First Prototype: <ul><li>Disadvantages </li></ul><ul><ul><li>It was too heavy to lift </li></ul></ul><ul><ul><ul><li>197 grams. </li></ul></ul></ul><ul><ul><li>The spacing between the motors </li></ul></ul>Picture of 1st Prototype
  10. 10. The Second Prototype <ul><li>What is improved in that prototype ? </li></ul><ul><ul><li>The weight decreased </li></ul></ul><ul><ul><ul><li>93 grams. </li></ul></ul></ul><ul><ul><li>The motors are closer to each other </li></ul></ul><ul><li>The result </li></ul><ul><ul><li>Light lift </li></ul></ul>Picture of 2 nd Prototype
  11. 11. The Second Prototype <ul><li>Disadvantages </li></ul><ul><ul><li>Still heavy to hover </li></ul></ul><ul><ul><li>Disturbance in the rotor wind vortex </li></ul></ul><ul><ul><li>Not aerodynamic </li></ul></ul>Picture of 2nd Prototype
  12. 12. The First Prototype Vs The Second Prototype
  13. 13. <ul><li>- Starting the X design </li></ul><ul><li>- Reduced air resistance. </li></ul><ul><li>- More lift gained . </li></ul><ul><li>- Lightweight . </li></ul><ul><ul><ul><li>45 Grams. </li></ul></ul></ul>Picture of the 3 rd Prototype <ul><li>What is improved in this prototype ? </li></ul>The Third Prototype
  14. 14. <ul><li>Problems with the new design: </li></ul><ul><ul><li>Too fragile. </li></ul></ul><ul><ul><li>The reduced air resistance was still not enough. </li></ul></ul><ul><li>What can be done ? </li></ul>The Third Prototype
  15. 15. The Fourth and Final Prototype Isometric: Top: Front: Side:
  16. 16. The Fourth and Final Prototype <ul><li>Achievements: </li></ul><ul><li>- Rigid and Lightweight. (43 Grams). </li></ul><ul><li>- Great lift. </li></ul><ul><li>- Highly reduced air resistance. </li></ul>Picture of Final Prototype
  17. 17. <ul><li>Specifications: </li></ul><ul><li>-Total Weight (with all components) = 990 Grams (0.99 Kg) </li></ul><ul><li>- Acceleration at Full Power = 4.061m/s 2 </li></ul><ul><li>- Vertical Force at Full Power = 4.021N </li></ul><ul><li> (Assuming Differential Torque = 0) </li></ul><ul><li>- Lateral thrust beyond Hover Thrust = 0.4141g </li></ul><ul><li>- Power – to – Weight Ratio = 1.5 : 1 </li></ul>The Fourth and Final Prototype
  18. 18. Controller Design <ul><li>Design Objectives </li></ul><ul><ul><li>Stability </li></ul></ul><ul><ul><li>Obstacle Avoidance </li></ul></ul><ul><ul><li>Determining Position </li></ul></ul><ul><ul><li>Communication </li></ul></ul>
  19. 19. Controller Design <ul><li>To achieve these objectives we need </li></ul><ul><ul><li>IMU (Inertial Measurement Unit) </li></ul></ul><ul><ul><li>5 Ultrasonic Sensors </li></ul></ul><ul><ul><li>GPS Receiver </li></ul></ul><ul><ul><li>RF Transceiver </li></ul></ul>
  20. 20. Controller Design <ul><li>MicroController requirements </li></ul><ul><ul><li>4 PWM Outputs </li></ul></ul><ul><ul><li>11 Analog to Digital Channels </li></ul></ul><ul><ul><li>High speed crystal </li></ul></ul><ul><li>PIC18F4431 </li></ul><ul><ul><li>4 14-bit Power PWM modules  </li></ul></ul><ul><ul><li>9 10-bit 200Ksps ADC channels  </li></ul></ul><ul><ul><li>40 MHz Crystal Max  </li></ul></ul>
  21. 21. Controller Design <ul><li>Problems with 18F4431 </li></ul><ul><ul><li>Programmer/PIC incompatibilities </li></ul></ul><ul><li>PIC16F777 </li></ul><ul><ul><li>3 10-bit PWM modules  </li></ul></ul><ul><ul><li>14 10-bit ADC Modules  </li></ul></ul><ul><ul><li>20 MHz Crystal Max  </li></ul></ul><ul><ul><li>2 Connected together </li></ul></ul>
  22. 22. Controller Design <ul><li>Problems with PICxxFxxxx </li></ul><ul><ul><li>IMU and RF work at 3.3V Logic </li></ul></ul><ul><ul><li>GPS messages are TTL 0 – 2.85V </li></ul></ul><ul><ul><li>Ultrasonic readings range from 0 – 2.54 </li></ul></ul><ul><li>PIC16LF777 </li></ul><ul><ul><li>3 10-bit PWM modules </li></ul></ul><ul><ul><li>14 10-bit ADC channels </li></ul></ul><ul><ul><li>10 MHz Crystal max </li></ul></ul><ul><ul><li>Operating voltage range from 2V – 5.5V </li></ul></ul><ul><ul><li>2 Connected together </li></ul></ul>
  23. 23. Controller Design <ul><li>2 communicating 3.3V Microcontrollers </li></ul><ul><li>Stability & Proximity sensors </li></ul><ul><ul><li>IMU </li></ul></ul><ul><ul><li>5 Ultrasonic sensors </li></ul></ul><ul><li>2 communication devices </li></ul><ul><ul><li>2.4 GHz Transceiver </li></ul></ul><ul><ul><li>GPS Receiver </li></ul></ul>
  24. 24. Controller Design
  25. 25. Controller Implementation <ul><li>Small & compact design </li></ul><ul><li>Easily modified </li></ul><ul><ul><li>Modify subparts only </li></ul></ul><ul><ul><li>Protect components from repetitive exposure to welding temperatures </li></ul></ul><ul><li>Sub boards </li></ul><ul><li>Interface PCBs (Printed Circuit Boards) </li></ul>
  26. 26. Controller Design <ul><li>First Main board </li></ul><ul><ul><li>Replaced </li></ul></ul><ul><ul><li>Photo-couplers were used later on </li></ul></ul>
  27. 27. Controller Design First Main board
  28. 28. Controller Design <ul><li>Second Main board </li></ul><ul><ul><li>Photo-couplers were implemented </li></ul></ul><ul><ul><li>Sub-boards implemented </li></ul></ul><ul><ul><li>Interface boards </li></ul></ul><ul><ul><li>Smaller design </li></ul></ul>
  29. 29. Controller Design Second Main board
  30. 30. Controller Design <ul><li>Last Main Board </li></ul><ul><ul><li>Photo-couplers </li></ul></ul><ul><ul><li>Interface boards </li></ul></ul><ul><ul><li>Sub-boards </li></ul></ul><ul><ul><li>90 ° Interface connections </li></ul></ul><ul><ul><li>Even smaller design </li></ul></ul><ul><ul><li>ICSP (In Circuit Serial Programming) wires were added onto the circuit later on </li></ul></ul><ul><ul><li>LEDs for easier debugging without the need for expensive hardware such as ICDs (In Circuit Debuggers) </li></ul></ul>
  31. 31. Controller Design Last Main board
  32. 32. Controller PCB Implementation Last Main board
  33. 33. Interface Boards <ul><li>Easier error correction. </li></ul><ul><li>Reduction of surface area. </li></ul>
  34. 34. GPS Interface Board
  35. 35. IMU Interface Board
  36. 36. RF Interface Board
  37. 37. PCB Production Procedures <ul><li>What do you need to make a PCB </li></ul><ul><ul><li>Laser printer </li></ul></ul><ul><ul><li>Glossy paper </li></ul></ul><ul><ul><li>Acetone </li></ul></ul><ul><ul><li>Clothing iron </li></ul></ul><ul><ul><li>Acid </li></ul></ul><ul><ul><li>Steel sponge </li></ul></ul>
  38. 38. PCB Production <ul><li>Clean the surface of the board </li></ul><ul><li>Print the circuit </li></ul><ul><li>Start folding </li></ul><ul><li>Start ironing </li></ul><ul><li>Put it in hot water </li></ul><ul><li>Start chemical etching </li></ul><ul><li>Finalize with drilling </li></ul>
  39. 40. Analog-To-Digital Converter <ul><li>ADCs: </li></ul><ul><li>- Importance of Data Acquisition in our UAV. </li></ul><ul><li>- V ref set on 3 Volts. </li></ul><ul><li>- Ultrasonic sensors. </li></ul><ul><li>- Gyrometer. </li></ul><ul><li>- Accelerometer. </li></ul>
  40. 41. <ul><li>ADC Reading = (V in /V ref ) X (2 N ) ; where </li></ul><ul><li>V in : is the Voltage input. </li></ul><ul><li>V ref : is the reference voltage. </li></ul><ul><li>N : is the resolution of the ADC Conversion. </li></ul>ADCs
  41. 42. Ultrasonic Sensors <ul><li>Ultrasonic Sensors: </li></ul><ul><li>- Maximum Range: 254 inches (6.45m) </li></ul><ul><li>- Minimum Range: 6 inches (15cm) </li></ul><ul><li>(Blind Spot) </li></ul><ul><li>- New Readings every 49 Milliseconds. </li></ul><ul><li>- Has Serial/Analog/Pulse Width Modulation output. </li></ul><ul><li>- Every 0.01V represents 1 inch. </li></ul>
  42. 43. <ul><li>Calculating Distance inside ADC: </li></ul><ul><li>- Distance = (V in /V ref ) X (2 N ) ; </li></ul><ul><li>For example: </li></ul><ul><li>50cm = 0.20 Volts shown on Ultrasonic Sensor. </li></ul><ul><li>(0.20/3.30)*1024 = 62.061 </li></ul><ul><li>To calculate backwards to know accuracy: </li></ul><ul><li>(62/1024)*3.3 = 0.1998 Volts on input pin. </li></ul><ul><li>Therefore, the Error = (1-(0.1998/0.20))*100 </li></ul><ul><li> = 0.1% </li></ul>Ultrasonic Sensors
  43. 45. PWM <ul><li>Pulse Width Modulation: </li></ul><ul><li>- Processing after Data Acquisition for scenarios. </li></ul><ul><li>- Implementing the data acquired as output on Motors. </li></ul><ul><li>- Frequency for Motor Output (750Hz). </li></ul>
  44. 46. PWM <ul><li>How It works? </li></ul><ul><li>Obtains Average of On/Off Intervals within period. </li></ul><ul><li>V AV = 1.65 Volts since half the time is ON and the other half is OFF. </li></ul>
  45. 47. Testing Sensors <ul><li>A great way to test the sensors is using an LCD. </li></ul><ul><ul><li>Tangible. </li></ul></ul><ul><li>Used to test all sensor outputs after processing: </li></ul><ul><li>- Ultrasonic. </li></ul><ul><li>- Accelerometer. </li></ul><ul><li>- Gyrometer. </li></ul><ul><li>- GPS Receiver. </li></ul><ul><li>- RF Transceiver units. </li></ul>
  46. 48. LCDs
  47. 50. GPS Applications <ul><li>GPS has become a widely used aid to navigation worldwide . </li></ul><ul><li>A useful tool for </li></ul><ul><ul><li>Map making. </li></ul></ul><ul><ul><li>Land surveying. </li></ul></ul><ul><ul><li>Scientific uses. </li></ul></ul>
  48. 51. NAVSTAR Constellation <ul><li>There is a constellation of 30 earth orbiting satellites transmitting precise radio signals. </li></ul><ul><li>Orbits are set up so that at any given point and time on the earth’s surface there are at least six of these satellites in reach. </li></ul>
  49. 52. GPS Messages <ul><li>Almanac contains orbital data </li></ul><ul><li>Ephemeris contains the satellites precise orbit. </li></ul>
  50. 53. Pseudorange <ul><li>Estimated distance calculated by the receiver between the satellite and receiver. </li></ul>
  51. 54. Trilateration <ul><li>Pseudoranges intersect at a point . </li></ul><ul><li>This point is the receiver location. </li></ul>
  52. 55. Overlapping Pseudoranges
  53. 56. Latitude & Longitude
  54. 57. NMEA Protocol <ul><li>NMEA preferred to SiRF. </li></ul><ul><li>Simply works with input and output messages. </li></ul>
  55. 58. Input Messages
  56. 59. <ul><li>Input messages are used for initialization. </li></ul><ul><li>Selected input messages were: </li></ul><ul><ul><li>Set Serial Port </li></ul></ul><ul><ul><li>Query/Rate Control </li></ul></ul><ul><ul><li>Development Data On/Off </li></ul></ul><ul><li>CRC required for input message. </li></ul>Input Messages
  57. 60. Output Message
  58. 61. <ul><li>Message of choice was RMC, it contained all we needed which was: </li></ul><ul><ul><li>Latitude & Longitude </li></ul></ul><ul><ul><li>Course Heading </li></ul></ul><ul><ul><li>Velocity </li></ul></ul>Output Message
  59. 62. USART <ul><li>The GPS communicates with the PIC through USART. </li></ul><ul><li>Communicates at 4800 bps </li></ul><ul><li>Asynchronous </li></ul>
  60. 63. Validating Message <ul><li>When the message is validated: </li></ul><ul><ul><li>The latitude, longitude and heading are ready to be extracted to the Main PIC. </li></ul></ul><ul><ul><li>RF function is called to transmit data, to the simulator. </li></ul></ul>
  61. 65. Inertial Measurement Unit <ul><li>Gyro </li></ul><ul><ul><li>Measures angular velocity on the x and y axes </li></ul></ul><ul><ul><li>Can also be used to calculate displacement angle </li></ul></ul><ul><ul><li>Sensitivity of 2mV/ °/sec </li></ul></ul>
  62. 66. Inertial Measurement Unit <ul><li>Accelerometer </li></ul><ul><ul><li>Measures acceleration on the x,y and z axes </li></ul></ul><ul><ul><li>Sensitivity of 300mV/ g </li></ul></ul><ul><ul><li>Can also measure angles </li></ul></ul>
  63. 67. Inertial Measurement Unit <ul><li>IMU </li></ul><ul><ul><li>Gyrometer & Accelerometer </li></ul></ul><ul><ul><li>Transform acceleration readings onto the 3 original axes. </li></ul></ul><ul><ul><li>Velocity & Displacement can be calculated from accelerometer readings on 3 main axes. </li></ul></ul>
  64. 68. Inertial Measurement Unit
  65. 70. Microcontroller Communication <ul><li>SPI Communication </li></ul><ul><ul><li>Master/Slave Configuration </li></ul></ul><ul><ul><li>3 pin connection </li></ul></ul><ul><ul><li>Synchronous Serial Transmission </li></ul></ul><ul><ul><li>8-bit at a time </li></ul></ul><ul><ul><li>Control Messages, & Sensor Values </li></ul></ul>
  66. 72. Laipac RF <ul><li>Haw the transmitter works ? </li></ul><ul><ul><li>Data input to the to the encoder. </li></ul></ul><ul><ul><li>transmitting the data </li></ul></ul>
  67. 73. Laipac RF <ul><li>The transmission unit </li></ul>
  68. 74. Laipac RF <ul><li>How it receives? </li></ul><ul><ul><li>Data receiving </li></ul></ul><ul><ul><li>Data decoding </li></ul></ul>
  69. 75. Laipac RF <ul><li>Receiving unit </li></ul>
  70. 76. Laipac RF <ul><li>Conclusion after testing </li></ul><ul><ul><li>Too slow. </li></ul></ul><ul><ul><li>Big size . </li></ul></ul><ul><ul><li>Very small payload. </li></ul></ul><ul><ul><li>Very short range. </li></ul></ul><ul><ul><li>Need an external antenna. </li></ul></ul>
  71. 77. RF-24G transceiver <ul><li>Specification </li></ul><ul><ul><li>Very small size </li></ul></ul><ul><ul><li>Long range </li></ul></ul><ul><ul><ul><ul><ul><li>280 meter </li></ul></ul></ul></ul></ul><ul><ul><li>Built in antenna </li></ul></ul><ul><ul><li>29 byte payload </li></ul></ul><ul><ul><li>Fast transmission & reception </li></ul></ul><ul><ul><ul><ul><ul><li>Up to 1Mbps </li></ul></ul></ul></ul></ul><ul><ul><li>Shock burst mode </li></ul></ul>
  72. 78. RF transceiver <ul><li>States of Shock burst </li></ul><ul><ul><li>Active mode </li></ul></ul><ul><ul><li>Configurations mode </li></ul></ul><ul><ul><li>Standby mode </li></ul></ul><ul><ul><li>Power down mode </li></ul></ul>
  73. 79. RF transceiver <ul><li>Configuration mode </li></ul><ul><ul><ul><li>Configuring Transmitter </li></ul></ul></ul><ul><ul><ul><ul><li>Clocking data </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Delay </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Standby Mode </li></ul></ul></ul></ul>
  74. 80. RF transceiver <ul><li>Active mode </li></ul><ul><ul><ul><li>Transmitting </li></ul></ul></ul>
  75. 81. RF transceiver <ul><li>Active mode </li></ul><ul><ul><ul><li>Receiving </li></ul></ul></ul>
  76. 82. RC Unit
  77. 84. Data Acquisition <ul><li>What is Data Acquisition? </li></ul><ul><li>Why? </li></ul>
  78. 85. Data Presentation <ul><li>What is Data Presentation? </li></ul><ul><li>Why? </li></ul>
  79. 86. Problems <ul><li>Serial Port </li></ul><ul><li>Signed Byte </li></ul><ul><li>Graph Origin </li></ul><ul><li>Converting Longitude and Latitude to Pixels </li></ul>
  80. 87. Solutions <ul><li>Javax.comm </li></ul><ul><li>-CommPortIdentifier </li></ul><ul><li>-Streams </li></ul><ul><li>-SerialEvent </li></ul><ul><li>-Converting any data to String then to Bytes </li></ul><ul><li>Convert to short add 256 if negative </li></ul><ul><li>-( ( (Height - 90 ) / Range ) * Actual ) + Separation </li></ul><ul><li>((width /|(difference between top left longitude and bottom right longitude)|)*|(acquired longitude-top left longitude)|) </li></ul>
  81. 88. Data Presentation Platform
  82. 89. Data Presentation Platform (cont.)
  83. 90. Map
  84. 91. Map (cont.)
  85. 92. Remote Control
  86. 93. Remote Control (cont.)
  87. 94. Tester
  88. 95. Object detection
  89. 96. Introduction <ul><li>What is an object ? </li></ul><ul><li>What is object detection ? </li></ul><ul><li>How to make it ? </li></ul><ul><li>What is image processing ? </li></ul>
  90. 97. Challenges & solutions <ul><li>Acquisition problems </li></ul><ul><li>Developing imaging application in a flexible environment </li></ul><ul><li>Why not use c/c++ ? </li></ul><ul><ul><li>Time consuming , handling </li></ul></ul><ul><li>Used language, Why ? </li></ul>
  91. 98. Imaging tasks
  92. 99. Imaging circumstances <ul><li>Type of the acquistion </li></ul><ul><li>The properties of the target object? </li></ul><ul><li>The environment </li></ul><ul><li>The objective </li></ul>
  93. 100. Challenges <ul><li>Colored image </li></ul><ul><li>Variance in lighting </li></ul><ul><li>Uninformed background </li></ul><ul><li>The target is colored </li></ul><ul><li>The target’s shape is not defined </li></ul>
  94. 101. Our program <ul><li>Acquisition phase </li></ul><ul><li>Visualization phase </li></ul><ul><ul><li>Estimate the degree of the color </li></ul></ul><ul><li>Processing phase </li></ul><ul><ul><li>Applying Median filter </li></ul></ul>
  95. 102. Analysis phase <ul><li>Make a binary image showing the blue pixels </li></ul><ul><li>If there is other blue objects it will be shown as white objects </li></ul>
  96. 103. <ul><li>Pixel connectivity </li></ul><ul><li>The use of the labeling function </li></ul><ul><ul><li>[label,num]=bwlabel(y,4); </li></ul></ul><ul><ul><li>stats=regionprops(label,'Area','BoundingBox','PixelList'); </li></ul></ul><ul><li>What are the importance of those functions </li></ul>
  97. 104. <ul><li>Finding the object with the largest area </li></ul><ul><li>Locating its position </li></ul><ul><li>Making a bounding box around </li></ul><ul><li>Send the target position to the UAV </li></ul>
  98. 105. Screen shots <ul><li>Idle mode </li></ul>
  99. 106. Screen shots <ul><li>Running mode </li></ul>
  100. 107. Screen shots <ul><li>Running mode(object not found) </li></ul>
  101. 108. FUTURE IMPLEMENTATIONS <ul><li>Gyrometer & Accelerometer drift correction </li></ul><ul><li>Ultrasonic sensors attached to servos. </li></ul><ul><li>High powered brushless motors. </li></ul><ul><li>A long range high resolution camera. </li></ul><ul><li>Magnetometer </li></ul><ul><li>Chassis redesign </li></ul>
  102. 109. CONCLUSION <ul><li>Local market restrictions inhibited time. </li></ul><ul><li>Bottom down programming was the best approach. </li></ul><ul><li>Data presentation helps in detecting errors faster and avoiding problems. </li></ul><ul><li>Placing UAV on a map helps discovering its location. </li></ul><ul><li>Tester helps in testing the response of the RF and the pic programs </li></ul>

×