MMT Elevation Servos D. Clark August/September 2008.

Slides:



Advertisements
Similar presentations
Tales from the Lab: Experiences and Methodology Demand Technology User Group December 5, 2005 Ellen Friedman SRM Associates, Ltd.
Advertisements

Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
System Development Life Cycle (SDLC)
KEB COMBIVERT F5-M Exercises.
1 In this lecture, you will learn the following. 1. Basics of real-time control engineering 2. Effects of fixed and unfixed (also probably unknown) sampling.
 (x) f(x,u) u x f(x,  (x) x. Example: Using feed-forward, what should be canceled?
TCS3 Conceptual Design Review 1 Aug 21, 2003 TCS3 Project Replacement of the Telescope Control System for the IRTF Conceptual Design Review Aug 2003.
The robot structure model design 2 Curse 5. Modeling: the robot AcTrMStTk V(t) T(t)  (t) q(t) x(t)
Chapter 2Test Specification Process. n Device Specification Sheet – Purpose n Design Specification – Determine functionality of design n Test List Generation.
9.11. FLUX OBSERVERS FOR DIRECT VECTOR CONTROL WITH MOTION SENSORS
Loop Shaping Professor Walter W. Olson
Data Acquisition Risanuri Hidayat.
Automotive Research Center Robotics and Mechatronics A Nonlinear Tracking Controller for a Haptic Interface Steer-by-Wire Systems A Nonlinear Tracking.
Electric Drives FEEDBACK LINEARIZED CONTROL Vector control was invented to produce separate flux and torque control as it is implicitely possible.
Unit 4 Sensors and Actuators
MotoHawk Training Model-Based Design of Embedded Systems.
Slobodan Lubura. Model-Based-System Design use the models to describe the specifications, operation, performance of a component or a system of components.
CHE 185 – PROCESS CONTROL AND DYNAMICS
1 Steps for Production Code Generation Wind Turbine Pitch Controller 1. Generate test data and extract controller 2. Discretize Change integrator blocks.
Introduction to Control: How Its Done In Robotics R. Lindeke, Ph. D. ME 4135.
Bradley University Department of Electrical and Computer Engineering 2011 Wind Tunnel Control (WEBWIND) By: Adam Green Advisor: Dr. Aleksander Malinowski.
Enhanced Single-Loop Control Strategies
Design Realization lecture 23
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
IRTF TCS Servo concepts I Peter Onaka Note: this is a compilation of information blatantly copied from multiple sources. 11/4/03.
Introduction to Op Amps
Introduction to Software Testing
University of Pennsylvania Department of Electrical and Systems Engineering ABSTRACT: Quantifying and measuring certain aspects of a golf swing is a helpful.
ECE Introduction to Control Systems -
Adaptive Signal Processing Class Project Adaptive Interacting Multiple Model Technique for Tracking Maneuvering Targets Viji Paul, Sahay Shishir Brijendra,
Effective Methods for Software and Systems Integration
Plan- x1 meeting no. 4 – 27/04/10 at NCRA Auditorium, Pune GMRT SERVO SYSTEM PLAN X1 TARGET implements : 1a) Brushless drives 1b) PC-104 Servo computer.
Ultrasonic Tracking System Group # 4 Bill Harris Sabie Pettengill Enrico Telemaque Eric Zweighaft.
Vector Control of Induction Machines
A Mathematical Analysis of a Sun Tracking Circuit for Photovoltaic Systems Dr. S. Louvros and Prof. S. Kaplanis T.E.I. of Patra, Greece.
System & Control Control theory is an interdisciplinary branch of engineering and mathematics, that deals with the behavior of dynamical systems. The desired.
1  (x) f(x,u) u x f(x,  (x) x Example: Using feed-forward, what should be canceled?
1 5. Application Examples 5.1. Programmable compensation for analog circuits (Optimal tuning) 5.2. Programmable delays in high-speed digital circuits (Clock.
Sliding Mode Control of PMSM Drives Subject to Torsional Oscillations in the Mechanical Load Jan Vittek University of Zilina Slovakia Stephen J Dodds School.
ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.
An Approach to Stabilizing Large Telescopes for Stellar Interferometry It shakes like a…. [G. Vasisht, 31 March 2006] N. Di Lieto J. Sahlmann, G. Vasisht,
Tsinghua University·Beijing Real-time dynamic hybrid testing coupled finite element and shaking table Jin-Ting Wang, Men-Xia Zhou & Feng Jin.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
M.S. Thesis Defense Jason Anderson Electrical and Computer Engineering Dept. Clemson University.
EWEC 2007, MilanoMartin Geyler 1 Individual Blade Pitch Control Design for Load Reduction on Large Wind Turbines EWEC 2007 Milano, 7-10 May 2007 Martin.
Power PMAC Tuning Tool Overview. Power PMAC Servo Structure Versatile, Allows complex servo algorithms be implemented Allows 2 degree of freedom control.
Integrated Smart Sensor Calibration Abstract Including at the sensor or sensor interface chip a programmable calibration facility, the calibration can.
Observer-Based Robot Arm Control System Nick Vogel, Ron Gayles, Alex Certa Advised by: Dr. Gary Dempsey.
George Angeli 26 November, 2001 What Do We Need to Know about Wind for GSMT?
Design Realization lecture 22
Final Exam M.Eng. Amjad Elshenawy RTECS Gc(s)Gc(s) Gc(s)Gc(s) Controller   n sensor noise  w load disturbance  Gp(s)Gp(s) Gp(s)Gp(s) Plant.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Digital Control CSE 421.
Disturbance rejection control method
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Diagnostics and Optimization Procedures for Beamline Control at BESSY A. Balzer, P. Bischoff, R. Follath, D. Herrendörfer, G. Reichardt, P. Stange.
ROBOTICS 01PEEQW Basilio Bona DAUIN – Politecnico di Torino.
13,14 July 2005 Feasibilty/Concept Study Mid Term Status Review Telescope Mount Concept Vertex RSI.
Intelligent Control Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Digital Control CSE 421.
DC MOTOR SPEED CONTROL 1. Introduction
QUANSER Flight Control Systems Design 2DOF Helicopter 3DOF Helicopter 3DOF Hover 3DOF Gyroscope Quanser Education Solutions Powered by.
IRTF TCS Servo concepts I
Introduction to Software Testing
MMT Observatory 3rd Trimester 2008 Elevation Tracking
Quanser Rotary Family Experiments
Chapter 1. Introduction to Control System
Presentation transcript:

MMT Elevation Servos D. Clark August/September 2008

Introduction Telescope Design History Drive System Hardware LM628 Servo System Review of Compliantly-coupled systems Using Simulink and xPC Target Data Collection and Analysis Tools with Custom Libraries for i/o Hardware and Simulink Control Design Methodology Elevation Controller Details: » Command preprocessor » Soft-start » Position/Velocity PID loops » Flexible mode filters » Disturbance decoupling » Gain fades for friction and disturbance decoupling Tracking data from archives Recent windup problem Proposed system improvements Final Thoughts

Telescope Design History FEA, and other design studies led to an inverted- Serrier truss design Friction drives selected with motor-shaft encoders and provision for on-axis tape encoders Mandate for commonality with VATT, LBT projects drove early selection of LM628-based controller

FEA Results – SG&H J. Antebi ModelModeFrequency (Hz)Mode Shape Overall Telescope14.92Azimuth torsion ″25.09Side-to-side swaying ″35.25Nodding in elevation ″48.17Twist of f/5 secondary OSS on rigid support18.15Twist of f/5 secondary ″211.7Nodding in elevation ″315.8Side-to-side swaying ″419.1In-plane bending of forward frame Yoke on rigid tower with OSS as a lumped mass 15.06Azimuth torsion 25.66Side-to-side swaying 37.14Nodding in elevation Side-to-side motion (higher mode)

Elevation Drive 2 friction-drive DC brush motors preloaded against a curved truss Heidenhain RON905 motor-shaft encoders Heidenhain LIDA105C tape encoders Inductosyn absolute encoder on-axis Copley Model 262 PWM amplifiers.

LM628 Controller

LM628 Closed-loop Performance

Compliantly-coupled Drives Motor current divided by motor inertia, results in acceleration, which integrates once to velocity. Another integration gives the shaft position. The difference in the position of the motor and load winds up the spring, producing torque, and accelerates the load. The velocity differential likewise slows the motor and speeds up the load.

Compliantly Coupled Motor-Load Transfer Function

The Servo Development Cycle Collect open-loop input/output data Construct a mathematical model of the system Develop control strategies based on simulation of the closed-loop system Measure the closed-loop system response Results meet requirements? Deploy controller Chirp responses, slewing, tracking No Yes

Collecting Open Loop Data We wish to a) excite the drives with known input signals, and b) measure the response from either analog (motor currents) or digital (encoder) sources. The open-loop data must be correlated in time. The data set can be large, minutes of data at kilohertz sample rates. Good tools must be available for visualization and analysis of the collected data. Using Matlab, Simulink, and xPC Target running automatically-generated code from Real Time Workshop, we can do all these things.

