EE 461 Experiment #1 Digital Control of DC Servomotor

Similar documents
SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

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

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

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

Lab 2: Introduction to Real Time Workshop

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

Outline. Digital Control. Lecture 3

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

Ver. 4/5/2002, 1:11 PM 1

Lab 2: Quanser Hardware and Proportional Control

EE 370/L Feedback and Control Systems Lab Section Post-Lab Report. EE 370L Feedback and Control Systems Lab

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

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

EE443L Lab 8: Ball & Beam Control Experiment

Observer-based Engine Cooling Control System (OBCOOL) Project Proposal. Students: Andrew Fouts & Kurtis Liggett. Advisor: Dr.

Design of Compensator for Dynamical System

GE 320: Introduction to Control Systems

Engine Control Workstation Using Simulink / DSP. Platform. Mark Bright, Mike Donaldson. Advisor: Dr. Dempsey

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Experiment 9. PID Controller

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Motomatic Servo Control

Ch 5 Hardware Components for Automation

Penn State Erie, The Behrend College School of Engineering

MEM01: DC-Motor Servomechanism

Digital Control Lab Exp#8: PID CONTROLLER

Figure 1.1: Quanser Driving Simulator

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

2.737 Mechatronics Laboratory Assignment 1: Servomotor Control

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

Frequency Response Analysis and Design Tutorial

Compensation of a position servo

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

Students: Andrew Fouts Kurtis Liggett. Advisor: Dr. Dempsey

Lab 1: Simulating Control Systems with Simulink and MATLAB

Position Control of DC Motor by Compensating Strategies

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Motor Modeling and Position Control Lab 3 MAE 334

By Vishal Kumar. Project Advisor: Dr. Gary L. Dempsey

Hands-on Lab. PID Closed-Loop Control

UNIT 2: DC MOTOR POSITION CONTROL

CHAPTER 4 FUZZY LOGIC CONTROLLER

EE 482 : CONTROL SYSTEMS Lab Manual

SKEE 3732 BASIC CONTROL LABORATORY (Experiment 2) ANGULAR POSITION CONTROL

7 Lab: Motor control for orientation and angular speed

A Case Study of Rotating Sonar Sensor Application in Unmanned Automated Guided Vehicle

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

TigreSAT 2010 &2011 June Monthly Report

即時控制系統設計 Design of Real-Time Control Systems

Pan-Tilt Signature System

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

Ball and Beam. Workbook BB01. Student Version

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

Optimal Control System Design

FPGA Implementation of a PID Controller with DC Motor Application

Elmo HARmonica Hands-on Tuning Guide

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

MODEL BASED DESIGN OF PID CONTROLLER FOR BLDC MOTOR WITH IMPLEMENTATION OF EMBEDDED ARDUINO MEGA CONTROLLER

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

DC motor control using arduino

5 Lab 5: Position Control Systems - Week 2

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

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

Servo Tuning Tutorial

Digital Control of MS-150 Modular Position Servo System

Ball Balancing on a Beam

Lecture 2 Exercise 1a. Lecture 2 Exercise 1b

CHASSIS DYNAMOMETER TORQUE CONTROL SYSTEM DESIGN BY DIRECT INVERSE COMPENSATION. C.Matthews, P.Dickinson, A.T.Shenton

SRV02-Series. Rotary Servo Plant. User Manual

Modeling and System Identification for a DC Servo

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

Project Advisor: Dr. Gary L. Dempsey

ME451: Control Systems. Course roadmap

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Implementation of Proportional and Derivative Controller in a Ball and Beam System

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

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

ECE317 : Feedback and Control

Phys Lecture 5. Motors

MTHE 332/393 Lab Manual

Development of Fuzzy Logic Controller for Quanser Bench-Top Helicopter

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

Rectilinear System. Introduction. Hardware

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Design and Implementation of Fractional order controllers for DC Motor Position servo system

Cantonment, Dhaka-1216, BANGLADESH

HILINK REAL-TIME HARDWARE-IN-THE-LOOP CONTROL PLATFORM FOR MATLAB/SIMULINK

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

Robot Assessment Report

The Embedded System. - Development and analysis of an Embedded DC-motor controller - by Embedded System Team

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

Development of a Fuzzy Logic Controller for Industrial Conveyor Systems

Figure C-1 (p. 907) MATLAB window showing how to access Simulink. The Simulink Library Browser button is shown circled.

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

Transcription:

EE 461 Experiment #1 Digital Control of DC Servomotor 1 Objectives The objective of this lab is to introduce to the students the design and implementation of digital control. The digital control is implemented on a lab-scale DC Servomotor in the control systems laboratory. The performance of the resulted digital control system is compared with the continuous-time control system performance. The effect of sampling period T s (or sampling frequency f s = 1 T s ) is studied. When doing the lab, the software packages MATLAB with Control Systems Toolbox, and the Simulink are used for the analysis and design of control systems. 2 Introduction An important approach to digital controller (filter) design is to start with a well-designed analog controller. The digital controller C(z) is then implemented by discretizing the continuoustime controller C(s). This design method is also called design by emulation, which is widely used by control engineers in practice. It is known that for a properly chosen sampling period, this method can provide a useful digital controller with satisfactory performance. In this lab, students are asked to implement the digital controllers, obtained by discretizing a pre-specified analog controller using some common discretization methods. The effect of sampling frequency is also studied by comparing different system responses with respect to f s. In the last part of the experiment, the students are asked to implement a digital controller designed directly for the discrete-time dc-motor model, and the system response is obtained for comparison purpose. 1

