ECE 5670/ Lab 5. Closed-Loop Control of a Stepper Motor. Objectives

Similar documents
ECE 5670/ Lab 6. Parameter Estimation of a Brushless DC Motor. Objectives

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

ECE 5670/6670 Lab 7 Brushless DC Motor Control with 6-Step Commutation. Objectives

MEM01: DC-Motor Servomechanism

Digital Control Lab Exp#8: PID CONTROLLER

User Guide IRMCS3041 System Overview/Guide. Aengus Murray. Table of Contents. Introduction

Modelling and Simulation of a DC Motor Drive

MAE106 Laboratory Exercises Lab # 5 - PD Control of DC motor position

User Guide Introduction. IRMCS3043 System Overview/Guide. International Rectifier s imotion Team. Table of Contents

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

Bahram Amin. Induction Motors. Analysis and Torque Control. With 41 Figures and 50 diagrams (simulation plots) Springer

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Comparative Study of PID and Fuzzy Controllers for Speed Control of DC Motor

is the angular velocity (speed) and friction in rotor of motor is very small (can be neglected) so Bm = 0.

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

ECE 5671/6671 LAB 6. Wound-Field Synchronous Generators

2014 Texas Instruments Motor Control Training Series. -V th. Dave Wilson

Fundamentals of Servo Motion Control

Upgrading from Stepper to Servo

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Laboratory Tutorial#1

Simulink Based Model for Analysing the Ziegler Nichols Tuning Algorithm as applied on Speed Control of DC Motor

PID Control with Derivative Filtering and Integral Anti-Windup for a DC Servo

DC SERVO MOTOR CONTROL SYSTEM

Lab 23 Microcomputer-Based Motor Controller

Modeling Position Tracking System with Stepper Motor

Lab 2: Quanser Hardware and Proportional Control

Optimal Control System Design

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Pan-Tilt Signature System

Equipment and materials from stockroom:! DC Permanent-magnet Motor (If you can, get the same motor you used last time.)! Dual Power Amp!

Step vs. Servo Selecting the Best

Introduction to MS150

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

EE 410/510: Electromechanical Systems Chapter 5

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

CHAPTER-III MODELING AND IMPLEMENTATION OF PMBLDC MOTOR DRIVE

7 Lab: Motor control for orientation and angular speed

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

Motomatic Servo Control

DMCode-MS(BL) MATLAB Library

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

ANALYSIS OF V/f CONTROL OF INDUCTION MOTOR USING CONVENTIONAL CONTROLLERS AND FUZZY LOGIC CONTROLLER

Introduction to BLDC Motor Control Using Freescale MCU. Tom Wang Segment Biz. Dev. Manager Avnet Electronics Marketing Asia

Brett Browning and. Spring 2011

A Fuzzy Sliding Mode Controller for a Field-Oriented Induction Motor Drive

Example Data for Electric Drives Experiment 6. Analysis and Control of a Permanent Magnet AC (PMAC) Motor

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

Sensors and Sensing Motors, Encoders and Motor Control

Open Loop Frequency Response

Position Control of DC Motor by Compensating Strategies

Motor Modeling and Position Control Lab 3 MAE 334

SPEED CONTROL OF BRUSHLESS DC MOTOR USING FUZZY BASED CONTROLLERS

Control System Circuits with Opamps

THE UNIVERSITY OF BRITISH COLUMBIA. Department of Electrical and Computer Engineering. EECE 365: Applied Electronics and Electromechanics

Closed Loop Magnetic Levitation Control of a Rotary Inductrack System. Senior Project Proposal. Students: Austin Collins Corey West

2014 Texas Instruments Motor Control Training Series. -V th. Dave Wilson

The DC Machine Laboration 3

Software Operational Manual

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Experiment 3. Performance of an induction motor drive under V/f and rotor flux oriented controllers.

Phys Lecture 5. Motors

