Two Wheeled Self balancing Robot

Similar documents
Drones Demystified! Topic: Propulsion Systems

Autonomous Mobile Robot Design

MANTECH ELECTRONICS. Stepper Motors. Basics on Stepper Motors I. STEPPER MOTOR SYSTEMS OVERVIEW 2. STEPPING MOTORS

DESIGN & DEVELOPMENT OF SEGWAY

Note 8. Electric Actuators

University of New South Wales School of Electrical Engineering & Telecommunications ELEC ELECTRIC DRIVE SYSTEMS.

Segway with Human Control and Wireless Control

Robot components: Actuators

Robot components: Actuators

AC Motors vs DC Motors. DC Motors. DC Motor Classification ... Prof. Dr. M. Zahurul Haq

Lecture 19. Magnetic Bearings

Synchronous Motor Drives

Prepared By: Ahmad Firdaus Bin Ahmad Zaidi

Attitude Control. Actuators and Attitude Control

PNEUMATIC BASED ASSEMBLY LINE

Mechatronics Chapter 10 Actuators 10-3

Components of an Electric Linear Actuator


Title: Electric Trike

Actuators are the muscles of robots.

Stressless Gear Using Embedded System Technology

HIGH SENSITIVE ALCOHOL SENSOR WITH AUTO CAR IGNITION DISABLE FUNCTION

VEX Classroom Lab Kit to PLTW VEX POE Conversion Kit

Introduction: Drives in Manipulators. Module 3 : Actuators for robots. Lecture 7 : Actuators for Robots-Part I. Objectives

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Application Note : Comparative Motor Technologies

Wind Turbine Emulation Experiment

Technical Article. How improved magnetic sensing technology can increase torque in BLDC motors. Roland Einspieler

RT2DB Excitation and voltage regulation system for synchronous generators

A Robust Controller Design for a Brushless DC Drive System using Moving Average Speed Estimation on Cortex M3 ARM Microcontroller

The Fleming s Left Hand Rule shows what happens when electrons in a current enter a magnetic field.

Lectures on Mechanics. Lesson#1

CENTROIDTM. AC Brushless Drive. Product Spec Sheet

Week 11. Module 5: EE100 Course Project Making your first robot

CHAPTER 3 BRUSHLESS DC MOTOR

Technical Explanation for Inverters

Development of a PID Controlled Arduino-Based Stabiliser

Module 7. Electrical Machine Drives. Version 2 EE IIT, Kharagpur 1

CONTROL SYSTEM HOW-TO GUIDE. Synchro Transmitter and Receiver

Active Suspension System. Josh Rose, Xander Serrurier, Rhydon Vassay, Chase Ramseyer Advisor: Steven Gutschlag 11/30/2016

INTRODUCTION TO SENSORS, TRANSDUCERS & ACTUATORS

CHAPTER THREE DC MOTOR OVERVIEW AND MATHEMATICAL MODEL

Solar Smart Classrooms by Using at Mega 328 Microcontroller

QUESTION BANK SPECIAL ELECTRICAL MACHINES

UNIT-1 Drive Characteristics

LIMITED ANGLE TORQUE MOTORS

Cooling Enhancement of Electric Motors

MIPRover: A Two-Wheeled Dynamically Balancing Mobile Inverted Pendulum Robot

Setup Tabs. Basic Setup: Advanced Setup:

The electromechanical parking brake

Measuring equipment for the development of efficient drive trains using sensor telemetry in the 200 C range

MANUAL TROUBLESHOOTING. ECM Motor. ECM / ECM-DX Series. v100 Issue Date: 08/15/ Price Industries Limited. All rights reserved.

To put integrity before opportunity To be passionate and persistent To encourage individuals to rise to the occasion

Replace your belt, ball screw or rack and pinion mechanism with a simple and economical linear servo motor actuator

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME : EE 1001 SPECIAL ELECTRICAL MACHINES

A Comprehensive Study on Speed Control of DC Motor with Field and Armature Control R.Soundara Rajan Dy. General Manager, Bharat Dynamics Limited

CHAPTER 4 MODELING OF PERMANENT MAGNET SYNCHRONOUS GENERATOR BASED WIND ENERGY CONVERSION SYSTEM

Linear Induction Motor (LIMO) Modular Test Bed for Various Applications

Cars, The high measuring accuracy of the precision load cells is retained during transmission, since digitization takes place on the wheel to

1.1 Block Diagram of Drive Components of Electric Drive & their functions. Power Processor / Modulator. Control. Unit

Preliminary Design Report. Project Name: Digital Dashboard. Team Name: Uncensored Sensors