Introduction to xPC Target Think of Simulink as an “engine” to run C code. Simulink supports data flow into and out of specific code blocks via an S-function API. Simulink can either run the code in simulation mode, or generate an executable version with the help of Real Time Workshop. Soft targets are also available, as rapid-prototyping targets. xPC Target is a lightweight realtime kernel for control system prototyping, with tight integration into the Mathworks tool family.

Open Loop Data

Secondary Configurations and Open Loop Response

Modeling and Filter Design

PC Controller Block Diagram

Simplified xPC Controller

The Non-linear Command Preprocessor A nonlinear preprocessor smooths out the position command signal to avoid resonance excitation. Based on W. Gawronski’s work on the Deep Space Network antennas. In the xPC Target version, this command can be a test signal or position demand over a network connection to a Java GUI. The command can also be set via the GUI to be a tracking command at an arbitrary velocity. In the VxWorks version, the command is passed via an s-function that hooks to the legacy C code that runs the astronomy and operator GUIs. In either case this is where all acceleration and velocity limits are applied. This avoids artificially limiting the control bandwidth by having them in the controller’s signal path.

Command Preprocessor Non-linear Gain Section

Absolute Encoder Angle Processing and Position Encoder Handler The raw coarse and fine encoder data (16 bits each) are meshed together and the resultant 25-bit angle is adjusted to form an absolute angle in degrees. The absolute encoder position is passed to a transparent latch, where the tape encoder output, which starts at zero and is scaled to degrees is added. The position loop feedback is then absolute tape encoder position, in degrees.