Modeling & Simulation of PMSM Drives with Fuzzy Logic Controller

PMSM Servo-Drive Fed by SiC MOSFETs Based VSI

4. Simulation Results

CHAPTER 3 EQUIVALENT CIRCUIT AND TWO AXIS MODEL OF DOUBLE WINDING INDUCTION MOTOR

Penn State Erie, The Behrend College School of Engineering

AC : A STUDENT-ORIENTED CONTROL LABORATORY US- ING PROGRAM CC

Embedded Control Project -Iterative learning control for

Lecture 5 Introduction to control

Hands-on Lab. PID Closed-Loop Control

Cantonment, Dhaka-1216, BANGLADESH

An Introduction to Proportional- Integral-Derivative (PID) Controllers

MATLAB/SIMULINK MODEL OF FIELD ORIENTED CONTROL OF PMSM DRIVE USING SPACE VECTORS

Single Phase Permanent Magnet Low Speed Synchronous Motor

CHOPPER FED CURRENT CONTROLLED DC MOTOR DRIVE USING PID CONTROLLER WITHOUT SENSOR

MODELING AND SIMULATION OF DISCONTINUOUS CURRENT MODE INVERTER FED PERMANENT MAGNET SYNCHRONOUS MOTOR DRIVE

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

Implementation of discretized vector control strategies for induction machines

Tech Note #3: Setting up a Servo Axis For Closed Loop Position Control Application note by Tim McIntosh September 10, 2001

Sinusoidal Control of a Single Phase Special Topology SRM, Without Rotor Position Sensor

Speed Control of DC Motor Using Fuzzy Logic Application

University of California, Berkeley EE128, Fall Lab 7 A Microcontroller Based Position/Speed Controller

ECE 2274 MOSFET Voltmeter. Richard Cooper

Speed control of Permanent Magnet Synchronous Motor using Power Reaching Law based Sliding Mode Controller

CSMIO/IP-A motion controller and Mach4

Chapter 10 Digital PID

Engineering Reference

A Comparative Study on Speed Control of D.C. Motor using Intelligence Techniques

EE 560 Electric Machines and Drives. Autumn 2014 Final Project. Contents

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

Datasheet of the Easy Servo Drive ES-D VDC, 8.0A Peak, Closed-loop, No Tuning

Stepper Motors WE CREATE MOTION

DC Motor Speed Control for a Plant Based On PID Controller

International Journal of Innovations in Engineering and Science

Application Note #2442

ECE 5671/6671 Lab 3. Impedance Measurement and Parameter Estimation of a DC Motor

Transcription:

1. Introduction ECE 5670/6670 - Lab 5 Closed-Loop Control of a Stepper Motor Objectives The objective of this lab is to develop and test a closed-loop control algorithm for a stepper motor. First, field weakening is combined with a DQ transformation to maximize the achievable speed and to guarantee synchronism of the motor. Then, a PID control law is implemented for position control. The DQ transformation is given by with inverse transformation In the DQ coordinates, the stepper motor model is =cos +sin = sin +cos (1) =cos sin =sin +cos (2) = + = = = (3) where, vd and vq (V) are the DQ voltages, id and iq (A) are the DQ currents, ω (rad/s) is the angular velocity of the motor, and θ (rad) is the angular position. The parameters of the motor are: R (Ω) the resistance of each of the phase windings, L (H) the inductance of each of the phase windings, K (N. m/ A or V. s) the torque constant, also called the back-emf constant, J (kg. m 2 ) the rotor inertia,

