TCS3 SERVO SYSTEM: Proposed Design

Similar documents
TCS3 Servo System Design: Software

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

Fundamentals of Servo Motion Control

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

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

A Machine Tool Controller using Cascaded Servo Loops and Multiple Feedback Sensors per Axis

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

Position Control of DC Motor by Compensating Strategies

Servo Tuning Tutorial

Table of Contents. Tuning Ultrasonic Ceramic Motors with Accelera-Series Motion Controller. Sept-17. Application Note # 5426

Introduction to Servo Control & PID Tuning

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

Basic Tuning for the SERVOSTAR 400/600

Filename: T Servo_Tuning_and_PMAC_conf Last Edit:11/22/2011 Page: 1 of 9 Project: TCS3 Control System Upgrade

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

Control Systems of the Large Millimeter Telescope

Application Note #5426

Application Note #2442

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

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

Loop Design. Chapter Introduction

MEM01: DC-Motor Servomechanism

The Air Bearing Throughput Edge By Kevin McCarthy, Chief Technology Officer

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

EVALUATION ALGORITHM- BASED ON PID CONTROLLER DESIGN FOR THE UNSTABLE SYSTEMS

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

Servo Closed Loop Speed Control Transient Characteristics and Disturbances

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

Embedded Control Project -Iterative learning control for

3Configuration CHAPTER THREE IN THIS CHAPTER. Configuration Tuning Procedures. Chapter 3 Configuration 23

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

Advanced Motion Control Optimizes Laser Micro-Drilling

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

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

QuickBuilder PID Reference

MMTO Internal Technical Memorandum #03-5

Introduction. Example. Table of Contents

Load Observer and Tuning Basics

G320X MANUAL DC BRUSH SERVO MOTOR DRIVE

EE 308 Spring Preparation for Final Lab Project Simple Motor Control. Motor Control

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

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

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion


Advanced Servo Tuning

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

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

CHAPTER 3 WAVELET TRANSFORM BASED CONTROLLER FOR INDUCTION MOTOR DRIVES

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

Hands-on Lab. PID Closed-Loop Control

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

CDS 101/110: Lecture 8.2 PID Control

INTERFACING MAIN AXIS ENCODERS TO THE CONTROL SYSTEM OF THE GEMINI 8M TELESCOPES

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

PID-CONTROL FUNCTION AND APPLICATION

Rectilinear System. Introduction. Hardware

TigreSAT 2010 &2011 June Monthly Report

MASTER/SLAVE TENSION CONTROL

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

Procidia Control Solutions Dead Time Compensation

Latest Control Technology in Inverters and Servo Systems

A Searching Analyses for Best PID Tuning Method for CNC Servo Drive

EC CONTROL SYSTEMS ENGINEERING

Laboratory PID Tuning Based On Frequency Response Analysis. 2. be able to evaluate system performance for empirical tuning method;

Feedback Devices. By John Mazurkiewicz. Baldor Electric

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

SERVOSTAR Position Feedback Resolution and Noise

Introduction to PID Control

Motor Modeling and Position Control Lab 3 MAE 334

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

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

Fig m Telescope

MTY (81)

High-Bandwidth Force Control

FPGA Implementation of a PID Controller with DC Motor Application

Digital Control of MS-150 Modular Position Servo System

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

PID-control and open-loop control

Step vs. Servo Selecting the Best

1. To study the influence of the gain on the transient response of a position servo. 2. To study the effect of velocity feedback.

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

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

This manual describes the option "i" of the SMT-BD1 amplifier: Tension control of winding / unwinding systems.

SRVODRV REV7 INSTALLATION NOTES

Minimizing Input Filter Requirements In Military Power Supply Designs

dspace DS1103 Control Workstation Tutorial and DC Motor Speed Control Project Report

Figure 1.1: Quanser Driving Simulator

DISCRETE DIFFERENTIAL AMPLIFIER

Practical Testing Techniques For Modern Control Loops

INTEGRATED CIRCUITS. AN1221 Switched-mode drives for DC motors. Author: Lester J. Hadley, Jr.

New Technique Accurately Measures Low-Frequency Distortion To <-130 dbc Levels by Xavier Ramus, Applications Engineer, Texas Instruments Incorporated

Experiment 9. PID Controller

ECE411 - Laboratory Exercise #1

elevation drive. The best performance of the system is currently characterized by 3 00 steps.

Design of Compensator for Dynamical System

5 Lab 5: Position Control Systems - Week 2

Motomatic Servo Control

Different Controller Terms

KECK TELESCOPE CONTROL SYSTEM UPGRADE

Transcription:

