of an Efficient Electric

Similar documents
Auto-Balancing Two Wheeled Inverted Pendulum Robot

SELF-BALANCING MOBILE ROBOT TILTER

Dynamically Adaptive Inverted Pendulum Platfom

Control System Design for Tricopter using Filters and PID controller

Implementation of PIC Based Vehicle s Attitude Estimation System Using MEMS Inertial Sensors and Kalman Filter

Rapid Prototyping of a Stand-Alone Embedded Controller for a Stabilized Motion Platform

IMU Platform for Workshops

Controller based Electronic Speed Controller for MAV Propulsion System

Swinburne Research Bank

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control.

ANNUAL OF NAVIGATION 16/2010

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

Control System for a Segway

SELF BALANCING ROBOT. Article. 2 authors, including: Nabil Lathiff Microsoft

Renewable Energy Based Interleaved Boost Converter

MAGNETIC LEVITATION SUSPENSION CONTROL SYSTEM FOR REACTION WHEEL

Modeling and Analysis of Signal Estimation for Stepper Motor Control. Dan Simon Cleveland State University October 8, 2003

THREE PORT DC-DC CONVERTER FOR STANDALONE PHOTOVOLTAIC SYSTEM

POSITION AND SPEED ESTIMATION OF A STEPPING MOTOR AS AN ACTUATOR OF DIESEL ENGINE FUEL RACK

BALANCING A TWO WHEELED ROBOT

ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION

Introduction to Kalman Filter and its Use in Dynamic Positioning Systems

PID CONTROL FOR TWO-WHEELED INVERTED PENDULUM (WIP) SYSTEM

Regulated Voltage Simulation of On-board DC Micro Grid Based on ADRC Technology

Vehicle Speed Estimation Using GPS/RISS (Reduced Inertial Sensor System)

CURRENT FOLLOWER APPROACH BASED PI AND FUZZY LOGIC CONTROLLERS FOR BLDC MOTOR DRIVE SYSTEM FED FROM CUK CONVERTER

Extended Kalman Filtering

Implementation of Novel Low Cost Multilevel DC-Link Inverter with Harmonic Profile Improvement

Analysis of an Economical BLDC Drive System

Hardware-in-loop Electronic Throttle System Based On Simulink Ning Chen 1,a,Pinchang Zhu 1,b

SIMULATION OF HIGH BOOST CONVERTER FOR CONTINUOUS AND DISCONTINUOUS MODE OF OPERATION WITH COUPLED INDUCTOR

CONTROLLING THE OSCILLATIONS OF A SWINGING BELL BY USING THE DRIVING INDUCTION MOTOR AS A SENSOR

AUTOPILOT CONTROL SYSTEM - IV

Dynamically Adaptive Inverted Pendulum Platform

Segway Robot Designing And Simulating, Using BELBIC

Design of intelligent vehicle control system based on machine visual

Based on the ARM and PID Control Free Pendulum Balance System

SELF-BALANCING BOT USING CONCEPT OF INVERTED PENDULUM

Research on On-line Monitoring Methods of High Voltage Parameter in Electric Vehicles

Hybrid Sliding Mode Control Technology of Electric Vehicle Based on Wireless Sensor

Usha Nandhini.M #1, Kaliappan.S *2, Dr. R. Rajeswari #3 #1 PG Scholar, Department of EEE, Kumaraguru College of Technology, Coimbatore, India

Simulation Study of MOSFET Based Drive Circuit Design of Sensorless BLDC Motor for Space Vehicle

Dynamic Angle Estimation

Brushless DC Motor Drive using Modified Converter with Minimum Current Algorithm

Design of A Closed Loop Speed Control For BLDC Motor

Bidirectional Buck-Boost Controller for Electric Vehicle Using FPGA Board

Sensor Data Fusion Using Kalman Filter

Speed control of sensorless BLDC motor with two side chopping PWM

Design of a Drift Assist Control System Applied to Remote Control Car Sheng-Tse Wu, Wu-Sung Yao

A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR

Estimation and Control of Lateral Displacement of Electric Vehicle Using WPT Information

The Fan Company Microcontroller Fan. Prepared by. JMC Engineering

