Simulation and Implementation of Servo Motor Control

Similar documents
FEEDBACK CONTROL SYSTEMS

D(s) G(s) A control system design definition

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

A Model-Free Control System Based on the Sliding Mode Control Method with Applications to Multi-Input-Multi-Output Systems

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by:

Positioning Servo Design Example

State Feedback Controller for Position Control of a Flexible Link

PRECISION CONTROL OF LINEAR MOTOR DRIVEN HIGH-SPEED/ACCELERATION ELECTRO-MECHANICAL SYSTEMS. Bin Yao

Robust sliding mode speed controller for hybrid SVPWM based direct torque control of induction motor

Overview of motors and motion control

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Position and Velocity Profile Tracking Control for New Generation Servo Track Writing

Integrator Windup

Rotational Systems, Gears, and DC Servo Motors

School of Mechanical Engineering Purdue University. ME375 ElectroMechanical - 1

Chap 8. State Feedback and State Estimators

Advanced Control Theory

Two-Link Flexible Manipulator Control Using Sliding Mode Control Based Linear Matrix Inequality

Robust Speed and Position Control of Permanent Magnet Synchronous Motor Using Sliding Mode Controller with Fuzzy Inference

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification

Output high order sliding mode control of unity-power-factor in three-phase AC/DC Boost Converter

Introduction to Feedback Control

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

A FORCE BALANCE TECHNIQUE FOR MEASUREMENT OF YOUNG'S MODULUS. 1 Introduction

Control of Wind Turbine Generators. James Cale Guest Lecturer EE 566, Fall Semester 2014 Colorado State University

Outline. Classical Control. Lecture 2

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual

Open Access Permanent Magnet Synchronous Motor Vector Control Based on Weighted Integral Gain of Sliding Mode Variable Structure

Robust Speed Controller Design for Permanent Magnet Synchronous Motor Drives Based on Sliding Mode Control

Outline. Classical Control. Lecture 1

Lab 6a: Pole Placement for the Inverted Pendulum

Control Systems Design

A new FOC technique based on predictive current control for PMSM drive

Power Rate Reaching Law Based Second Order Sliding Mode Control

An adaptive sliding mode control scheme for induction motor drives

Pipelined multi step A/D converters

Unity Power Factor Control of Permanent Magnet Motor Drive System

ECE317 : Feedback and Control

Lab 3: Quanser Hardware and Proportional Control

Design and Control of Variable Stiffness Actuation Systems

2016 Kappa Electronics Motor Control Training Series 2016 Kappa Electronics LLC. -V th. Dave Wilson Co-Owner Kappa Electronics.

Stable Limit Cycle Generation for Underactuated Mechanical Systems, Application: Inertia Wheel Inverted Pendulum

Control System Design

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

Behaviour of synchronous machine during a short-circuit (a simple example of electromagnetic transients)

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electric Machines

DC Shunt Excited Motor

AC Induction Motor Stator Resistance Estimation Algorithm

EE 410/510: Electromechanical Systems Chapter 4

ENGG4420 LECTURE 7. CHAPTER 1 BY RADU MURESAN Page 1. September :29 PM

International Journal of Advance Engineering and Research Development SIMULATION OF FIELD ORIENTED CONTROL OF PERMANENT MAGNET SYNCHRONOUS MOTOR

Power Assist H Control of Shift Lever with Spring Connected Link

Introduction to Control (034040) lecture no. 2

Sensorless Sliding Mode Control of Induction Motor Drives

ET4119 Electronic Power Conversion 2011/2012 Solutions 27 January 2012

Inverted Pendulum System

GAIN SCHEDULING CONTROL WITH MULTI-LOOP PID FOR 2- DOF ARM ROBOT TRAJECTORY CONTROL

Online Model Predictive Torque Control for Permanent Magnet Synchronous Motors

Outline. Classical Control. Lecture 5

EE 422G - Signals and Systems Laboratory

EM Simulations using the PEEC Method - Case Studies in Power Electronics

6) Motors and Encoders

Project Lab Report. Michael Hall. Hao Zhu. Neil Nevgi. Station 6. Ta: Yan Cui

System Modeling: Motor position, θ The physical parameters for the dc motor are:

Dynamic Modeling of Surface Mounted Permanent Synchronous Motor for Servo motor application

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Basic Feedback Analysis & Design

Chapter 7. Digital Control Systems

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

The output voltage is given by,

Unity Power Factor Control of Permanent Magnet Motor Drive System

Improved efficiency of a fan drive system without using an encoder or current sensors

