ECE 477 Design Review Team 9 Spring 2011

40
ECE 477 Design Review Team 9 Spring 2011 Left-to-right: Oliver Staton, Vinayak Gokhale, Vineet Ahuja, Nick Gentry

description

ECE 477 Design Review Team 9  Spring 2011. Left-to-right: Oliver Staton, Vinayak Gokhale, Vineet Ahuja, Nick Gentry. Outline. Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation PCB layout - PowerPoint PPT Presentation

Transcript of ECE 477 Design Review Team 9 Spring 2011

Page 1: ECE 477 Design Review Team 9    Spring 2011

ECE 477 Design Review Team 9 Spring 2011

Left-to-right: Oliver Staton, Vinayak Gokhale, Vineet Ahuja, Nick Gentry

Page 2: ECE 477 Design Review Team 9    Spring 2011

Outline• Project overview • Project-specific success criteria• Block diagram• Component selection rationale• Packaging design• Schematic and theory of operation• PCB layout• Software design/development status• Project completion timeline• Questions / discussion

Page 3: ECE 477 Design Review Team 9    Spring 2011

Project Overview

The proposed project is a four rotor helicopter platform that will run a stability algorithm. Furthermore, the helicopter will have object avoidance capabilities and basic waypoint navigation. Sensor data will be sent out wirelessly.

Page 4: ECE 477 Design Review Team 9    Spring 2011

Project-Specific Success Criteria

1. An ability to remotely monitor remaining battery life (fuel gauge).

2. An ability to hover in a stable position (based on autonomous stability / control algorithm).

3. An ability to fly in any direction (compass orientation) at a variable speed and a stable altitude (based on autonomous stability / control algorithm).

4. An ability to take off/land (ascend / descend) while remaining level (based on autonomous stability / control).

5. An ability to remotely control flight functions (e.g., ascend, descend, hover, compass orientation, forward speed).

Page 5: ECE 477 Design Review Team 9    Spring 2011

Block Diagram

Page 6: ECE 477 Design Review Team 9    Spring 2011

Component Selection RationaleIMU Sensors

3-Axis Gyroscope

ITG3200 (I2C interface)

Dedicated 16-Bit Onboard ATD

3-Axis Tilt-Compensated Magnetometer

HMC6343 (I2C interface)

2 degree resolution

3-Axis Accelerometer

LIS3LV02DQ (I2C interface)

Dedicated 16-Bit onboard ATD

Page 7: ECE 477 Design Review Team 9    Spring 2011

Component Selection RationaleObject Avoidance and Translational Motion

Ultrasonic Sensor

Maxbotix LV EZ4 (Analog)

10mv/inch, up to ~21 feet

Optical Flow Sensor (provides X-Y location)

ADNS2620 (SPI)

3000fps, 400cpi resolution, accurate up to 12 ips

Retrofitted with alternate lens for 3ft focal length

Page 8: ECE 477 Design Review Team 9    Spring 2011

Constraints: • Greater than 2:1 thrust to vehicle weight ratio• Current should not exceed 10A per motor @

14.8V

Selection:• MK2832/35 Brushless 14-Pole• Lithium Cell Count: 4• Maximum load current: 10A• No load speed: 760RPM/V• Maximum Thrust (10x4.5 prop): 820g per motor

Component Selection Rationale Brushless Motors

Page 9: ECE 477 Design Review Team 9    Spring 2011

Component Selection Rationale Electronic Speed Control

Constraints: • Must be able to source > 10A @ 14.8V

Selection:• Turnigy Basic 18A ver3.1• Lithium Cell Count: 2-4• Maximum load current: 22A• Continuous Current: 18A

Page 10: ECE 477 Design Review Team 9    Spring 2011

Component Selection Rationale Battery

Constraints:• Must be able to supply > 50A @ 14.8V• Runtime > 10 minutes

Selection:• Turnigy Nano-Tech• 14.8V / 4500mAh• 25C Discharge Rate

Page 11: ECE 477 Design Review Team 9    Spring 2011

Component Selection Rationale Wi-Fi Module

Constraints:• Baud rate > 400kbps to achieve proper

transmission of video and control data

Selection:• Roving Networks RN-131G• 802.11 b/g • WPA/WPA2• 4uA sleep• 40mA Rx • 210mA Tx

Page 12: ECE 477 Design Review Team 9    Spring 2011

Component Selection RationalePrimary Microcontroller

Constraints:• Purpose: Run Stability Algorithm• Peripherals

• I2C x2• SPI x1• UART x2• Six channels of 12-Bit ATD• Four channels of PWM

Selection:• Texas Instruments MSP430F5438 16-Bit 25MHz• 256KB Flash• 16KB Ram

Page 13: ECE 477 Design Review Team 9    Spring 2011

Component Selection Rationale Secondary Microcontroller

Constraints:• Purpose: Process video + WiFi interface• Peripherals

• I2C x2• UART x2

Selection:• Texas Instruments MSP430F2618 16-Bit

16MHz• 116KB Flash• 8KB Ram

Page 14: ECE 477 Design Review Team 9    Spring 2011

Component Selection Rationale Airframe

Constraints:• Rigid structure• Lightweight / durable material

Selection:• Mikrokopter MK50 Frame• Extruded Aluminum beams• Carbon fiber base plate• 120 grams

Page 15: ECE 477 Design Review Team 9    Spring 2011

Packaging Design

Above: Top view of Airframe.

50cm motor-to-motor (diagonal)

Page 16: ECE 477 Design Review Team 9    Spring 2011

Packaging Design

Above: Airframe with cover.

Carbon Fiber Cover

Tubular Aluminum

Page 17: ECE 477 Design Review Team 9    Spring 2011

Packaging Design

Above: Airframe with cover removed.