UNIVERSITY OF HAWAII INSTITUTE FOR ASTRONOMY 2680 Woodlawn Dr. Honolulu, HI 96822 NASA Infrared Telescope Facility TCS3 SERVO SYSTEM: Proposed Design.......... Fred Keske June 7, 2004 Version 1.2

1 INTRODUCTION... 5 1.1 MODELING PACKAGE... 5 1.2 MODELING PROGRESSION... 5 2 BASELINE COMPARISON TESTS... 5 2.1 OFFSET... 5 2.2 TRACK... 6 3 SYSTEM SIMULATIONS... 6 3.1 JPL SYSTEM... 6 3.1.1 MODEL OVERVIEW... 6 3.1.2 SIMULATIONS... 6 3.2 PRESENT SYSTEM... 8 3.2.1 MODEL OVERVIEW... 8 3.2.2 SIMULATIONS... 10 3.2.3 BODE PLOTS... 14 3.2.4 FREQUENCY SWEEP... 17 3.3 PROPOSED SYSTEM... 18 3.3.1 MODEL OVERVIEW... 18 3.3.2 SIMULATIONS... 21 3.3.3 BODE PLOTS... 32 3.3.4 FREQUENCY SWEEP... 35 4 SERVO DATA FROM THE PRESENT SYSTEM... 37 4.1 TRACKING... 37 4.1.1 HA... 37 4.1.2 DEC... 39 4.2 OFFSET...41 4.3 SLEW... 43 4.4 EXTERNAL DISTURBANCE... 44 4.5 VELOCITY LOOP TESTS... 45 5 ENCODER RESOLUTION... 47 6 SUMMARY... 49 2

6.1 RESOLUTION REQUIREMENTS... 49 6.2 ENCODER RESOLUTION... 49 6.3 TACHOMETER CONFIGURATION... 49 6.4 PID PARAMETER VALUES... 50 6.5 WIND LOADING... 50 7 REFERENCES...50 3

FIGURE 1 JPL MODEL... 6 FIGURE 2 JPL STEP... 7 FIGURE 3 JPL TRACK... 8 FIGURE 4 PRESENT SYSTEM... 10 FIGURE 5 PRESENT TACHOMETER BLOCK... 10 FIGURE 6 PRESENT STEP... 12 FIGURE 7 PRESENT TRACK WITHOUT WIND... 13 FIGURE 8 PRESENT TRACK WITH WIND... 14 FIGURE 9 PRESENT SYSTEM RESPONSE TESTING... 15 FIGURE 10 PRESENT OPEN LOOP RESPONSE... 16 FIGURE 11 PRESENT CLOSED LOOP RESPONSE... 17 FIGURE 12 PRESENT SYSTEM IN SWEEP TESTING MODE... 17 FIGURE 13 PRESENT SYSTEM SWEEP PLOT... 18 FIGURE 14 PROPOSED SYSTEM... 20 FIGURE 15PROPOSED TACHOMETER BLOCK... 20 FIGURE 16 PROPOSED STEP 8P, 2.1I... 21 FIGURE 17 PROPOSED STEP 35P, 2.8I... 22 FIGURE 18 PROPOSED STEP 50P, 2.8I... 23 FIGURE 19 PROPOSED STEP 100P, 2.8I... 24 FIGURE 20 PROPOSED TRACK WITH WIND 8P, 2.1I... 25 FIGURE 21 PROPOSED TRACK WITH WIND 35P, 2.8I... 26 FIGURE 22 PROPOSED TRACK WITH WIND 50P, 2.8I... 27 FIGURE 23 PROPOSED TRACK WITH WIND 100P, 2.8I... 28 FIGURE 24 PROPOSED 15 ARCSEC/SEC POSITIVE TRACK WITHOUT WIND 50P, 2.8I... 29 FIGURE 25 PROPOSED 15 ARCSEC/SEC NEGATIVE TRACK WITHOUT WIND 50P, 2.8I... 30 FIGURE 26 PROPOSED 30 ARCSEC/SEC POSITIVE TRACK WITHOUT WIND 50P, 2.8I... 31 FIGURE 27 PROPOSED NEGATIVE TRACK WITHOUT HIGHER FREQUENCY VELOCITY COMPENSATION... 32 FIGURE 28 PROPOSED SYSTEM RESPONSE TESTING... 33 FIGURE 29 PROPOSED OPEN LOOP RESPONSE... 34 FIGURE 30 PROPOSED CLOSED LOOP RESPONSE... 35 FIGURE 31 PROPOSED SYSTEM IN SWEEP TESTING MODE... 36 FIGURE 32 PROPOSED SYSTEM SWEEP PLOT... 37 FIGURE 33 TRACK OFF... 38 FIGURE 34 HA TRACK 15...38 FIGURE 35 WEST TRACK 30... 39 FIGURE 36 DEC TRACK OFF... 40 FIGURE 37 DEC TRACK 15... 40 FIGURE 38 HA 600 ARCSEC OFFSET... 42 FIGURE 39 HA 1200 ARCSEC OFFSET... 42 FIGURE 40 DEC 1200 ARCSEC OFFSET... 43 FIGURE 41 HA SLEW... 44 FIGURE 42 DEC SLEW... 44 FIGURE 43 EXTERNAL DISTURBANCE... 45 FIGURE 44 VELOCITY LOOP DISABLED... 46 FIGURE 45 BANDPASS DISTURBANCE REJECTION CIRCUIT DISABLED... 47 FIGURE 47 ENCODER RESOLUTION VERSUS SYSTEM RESOLUTION CHART... 49 TABLE 1 ENCODER RESOLUTION VERSUS SYSTEM RESOLUTION... 48 4

