EEL 4914 Electrical Engineering Design (Senior Design) Final Design Report

Similar documents
EEL4914 Senior Design. Final Design Report

Project Name: Tail-Gator

Preliminary Design Report. Project Title: Search and Destroy

Final Report. Project Title: E-Scope Team Name: Awesome

Home CSP Inc. Trackers and electronics for home solar energy

FINAL DESIGN REPORT. Dodge This! DODGERS: Cristobal Rivero Derek Fairbanks 4/21/2009

Boozer Cruiser. EEL Electrical Engineering Design 2 Final Design Report. April 23, The Mobile Bartending Robot.

Training Schedule. Robotic System Design using Arduino Platform

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

SELF STABILIZING PLATFORM

Wireless Controlled Residential Air Vent: A Smartphone Interface for Air Direction

3.3V regulator. JA H-bridge. Doc: page 1 of 7

Project Proposal. Underwater Fish 02/16/2007 Nathan Smith,

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

User Manual Version 1.0

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Low cost underwater exploration vehicle

International Journal of Advance Engineering and Research Development

PRELIMINARY DESIGN REPORT

Study of M.A.R.S. (Multifunctional Aero-drone for Remote Surveillance)

Fish robots are underwater robots and submersibles that

Project Name: SpyBot

PS2-SMC-06 Servo Motor Controller Interface

Rangefinder Servo and LED Controller Board Hyperdyne Labs, 2001

Hobby Servo Tutorial. Introduction. Sparkfun:

I plan to build a four-legged robot with these objectives in mind:

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Programming and Interfacing

Separation Connector. Prototyping Progress Update March 1, 2013

ANALOG SERVOS Hitec leads the way with quality reliable servo product to fit any hobby application. Our full line of 32 analog and 16 digital servos a

Introducing the Quadrotor Flying Robot

Embedded Robotics. Software Development & Education Center

CEEN Bot Lab Design A SENIOR THESIS PROPOSAL

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST:

OughtToPilot. Project Report of Submission PC128 to 2008 Propeller Design Contest. Jason Edelberg

To remove the CPU, follow the steps below and refer to figures 4-28 and 4-29.

Mounting Dimensions. Overview. Installation. Specifications

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Job Sheet 2 Servo Control

Project Preliminary Design Report. Project Title: Self-Tuning Guitar. Team Name: The Toms

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer.

MICROPROCESSOR BASED CONTROLLERS

Final Design Report. Project Title: Multi-Function Pontoon (MFP)

FABO ACADEMY X ELECTRONIC DESIGN

Continuous Rotation Control of Robotic Arm using Slip Rings for Mars Rover

Logistics. Kinetic Art. Embedded Systems. Embedded Systems and Kinetic Art. Jim Campbell s Algorithm

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. Art4455: Paul Stout Department of Art and Art History.

Robotic Navigation Distance Control Platform

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

Preliminary pilot information

The Candle Extinguisher ECE 445 Spring 2017 Group #46 TA: Dan Frei

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

SNIPE 2 Recommendations for assembly

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Single-phase Variable Frequency Switch Gear

Gregory Bock, Brittany Dhall, Ryan Hendrickson, & Jared Lamkin Project Advisors: Dr. Jing Wang & Dr. In Soo Ahn Department of Electrical and Computer

Other than physical size, the next item that all RC servo specifications indicate is speed and torque.

DASL 120 Introduction to Microcontrollers

DESIGN OF A TWO DIMENSIONAL MICROPROCESSOR BASED PARABOLIC ANTENNA CONTROLLER

GPS System Design and Control Modeling. Chua Shyan Jin, Ronald. Assoc. Prof Gerard Leng. Aeronautical Engineering Group, NUS

A3 Pro INSTRUCTION MANUAL. Oct 25, 2017 Revision IMPORTANT NOTES

EEL Intelligent Machines Design Laboratory. Baby Boomer

Coils & Electronic Controls

+++ construction manual SR 71 Blackbird (EDF Version) from JetCom +++

Solar Mobius Final Report. Team 1821 Members: Advisor. Sponsor

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Classical Control Based Autopilot Design Using PC/104

Implement a Robot for the Trinity College Fire Fighting Robot Competition.

Roborodentia Final Report

The Mind Project s Iris 1 Robotic Arm. Assembly instructions Step 1

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Please note that Robots can move without warning, wear eye protection at all times and never touch a powered robot!

