FUZZY CONTROL OF INVERTED PENDULUM USING REAL-TIME TOOLBOX

Similar documents
Inverted Pendulum Control: an Overview

Simulation of Dynamics of System with Hydraulic Lines and Linear Hydraulic Motor with Mass Load

Fuzzy Logic Controller for BLDC Permanent Magnet Motor Drives

DIRECT TORQUE CONTROL OF A THREE PHASE INDUCTION MOTOR USING HYBRID CONTROLLER. RAJESHWARI JADI (Reg.No: M070105EE)

Chapter 2 Dynamic Analysis of a Heavy Vehicle Using Lumped Parameter Model

Speed Control of BLDC motor using ANFIS over conventional Fuzzy logic techniques

CHAPTER 1 INTRODUCTION

Fuzzy based STATCOM Controller for Grid connected wind Farms with Fixed Speed Induction Generators

Fuzzy based Adaptive Control of Antilock Braking System

A Novel GUI Modeled Fuzzy Logic Controller for a Solar Powered Energy Utilization Scheme

FEASIBILITY STYDY OF CHAIN DRIVE IN WATER HYDRAULIC ROTARY JOINT

Segway with Human Control and Wireless Control

AEB System for a Curved Road Considering V2Vbased Road Surface Conditions

Using MATLAB/ Simulink in the designing of Undergraduate Electric Machinery Courses

Research of the vehicle with AFS control strategy based on fuzzy logic

SOME INTERESTING ESTING FEATURES OF TURBOCHARGER ROTOR DYNAMICS

China. Keywords: Electronically controled Braking System, Proportional Relay Valve, Simulation, HIL Test

EFFECTIVENESS OF THE ACTIVE PNEUMATIC SUSPENSION OF THE OPERATOR S SEAT OF THE MOBILE MACHINE IN DEPEND OF THE VIBRATION REDUCTION STRATEGIES

Modelling of electronic throttle body for position control system development

Friction and Vibration Characteristics of Pneumatic Cylinder

STUDY REGARDING THE MODELING AND SIMULATION ON THE INFLUENCE OF AUTOMOBILE BRAKE SYSTEMS ON ACTIVE SAFETY

Good Winding Starts the First 5 Seconds Part 2 Drives Clarence Klassen, P.Eng.

Figure1: Kone EcoDisc electric elevator drive [2]

Comparison between Optimized Passive Vehicle Suspension System and Semi Active Fuzzy Logic Controlled Suspension System Regarding Ride and Handling

Development of Engine Clutch Control for Parallel Hybrid

Development of a Clutch Control System for a Hybrid Electric Vehicle with One Motor and Two Clutches

Fuzzy Logic Control for Non Linear Car Air Conditioning

FALL SEMESTER MECE 407 INNOVATIVE ENGINEERING ANALYSIS AND DESIGN PROJECT TOPICS

Inverter control of low speed Linear Induction Motors

Dynamic performance of flow control valve using different models of system identification

INVERTED PENDULUM & UPRIGHT ROBOT ENGR4220 SEMESTER PROJECT

Back EMF Observer Based Sensorless Four Quadrant Operation of Brushless DC Motor

INTELLIGENT ENERGY MANAGEMENT IN A TWO POWER-BUS VEHICLE SYSTEM

Development of a PID Controlled Arduino-Based Stabiliser

Shimmy Identification Caused by Self-Excitation Components at Vehicle High Speed

Performance Analysis of Brushless DC Motor Using Intelligent Controllers and Minimization of Torque Ripples

1) The locomotives are distributed, but the power is not distributed independently.

Project Summary Fuzzy Logic Control of Electric Motors and Motor Drives: Feasibility Study

Semi-Active Suspension for an Automobile

3rd International Conference on Material, Mechanical and Manufacturing Engineering (IC3ME 2015)

INTELLIGENT CONTROLLER DESIGN FOR A NONLINEAR QUARTER-CAR ACTIVE SUSPENSION WITH ELECTRO- HYDRAULIC ACTUATOR