Page 18: ECE 477 Design Review Team 9    Spring 2011

Packaging Design

Above: 3 PCB Stack positioned at center of airframe.

Page 19: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of Operation

Lithium Polymer Battery• 14.8 V• 4500 mAh• LM7805(5V) & UA78M33(3.3V)

Microcontrollers• MSP430F5438: IMU, PWM, Ultrasonics, PID controller

• MSP430F2618: WIFI module, Optical Flow Sensor, Battery Monitor

WIFI Module (RN121) 3.3V Uart TTL logic interface Placed on board the MSP430F2618, it will transfer control data sent

from base station to MSP430F5438 via UArt

Page 20: ECE 477 Design Review Team 9    Spring 2011
Page 21: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of Operation

Ultrasonic Sensors 6 Ultrasonic Sensors connected to top board Operates at 3.3V Measures distance from obstacle & outputs analog voltage at 6.4 mV/in sampled via ADC channels in micro.

Page 22: ECE 477 Design Review Team 9    Spring 2011
Page 23: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of Operation

Electronic Speed Controller (Turnigy Basic 18A) 10 A at 14.8V Connected to headers on the bottom board. Takes PWM input and interprets duty cycle into 3 phase power output

to Brushless DC motors.

Page 24: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of Operation Gyroscope (ITG-3200) 3.3V I2C, 400KHz fast mode Gives radians/s along X, Y and Z axes which will be fed into PID

controller to stabilize vehicle.

3 axis Accelerometer (LISL3LV02DQ) 3.3 V I2C device connected to MSP430F438 Will provide real time calibration of Gyroscope.

Magnetometer (HMC6343) 3.3V I2C slave device connected to MSP430F5438 This compass corrects the gyroscope reading for heading read error

(yaw drift).

Page 25: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of Operation Battery Monitor 4 Voltage divider circuits which divide the battery voltage down to a level

that can be monitored on the ADC channels

Page 26: ECE 477 Design Review Team 9    Spring 2011
Page 27: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of OperationPID Stability: Roll

H3 H2 H1 GcV

c

cWx LR

Loop #1Loop #2

Loop #3

:c

:c

Wx

:LR

:cV Left-to-right translational velocity Roll Rate

Roll angle Left-to-right sensor data

Page 28: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of OperationPID Stability: Pitch

H3 H2 H1 Gc

U

c

cWy FB

Loop #1Loop #2

Loop #3

:c

Wy

:FB

:c

U forward translational velocity

Pitch angle

Pitch rate

Front-to-back sensor data:c

Page 29: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of OperationPID Stability: Altitude

H2 H1 Gch

cW Tsum

Loop #1Loop #2

:Tsum:ch Altitude

Vertical Velocity

Total thrust

:c

W

Page 30: ECE 477 Design Review Team 9    Spring 2011

Schematic/Theory of OperationPID Stability: YAW

H2 H1 Gc

cWz FBLR.

Loop #1Loop #2

:.FBLR:c

Heading

Yaw rate:c

Wz

Ratio of thrusts

Page 31: ECE 477 Design Review Team 9    Spring 2011

Feedback Loop – “Firing Order”

LR

Wx

Wx

C

C

CV

FB

Wy

Wy

C

C

CU

Tsum

Wc

Wc

Ch

FBLR.

Wz

Wz

C

SET #1

SET #2

SET #3

Page 32: ECE 477 Design Review Team 9    Spring 2011

PCB Layout

• Small board area but multiple (three) boards.

• Precise placement of components.

• Avoid congestion on any one board.

• Keep center of gravity low.

• Keep boards level.

Page 33: ECE 477 Design Review Team 9    Spring 2011

PCB Layout

Above: PCB bottom level.

Page 34: ECE 477 Design Review Team 9    Spring 2011

PCB Layout

Above: PCB middle level

Page 35: ECE 477 Design Review Team 9    Spring 2011

PCB Layout

Above: PCB top level.

Page 36: ECE 477 Design Review Team 9    Spring 2011

Software Design/Development Status

• MSP430F5438 : I2C, PWM, Uart, ADC• Tested ADC sampling of ultrasonic sensors

• Uart, PWM generic libraries available

• Established communication with magnetometer via I2C

• Currently working on Gyroscope and Accelerometer

• MSP430F2618: Uart, SPI, ADC• Tested Generic Uart Code.

Page 37: ECE 477 Design Review Team 9    Spring 2011

Software Design/Development Status

• Constructed test stand

– Allows roll, pitch, and yaw measurements

• Characterized brushless motors

– Torque and thrust curves given unit step and ramp inputs

– Established values for motor Tau

Example of motor characterization given unit step input

Page 38: ECE 477 Design Review Team 9    Spring 2011

Project Completion TimelineWeek # Milestone Items Due

8 I2C complete workingDROID Accel. working

Formal Design Review

9 PCB submissionPID preliminary testDROID Gyro working

Final PCB Final SchematicProof-of-Parts

10 SPRING BREAK

11 PCB assemble & testPID implementationDROID Wi-Fi working

Software Design Narrative

12 Packaging PID debuggingDROID Wi-Fi debugPSSC #2 test

Parent Liability Analysis

Page 39: ECE 477 Design Review Team 9    Spring 2011

Week # Milestone Items Due

13 Wi-Fi testingSensor testingDROID communicationPID debuggingPSSC #3 test

Reliability and Safety Analysis

14 Wi-Fi debuggingSensor debuggingDROID com debugPID debuggingPSSC #4 testPSSC #5 test

Ethical and Environmental Impact Analysis

15 Test and Clean-UpPSSC #1 test

User Manual

16 Vehicle demonstration PSSC Demo

Project Completion Timeline

Page 40: ECE 477 Design Review Team 9    Spring 2011

Questions / DiscussionQuestions / Discussion