Understanding RC Servos and DC Motors

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

Post-Installation Checkout All GRT EFIS Models

PCB & Circuit Designing

The Torxis Linear Servo meets the following environmental conditions:

Design and Development of Novel Two Axis Servo Control Mechanism

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

Options & Accessories

Project 27 Joystick Servo Control

Brian Hanna Meteor IP 2007 Microcontroller

PCB & Circuit Designing (Summer Training Program 2014)

UTILIZATION OF ROBOTICS AS CONTEMPORARY TECHNOLOGY AND AN EFFECTIVE TOOL IN TEACHING COMPUTER PROGRAMMING

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

LPU-2127 User Manual

Hardware Platforms and Sensors

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

Design of low-cost robotic arm for education

UNIVERSITY OF VICTORIA FACULTY OF ENGINEERING. SENG 466 Software for Embedded and Mechatronic Systems. Project 1 Report. May 25, 2006.

Rev J Automatic Pitch Trim

Table of Contents Introduction/ Table of contents.. System Specifications Transmitter

Project METEOR Instrumentation Platform P08101

TECHNICAL DOCUMENT EPC SERVO AMPLIFIER MODULE Part Number L xx EPC. 100 Series (1xx) User Manual

Ryan STA Sport Scale Model Aircraft Assembly and Instruction Manual

Recent Progress in the Development of On-Board Electronics for Micro Air Vehicles

VARIABLE FREQUENCY DRIVE SPECIFICATION

DC motor control using arduino

Introduction to the EXPANSION HUB

Transcription:

EEL 4914 Electrical Engineering Design (Senior Design) Final Design Report April 21, 2008 Team Members: Project Title: Human Powered Submarine Control System Team Name: Swamp Thing Name: Charles Shupard Name: Nic Fisher Email: shupardc@ufl.edu Email: moooink@ufl.edu Phone: (352) 275-9041 Phone: (727) 430-4362 Project Abstract: This project will control four separate servos that will move four individual control surfaces, two rudders and two elevators, on the exterior of the UF Human Powered Submarine (UFHPS). The submarine is powered by a single propeller; the rotation of the propeller causes a right rolling motion that needs to be compensated for. This roll will be detected and all four servos will be moved to counteract the roll. At the same time the pilot will be able to maneuver the sub with the elevators and rudders. Additionally the depth will be displayed on an LCD so that the pilot can maintain constant depth; the depth sensor will be used to autonomously control the depth.

Page 2/16 Table of Contents: Objectives... 4 Competitive Products....5 Concept/Technology Selection....5 Project Architecture.....7 Timeline.12 Bill of Materials.13 Appendix A Schematic Diagram...14 Appendix B Waterproofing Techniques 16 2

Page 3/16 List of Figures: HS-755MG Servo 5 Final Processor Board..5 Pressure Transducer.....6 Joystick Model 1100 6 324p(A) Block Diagram..7 324p(B) Block Diagram.. 7 324p(A) Flowchart.9-10 324p(B) Flowchart 11 Gantt Chart 12 List of Tables: Bill of Materials.13 3

Page 4/16 Objectives: Our project will provide three axis control of the UF Human Powered Submarine similar to a fly by wire control system used in civil and military aircraft. The following is a list of features. Interface a Hall Effect joystick to the microprocessor to provide an input from the pilot. This will be used to determine the desired direction of movement. Provide a roll indication using an accelerometer. Given these joystick and roll commands the microprocessor will give a single command to each of the four servos, roll and rudder to each rudder and roll and pitch to each elevator. A fifth servo will release a Dead Man buoy if a momentary switch is released by the pilot. Using a pressure sensor report the depth to the pilot. Using the same pressure sensor, have the microprocessor provide automatic depth control. 4