Position and Velocity PID Loops The position command is differentiated and fed forward as a rate feedforward signal, while the feedback position goes to the position PID loop. Differentiation of the feedback provides the velocity estimate to the velocity loop, and the torque demand is filtered by the filter chain in the Flexible Mode Compensation subsystem. In addition, a reset signal and 10s soft-start blocks provide safe startup when the controller starts running.

PID Loops Both the position loop and velocity loop are straightforward PID, with gain scheduling on the position integral for friction compensation.

Flexible Mode Compensation We use these filters at present for modal suppression on the control loop – Hz for the main truss bending mode Hz for the forward frame in-plane bending mode. 3.35Hz for the motor mounts Hz for the tape head mounts (source not determined as yet). Without these filters, the servo gains would have to be considerably less, to the detriment of wind rejection and overall bandwidth.

Soft-start Soft start is accomplished by integration of a constant, when Reset is not active. The resultant ramp signal is saturated at 1.0 to smoothly bring the signal input from zero to full value on the output of the soft-start subsystem.

Luenberger Observer and Disturbance Decoupling

Integral Gain and Disturbance Decoupling Gain Scheduling Remarkably similar, the position loop Integral gets scheduled larger when the absolute position error (command minus feedback) is small, and the disturbance decoupling likewise, over different error ranges.