INVERTED PENDULUM & UPRIGHT ROBOT ENGR4220 SEMESTER PROJECT

8-bit. Application Note. Microcontrollers. AVR601: Atmel Modular Evaluation Kits for Motor Control Applications. 1.

2

Roots * Turbo Blower. Innovation that will blow you away

30A BLDC ESC. Figure 1: 30A BLDC ESC

Speed Control of High-Speed BLDC with Pulse Amplitude Modulation Control

Figure 1 Linear Output Hall Effect Transducer (LOHET TM )

Special-Purpose Electric Machines

Cordless Drill Motor Control with Battery Charging Using Z8 Encore! F0830 Reference Design

Synchronous Generators I. EE 340 Spring 2011

TECHNICAL PAPER. Magnetostrictive Position Transducers in Medical Applications. David S. Nyce. Introduction

Unit-II Synchronous Motor

stage from resolution accuracies is 400 peak) and the from an to outpu positioning (as shown N] continuous continuous needs

CHAPTER 6 INTRODUCTION TO MOTORS AND GENERATORS

Neuro-Fuzzy Controller of a Sensorless PM Motor Drive for Washing Machines

zub A Software Kernel for Servo Drives and Frequency Converters machine control AG

BATTERY SAFETY SYSTEM IN ENERGY LOAD USAGE OF ELECTRIC CAR

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Contents. Preface... xiii Introduction... xv. Chapter 1: The Systems Approach to Control and Instrumentation... 1

Whitepaper Dunkermotoren GmbH

Hardware Design of Brushless DC Motor System Based on DSP28335

Servomotors. AC brushless servomotors TGT a TGH

Lab 6: Electrical Motors

MEBS Utilities services Department of Electrical & Electronic Engineering University of Hong Kong

Código de rotor bloqueado Rotor bloqueado, Letra de código. Rotor bloqueado, Letra de código

gear reduction. motor model number is determined by the following: O: Single 1: Double Motor Characteristics (1-99) Construction

INSTRUMENTATION & CONTROL

QuickStick Repeatability Analysis

Application Note 5283

PHY 152 (ELECTRICITY AND MAGNETISM)

International Journal of Advance Research in Engineering, Science & Technology

A DIGITAL CONTROLLING SCHEME OF A THREE PHASE BLDM DRIVE FOR FOUR QUADRANT OPERATION. Sindhu BM* 1

Institute of Technology, Nirma University B. Tech. Sem. V: Electrical Engineering 2EE305: ELECTRICAL MACHINES II. Handout: AC Commutator Motors

SSC-JE STAFF SELECTION COMMISSION ELECTRICAL ENGINEERING STUDY MATERIAL ELECTRICAL MACHINES

Design and Implementation of Automatic Solar Grass Cutter

Sensorless Brushless DC-Servomotors

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPT OF MECHANICAL ENGINEERING

Study on the Servo Drive of PM-LSM to Be Used in Parallel Synchronous Drive

Synchronous Generators I. Spring 2013

Transcription:

EE 318, Electronic Design Lab Project Report, EE Dept, IIT Bombay, April 2010 Two Wheeled Self balancing Robot Group No 8 Murtuza Patanwala (07d07026) Supervisor : Prof. P. C Pandey 1) Introduction The project is aimed at making a two wheeled self balancing electric vehicle. A processor and electric motors in the base of the device keep the vehicle upright when powered on with balancing enabled. Users lean forward to go forward, lean back to go backward. Gyroscopic sensors are used to detect tilting of the device which indicates a departure from perfect balance. Motors driving the wheels are commanded as needed to bring the vehicle back into balance. The dynamics of the vehicle are identical to a classic control problem, the inverted pendulum. The vehicle has electric motors powered by lithium-polymer batteries. It balances with the help of a microcontroller, one tilt sensors, and one gyroscope.. The rider accelerates or decelerates by leaning forward or backwards in the direction he or she wishes to travel. Steering can be controlled by simply varying the speeds between the two motors, rotating the vehicle (a decrease in the speed of the left wheel would turn the vehicle to the left).