1 Introduction Due to a number of unknowns concerning the operation of the control servo potion of the TSC3 design, it was determined that the best course of action would be to model and simulate the proposed servo for the new TCS. The areas of concern were: Meeting the overall resolution requirements. Determining the encoder resolution needed to meet the overall resolution requirement. Determining the tachometer configuration needed to meet the resolution requirement and to provide the necessary loop stability. Coming up with a set of PID values that will hopefully be close to the final values used on the actual telescope or at minimum would be used as a good starting point for the PID tuning. A platform to test the effects of wind loading. 1.1 Modeling Package Originally the modeling package chosen was ModelQ which is produced specifically for simulating servo systems. Unfortunately, the ModelQ package doesn t have the capability to model complex mechanical systems. It was then decided that we would use the Matlab/Simulink package which has much more capabilities than the ModelQ software. 1.2 Modeling Progression The method in which this project was approached was to firstly digest the original JPL dynamic analysis document (see reference 1) and extract the information to build the mechanical model (see reference 2), and also extract some encoder and tachometer gain information. Then we built the simple one motor JPL model in Matlab/Simulink and tested it to make sure it made sense. The two-motor mechanical model with six degrees of freedom was then built along with the present servo system based on the telescope schematics (see reference 3 and 4). The simulation was compared to actual data from the telescope for validity. Finally, the proposed servo system was built in Simulink and simulated using the present servo system simulation results as a baseline. An additional disturbance input was added to the mechanical model for wind loading simulations. 2 Baseline Comparison Tests The servo system was simulated in two basic modes, offset and track. The two modes were used as baselines to compare systems and the variable parameters such as the PID values. When a parameter was changed, both of these tests needed to be run in succession to verify the effect on the system. 2.1 Offset The offset was simulated as a 10 arcsec step. A step function is a worst-case stress test for a control system, something that would probably not be experienced in actual operation. This test shows what the absolute worst case overshoot and settling time of a system would be. It was found the a 10 arcsec step would extrapolate out to any size step, the resulting overshoot and settling time minus the initial step time would be the same for any size step. Optimization of the settling time while limiting the amount of overshoot is the goal. Since we don t have a hard requirement for settling time, a self-imposed constraint of 2 seconds to be within 0.1 arcsec was the settling objective. 5

2.2 Track A rate of 15 arcsec/sec was used as the baseline track rate. An RMS meter block was used to compare the desired versus actual position to get the overall RMS error in arcsecs. The RMS meter was started after tracking had been running for one second to eliminate the initial startup error to prevent the meter from winding up too high. The error drops to a fairly constant rate after about 10 seconds of simulation time without wind disturbance. Therefore, 10 seconds of simulation time was use for the baseline comparison. The goal, of course, is to optimize the system to reduce the RMS error. Wind loading disturbance simulations were based on a wind spectra plot produced by Gemini for Mauna Kea (see reference 5) and from Tim s analysis (see reference 2). 3 System Simulations 3.1 JPL System 3.1.1 Model Overview The JPL model is shown below. It is a basic system that was meant to get a general idea as to how the telescope would be controlled. Gain10 Step1 Product Continuous RMS CRMS Gain8 Gain9 Mech Ramp -K- Gain7 Manual Switch c1 Gain a2 Gain2 1 s Integrator s+a l ph a s+b eta Transfer Fcn a1 Gain4 kk1 Gain5 position torque velocity mechanical_system Step m Gain6 u Abs c3 Gain3 c4 Gain1 Figure 1 JPL Model 3.1.2 Simulations Shown in the figures below are the results of a 10 arcsec step simulation and a 15 arcsec/sec tracking simulation for the JPL model. For the step function, the system settles out to 0.1 arcsecs in about 2.3 seconds though with quite a bit of overshoot. The tracking simulation has an RMS error of about 0.014 arcsecs which is good; however there are no digital components involved which mean there are no quantization errors to reduce the resolution. 6