3 Preparation Before the lab begins, students are required to read and understand the lab preliminary for the hardware and software description. In addition, it is recommended that the students complete the following pre-lab work. The Quanser dc-servomotor in the control systems laboratory has the following model (with a low gear ratio and in the load free case): P(s) = 20020. The analog control system can s(s+42) be implemented by using a continuous-time controller C(s): Figure 1: Analog Control System for a DC-Motor In this lab, the analog controller is given as a lead compensator C(s) = 0.08s+0.08 s+3, which can generate a satisfactory transient and steady-state performance of the system step response. By discretizing C(s), one can implement a digital control system: Figure 2: Digital Control System for a DC-Motor 1. With the sampling interval chosen as T s = 0.001, and T s = 0.01, use the Bilinear transformation (Tustin s method) to obtain the discrete-time models of C(s), denoted by C 1 (z) and C 2 (z), respectively. This can be done by using c2d command in Matlab. Record down C(s), C 1 (z), and C 2 (z), and they will be used in the following experiment procedure. 2

4 Experiment Procedure 1. Check and understand the wiring between the dc-motor, power module(upm) and the computer. 2. Start the MATLAB, and Simulink. It can be noticed that a Quanser toolbox is installed in the Simulink, and it contains the blocks to interface with the real system setup. 4.1 Part 1. Implementation of Analog Control 3. Build a simulink model (use Simulink and Quanser toolbox) to implement the analog control system in Figure 1, with C(s) given there. The motor shaft Encoder is used to measure the angular position, and a calibration gain of -360/4096 needs to be added to the encoder to convert the angular signal to degree. The reference input is set to a step signal of 30 degrees. 4. Compile your program by going to WinCon in the manual bar and clicking Build, a WinCon interface window will then appear if there is no error in your simulink model. Remember to adjust your motor shaft to zero position before start running the system every time. You can also select scopes to monitor the signals in real-time. For example, choose scopes to monitor the angular position Θ(t) and the control signal u(t) 5. Run the system by clicking Start, after 6 seconds (it can be seen from the scope), stop the program by clicking Stop and save the data for later analysis. Another way to stop the program is to add the following timer in your Simulink model, which allows the simulation to stop automatically. Figure 3: Timer 3

4.2 Part 2. Implementation of Digital Control by Emulation 6. Implement the digital control system in Figure 2. Set the sampling time as T s = 0.001 sec., then replace the analog controller in your Simulink model by the discretized one C 1 (z). Remember to set the same sampling time in the input block, and in the Simulation > Parameters... (change simulation method to discrete, and set the fixed step size as same as T s ). 7. Repeat steps (4) and (5), and save the data 8. Set T s = 0.01 sec., implement C 2 (z). Repeat steps (6) and (7) 4.3 Part 3. Digital Control by Direct Design In the following steps, we are going to implement a digital controller directly designed based on the discretized plant (i.e. the ZOH equivalent model of P(s)), rather than discretizing an analog controller. This method is referred to as direct design method. 9. By setting T s = 0.01 sec., a discrete-time compensator of the form C 3 (z) = K( z 0.657 z 0.35 ) is chosen. Implement C 3 (z) in your model, and repeat the steps (4) and (5). Observe the system response and save the data. Note: The gain K in C 3 (z), can be tuned to get a good performance. ( Warning: the system is very sensitive to the selection of K, too large K may result in instability, a suitable rang is [0.2, 0.05]), a suitable choice is K = 0.12) 10. When changing the sampling interval to T s = 0.1 (a rather slow sampling), one has to re-design the discrete-time compensator, it is chosen as C 4 (z) = 0.04( z 0.6 ). Implement C 4 (z), and observe the system z 0.35 response. Caution: during the experiment, the motor may run without control, such as turning extremely fast and making unpleasant noises, in these cases, stop the program immediately, and ask for assistance. 5 Analysis and Discussion Finally, after all the trials, load the data into Matlab and plot the time responses of the dcmotor angular position. Evaluate the performance by calculating the percent of overshoot (P.O.), settling time (T s, and steady-state error e ss. It is recommended to plot the reference input signal and the output signals that you want to compare in the same graph. 4

1. Compare the step responses of the dc-motor using the discretized controller C 1 (z), and C 2 (z) with that of analog controller C(s), in terms of P.O., T s, and e ss. What can you observe? 2. How does the sampling time affect the system responses in the experiment in Part 2? 3. Compare the system response by using C 3 (z) in Part 3, step (9), with the system response using C 2 (z) in step (8), what can you say about the performance of these two digital controllers? (remember that they are obtained by emulation and direct design ) 4. From all above procedures when trying different sampling intervals, make a discussion on the effects of sampling time to the system performance. 6 Lab Report Individual reports are required although the students may work in groups. should contain: The reports The pre-lab work A brief introduction of the experiment. Printouts of Simulink models, and all the plots. Your discussions by answering the question in section 5. Any conclusions you would like to draw. The lab report is due by 4pm on Feb. 14, 2011 for section H3 and 4pm on Feb. 28, 2011 for section H4. Please drop your report into the box assigned to EE461 LAB outside the main office at 2nd floor ECERF. 5