Page 5/16 Competitive Products: The Human Powered Submarine (HPS) Races are a small but very competitive. Most teams use a mechanical type control system. The major disadvantage to this is that there are no autonomous systems, roll compensation or directional control. Several teams have experimented with electronic control systems but the major downfall is usually the waterproofing. One team, Omer from Ecole de Technologie Superieure, Montreal, Quebec, Canada has been very successful with there system. Omer is a heavily funded program with almost limitless resources. They are able to purchase or fabricate any components they need. There system is a reliable and effective one but also very expensive one. Our system will rely on our ingenuity and donations from sponsors. Concept/Technology Selection: The harsh underwater environment that the control system will need to operate in was a major factor that determined what device we used. We set out to find products that were already waterproof. When that failed we found items that could be easily waterproofed. The LCD is the same LCD used in the microprocessors lab. This was cheap and easy to implement into the design. Servos: Standard servos only provide about 50 oz-in torque. This does not be meet the needs required. On the control fins there is a theoretical zero torque line that the fin can rotate, approximately 40% of the fin cord length at the base. The torque increases dramatically as the pivot point moves away from the zero torque line. A hi-torque servo is needed, the HS-755MG is rated at 200 oz-in torque at 6 volts, and HiTec RCD has donated nine. Figure 1: HS-755MG Microcontroller: The original design called for a single Atmel Atmega2560 processor. This would allow for a single processor to control all functions and for any expansion. In testing we were unable to program the Atmega2560. We opted to use two Atmega324p processors. These were used in prototyping the system, are easy to implement and could provide the functions that were needed for the project. An added benefit of using two processors is that one is dedicated to the Dead Man system adding a level of redundancy and safety. In the event that the control processor fails the safety system will still function. Figure 2: Final μp Design with two Atmega324p processors 5

Page 6/16 Sensors: Instrumentation Northwest agreed to donate a PS9801 submersible pressure transducer. The PS9801 is designed to be used in liquid environments, a 316 stainless steal body and Vitron/Buna-N cable harness make it ideally suited for our needs. The model we use gives a 0-30 psia over 0-5 VDC, this was easy to implement via the analog to digital converter. A LIS3LV02DL 3-axis Accelerometer from ST Microelectronics was used to determine the roll of the submarine. A digital output linear accelerometer using SPI serial interface with ±6g sensitivity. Figure 3: PS9801 Figure 4: HFX Model 1100 Joystick: CH Products donated a HFX Model 1100 two axis Hall Effect joystick. The output is 0-5VDC ±2% per axis. Each axis is interfaced via the analog to digital converter. The Model 1100 works very well for our application for three reasons. First the analog output makes it easy to use with a microcontroller. Second it is sealed to IP65 above the mounting plate, this made it easy to waterproof. Finally it is small, 4.14in. tall, space inside the submarine is very limited. 6

Page 7/16 Project Architecture: Joystick Accelerometer 324p(A) Servo(x4) Pressure Sensor Figure 5: Block Diagram 324p(A) Pressure Sensor Dead Man Servo Dead Man Switch 324p(B) LCD Microprocessors: Figure 6: Block Diagram 324p(B) Two Atmel Atmega324p processors are used. The first, 324p(A) figure XX, does the majority of the work. It takes inputs from the joystick, pressure transducer, and the accelerometer then outputs via two pulse width modulators (PWM). The rudder servos are connected to the output compare 1 pins, OC1A and OC1B, and the elevator fins are on the OC2A and OC2B pins. The second Atmel, 324p(B) figure XX, is dedicated to running the Dead Man safety system and the LCD. The Dead Man switch is an active high input on PortB (PB.0). When PB.0 goes high the Dead Man switch has been released and the Dead Man servo on OC1A is commanded to deploy the Dead Man buoy. 7

Page 8/16 The flowcharts for 324p(A) and 324p(B) are in figures XX and XX respectively. A more detailed schematic diagram of the main processor board and the accelerometer are in appendix A. Inputs: The joystick outputs a voltage ranging from 0VDC for full control stick deflection in one direction, to 5VDC for full control stick deflection in the opposite direction. This is done linearly for both axis on the joystick. Each axis is connected to the 8-bit analog to digital converter of 324p(A), this 8-bit value is then used in the control algorithm. The operation of the pressure transducer is similar to the joystick in 324p(A). On system reset the pressure is read and that value, set pressure, is what the control algorithm will hold the submarine at. In the control loop a Δpressure is calculated, Δpressure = set pressure current pressure. On 324p(B) the set depth is read on reset and the set depth and current depth is displayed on the LCD. The depth is a simple calculation, depth = [(ADCValue (30psia/255)) 15.26] 2.31ft. The accelerometer is connected to 324p(A) via the USART in SPI mode. The USART sends the address of the axis that we want to get a value from and the accelerometer sends a 16 bit value back to 324p(A). Currently only the Y-axis is used to determine the roll, the Z-axis is not working. When the sub is level the Y-axis = 0, if the sub rolls left the Y-axis < 0, in a right roll Y-axis > 0. This value is sent to the control algorithm. The simplified control algorithm is: servovalue = (joystick±δpressure±y-axis), Δpressure is not used in rudder movement. Outputs: After the control algorithm determines the appropriate value for a servo it is sent to the PWM to set the servo position. The servo position is determined by the pulse width,.9ms to 2.1ms for 0-180 degrees of rotation. 8