ISSN Vol.05,Issue.01, January-2017, Pages:

Simulation of Solar Powered PMBLDC Motor Drive

Autonomous Stair Climbing Algorithm for a Small Four-Tracked Robot

Construction and signal filtering in Quadrotor

Research on Position Servo Control Based on Improved MFAC

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

An Improved Variable-Frequency Drive based on Current Tracking

Technical Cognitive Systems

Disturbance rejection using feed-forward control system on self balancing robot

A MODIFIED ADAPTIVE KALMAN FILTER FOR FIBER OPTIC GYROSCOPE

SELF STABILIZING PLATFORM

A Low Torque Ripple PMSM Drive for EPS Applications

MATHEMATICAL MODELLING AND PERFORMANCE ANALYSIS OF HIGH BOOST CONVERTER WITH COUPLED INDUCTOR

Ball-and-beam laboratory system controlled by Simulink model through dedicated microcontrolled-matlab data exchange protocol

Multi-Temperature and Humidity Data Fusion Algorithm Based on Kalman Filter

Cleaning Robot Working at Height Final. Fan-Qi XU*

A PHOTOVOLTAIC POWERED TRACKING SYSTEM FOR MOVING OBJECTS

Wheeled Mobile Robot Obstacle Avoidance Using Compass and Ultrasonic

State observers based on detailed multibody models applied to an automobile

Penn State Erie, The Behrend College School of Engineering

IN MANY industrial applications, ac machines are preferable

INDOOR HEADING MEASUREMENT SYSTEM

istand I can Stand SPECIAL SENSOR REPORT

Embedded Architecture for Object Tracking using Kalman Filter

3-in-1 Air Condition Solution

Application Note, V1.0, Oct 2006 AP08019 XC866. Sensorless Brushless DC Motor Control Using Infineon 8-bit XC866 Microcontroller.

Fault Tolerant Control Using Proportional-Integral-Derivative Controller Tuned by Genetic Algorithm

Performance Enhancement of Sensorless Control of Z-Source Inverter Fed BLDC Motor

Study on Repetitive PID Control of Linear Motor in Wafer Stage of Lithography

Design and Development of Novel Two Axis Servo Control Mechanism

Magnetic Levitation System

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: [Chakradhar et al., 3(6): June, 2014] ISSN:

A Low-cost Positioning System for Parallel Tracking Applications of Agricultural Vehicles by Using Kalman Filter

A MATHEMATICAL MODEL OF A LEGO DIFFERENTIAL DRIVE ROBOT

INTERNATIONAL JOURNAL OF ELECTRICAL ENGINEERING & TECHNOLOGY (IJEET) TWO WHEELED SELF BALANCING ROBOT FOR AUTONOMOUS NAVIGATION

Research on Design and Application of Self-made Simulation Test Platform for University Lab

Embedded Robust Control of Self-balancing Two-wheeled Robot

Teaching Mechanical Students to Build and Analyze Motor Controllers

Sloshing Damping Control in a Cylindrical Container on a Wheeled Mobile Robot Using Dual-Swing Active-Vibration Reduction

II. WORKING PRINCIPLE The block diagram depicting the working principle of the proposed topology is as given below in Fig.2.

Hardware Platforms and Sensors

Simulation Analysis of SPWM Variable Frequency Speed Based on Simulink

Controlling of Permanent Magnet Brushless DC Motor using Instrumentation Technique

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

4R and 5R Parallel Mechanism Mobile Robots

Chapter 1: Introduction to Control Systems Objectives

Estimation of State Variables of Active Suspension System using Kalman Filter

Design of a Dual Active Bridge DC-DC Converter for Photovoltaic System Application. M.T. Tsai, C.L. Chu, Y.Z. Yang and D. R Wu

Transcription:

Page00038 Abstract EVS5 Shenzhen, China, Nov 5-9, 010 Researches and Development of an Efficient Electric Personal Mover for City Commuters Cao Sijia 1, Huang Yagang 1, Zhang Youtong 1, Zhao Dong 1, Liu Ke 1 1 School of Mechanical Engineering, Beijing Institute of Technology South Zhongguancun Road, Beijing, 100081, People s Republic of China E-mail:csjedi@yeah.net In order to reduce the carbon emission, saving fuel energy and for the convenience of personal transportation in urban area, a two-wheel-driven self-balancing vehicle was developed, which utilize the well-nown inverted pendulum control technique, can carry one person and travels at a maximum speed of 0m/h. The vehicle which is called Tiny, consists up of two brushless DC motors, the motors are placed coaxially. A gravity sensor and a gyro are mounted on the vehicle, signals from the two sensors are combined with Kalman Filter to indicate the tilt angle of the vehicle. By controlling the tilt angle to be 0 degree (which means the vehicle body is perpendicular to ground, the vehicle can perform travelling forward and bacward. In this paper, the implementation of the Kalman filter is discussed by using Matlab simulations, and the mathematical model of the vehicle is also presented, then the controlling diagram is presented. In the end of this paper, some experimental parameter is presented. Keywords: Self-balancing vehicle, EV Development, Kalman filter 1. Introduction In recent years, researching in self-balancing vehicles, which typically consist up of two wheels in coaxial and a standing platform, wors as an inverted pendulum, are drawing more and more attention from both researchers and public. Among this ind of vehicles, the most famous is Segway, which is a ind of standing-driving selfbalancing vehicle, with a maximum speed of 10m/h. Later EN-V was development by GM and SAIC, which is expected to be commercially available in 030. This ind of vehicle provides us a completely new way in solving traffic and pollution issues: Driving by electric maes them environmental-friendly, small size and flexible running style(including zero-radius turning enable them to travel smoothly in city streets. In order to provide drivers with a more comfortable driving environment, longer driving distance and in this paper, an efficient and flexible selfbalancing vehicle Tiny --was developed, which allows people sit and driving, with a maximum speed of 0m/h and maximum driving distance of 0m within once charge. Firstly, its mechanical structure and the mathematical model was developed. Then the electronic control system was introduced and the control system was discussed, including Kalman Filter and inverted pendulum control algorithm. Finally some experiments were performed to verify its performance.. System Overview.1 System State Space Model EVS5 World Battery,Hybrid and Fuel Cell ElectricVehicle Symposium 1

Page00039 Tiny consists up of aluminum alloy chassis and two co-axially placed wheels; each of them is driven by two geared BLDC motors. Two wheels and a seat chair are mounted on the chassis. There is a mechanism to enable drivers manipulate the seat bac and forth, hence to change the center of gravity of the vehicle. This will mae the vehicle lean forward or bacward, the inclination angle is sensed by on board microcontroller through gravity sensor and gyroscope. Then the microcontroller will mae wheels to generate torque to eep the vehicle vertical, just lie the inverted pendulum. Figure 1: Simplified Model of the Vehicle Figure 1 is a simplified model of Tiny, it shows the basic configurations of wheel and chassis. From this figure the mathematical model of the vehicle can be derived. The variable definitions are as follows: θ : Inclination angle; l : Distance from COG to wheel axis; M : Total mass of driver and chassis; v : Speed of vehicle; u : Forces applied to wheel axis; x : Position of the vehicle m : Mass of wheels I : Inertia of chassis and driver; For the wheels, the inetic equation is: m x = u bx N (1 d ( x + l sinθ N = M dt ( Where N represents the lateral reaction force applied to the wheel axis by the chassis and driver. Substituting equation ( into equation (1 and we assume θ is near 0, tae the approximation ofsinθ = θ, cosθ = 1, θ = 0 we get: ( M + m x = u bx Mlθ (3 Consider the vertical forces on chassis and driver: d ( l cosθ P Mg + M = 0 (4 dt And the torque equation is: Pl sin θ Nl cosθ = I θ (5 Combine equation (4 and (5 we get the second state equation, after approximation it is: I + Ml θ + Mlx Mglθ = (6 ( 0 We tae θ, θ, x, ẋ as state variables, since M>>m, we can neglect the wheel weight, the state space model is: 0 1 0 0 θ g I + Ml θ d 1 0 θ 0 0 l Ml θ = + Ml u (7 dtx x 0 0 0 1 0 I Ml x + g 0 0 x Ml 0 If we only consider the first two state variables, we can find that the system is fully controllable.. Sense of Inclination Angle In Tiny s control system, we only incorporate θ and θ as feedbac state variables. There are two sensors, one is acceleration sensor, and the other is gyroscope. The acceleration sensor is to get the inclination angle θ, and the gyroscope is to measure the inclination rate of chassisθ. Both of the two sensors have drawbacs. Accelerometer has good accuracy and stability, but the response time is relatively long. Meanwhile gyroscope has a rapid response but poor in accuracy and has bias problem. To overcome the drawbacs, we use Kalman filter to combine the two variables. The Kalman filter is a tool that can estimate the variables of a wide range of processes. In order to use a Kalman filter to remove noise from a signal, the process that we are measuring must be able to be described by a linear system [1]. The Kalman filter addresses the general problem of trying to estimate the state x of a discrete-time controlled process that is governed by the linear stochastic difference equation []: x = Ax + Bu + w (8 EVS5 World Battery,Hybrid and Fuel Cell ElectricVehicle Symposium

Page00040 With the measurement of: y = Hx + z (9 State variable matrix x is the quantity to be measured, w is process noise and z is measurement noise. They are assumed to be independent (of each other, white, and with normal probability distributions: p ( w ~ N(0, R (10 p ( z ~ N(0, Q (11 There are two steps in Kalman filter: Predict and Correct, in Predict step, we use equation (8 to predict the current value of x, here we use discrete time equations: ˆ x Axˆ + Bu (1 P = 1 1 T = AP A + Q 1 (13 in equation (13 is called estimate error P covariance matrix. xˆ denotes the estimated value of x. Then the Correct step is performed: K ˆ T T = P H ( HP H + R 1 (14 ˆ ( ˆ = x + K y Hx = I K H P x (15 P ( (16 After the Correct step, the filtered value obtained. Then the next Predict step can be performed. Equation (1 to (16 form the whole Kalman filter algorithm. Here we tae the output of accelerometer and gyroscope bias as state variables. Then we have the following equations: θ = ω b (17 ḃ = 0 (18 θ x = b (19 Where ω is the output of gyroscope, b is the gyro bias. We use the Jacobian of ẋ with respect to its states as the matrix A : θ θ 0 1 A = θ b = b b 0 0 θ b (0 And we set the initial value of P to be: 1 0 P = 0 1 (1 We use the output of accelerometer as variable y in equation (9 and (15. H is set to be: H = 1 0 ( [ ] xˆ is Figure is a Matlab simulation of Kalman filter of inclination angle; here we set the sampling time to be ms. Figure : Matlab Simulation of Kalman Filter The upper plot is the output of accelerometer with white noise, the value of which is set to match the AD s result. The lower plot is the filtered accelerometer output, tae the arcsine of which will get the inclination angle. The red line in lower plot represents the gyroscope bias. We can see that gyroscope bias is automatically traced by Kalman filter. In Kalman filter, it is important to determine matrices Q and R. The two matrices reflect how the controller trusts in the two sensors. Figure 3 is the control diagram of Tiny: Figure 3: Control Diagram There are two control loops in the diagram Inclination loop and steering loop. The inclination loop uses a PD controller, in which we simply use the filtered and unbiased gyroscope signal as the derivation component. The steering loop is used to amend the difference between two motors. 3. Hardware and Software Implementation EVS5 World Battery,Hybrid and Fuel Cell ElectricVehicle Symposium 3

Page00041 3.1 Hardware Design 3.1Hardware We use a 48V 10Ah LiFePO4 battery as the power source. The battery has built-in power management system and over current protection. The maximum current is limited at 30A. The central controller is based on Freescale MC56F8037, a 16-bit microcontroller with PWM output and on-chip ADC. Main control algorithm and sensor signal sampling are performed by the controller. Two ADI s MEMS sensors are used to get the inclination angle of the vehicle. The BLCD commutation is accomplished by an Altera EPM718 CPLD. It receives two pairs of complementary PWM signals and hall signals from the two motors. Then send 6PMW output signals to the motors respectively. Each of the motor driving circuit is built on 6 power MOSFETs, is capable of driving motor with power up to 500Watts. In Tiny, two 440W BLDC motor is equipped. Figure 4 is the hardware configuration of Tiny: Figure 4: Hardware Configuration of Tiny We utilize 0 Hz bi-polar PWM modulation in controlling BLDC motors. According to our experiment, bi-polar modulation has a better torch output than uni-polar modulation. Figure 5: State Machine Flow There are three buttons in Tiny Power, Start and Brae. For safety considerations user should switch the Power on while the Start eeps in off state, then push the Start on. In the Init state, this power on sequence is checed, if user doesn t follow that sequence, Tiny will remain in Init state. In Init state, software will examine the state of Start switch and the filtered outputs of two sensors, in a 00ms self test. Then it will display messages on LCD to indicate driver whether to start the vehicle. When driver see Ready to start on LCD, he or she may switch the Start button on, which will change the state machine to Run state. The vehicle needs a large torch applied to the wheel axis to lift to a balanced position ( θ =0. However, this large torch may bring shoc to the driver. In order to mae the vehicle lift smoothly, a soft start procedure is executed when changing state to Run. This procedure controls the torque increasing rate at a moderate level. With the soft start feature Tiny taes seconds to lift balance. In Run state, when driver steps on the brae pedal, an auxiliary braing wheel will expand and hydraulic braing system will tae effect. Meanwhile the torch generated by the motor gradually decrease to zero. This will mae the vehicle stop. When user releases brae pedal, it will turn bac to Run state again. Figure 6 is a full view of Tiny at exhibition: 3. 3. Software Design In Tiny s software implementation, the main routine is the system running state control. A state machine is used to control each of the states and the transfer between them. The state machine flow diagram is shown in figure 5. Figure 6: Tiny at Exhibition EVS5 World Battery,Hybrid and Fuel Cell ElectricVehicle Symposium 4

Page0004 4. Conclusion In this paper, a self-balancing vehicle-tiny is introduced. The control algorithm and implementation (both hardware and software is discussed. A Matlab simulation is performed to verify the Kalman filter in processing the sensor signals. A few experiments were performed on city road to verify the usefulness of Tiny. Table 1 shows the basic performances: Table 1: Basic Performances Max Speed 5m/h Max Distance (48V 10Ah 0m Braing Distance (0m/h 5m Max Load 80g Balancing θ ±1.5 deg From the above table we can see Tiny is capable of serving as a personal mover, replacing motorcycles and even cars for short distance travelling. However, there are still some drawbacs in Tiny. The max load is limited due to the motor power and battery capacity. The center of gravity of Tiny is relatively high with respect to its width, which maes it dangerous in traveling above 0m/h. In our future wor, the safety issues will be focused. New braing algorithm will be developed to shorten the braing distance and shoc to drivers will be eliminated. Yagang HUANG Received Bachelor s Degree in Beijing Institute of Technology in 009, currently pursuing Master s Degree in Beijing Institute of Technology, the main research is motor control Professor. Youtong ZHANG Director of LEVRL laboratory of BIT. Got his PhD in 1995 in Beijing Institute of Technology. Main researches include: Diesel Engine CRS control, HEV control and Automobile electronics control technology. Dong ZHAO Currently pursuing bachelor s degree of mechanical engineering in Beijing Institute of Technology. Main researches include: Structure of electric vehicle and thermal design. Ke LIU Received Master s Degree of Industrial Design in Beijing Institute of Technology in 010. Main research field in new concept vehicle design. References [1] Dan Simon, Kalman Filtering, Embedded System Programming, Jun 001, pp:7. [] Greg Welch, Gary Bishop, An Introduction to the Kalman Filter, Jul 006. [3] M.A.Clar, J.B.Field, S.G.McMahon, P.S.Philps, EDGAR, A Self-Balancing Scooter, Oct. 005. [4] Ittichote Chucpaiwong, 1-DOF Tilt Sensor, Apr. 007. Author uthors Sijia CAO Received Bachelor s degree and Master s degree in Electrical Engineering in Beijing Institute of Technology in 007 and 009. Main research field covers BLDC, PMSM motor control and power electronics. EVS5 World Battery,Hybrid and Fuel Cell ElectricVehicle Symposium 5