Linear Flexible Joint Cart Plus Single Inverted Pendulum (LFJC+SIP)

Integral Sliding Mode Control Design for High Speed Tilting Trains

WEAR PROFILE OF THE CYLINDER LINER IN A MOTOR TRUCK DIESEL ENGINE

VECTOR CONTROL OF THREE-PHASE INDUCTION MOTOR USING ARTIFICIAL INTELLIGENT TECHNIQUE

Mathematical modeling of the electric drive train of the sports car

Enhancement of Power Quality in Transmission Line Using Flexible Ac Transmission System

Asia Pacific Research Initiative for Sustainable Energy Systems 2011 (APRISES11)

International Journal of Advance Engineering and Research Development ADVANCE HYDRAULICS TECHNOLOGIES AND THEIR MODERN APPLICATIONS

Relevant friction effects on walking machines

ISSN: [Naveen* et al., 7(8): August, 2018] Impact Factor: 5.164

Dynamical systems methods for evaluating aircraft ground manoeuvres

Tension Control Inverter

TUNING MAZDA B6 ENGINE FOR SPORTS COMPETITIONS

Enhancing Wheelchair Mobility Through Dynamics Mimicking

Experimental Resultsofa Wind Energy Conversion Systemwith STATCOM Using Fuzzy Logic Controller

Modeling and Simulation of Linear Two - DOF Vehicle Handling Stability

USING OF dspace DS1103 FOR ELECTRIC VEHICLE POWER CONSUMPTION MODELING

CHAPTER THREE DC MOTOR OVERVIEW AND MATHEMATICAL MODEL

COMPUTATIONAL MODELING OF HEAVY DUTY TRUCK DRIVESHAFT

SPEED AND TORQUE CONTROL OF AN INDUCTION MOTOR WITH ANN BASED DTC

Vol. 9 No. 1. EDUCATIONAL APPLICATION USED TO SIMULATE THE FUNCTIONALITY OF A GASOLINE INJECTION SYSTEM 1 S. Rațiu, 2 V. Alexa, 3 I.

INVESTIGATION OF DYNAMIC BRAKING OF ELECTRIC VEHICLES POWERED BY PERMANENT MAGNET DC MOTOR

INTRODUCTION. I.1 - Historical review.

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

IDENTIFICATION OF INTELLIGENT CONTROLS IN DEVELOPING ANTI-LOCK BRAKING SYSTEM

Modelling and Analysis of Thyristor Controlled Series Capacitor using Matlab/Simulink

Computer Aided Transient Stability Analysis

INDUCTION motors are widely used in various industries

Contingency Ranking and Analysis using Power System Analysis. Toolbox (PSAT)

Control System for a Diesel Generator and UPS

Asian Journal on Energy and Environment ISSN Available online at

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

The Assist Curve Design for Electric Power Steering System Qinghe Liu1, a, Weiguang Kong2, b and Tao Li3, c

Turbostroje 2015 Návrh spojení vysokotlaké a nízkotlaké turbíny. Turbomachinery 2015, Design of HP and LP turbine connection

A New Buck-Boost Converter for a Hybrid-Electric Drive Stand P. Mašek

Longitudinal Autopilot Design

Modeling the Neuro-Fuzzy Control with the Dynamic Model of the Permanent Magnet DC Motor

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

University Of California, Berkeley Department of Mechanical Engineering. ME 131 Vehicle Dynamics & Control (4 units)

TRANSMISSION COMPUTATIONAL MODEL IN SIMULINK

Performance Analysis of Transmission Line system under Unsymmetrical Faults with UPFC

PLUGGING BRAKING FOR ELECTRIC VEHICLES POWERED BY DC MOTOR

IMPACT OF THYRISTOR CONTROLLED PHASE ANGLE REGULATOR ON POWER FLOW

Highly dynamic control of a test bench for highspeed train pantographs

UTILIZATION OF PNEUMATIC ACTUATOR