Figure 2 JPL Step 7

3.2 Present System Figure 3 JPL Track 3.2.1 Model Overview This model is an expansion of the JPL model with all of the filter transfer functions and the digital quantization blocks added. Note the block labeled quantizer 1 is a point of contention. This block represents spreading of the 10 Hz update to the PEC. It is not known for certain what the spreading frequency actually is since it set by software and possibly may be based on the track rate. What we do have to go on is a hand written note and timing diagram on a schematic that indicated for a 15 arcsec/sec track rate, the spreading frequency is nearly 300Hz. Therefore for lack of any other information, a spreading frequency of 300Hz is used in the simulation of the present system. This actually provides a conservative simulation baseline when performing comparisons to the proposed system. The C3 and C4 gains were changed as outlined below from the original JPL document to represent values from the actual DAC, encoder, and tachometer resolutions used in the present system. 3.2.1.1 Calculation of C3 Gain The C3 gain in the model represents the sensitivity of the tachometer present in the velocity loop. It has been recalculated as follows for the present system: # Tachometers Volts/Radian/second Tach Ratio = 1 12 144 = 1728 Volt seconds/radian 8

The original JPL calculation combined both tachometers into the same equation in their simplified single velocity loop model, therefore the number of tachometers parameter is set to two for the JPL model. In the present system, we separate the two velocity loops since we are using a two-motor model, therefore we set the number of tachometers parameter to one for the present system model. 3.2.1.2 Calculation of C4 Gain The C4 gain in the model represents the sensitivity of the encoder present in the position loop. It has been recalculated as follows for the present system: DAC Voltage Output Range # DAC Bits 180 20 2 144,000 5035.9 Volt/Radian 2 π 14 = 180 Bits/encoder turn = 2π 9

produced disturbance (wind) N*m Subsystem c4 Gain7 DAC 1 0.162s Integrator Integrator Limit 0.875 470E-6s+1 Command Filter Fcn Rate Limit 1.2 Sum Gain Torque in Torque out Velocity in Tach Out Tach Loop 1 torque - a torque - b position velocity - a disturbance velocity - b 2 motor mechanical system 1.96 100E-6s+1 Forward Filter 0.84 Sum Gain1 90E-3s+1 3.5E-6s 2+8E-3s+1 Lead Compensator1 V elocity in Torque out Torque in Tach Out Tach Loop 2 0.488 42E-3s+1 Tach Sum Transfer Gain12 c4 Gain3 Encoder Gain4 Mech Gain5 -K- Ramp Quantizer1 Gain Manual Sw itch Gain10 Step Product Continuous RMS CRMS Step1 Figure 4 Present System 1 Torque in 3 660E-6s+1 Sum Filter Positive2 1.33 Gain kk1 Gain5 1 Torque out 0.35 Constant m Gain6 u Abs 2 Velocity in 450E-6s 2+99E-3s 59.4E-9s 3+121.7E-6s 2+48.7E-3s+1 High pass filter Fcn1 0.215 220E-6s+1 Input filter Fcn3 2 Tach Out c3 Gain4 Figure 5 Present Tachometer Block 3.2.2 Simulations Shown in the figures below are the results of a 10 arcsec step simulation, a 15 arcsec/sec tracking simulation without the wind disturbance, and a 15 arcsec/sec tracking simulation with the wind disturbance. For the step function we see that the system settles in about 2.25 seconds with an overshoot that matches closely with JPL simulation. The tracking simulation without the wind has an RMS error of 0.018 arcsecs and with the wind we have an RMS error of 0.16 arcsecs. 10

As can be seen in the simulations there is a fair amount of noise when compared to the JPL model. This is most likely due to the fact that mechanical model is the more realistic dual opposing motor version. 11

Figure 6 Present Step 12

Figure 7 Present Track without Wind 13

Figure 8 Present Track with Wind 3.2.3 Bode Plots The figure below shows the placement of the spectrum analyzer blocks used to create open and closed loop system response plots. 14

0 Constant c4 Gain7 DAC 1 0.162s Integrator Integrator Limit 0.875 470E-6s+1 Command Filter Fcn Rate Limit 1.2 Su m Gain Torque in Torque out Velocity in Tach Out Tach Loop 1 torque - a torque - b position velocity - a disturbance velocity - b 2 motor mechanical system 1.96 100E-6s+1 Forward Filter 0.84 Sum Gain1 90E-3s+1 3.5E-6s 2+8E-3s+1 Lead Compensator1 Velocity in Torque out Torque in Tach Out Tach Loop 2 Spectrum 0.488 Product2 Analyzer1 42E-3s+1 Step3 Tach Sum Transfer Gain2 Step2 Product1 Gain12 c4 Gain3 Encoder Gain4 Mech Gain1 Spectrum Analyzer2 Gain5 Gain10 Pulse Generator Product Continuous RMS CRMS Step1 Figure 9 Present System Response Testing 3.2.3.1 Open Loop Bode Plot The figure below shows an open loop Bode plot for the present system. Notice the phase at the 0db point (gain of 1) which is at approximately 9.5Hz. The phase margin at this point is approximately 20 which is usually considered too small of amount of margin. A margin of at least 35 is desirable. 15