Automatic Generation Control. Meth Bandara and Hassan Oukacha

A sliding mode control for a wound rotor synchronous generator with an isolated RL load

Lab 5a: Pole Placement for the Inverted Pendulum

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

SYNCHRONIZATION CRITERION OF CHAOTIC PERMANENT MAGNET SYNCHRONOUS MOTOR VIA OUTPUT FEEDBACK AND ITS SIMULATION

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

An Introduction to Control Systems

Modeling and Simulation of the Nonlinear Computed Torque Control in Simulink/MATLAB for an Industrial Robot

Lecture 4: Losses and Heat Transfer

6.003: Signals and Systems

Modeling and Robust Output feedback Tracking Control of a Single-phase Rotary Motor with Cylindrical Halbach Array

Belt Tension Clamp. Drive Motor. Friction Brake. Load. Encoder 2. Drive. (4000 lines/rev incremental) Encoder 1. (4000 lines/rev incremental)

Optimization of Model-Reference Variable-Structure Controller Parameters for Direct-Current Motor

A Novel Adaptive Estimation of Stator and Rotor Resistance for Induction Motor Drives

3 Lab 3: DC Motor Transfer Function Estimation by Explicit Measurement

2.004 Dynamics and Control II Spring 2008

Mechatronics Engineering. Li Wen

Robust Loop Shaping Force Feedback Controller

Steady State Errors. Recall the closed-loop transfer function of the system, is

On Practical Applications of Active Disturbance Rejection Control

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

CDS 101: Lecture 2.1 System Modeling

Laboratory Exercise 1 DC servo

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

Lecture (20) DC Machine Examples Start of Synchronous Machines

Backstepping Control with Integral Action of PMSM Integrated According to the MRAS Observer

Transcription:

Simulation and Implementation of Servo Motor Control with Sliding Mode Control (SMC) using Matlab and LabView Bondhan Novandy http://bono02.wordpress.com/

Outline Background Motivation AC Servo Motor Inverter & Controller Hardware Block Diagram Mathematical Modeling Sliding Mode Controller Design Simulation using Matlab Simulation & Implementation using LabView Several Ideas

Motivation Sliding Mode Control is a robust control scheme based on the concept of changing the structure of the controller in response to the changing state of the system in order to obtain a desired response The biggest advantage of SMC is its insensitivity to variation in system parameters, external disturbances and modeling errors This can be achieved by forcing the state trajectory of the plant to the desired surface and maintain the plants state trajectory on this surface for subsequent time Because of these factors SMC is chosen as the controller for our device

AC Servo Motor The difference between AC Servo Motor and DC servo motor is the design of the motor where in AC motor the permanent magnet is on the rotor. The block diagram of an AC servo motor is very similar to the block diagram of DC servo motor:

AC Servo Motor

Inverter and Controller Inverter is used to transform electricity from 1 single phase into 3 phase It works by controlling the rotational speed of an AC motor by controlling the frequency of the electrical power supplied to the motor Our inverter the we use the linear V/F mode Output max voltage is equal to max input voltage = 220 V RMS The default frequency is 50 Hz

Inverter and Controller Cont d Analog input voltage 0 10 V is used to change the volt/frequency of the inverter output The scale between input : output = 10 : 220 depending on the configuration of V/F NI PXI 7358 is chosen as the controller and it has DAC 0 10 output

Hardware Block Diagram PXI 7358 DAC 0 10 V x22 Inverter 0 220V/0 50 Hz AC Servo Motor Encoder Position, Speed, Acceleration

Mathematical Modeling Position control: di dθ Ia * Ra + La * + Kb = V...(1) dt dt 2 d θ dθ T TLoad = Kt * Ia TLoad = Tj + Tb = J + B...(2) 2 dt dt 2 1 d θ dθ ( 2 Load )...(3) Ia = J + B + T Kt dt dt

Mathematical Modeling Cont d (3) (1) 2 2 Ra d d La d d d d ( ) ( ) 2 Load 2 Load θ θ θ θ θ J + B + T + J + B + T + Kb = V Kt dt dt Kt dt dt dt dt θ θ θ θ θ + + T + + + T + Kb = V Kt dt Kt dt Kt Kt dt Kt dt Kt dt 2 3 2 J* Rad B* Rad Ra J* Lad B* Lad La d ' 2 Load 3 2 Load Finally we get (4): θ1= θ2 θ = θ 2 3 Kt B Ra Ra * B Kb* Kt 1La Ra θ3= V θ3 θ3 θ2 θ2 T' Load T J* La J La La* J La* J J Kt La* J Load

