EEL4914 Senior Design. Final Design Report

Similar documents
Project Name: SpyBot

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

Wireless Music Dock - WMD Portable Music System with Audio Effect Applications

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

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46

Preliminary Design Report. Project Title: Interactive Electronic Hopscotch Board Team Name: Team Recess (Lose the Chalk)

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

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

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

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

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Hardware Platforms and Sensors

Preliminary Design Report. Project Title: Search and Destroy

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology

Project Name: Tail-Gator

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

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

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

INDIANA UNIVERSITY - PURDUE UNIVERSITY FORT WAYNE DEPARTMENT OF ENGINEERING ECE Capstone Senior Design Project Report #2

Single-phase Variable Frequency Switch Gear

PIC ADC to PWM and Mosfet Low-Side Driver

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

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Vector CONTROLLERS for BLDC Motors. State of Art Technology Most Reliable - High Efficiency Smooth control - Programmable

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Micromouse Meeting #3 Lecture #2. Power Motors Encoders

DC Motor and Servo motor Control with ARM and Arduino. Created by:

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

Introduction to the ME2110 Kit. Controller Box Electro Mechanical Actuators & Sensors Pneumatics

Bill of Materials: PWM Stepper Motor Driver PART NO

A Super trainer with advanced hardware and software features only found in very expensive equipment.

Figure 1: Motor model

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

DC Motors. come in all shapes and sizes. You probably have 3-4 on you right now. the two motors in the kit

LDOR: Laser Directed Object Retrieving Robot. Final Report

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

DC Drive Design Description MBARI 5580DOC-1.20 Related documentation: DC Drive: H-Bridge Output section: DCD Motherboard:

FABO ACADEMY X ELECTRONIC DESIGN

AVR42778: Core Independent Brushless DC Fan Control Using Configurable Custom Logic on ATtiny817. Features. Introduction. AVR 8-bit Microcontroller

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

RX23T inverter ref. kit

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

Monitoring Temperature using LM35 and Arduino UNO

A Solar-Powered Wireless Data Acquisition Network

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

Photovoltaic Battery Charging System Based on PIC16F877A Microcontroller

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

USER S GUIDE POLOLU DRV8838 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USING THE MOTOR DRIVER

Remote Radio Control. Push Button Transmitters. M880 Radio Control for Tower Cranes

JUMA-TRX2 DDS / Control Board description OH2NLT

Project Final Report: Directional Remote Control

Training Schedule. Robotic System Design using Arduino Platform

VEX Robotics Platform and ROBOTC Software. Introduction

Remote Radio Control. WAVE Push button radio control systems

High Current DC Motor Driver Manual

Preliminary Design Report with Diagram(s)

DeviceCraft Revision #1 11/29/2010

Design of double loop-locked system for brush-less DC motor based on DSP

Motor Control Development Kit

Multi-Stage Power Conversion Proposal

Robot Rangers. Low Level Design Document. Ben Andersen Jennifer Berry Graham Boechler Andrew Setter

PRELIMINARY DESIGN REPORT

B Robo Claw 2 Channel 25A Motor Controller Data Sheet

Bi-Directional DC Motor Speed Controller 5-32Vdc (3166v2)

List of Items Available in the Laboratory the Lab

CIC ENGINEERING 345 CENTER STREET EAST PEORIA, IL PH FAX

Wednesday 7 June 2017 Afternoon Time allowed: 1 hour 30 minutes

Introduction to Electronics and Breadboarding Circuits

SPEED CONTROL OF DC MOTOR USING PWM TECHNIQUE

STARTER / GENERATOR MOTOR CONTROLLER

Remote Radio Control. M880 WAVE2 C Transmitter Range. M880 for Low Integrity Stop Circuit Applications

Motors and Servos Part 2: DC Motors

Variable Frequency Drive / Inverter (0.4 ~ 280kW)

MLX83100 Automotive DC Pre-Driver EVB83100 for Brushed DC Applications with MLX83100

ARDUINO BASED DC MOTOR SPEED CONTROL

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Adjustable Parametric Equalizer Hardware Description

Construction of a high-voltage Buck-Boost capacitor charger. Transformer and logic

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