Figure 10 Present Open Loop Response 3.2.3.2 Closed Loop Bode Plot The figure below shows the closed loop response of the system. The 3db point (0.707) is at approximately 115Hz with the phase shift around the -180 area which again shows the marginal stability of the system. 16

Figure 11 Present Closed Loop Response 3.2.4 Frequency Sweep The figure below shows the placement of the spectrum analyzer block and the chirp sweep block used to create the open loop frequency sweep plot. Averaging Spectrum Analyzer 0 Constant DAC 1 0.162s Integrator Integrator Limit 0.875 470E-6s+1 Command Filter Fcn Rate Limit 1.2 Sum Gain Torque in Torque out Velocity in Tach Out Tach Loop 1 torque - a torque - b position velocity - a disturbance velocity - b 2 motor mechanical system 0.1 Chirp Signal Sum Gain2 1.96 100E-6s+1 Forward Filter 0.84 Sum Gain1 90E-3s+1 3.5E-6s 2+8E-3s+1 Lead Compensator1 Velocity in Torque out Torque in Tach Out Tach Loop 2 0.488 42E-3s+1 Tach Sum Transfer Gain12 c4 Gain3 Encoder Gain4 Mech Gain5 Figure 12 Present System in Sweep Testing Mode The figure below shows the plot of the frequency sweep. The sweep was from 0.1Hz to 100Hz over 500 seconds. There is a slight amount of gain in the lower frequency range, 17

however above 1Hz, the gain is near unity. We do start to see some phase change above 100Hz, but once again it s minimal and outside the operating range of the system. 3.3 Proposed System Figure 13 Present System Sweep Plot 3.3.1 Model Overview The proposed system model is shown in the two figures below. The second figure is one of the tachometer blocks. The PID control section is based on the proposed DeltaTau PMAC motor controller. The motor velocity section is a modified version of the dual tachometer configuration used on the present system. The two tachometers (one for each motor) are summed together in which the signal is then routed into an ADC on the PMAC to be used for motor velocity. The resulting velocity output from the PMAC is summed with the high pass filter disturbance circuit that is identical to the present system. The C3 and C4 gains were changed as outlined below from the original JPL document to represent values from the actual DAC, encoder, and tachometer resolutions used in the proposed system. 3.3.1.1 Calculation of C3 Gain The C3 gain in the model represents the sensitivity of the tachometer present in the velocity loop. It has been recalculated from the JPL model as follows for the proposed system which is the same as for the present model and is repeated here: # Tachometers Volts/Radian/second Tach Ratio = 18

1 12 144 = 1728 Volt seconds/radian The original JPL calculation combined both tachometers into the same equation in their simplified single velocity loop model, therefore the number of tachometers parameter is set to two for the JPL model. In the present system, we separate the two velocity loops since we are using a two-motor model, therefore we set the number of tachometers parameter to one for the present system model. 3.3.1.2 Calculation of C4 Gain The C4 gain in the model represents the sensitivity of the encoder present in the position loop. It has been recalculated as follows for the proposed system: DAC Voltage Output Range # DAC Bits 180 20 2 144,000 1258.9 Volt/Radian 2 π 16 = 180 Bits/encoder turn = 2π produced disturbance (wind) N*m Subsystem c4 Gain7 DAC 1 0.162s Integrator Integrator Limit 0.875 470E-6s+1 Command Filter Fcn Rate Limit 1.2 Sum Gain Torque in Torque out Velocity in Tach Out Tach Loop 1 torque - a torque - b position velocity - a disturbance velocity - b 2 motor mechanical system 1.96 100E-6s+1 Forward Filter 0.84 Sum Gain1 90E-3s+1 3.5E-6s 2+8E-3s+1 Lead Compensator1 V elocity in Torque out Torque in Tach Out Tach Loop 2 0.488 42E-3s+1 Tach Sum Transfer Gain12 c4 Gain3 Encoder Gain4 Mech Gain5 -K- Ramp Quantizer1 Gain Manual Sw itch Gain10 Step Product Continuous RMS CRMS Step1 19