Control Design Validation – Command Signal Path

Control Design Validation – Disturbance Rejection

Comparison of Wind-disturbed Tracking

Wind Shake is a Non-trivial Issue Servo Progress Report #8 details this set of data, taken with a much earlier version of the xPC Target controller, shows that with the brakes set, the peak-to-peak motion of the drive arcs is still 0.83 arcseconds with winds in the 20s, and gusts to the low 30s. No doubt the motion at the other end of the telescope is proportionally larger, given the compliances and larger moment arm of the OSS.

Tracking Logs We log tracking data for every object tracked during the night. A web interface makes the data available for routine inspection of the tracking performance. Here is some data from July Logs can be found at: Tracking data can also be triggered on an ad-hoc basis by the operator/engineer. Data are archived to disk and can be reduced via Matlab scripts written by myself for detailed analysis – the web interface back-end is based on these. There is certainly room for improvement in the logging facility: 1. Longer logging time (currently 120s for tracking data) at the full 1kHz servo rate. 2. Ensuring that the mini-server that handles uploading the logging data is robust and always running when data is queued. 3. Having good, correlated wind data for and a facility for quantifying wind angles and tracking error via database queries to build knowledge of best-, worst-, and median- case tracking quality. We recently re-located a wind sensor to improve the agreement of the wind sensors in different locations on the summit.

7/31/08 Collision

Windup Issue

Verification of Windup Cure

More Work to Do Room for improvement exists in the elevation servo hardware and software: Optimize the Luenberger Observer/disturbance decoupling loops. Implement 1/T counting for smoother velocity measurements. Invest in better absolute encoders (Heidenhain 29-bit absolute units). Ensure that both tapes are perfectly square to the rotation axis and the head alignments (new West mount) are the best possible. Implement IK220 readout cards with online signal-quality adjustment for the tape encoders. Investigate stiffening the motor mounts to eliminate the underconstraint and lost motion. Azimuth and rotator axes could benefit from standardization and upgrade efforts, as well.

Final Thoughts Issues in servo deployment have mainly to do with the wide gulf between the test environment and deployment environment. Formal testing and checklists, consistently applied, would help in having a uniform approach to certification and deployment of controllers, and changes to the controller operation. A formal performance specification, other than the very vague one of 0.1 arcsecond RMS tracking over a 10-minute period from the early 6.5m Upgrade documentation, has never been produced. The recent MMT Council specification is extremely ambitious, and certain portions of it cannot be achieved with the telescope we have. Case in point: the AO top-end flexible mode specification can easily be disproven by setting the brakes and capturing all the flexible-mode frequency output from the hub. Since the top end is unencoded, even feedforward of accelerometers down to the drives can’t cure it because there is no motor bandwidth available at those frequencies. Followup and documentation from all tests should be done. It’s important to overlay results with one another, or with simulation results, to confirm the outputs are as expected. Further, the deployment environment should support all the same test modes as are available on the test system (e.g. chirp response closed- and open- loop, tracking and slewing, and simulated wind disturbance).

More Final Thoughts System behavior and “what-if” scenarios should be checked via simulation to ensure proper operation of the system. Using simulation as a tool allows testing to proceed without endangering people or equipment, and advantage should be taken of those tools. Software for both the controller and “other” parts, should always be tested and verified before release to the telescope. Modularization of the code, and testing via simulation, can help in this process. The Mathworks tool family supports several ways of generating reports, adding requirements to tests, and performing code- coverage testing.