(N. m) the load & friction torque, np the number of the pole pairs In steady-state operation, one has that 1 = 4 At low speeds, it is reasonable to set vd = 0, resulting in iq = vq/r. At high speeds, however, the current iq rapidly decreases for a given voltage because of inductive effects and because of the back-emf (Kω). The speed at which inductive effects become significant is approximately a decade below ω = R /(npl). It is usually low for stepper motors, because of their large inductance and number of steps. In order to increase the torque available, the current iq may be maximized for a bounded amplifier voltage by setting a current id equal to or, for the voltages 2. Experiments You will need: = () + 5 6 Stepper motor, Standalone encoder, Dual power amplifier, Encoder cable A metal frame to mount the motors on, with a box of screws and a screwdriver. 2.1 Preliminary Testing In this lab, you will modify the Simulink files of Lab 4. Set the system as for the DQ experiment of Lab 4 and test by applying a voltage vq through the layout. Remember that you may have to swap the phases so that a positive direction results from a sequence AB of voltages. Also, the encoder should be reset before every experiment.

2.2 Field Weakening Modify the Simulink file to implement field weakening. Given an input v, the voltages vd and vq should now be given by 7 instead of vd =0 and vq=v. If correctly coded and wired, the motor should run very smoothly and should run with 10 volts applied, but may already start with 5V. Once the program is debugged, perform the following experiments: Apply steps of voltage v = 5V, 10V, 15V, 20V, and 25V. Plot velocity vs. time and steady-state velocity vs. voltage. Observe that the response of the system from v to ω is approximately linear. Also observe that the maximum speed reached is much higher than without field weakening. Compare the maximum speed reached to that obtained with open-loop stepping and open-loop DQ control in Lab 4. Apply a step of voltage equal to 25V. Considering that the response of the motor is approximately that of a first-order system, estimate its gain and time constant. Save a copy of your.mdl under a different name, and include your field weakening code in your lab report. 2.3 Closed-loop DQ Control Modify the program to implement the same PIDF control as you implemented for the DC motor in Lab 3, but this time using the variable v as a control input. Use the previous procedure to tune the parameters: first look for a good value of kd, then adjust kp and ki using the formulas resulting from the principle of the symmetric optimum. Set kf = 0.5. Subsequent fine-tuning of the parameters may be useful but possibly not necessary. After implementing the PIDF control law, add anti-windup for the integrator.

Helpful tips: When using the previous procedure to tune the PIDF, set kp = 25, ki =0, and tune by trial and error for a good value of kd (should be less than one). You don t need to match the position with the reference input. Once you have a good kd, look at the velocity response to a voltage step input (using field weakening mode). Similar to Lab 4, you can look at the transient velocity response and obtain a time constant. With this value, a value for the parameter a can be deduced. Next, look at the gain of the system, i.e.,. The gain is equal to, and the symmetric optimum method can be applied from Lab 3 to give = ( ) and = ( ) Once you have good gains for the system, capture and plot position vs. time for + and - 90 degree steps, and for a 3600 degree step ensure that the response to the small steps is fast and accurate, and that your anti-windup is working (the response should not overshoot on the 3600 degree step). Then, increase the reference input slowly by 1 degree from 0 to 8 degrees over 10 seconds to see the response to very small changes in position, and plot position data. Note that a full step for a two-phase stepper motor with 12 pole pairs is 7.5 degrees, so that a step of 1 degree is a micro step. In other words, a resolution smaller than the natural stepping angle is achieved.

Requirements for Full Credit: The list below is a reference for your benefit. Be sure to include comments and explanations for all work performed and results observed/produced. Introduction with stated objectives. Include code/screenshots from the.mdl (every time a change is made throughout the lab). Plot of velocity vs. time for multiple steps of voltage. Plot of the steady-state velocity for multiple steps of voltage. Plot of the speed for a large step (25 V) of voltage and estimates of the gain and of the time constant. Value of the derivative gain and calculation of the kp and ki gain values with explanation. Plots of the position for 90 degree moves, 3600 degree moves, and micro-steps. Conclusion with reference to stated objectives. Describe what worked well and did not work well in this lab, and make suggestions for possible improvements. *Be sure to LABEL the axes of all your plots and to include UNITS on all of your values. Comments should also always accompany any plot.