c4 Gain7 1 z Cycle Delay T z-1 Discrete-Time Integrator Ki Gain9 Kp Gain8 Positive 0.35 Constant1 DAC Signal Torque in Torque out V elocity in Tach Out Tach Loop 1 0 Constant2 torque - a position torque - b velocity - a disturbance velocity - b 2 motor mechanical system NCD OutPort 1 NCD_Outport1 z 2-2z+1 z 2 Kfa Discrete Transfer Fcn Gain2 Torque in Torque out z-1 z Discrete Transfer Fcn1 Kfv Gain6 Negative -0.35 Constant DAC1 Velocity in Tach Out Tach Loop 2 Kd Gain1 1 z Cycle Delay1 DAC2 0.488 42E-3s+1 Tach Sum Transfer Gain12 Encoder Gain4 Mech c4 Gain3 Gain5 -K- Ramp Gain Manual Switch Gain10 Step Product Continuous RMS CRMS Step1 Figure 14 Proposed System 1 Torque in 1 660E-6s+1 Sum Filter1 kk1 Gain5 1 Torque out m Gain6 u Abs 2 Velocity in 450E-6s 2+99E-3s 59.4E-9s 3+121.7E-6s 2+48.7E-3s+1 High pass filter Fcn1 0.215 220E-6s+1 Input filter Fcn3 2 Tach Out c3 Gain4 Figure 15Proposed Tachometer Block 20

3.3.2 Simulations The simulations for the proposed system were run at four different gain values for Proportional term with the Integral term set slightly lower with the lowest Proportional term. The optimal value for the Derivative which was found to be relatively consistent across all simulations is 0.65. 3.3.2.1 Step Function For the step, the optimal Proportional value is at the low end which was found to be a value of 8 with an Integral of 2.1. This is shown in the first figure. Figure 16 Proposed Step 8P, 2.1I The next figure shows the simulation run with the Proportional term increased to 35 and the Integral increased to 2.8. Notice the slight hump in the acceleration ramp. 21

Figure 17 Proposed Step 35P, 2.8I The following figure shows the simulation run with the Proportional term increased to 50. Notice there are now two humps in the acceleration ramp. 22

Figure 18 Proposed Step 50P, 2.8I The last figure shows the simulation run with the Proportional term increased to 100. Notice there is now a number of humps in the acceleration ramp. Also, notice there is damped oscillations in the torque and velocity charts. 23

Figure 19 Proposed Step 100P, 2.8I 3.3.2.2 Tracking with Wind Disturbance The first figure shows the tracking simulation run with a Proportional term set to 8. The RMS error is seen to be about 0.65 arcsecs. 24

Figure 20 Proposed Track with Wind 8P, 2.1I The next figure shows the tracking simulation run with a Proportional term set to 35. The RMS error is seen to be at 0.2 arcsecs. 25

Figure 21 Proposed Track with Wind 35P, 2.8I The next figure shows the tracking simulation run with a Proportional term set to 50. The RMS error is seen to be at 0.14 arcsecs. 26

Figure 22 Proposed Track with Wind 50P, 2.8I The next figure shows the tracking simulation run with a Proportional term set to 100. The RMS error is seen to be at 0.06 arcsecs. 27

Figure 23 Proposed Track with Wind 100P, 2.8I 3.3.2.3 Tracking with no Disturbance The following three figures show the system run with no wind disturbance with the Proportional term set to 50 and the Integral term set to 2.8. The first figure shows a positive track with an RMS error of 0.03 and the next one show a negative track with an RMS error of 0.25 and the last figure shows a track rate of 30 arcsecs/sec with an RMS error of 0.054. 28

Figure 24 Proposed 15 arcsec/sec Positive Track without Wind 50P, 2.8I 29

Figure 25 Proposed 15 arcsec/sec Negative Track without Wind 50P, 2.8I 30

Figure 26 Proposed 30 arcsec/sec Positive Track without Wind 50P, 2.8I 3.3.2.4 Tracking without Velocity High Frequency Noise Compensation The following figure shows the effect of the high frequency noise compensation circuit disabled. As can be seen in the figure, undamped noise is present in the torque and velocity axis. The system is still somewhat controllable; however, the RMS error is at 2.5 arcsecs. This event only occurs in the negative track direction within the model. The circuit used is actually a bandpass filter with the passband being from 8.6Hz to 34.4Hz. The same circuit is used on the present system. 31

Figure 27 Proposed Negative Track without Higher Frequency Velocity Compensation 3.3.3 Bode Plots The figure below shows the placement of the spectrum analyzer blocks used to create open and closed loop system response plots. 32