1 Introduction. 2 Embedded Electronics Primer. 2.1 The Arduino

Temposonics. M-Series Analogue/PWM Tester. User s Manual. Absolute, Non-Contact Position Sensors. Document Part Number Revision B

Safety and Security Enhanced Wheelchair

Implementation of Multiquadrant D.C. Drive Using Microcontroller

International Journal of Advance Engineering and Research Development

Single-phase Variable Frequency Switch Gear

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

PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM

Separately Excited DC Motor for Electric Vehicle Controller Design Yulan Qi

12V Victor 888 User Manual

Active Suspension System. Josh Rose, Xander Serrurier, Rhydon Vassay, Chase Ramseyer Advisor: Steven Gutschlag 4/27/2017

Operator s Manual Ride-On Remote Controlled Car

roject work presentation

Job Sheet 2 Servo Control

Transcription:

EEL4914 Senior Design Final Design Report Electric Super Bike The Best Team in the World Matt Fisher madfish@ufl.edu Richard Orr gautama@ufl.edu 21 April 2008 1

Contents Contents...2 Abstract...3 Project Features...3 Concepts and Technology...4 Control Box and Sensors...4 Motor Control...4 Recharging Capability...5 Wireless...6 Project Architecture:...7 Gantt Chart...10 Competition...11 Figures: Figure 1 Page 3: Force and PWM duty cycle: saturation point Figure 2 Page 4: Flexiforce Sensor Figure 3 Page 5: Motor control circuit with over current protection Figure 4 Page 6: Battery recharge circuit Figure 5 Page 7: System block diagram Figure 6 Page 7: Control box schematic Figure 7 Page 8: Control box PCB layout Figure 8 Page 8: Sensor circuits Figure 9 Page 9: Software flowchart Figure 10 Page 10: Gantt chart Figure 11 Page 11: Charger competitor bicycle 2

Abstract Our project is an electric bicycle that automatically varies motor torque according to the amount of force the rider applies to the pedals. The amount of assistance provided can be adjusted continuously between 0 (the motor never turns on) and 100 percent (full power at saturation pedal force). The motor is powered by three 13V lead acid batteries, which can be recharged by the motor when braking or coasting. An LCD displays speed, distance traveled, motor power and assist setting, and the current operation mode. Project Features LCD screen: The main control box includes a 128x64 pixel graphic LCD that shows the current speed numerically and graphically, the distance traveled, the selected level of motor assist, the current duty cycle of the motor, and the operating mode (running or charging). Wheel Rotation Sensor: A bipolar Hall effect sensor mounted near the front wheel is used to determine speed and distance. Variable Motor Assistance: A knob mounted on the control box allows the rider to vary the level of motor assistance. At 0, the motor will never turn on. At 100% the motor runs at full power when the saturation force, approximately 500N, is applied to either pedal (see figure 1). At any setting, the duty cycle of the motor varies linearly with the force applied. Figure 1: Force and PWM duty cycle: saturation point Regenerative Braking: When the brake is applied, the system switches to charging mode. In this mode, the batteries are connected in parallel, the duty cycle is set to zero, and the current produced by the spinning motor is used to charge the battery. 3

Wireless LCD: short range Xbee modules, Compact two line LCD. Will display current speed, distance traveled, and motor duty cycle. Driven by a PIC processor. Concepts and Technology Control Box and Sensors Atmel ATMega32 microcontroller: The ATmega32 offered plenty of digital and analog I/O pins, moderate power use, high speed, and an excellent free IDE in AVR Studio. Graphic LCD: While quite difficult for the beginner, (the model we used lacks a character generator and comes with an inaccurate datasheet) it has high resolution and a large screen area, so it can display a lot of information in an easy to read layout. Hall Effect Sensor: A bipolar latched Hall effect sensor is mounted near the front wheel and detects the passage of two magnets fixed to the wheel. The bipolar sensor makes it easy to detect a complete wheel rotation. A unipolar sensor would be very inaccurate, as the magnet could be parked near the sensor and small movements would produce frequent rotations, leading to a useless speed calculation. The switching time of our sensor is adequate for speeds up to 73,863MPH, which we do not anticipate. Force Sensors: FlexiForce sensors (see Figure 2) are mounted on the pedals to measure the amount of force applied. The sensor is a variable resistor and varies between ~10MΩ and ~1KΩ as force is applied. Figure 2 Flexiforce Sensor The sensors are easy to use and the force applied can be measured via a simple voltage divider with a fixed resistor. The major drawback is that we are measuring force when the real quantity of interest is torque. The difference is apparent when one considers a rider standing on a pedal. No torque is applied to the pedal shaft, but a large force is measured. Motor Control When in running mode (default mode), the Atmel 32 weighs the duty cycle of a rectangular pulsewidth modulation (PWM) output, determined by the following inputs: assistance level potentiometer and the force sensor on the pedals. The assistance level potentiometer provides a 4