Sliding Surface We have 3 rd order system d s = + = dt n 1 ( λ) θ, choosing n=3 and θ θ θd is tracking error d 2 = ( + λ) θ dt 2 d θ d θ 2 = ( + 2 λ + λ θ) 2 dt dt 2 = θ + 2λθ + λ θ = θ θ + λ θ θ + λ θ θ 2 ( d) 2 ( d) ( d)

Equivalent Control We try to force the state trajectory to slide on our surface so that: s = 0 s = + + 2 ( θ θd) 2 λ( θ θd) λ ( θ θd) s = Kt B Ra Ra* B Kb* Kt 1 La 0 = V θ3 θ3 θ2 θ2 T' Load J* La J La La* J La* J J Kt Ra 2 T Load θd + 2 λ( θ3 θd ) + λ ( θ2 θd ) La* J B* La La Ra * J Ra* B Ra La* J Veq = θ3 + T' Load + θ3 + θ2 + TLoad + Kb* θ2 + θd Kt Kt Kt Kt Kt Kt La* J 2 La* J 2 λ ( θ3 θd) λ ( θ2 θd) Kt Kt 0

SMC Controller V = V + V, where V = K* sat( s/ φ) eq switching switching and sat is the function: sign( s) if abs( s) s/ φ if abs( s) < φ > φ B* La La Ra* J Ra* B Ra La* J Veq = θ3+ T' Load + θ3+ θ2 + TLoad + Kb* θ2 + θd Kt Kt Kt Kt Kt Kt La* J 2 La* J 2 λ ( θ3 θd) λ ( θ2 θd) K* sat( s/ φ) Kt Kt

Lyapunov Function If there exist Lyapunov function, so that It is stable in the sense of Lyapunov

Stability We ensure the stability of our system choosing K to be large enough so that stable in the sense of Lyapunov. Lyapunov candidate: 1 2 V = s 0 2 Kt B Ra Ra* B Kb* Kt 1 La V = ss = s( V θ3 θ3 θ2 θ2 T' J* La J La La* J La* J J Kt Ra 2 T Load θd + 2 λ( θ3 θd ) + λ ( θ2 θd ) K * sat ( s / φ)) La* J V = s( f K* sat( s/ φ)) = f * s K s 0 Load

Simulation Using Matlab Plant parameter: j=0.01; b=0.1; Kt=0.01; Kb=0.29098; Ra=1; La=0.5; x2 0-0.2-0.4-0.6 phase portrait -0.8 The unity feedback transfer function is: 2 ------------------ s^2 + 12 s + 22.58-1 -1.2-1.4 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 x1

Transient Response Without Stability Analysis (Linear System) Controllability: % Number of uncontrollable states >> unco = length(a)-rank(ctrb(a,b)) unco = 0 Observability: % Number of unobservable states unob = length(a)-rank(ob) unob = 0 Thus the system is stable. Controller 0.14 Impulse Response 0.09 Step Response 0.08 0.12 0.07 0.1 0.06 Amplitude 0.08 0.06 Amplitude 0.05 0.04 0.04 0.03 0.02 0.02 0.01 0 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Time (sec) 0 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Time (sec)

Simulation Result With SMC Controller

Step Response K = 50; Lambda = 10; delta = 0.5;

Step Response K = 100; Lambda = 10; delta = 0.9;

Trajectory Following The trajectory is defined so that it will not produce shock while moving because of discontinuity. Quintic polynomial: q0= a0+ a1* t+ a2* t + a3* t + a3* t + a5* t where : q0 = start position qf = final position v0 = start velocity fv = final velociy α0 = start acceleration α f = final acceleration 2 3 4 5

Quintic polynomial trajectory for position, velocity and acceleration

Trajectory Following Response K = 80; Lambda = 10; delta = 0.9;

Error

Simulation Using LabView Trajectory Generator

Simulation Using LabView SMC controller plant

Step Response

Trajectory Response

Implementation Implementation in NI Real Time can be done by replacing the runge kutta ODE solver and array composition with the real motor which is the SERVO Motor The feedback of the motor must be available (encoder)

Problems and Discussion Real time clock generation > Sampling time Motor parameters The feedback of the system are: Position Velocity Acceleration *) In the simulation when acceleration feedback was defined as 0, the error is still small Integral sliding mode control s t d n 1 ( λ) θ, choosing n=4 and θ θ θd is tracking error dt 0 = + =