c4 Gain7 1 z Cycle Delay T z-1 Discrete-Time Integrator Ki Gain9 Kp Gain8 Positive 0.35 DAC Signal Torque in Torque out Velocity in Tach Out Tach Loop 1 torque - a torque - b position velocity - a Constant1 0 Constant2 disturbance velocity - b 2 motor mechanical system z 2-2z+1 z 2 Kfa Discrete Transfer Fcn Gain2 Torque in Torque out z-1 z Discrete Transfer Fcn1 Kfv Gain6 Negative -0.35 Constant DAC1 Velocity in Tach Out Tach Loop 2 Product2 Spectrum Analyzer1 Kd Gain1 1 z Cycle Delay1 DAC2 0.488 42E-3s+1 Tach Sum Transfer Step3 Gain12 Encoder c4 Gain11 Step2 Product1 Gain4 Mech Gain3 Spectrum Gain5 Gain13 Analyzer2 Gain10 Pulse Generator Product Continuous RMS CRMS Step1 Figure 28 Proposed System Response Testing 3.3.3.1 Open Loop Bode Plot The figure below shows an open loop Bode plot for the proposed system. Notice the phase at the 0db point (gain of 1) which is at approximately 9.5Hz. The phase margin is approximately 50 which is a decent amount of margin. 33

Figure 29 Proposed Open Loop Response 3.3.3.2 Closed Loop Bode Plot The figure below shows the closed loop response of the system. The 3db point (0.707) is approximately 125Hz with the phase shift around -125. 34

Figure 30 Proposed Closed Loop Response 3.3.4 Frequency Sweep The figure below shows the placement of the spectrum analyzer block and the chirp sweep block used to create the open loop frequency sweep plot. 35

Averaging Spectrum Analyzer 1 z Cycle Delay T z-1 Discrete-Time Integrator Ki Gain9 Chirp Signal Kp Gain8 0.1 Su m Gain2 Positive 0.35 Constant1 DAC Signal Torque in Torque out V elocity in Tach Out Tach Loop 1 0 Constant2 torque - a position torque - b velocity - a disturbance velocity - b 2 motor mechanical system NCD OutPort 1 NCD_Outport1 Torque in Torque out Negative -0.35 DAC1 Velocity in Tach Out Tach Loop 2 Constant Kd Gain1 1 z Cycle Delay1 DAC2 0.488 42E-3s+1 Tach Sum Transfer Gain12 Gain4 Mech c4 Gain3 Encoder Gain5 Figure 31 Proposed System in Sweep Testing Mode The figure below shows the plot of the frequency sweep. The sweep was from 0.1Hz to 100Hz over 500 seconds. Notice a small gain peak at 1.6 Hz and more importantly the phase dip to -160 at 375Hz. Fortunately, this is far above our operating range. 36

Figure 32 Proposed System Sweep Plot 4 Servo Data from the Present System 4.1 Tracking 4.1.1 HA Data was taken at the telescope with a DAS16/16 Data Acquisition system from Measurement Computing. See References 6 and 7 for more details on test setup and data result explanations. Unfortunately, these tests were taken without the benefit of the encoder since we don t have access to the digital signal, therefore we don t have positional feedback. However, in the case of the offset and slew, we can determine when we meet our setpoint by looking at the motor, error and tachometer signals. The three charts below show the HA axis in various tracking modes. The first chart shows the system maintaining position with the brakes off. The next two charts show the telescope in a 15 arcsec/sec track mode and a 30 arcsec/sec track mode respectfully. Notice the small amount of oscillation on the tachometer feedbacks. With the higher track rate this oscillation is even more pronounced. This is indicative of a control system that may be somewhat out of tune. 37

Figure 33 Track Off Figure 34 HA Track 15 38

Figure 35 West Track 30 4.1.2 Dec The two charts below show the Dec axis in two tracking modes. The first chart shows the system maintaining position with the brakes off. The next chart shows the telescope in a 15 arcsec/sec track mode. Notice the small amount of oscillation on the tachometer feedbacks. Once again, this is indicative of a control system that may be somewhat out of tune 39

Figure 36 Dec Track Off Figure 37 Dec Track 15 40

4.2 Offset The following three charts show the results of performing a 600 and 1200 arcsec offset. Notice in all three charts the velocity comes down to 0 in the middle of the offset and then starts up again to finish the move indicating a problem with the system. There seems to be a fair amount of overshoot with a settling time in the neighborhood of 1.5 to 2 seconds. 41

Figure 38 HA 600 arcsec Offset Figure 39 HA 1200 arcsec Offset 42

Figure 40 Dec 1200 arcsec Offset 4.3 Slew The following two chart show a slew operation for the HA and Dec axis. As with the offset, there seems to be a fair amount of overshoot with a settling time in the neighborhood of 1.5 to 2 seconds 43

Figure 41 HA Slew Figure 42 Dec Slew 4.4 External Disturbance 44