ceiling for the duty cycle of signal, whereas the force sensors on the pedals determine the final duty cycle values below this ceiling. The PWM signal is then fed into the current limiting circuit shown below, and the output of that is fed to the gate of 4 IRFP150 N Channel MOSFETS, which drive the motor: Figure 3: motor control circuit with over current protection Using this strategy, the duty cycle of the motor is varied properly with the pressure applied at the pedals, without the worry of flooding the motor with current when it is stalled. The sensitivity of this current protection can be biased using a voltage divider. However, it is still not recommended to stall the motor, as the MOSFETs could still overheat. Recharging Capability When a push button on the brake handle (attached to a microprocessor input pin) is pressed, the software runs in charge mode. The microprocessor then sends an active high signal to another IRFP150 N Channel MOSFET. This MOSFET, whose drain is connected to the +12V terminal of one of the batteries, will drive relays which connect the batteries in parallel, to be recharged with the following circuit: Figu re 4: Batt ery rech 5

arge circuit The peak voltage that the motor (now a generator) can reach is approximately 18V. This voltage is regulated with an LM317 to 14.5V. Values of voltage large enough to charge the batteries are only reached for a very short burst of time (about 1 second). A RCA port at the input of the LM317 was added to connect other charging devices to the circuit if needed (e.g. solar cell, DC power source, etc) Wireless The wireless LCD must update frequently and be reasonably accurate. The hall effect sensor will be simulated with a pushbutton switch that will be fed to an interrupt on the Atmega32. This should simulate the number of full rotations of the bike wheel in a given time interval. The force sensor on the pedal will be simulated with a potentiometer which will vary the voltage from 0 V to 2.5 V, serving as a model for the varying degree of force applied to the sensor. The plan is to integrate the wireless LCD with actual sensors on the bike if time permits. The main challenge is to program the UART of the Atmega32 to send the data serially to the Xbee transmitter, and then to program the UART of the PIC to receive the data and display the necessary information on the LCD. The Xbees themselves must have a wireless link created between them through an interface board. 6

Project Architecture: Figure 5: System block diagram Figure 6: Control box schematic 7

Figure 7: Control box PCB layout Hall Effect Sensor Pedal Force Sensors Figure 8: Sensor circuits 8

9

Figure 9: Software flowchart 10

Bill of Materials 600W Brushed DC Motor and 36V Battery Kit $500 Atmel ATMega 32 microcontroller $1.50 H9845 IRFP150 Power Mosfet (x8) $24 365 1036 ND Hall effect Sensors $3 SLD 12VDC 1C Automotive Relays (x4) $12 SRD S 105D Relays (x8) $2.40 ACS715LLCTR 30A T Current Sensor $3.04 Misc. Cables and Connectors $50 Graphic LCD $30 Flixiforce Sensors (x2) $30 TOTAL $655.94 Gantt Chart 11

Figure 10: Gantt chart 12

Competition The Charger bicycle (see Figure 11), manufactured by Electroportal, offers a very similar feature set. The main differences are that the Charger s assist level is not continuously adjustable, and there is no display unit. While a speedometer may seem superfluous on a bicycle, these hybrid models are capable of sustained high speeds, and one could quite easily break the speed limit on, for example, a college campus. Additionally, the Charger retails for $1500, well above even the single unit development cost of our project. competitor bicycle Figure 11: Charger 13