2) Design The vehicle consists of : 1) Two 250W Brushless Dc Electric Motors 2) Two Tvs Scooty Wheels 3) Mechanical structure which consists of the motor mountings, a platform (for the person to stand ) and a vertical handle 4) Sensors comprising of a gyroscope and an accelerometer 5) A microcontroller for processing the data received from the sensors and giving the appropriate signal to the motors 6) Two motor drivers which amplify the signal received from the microcontroller and give it to the motor 2.1) Brushless Dc Motors Two 250W brushless dc hub motors are used. They have been selected over normal Dc motors as they have a better power/weight ratio, greater efficiency and hence are more compact,robust and reliable. The absence of a commutator and carbon brushes (which are subjected to mechanical wear and tear due to friction) enables this type of motor to have a longer life. The armature is the stationary part and has three coils, while the rotor is a permanent magnet. Each motor has three hall sensors used to detect the position of the rotor. The stator speed Ns and the rotor speed Nr are both the same at steady state as this is a synchronous motor. The rotor speed Nr is measured by taking feedback from the hall sensors while the stator speed Ns is the frequency at which you alternately switch the coils. By taking feedback Nr and Ns are kept the same. Hence the speed

of the rotor is directly proportional to the frequency of switching and the output torque is inversely proportional to the frequency of switching. 2.2) Wheels Two Tvs Scooty ES wheels are used. The outer diameter of the motor almost matches the rim size and hence mounting the motor in these wheels is considerably easier. By using a circular 10mm thick plate of mild steel the motor is mounted between the wheels. 2.3)Mechanical structure The entire structure is made of mild steel. After both the motors are individually connected to the wheels three rectangular sections are connected between them. They are welded at both the ends. A rectangular platform is fitted on these sections. A vertical rod is screwed on this platform with a rectangular rod welded at the top end. The rider stands on the platform and takes support from the vertical rod. 2.4)Sensors Gyroscope ADXRS610 a MEMS based angular rate sensor is used. The output signal, RATEOUT is a voltage proportional to angular rate about the axis normal to the top surface of the package. Integrating this signal we get the tilt angle, but when we integrate, the noise in each measurement also gets integrated and hence the angle we measure starts drifting. The analog signal is connected to the ADC input of the microcontroller. Accelerometer MMA7260QT a MEMS based accelerometer is used to measure the tilt angle. It measures all non contact forces and hence its reading is also affected by pseudo forces due to acceleration. The analog output is connected to the ADC input of the microcontroller.

To get the net tilt angle a complimentary filter, where the gyroscope reading is integrated (high passed) and the accelerometer reading is low-passed, is implemented. By assuming that over a sufficient interval the net acceleration is zero we can assume that the low passed accelerometer reading corresponds to the tilt angle. Hence by replacing the gyroscope angle with this reading we can get the tilt angle and compensate for the drift in the gyroscope reading. Here is the code to do it ang_gyro = ang_gyro + ((gyro_adc - bias) / 30.0) ; ang_acc_prev = ang_acc ; ang_acc = ((90*(acc_adc-87.0)) / 45.0) + 90.0 ; ang_acc = (ang_acc_prev * 0.95) + (ang_acc * 0.05) ; ang_gyro = ang_gyro + (0.15 *(ang_acc - ang_gyro)) ; 2.5) Microcontroller AVR Atmel Atmega128 microcontroller is used. It is a 8-bit microcontroller and it can run at a maximum clock frequency of 16 MHZ. It has various timers analog to digital converts and supports various protocols of data transfer. I have developed a basic application board of this uc. In this board there are three basic parts the first part has the power supply circuit where from any input voltage between 7 to 36 V is converted to 5V and given to the uc. To do this a switching regulator is used to convert the input to around 5.5V and then a low dropout regulator is used to convert 5.5V to regulated 5V. This method is used as it is more efficient and reliable. Only using a linear regulator is not efficient as all the the excess voltage is just dropped across the regulator and it gets heated up and may blow off when used for a long time. While a switching regulator switches the input and converts it to the desired voltage, it is about 85-90% efficient. But the ouput

of the switching regulator has has frequency components and giving it directly to the uc may blow it off. Hence a low dropout regulator is used. The second part includes the clock circuit, reset and programming circuit. An external crystal of 16Mhz is connected between the XTAL1 and XTAL2 pins and load capacitances of 22pf are connected from each pin to ground. The reset pin is pulled up with an external resisitor (1.5k) to 5V and also a capacitor(10uf) is connected from this pin to ground. The uc is programmed using SPI(Serial Peripheral Interface) from an external programmer. For this the PDI, PDO, SCK, RESET pins are connected to the programming port. The third part includes connecting the input, output pins to various connectors in the way they are going to be used. Various pins are given along with power supply for connecting the analog inputs. There are connectors where you can connect the motor drivers. Also various connectors are given for connecting the LCD and serial port which is used for debugging. 2.6) Motor drivers They need an analog signal for speed control and a digital signal for direction control. These both are generated from the uc. A timer is used to generate a PWM and then a Low Pass Filter is implemented to generate a flat analog signal. Varying the duty cycle changes the value of the analog output.