TRANSMISSION LOSS MINIMIZATION USING ADVANCED UNIFIED POWER FLOW CONTROLLER (UPFC)

Using energy storage for modeling a stand-alone wind turbine system

OPTIMAL BATCH DISTILLATION SEQUENCES USING ASPEN PLUS

Tire Test for Drifting Dynamics of a Scaled Vehicle

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

Comparing PID and Fuzzy Logic Control a Quarter Car Suspension System

Simulation of real and reactive power flow Assessment with UPFC connected to a Single/double transmission line

Enhancement of Transient Stability Using Fault Current Limiter and Thyristor Controlled Braking Resistor

Active magnetic inertia latch for hard disk drives

Fuzzy logic controlled Bi-directional DC-DC Converter for Electric Vehicle Applications

Design and Modeling of Fluid Power Systems ME 597/ABE 591

Power Consump-on Management and Control for Peak Load Reduc-on in Smart Grids Using UPFC

CHAPTER 6 MECHANICAL SHOCK TESTS ON DIP-PCB ASSEMBLY

ABS. Prof. R.G. Longoria Spring v. 1. ME 379M/397 Vehicle System Dynamics and Control

Transcription:

FUZZY CONTROL OF INVERTED PENDULUM USING REAL-TIME TOOLBOX P. Chalupa, B. Řezníček Tomas Bata University in Zlin Faculty of Applied Informatics Centre of Applied Cybernetics Abstract The paper describes a process of design of a fuzzy control system for the Amira PS600 Inverted pendulum system. The control system is realized in the MATLAB/Simulink environment and uses the Fuzzy Logic Toolbox. A connection of the Simulink scheme to the PS600 system is realized through the Real Time Toolbox. 1 Inverted pendulum Inverted pendulum is a typical example of an unstable nonlinear system and is often used to test the performance and efficiency of control methods. The goal of the control process is to move the pendulum from the lower (stable) equilibrium position to the upright (unstable) equilibrium position and keep it in this position. Movement of the carriage acts as an actuator of the control system. Moreover, the control system should be able to move the carriage to the desired position while keeping the pendulum in the upright position. 2 PS 600 Inverted Pendulum System The Amira PS600 Inverted Pendulum System consists of the carriage which can perform rectilinear motion along a guiding bar, the pendulum which can freely rotate around the spindle connected to the cart and a DC motor connected to the belt which is used to move the cart. The scheme of the system is shown in Fig 1. Figure 1: Functional scheme of PS 600 pendulum (1-Servo amplifier, 2-Motor, 3-Drive wheel, 4- Transmission belt, 5-Guiding bar, 6-Carrige, 7-Pendulum weight, 8-Guide roll, 9-Pendulum rod) The following quantities of the PS 600 Inverted Pendulum System can be measured and used in the control system: Carriage position using incremental encoder Angle of the pendulum rod (Ф) using incremental encoder The system can be controlled by control voltage (U S ) of the servo amplifier which is connected to the DC motor. The photo of the system is presented in Fig 2.

Figure 2: PS 600 system A mathematical model of the pendulum can be found in the [1]. 3 Design of a fuzzy control scheme Classical approaches to the control of such a nonlinear unstable system are based on either adaptive control techniques [2] or model predictive control [3]. Such techniques require model of the controlled system. This model can be obtained by mathematical-physical analysis of the system or computed from measured data by either off-line or on-line identification techniques. One of the main advantages of the fuzzy control approach consists in fact that the design of the controller does not require model of the controlled system. The controller is based on fuzzy rules which are set using knowledge about the controlled system. This knowledge base is obtained from experiences of similar group of the system or from experiments performed on the particular control system. As well as most control schemes used to control inverted pendulum systems, the proposed fuzzy control scheme acts in two relatively independent phases: Swing-up of the pendulum from the stable equilibrium to the position close to upright position Control of the pendulum in the upright position The second phase can be promoted to the task of the control of the cart position while keeping the pendulum in the upright position. 3.1 Swing-up The fuzzy control scheme used to perform the swing-up of the pendulum is presented in the Figure 3.