Page 9/16 Initialize Timer0/1/2, UART, ADC, Accelerometer, PWM Get the DEPTH from ADC.3 A Down Elevator T ADC.3 > DEPTH B Up Elevator T F ADC.3 < DEPTH B Figure 7: 324p(A) 9

Page 10/16 B Get X-axis from ADC.1, get Y-axis from ADC.2 Get accelerometer data Calculate Roll Rudder(T/B) = X-axis ± Roll Elevator(L/R) = Y-axis ± Roll ± Up/Down Elevator Rudder(T/B)/Elevator(L/R) > Max Value F Rudder(T/B)/Eleva tor(l/r) < Min Value F A T T Rudder(T/B)/Elevator(L/R) = Max Value A Rudder(T/B)/Elevator(L/R) = Min Value Figure 7: 324p(A) Flowchart 10

Page 11/16 Initialize Timer0/1, ADC, LCD, PWM Dead Man Switch pressed F Launch Dead Man buoy T Get Depth from ADC.7 Print Depth to LCD Figure 8: 324p(B) Flowchart 11

Page 12/16 Timeline: The project timeline and personal responsibilities are outlined in figure 9. Project Swamp Thing Spring 2008 Schedule Charlie Shupard(C) & Nic Fischer(N) 7-Jan-08 21-Jan-08 4-Feb-08 18-Feb-08 3-Mar-08 17-Mar-08 31-Mar-08 14-Apr-08 Waterproof Boxes - C&N Preliminary Design - C Preliminary Software - C&N Sensor Testing - C Hardware Determination - C&N Accelerometer Board - C Micoprocessor Redesign - C Prototype Main Board - C Pressure Sensor - C Weeki Wachee - C&N Final Main Board Design - C Final Sofware - N Accelerometer Box - N Final Report/Presentation - C Prototype Test Final Figure 9: Gantt Chart 12

Page 13/16 Bill of Materials: Device Unit Price Units Cost Paid Joystick $ 192.00 1 $ 192.00 $ - Atmega324p $ 6.02 2 $ 12.04 $ - HS-755MG Servo $ 40.00 5 $ 200.00 $ - PS9801 Sensor $ 500.00 1 $ 500.00 $ - Accelerometer $ 12.30 1 $ 12.30 $ - LCD $ 12.00 1 $ 12.00 $ - Servo Batteries $ 3.00 6 $ 18.00 $ 18.00 Battery Charger $ 30.00 1 $ 30.00 $ 30.00 Battery Holder $ 1.00 3 $ 3.00 $ 3.00 Conduit Box $ 12.00 2 $ 24.00 $ - Level Shifter $ 3.00 2 $ 6.00 $ - Wire $ 6.00 3 $ 18.00 $ 18.00 Total $1,027.34 $ 69.00 Table 1: Bill of Materials 13

Page 14/16 Appendix A Schematic Diagrams: Main Processor Board Schematic 14

Page 15/16 Accelerometer Board Schematic 15

Page 16/16 Appendix B Waterproofing Techniques: PVC conduit boxes were used to house the servo batteries and the main processor board. These boxes purchased at a local hardware store and modified to make them waterproof. The lid is attached with four screws and has a foam gasket. The foam gasket was replaced by applying silicone sealant to the lid, smoothed out with a credit card and was allowed to dry. This seal was tested at a depth of 30ft. about twice the depth that the sub will run at. Holes were drilled to allow for wires to pass through the boxes. The wires and holes were coated with hot glue and Plasti-Dip, a product commonly used in coating tool handles. The servos were waterproofed in a similar manner. The wires were coated with Scotchkote, a liquid electrical tape, and then dipped in Plasti-Dip. The output shaft was coated with silicon grease and an o-ring around the shaft. The control horn secured to the shaft seals the upper case of the servo. This technique is a modified version of waterproofing found on the Society of Robots web site, www.societyofrobots.com. For the accelerometer/lcd a box was constructed out of acrylic sheet. Again silicon sealant, hot glue, and Plasti-Dip were used to seal the box. 16