The following chart shows the effect of the HA axis from an external disturbance created from three people pushing on the telescope in the tilted position. The axis is traveling at a rate of 15 arcsec/sec. Notice the effect of the error output on the East Drive output due to the positional error. The signals are clipped at 1.25V. Figure 43 External Disturbance 4.5 Velocity Loop Tests The first figure shows the effect of the system with the velocity loop completely disabled with the telescope at a standstill with the brakes off. Notice that the system goes into an oscillatory condition. 45

Figure 44 Velocity Loop Disabled The next figure shows the effect of disconnecting just the 8.6Hz to 34.4Hz disturbance compensation from the velocity loop at a 15 arcsec/sec track rate. Notice the system is oscillating and out of control. The signals are clipped at 1.25V. 46

5 Encoder Resolution Figure 45 Bandpass Disturbance Rejection Circuit Disabled Listed in the table below is the RMS error in arcsecs for tracking and offset for both wind and no wind conditions for different encoder resolutions. These simulations were run for both the present system and the proposed system. 47

Encoder Resolution Present System (track no wind) Present System (step no wind) Present System (track wind) Present System (step wind) Proposed System (track no wind) Proposed System (step - no wind) Proposed System (track wind) Proposed System (step - wind) 1 0.5 0.1 0.05 0.02 0.01 arcsec arcsec arcsec arcsec arcsec arcsec 0.260 0.130 0.032 0.021 0.023 0.024 0.209 0.090 0.027 0.029 0.027 0.029 0.319 0.217 0.160 0.156 0.153 0.152 0.331 0.225 0.166 0.158 0.161 0.161 0.260 0.133 0.037 0.030 0.026 0.027 0.100 0.076 0.031 0.021 0.012 0.008 0.258 0.150 0.091 0.088 0.088 0.088 0.232 0.165 0.092 0.090 0.089 0.088 Table 1 Encoder Resolution versus System Resolution The figure below shows the table above in chart form. As can be seen by the chart, an encoder resolution of 0.1 arcsec is the minimum resolution needed to meet the system requirements. 48

Figure 46 Encoder Resolution versus System Resolution Chart 6 Summary Hopefully, the model presented here is representative of the actual TCS3 system that will be installed on the telescope and we will be able to verify the data from the model with actual data acquired from the new system on the telescope. 6.1 Resolution Requirements As described in Appendix A of the TCS3 requirements document, there are a number of conditions defined for offsetting and tracking. Although there are a number of conditions identified, they are all based on the basic requirement of resolving to 0.1 arcsec. The simulations have shown that the present and proposed servo systems can easily resolve down to this requirement with a respectable amount of margin. 6.2 Encoder Resolution The Encoder simulations have shown that increasing the resolution of the encoder will provide a very marginal increase in system resolution at best. In fact, for both the present and proposed systems, a 10 count per arcsec encoder would probably be sufficient to meet the overall system resolution requirement. The present encoder should be able to meet our needs. 6.3 Tachometer Configuration The simulations have shown that the present tachometer configuration of one tachometer per motor that is summed together for an overall system velocity coupled with the individual higher frequency disturbance rejection circuits is necessary for the proposed system to meet performance requirements. 49

6.4 PID Parameter Values Simulations have shown that two sets of Proportional and Integral values provide optimum performance for the system. A Proportional value of 8 and an Integral value of 2.1 are best for the step function. However, a Proportional value of 100 and an Integral value 2.8 are best for the tracking function. It is recommended that a gain scheduling algorithm be implemented for the slew, beamswitch, and tracking operations. In lieu of performing gain scheduling, compromise PI values can be used which would be a Proportional value of 50 and an Integral value of 2.8. 6.5 Wind Loading The wind loading simulations have shown that the proposed system can better the wind loading simulation of the present system with an approximate RMS error of 0.1 arcsec. 7 References 1) Robert E. Cory, Dynamic Analysis of 3m Mauna Kea Telescope, jpl Interoffice Memo, November 8, 1976. 2) Tim Bond, TCS Servo System: Mechanical Modeling, IRTF Document, May 12, 2004, \\duke\tcs3\public_html\systems\tcs3\0405_servo_review\bond_docs 3) Telescope Servo Control D/A, Joystick, & Integrator, IRTF Schematic, 710-233. 4) Telescope Servo Control Tach Summer & Torque Cmd Board, IRTF Schematic, 710-235. 5) Keith Raybould, Paul Gillett, Peter Hatton, Gordon Pentland, Mike Sheehan, Mark Warner, Gemini Telescope Structure Design, SPIE Volume 2199 6) Fred Keske, Servo Test Data, IRTF Document, December 11, 2003 \\duke\tcs3\ public_html\history\0312\testdata1 7) Fred Keske, Notes on Test data taken on December 17, 2003, IRTF Document, December 23, 2003 \\duke\tcs3\ public_html\history\0312\testdata12 50