Figure 3: Simulink scheme of the swing-up of the pendulum The control scheme is based on fuzzy control of the cart position. The set-point of the position is being changed according to the pendulum angle. The scheme adds energy to the pendulum and thus swings with increasing amplitude occur. The scheme uses carriage position and pendulum angle as inputs and produces control voltage of the DC motor as its output. 3.2 Control in the upright position The fuzzy control scheme used to control the cart position while keeping pendulum in the upright position is presented in the Figure 4. Figure 4: Scheme of control of carriage position

The control scheme consists of three fuzzy control blocks. The first one generates of the angle on base of carriage velocity and current control error - i.e. difference between desired and actual carriage position. The next fuzzy control block is used to compensate friction between carriage and guiding bar. The output of this block is added to control signal produced by the third fuzzy control block. The third and last fuzzy control block produces control voltage of the DC motor on the basis of angle velocity of the pendulum and difference between current pendulum angle and angle produced by the first fuzzy block. 3.3 Supervisory logic The scheme of the supervisory logic is presented in Figure 5. Figure 5: Supervisory logic The supervisory logic is responsible for switching among three regimes of the whole control scheme: Swing-up Control of the cart position while keeping pendulum in upright position Idle The Idle regime occurs when an external disturbance causes too fast rotations of the pendulum and thus the second regime is not able to catch the pendulum in the upright position. The carriage is not moved in the idle regime and the supervisory logic switches to swing-up regime after several seconds in the idle regime. 3.4 Complete control scheme The whole control scheme is composed by interconnection of the control schemes described in the previous subchapters. The scheme is presented in the Figure 6.

4 Real-time control Figure 6: Complete control scheme The connection between Simulink control schemes presented in the previous chapter and the Amira PS 600 system was realized by Real Time Toolbox and MF614 data acquisition board. The tuning of individual fuzzy control blocks was quite complicated tasks because almost 40 fuzzy sets was defined and about 170 parameters had to be defined and set. One of typical control courses is presented in the Figure 7. Set-point Carriage pos. Angle Control signal Figure 7: Control course

It can be seen that in the first approximately 25 seconds the swing-up is performed and then step and ramp is applied to the set-point. The controllers were able to reach zero control signal in the steady states. On the other hand a small steady state control error occurred as can be observed in Figure 8 which was obtained from the same control process. Set-point Carriage pos. Figure 8: Courses of set-point and carriage position These small control errors in steady states are caused by setting the fuzzy set for the zero control error. This set is has a triangular shape and contains not only zero but also values close to zero. 5 Conclusion A fuzzy control scheme for control of the inverted pendulum system was proposed and verified in this paper. The aim of the control system is to track set-point of the carriage position while keeping pendulum in the upright position. The control scheme consists of three relatively independent parts: swing-up controller, position controller with the pendulum angle constraint and the supervisory logic. The proposed control scheme is able to perform swing-up of the pendulum and is also able to cope with external disturbances. The main shortcoming of the control scheme consists in small steady state control error. 6 Acknowledgements This work was supported by the Grant Agency of the Czech Republic under grant No. 102/06/P286. References [1] PS600 Laboratory Experiment Inverted Pendulum. Duisburg: Amira GmbH. 2000. [2] Bobál, V.; J. Böhm; J. Fessl and J. Macháček.. Digital Self-tuning Controllers: Algorithms, Implementation and Applications. Springer - Verlag London Ltd., London, 2005. [3] Camacho, E. F. and C. Bordons. Model Predictive Control. Springer-Verlag, London, 2004.

Petr Chalupa Tomas Bata University in Zlin, Faculty of Applied Informatics, Centre of Applied Cybernetics Nad Stráněmi 4511, 76001 Zlín, Czech Republic Tel: +420 57603 5204 Email: chalupa@fai.utb.cz