TCS3 Servo System Design: Software

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

TCS3 SERVO SYSTEM: Proposed Design

Introduction to Servo Control & PID Tuning

High-speed and High-precision Motion Controller

High-Bandwidth Force Control

Servo Tuning Tutorial

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

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

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

Advanced Servo Tuning

Step vs. Servo Selecting the Best

Galil Motion Control. DMC 3x01x. Datasheet

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Laboratory Seven Stepper Motor and Feedback Control

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

Interfacing dspace to the Quanser Rotary Series of Experiments (SRV02ET)

Analog Vs. Digital Weighing Systems

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Motomatic Servo Control

Job Sheet 2 Servo Control

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

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

BLuAC5 Brushless Universal Servo Amplifier

EasyMotion User s Manual Ver

Command Set For EZController Model EZCTRL. Document Revision: A08 12/05/10

Introducing the New DMC-42x0 Ethernet Controller

ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES

Application Note Homing in SimplIQ Servo Drives

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

BLuAC5 Brushless Universal Servo Amplifier

Soloist. Position Controller and Servo Amplifier PWM. Single axis digital servo controller with integral power supply and amplifier

Copley Amplifier Parameter Dictionary

Xenus XSL User Guide P/N

Data acquisition and instrumentation. Data acquisition

Electronics II Physics 3620 / 6620

MASTER/SLAVE TENSION CONTROL

DIGITAL SPINDLE DRIVE TECHNOLOGY ADVANCEMENTS AND PERFORMANCE IMPROVEMENTS

Application Note #2442

The Gold Duo Highly Compact Dual Axis Networking Servo Drive Up to 1.6 kw (3.2 kw Peak) of Qualitative Power Per Drive

Computer Numeric Control

Position Control of AC Servomotor Using Internal Model Control Strategy

Variateur analogique courant continu série AZ et AZB

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

Where: (J LM ) is the load inertia referred to the motor shaft. 8.0 CONSIDERATIONS FOR THE CONTROL OF DC MICROMOTORS. 8.

Advanced Digital Motion Control Using SERCOS-based Torque Drives

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

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

Controlling an AC Motor

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

ECE 6770 FINAL PROJECT

Free Programmable Signal Processing inside a High Performance Servo Amplifier

Gold Our Best Ever Motion Solutions

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

Rotary Knife. [System Configuration] [Operation Overview] [Points of Control] Cutter Axis. Virtual Sheet Feed Amount Axis 1 BCN-B A

MSK4310 Demonstration

Feedback Devices. By John Mazurkiewicz. Baldor Electric

Outline. Analog/Digital Conversion

Teaching Mechanical Students to Build and Analyze Motor Controllers

Analogue Signals. M J Brockway. February 5, 2018

Linear vs. PWM/ Digital Drives

DC Brushed Motor Controller Module EDP-AM-MC1

DC motor control using arduino

MTS Automation P R O D U C T S P E C I F I C A T I O N. MaxPlus Digital Servo Drive. MP-FLX 230 Series. MP-FLX 230 Series. Single- and Dual-Axis

Using CME 2 with AccelNet

MTY (81)

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

(Release Version 1.x) ^3 Servo Amplifier. ^4 3A0-09WPRO-xSx3. ^5 January 28, 2003

Advanced Motion Control Optimizes Mechanical Micro-Drilling

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

STEM in Practice AISWA SAMPLE. with KodeKLIX. Def ine Plan Model Test Ref lect Improve EXTENSION ACTIVITIES

Logosol Intelligent Hall-Servo Drive LS-173U Doc # / Rev. C, 02/12/2008

Rectilinear System. Introduction. Hardware

Model 50A 1-4 Axes IndustryPack Servo Motion Controller

^3 PMAC2-PCMACRO Interface Board. ^4 3Ax xUxx. ^5 October 23, 2003

Parker Hannifin Corporation Electromechanical Automation Division

GE 320: Introduction to Control Systems

Introduction. Example. Table of Contents

Report on the HET Tracker Incident of 15 May 2000

Digital Control Lab Exp#8: PID CONTROLLER

Rapid Array Scanning with the MS2000 Stage

Logosol AC/DC Intelligent Servo Drive for Coordinated Control LS-174WP

ME 3200 Mechatronics I Laboratory Lab 8: Angular Position and Velocity Sensors

Data Conversion and Lab (17.368) Fall Lecture Outline

Logosol AC/DC Programmable Servo & Logic Controller LS-151

Exercise 3: Sound volume robot

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

Pan-Tilt Signature System

CTC and FLC, by default, have Default For Device checked which means use the factory default servo tuning settings.

Jupiter Motion Drive

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

G320X MANUAL DC BRUSH SERVO MOTOR DRIVE

Exercise 5: PWM and Control Theory

Motor Control. Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Power supply.

TOSHIBA MACHINE CO., LTD.

Motor Modeling and Position Control Lab 3 MAE 334

LINEAR IC APPLICATIONS

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

Small, Low-Voltage Digital Servo Drive

Servo Indexer Reference Guide

A700 VFD with SSCNET III eth1000_large.jpg

Transcription:

NASA Infrared Telescope Facility University of Hawaii Institute for Astronomy 2680 Woodlawn Drive, Honolulu, HI 96822 TCS3 Servo System Design: Software Tony Denault May 26, 2004 Version 1.0

1. Software Mode There are 2 linux processes related to the servo, VTCS and RTCS. And the PMAC can be considered an independent process (although it is actually running several treads). VTCS The Virtual TCS task performs the astronomy related calculation. At 20Hz it will transform a RA,Dec means coordinate (ie: FK5) to an HA,DEC mount coordinates. The transformation includes refraction and pointing correction. RTCS The Real TCS task is responsible for commanding the servo system based on the VTCS s mount coordinates. At 20 Hz, it check the VTCS position and commands the servo controller towards the VTCS position. PMAC is the servo controller. It responds to the RTCS command. The PID loop is located in the PMAC. This table summaries the software algorithm of the servo processes. VTCS Modes RTCS Mode PMAC Notes Comments Idle Idle OpenServo Brakes Locked Amps disabled Track Track To Be Determined: Target is an RA,DEC means coordinates. PVT mode, or Jog at velocity Slew Slew Jog to position Target is an RA,DEC means coordinate. Upon completion switches to track. MP MP Jog to position Move Position will move an axis to a HA,DEC mount position. This is an engineering mode. MV MV Jog at velocity Move Velocity will move the axis to a specific velocity. This is an engineering mode. Currently the only issue is whether to use the PMAC s PVT or Jog mode of motion for tracking. 26 May 2004 Page 2 of 10

2. PMAC Configurations Notes 2.1 Dual Output Each telescope axis has 2 motors requiring 2 PMAC DAC per axis. The PID algorithm will produce a single correction value based on a position error. The general scheme is to have a PMAC PLC program run every servo cycle and write 2 DAC value based on the PID correction value. The following pseudo code illustrates the algorithm: dac0 = PID output dac1 = motor 1 DAC dac2 = motor 2 DAC base = backlash value for dac if( dac0 < 0 ) dac1 = -base + dac0 dac2 = base else dac1 = -base dac2 = base + dac0 This algorithm is current running on the LAB Development System. 2.2 Using DC tachometer as a velocity sensor. The PMAC does allow for a separated position sensor to close the velocity loop. However, only a single input is allowed per motor axis. Our PMAC is fitted with an 16- bit ADC. The 2 axis tachometers output must be combined into a single voltage for input to the PMAC. TBD: What the scaling factor is needed for to map to +/- 10 volts to a desired velocity range. We have successful programmed the PMAC to sample the Lab Simulated Tachometers. However, we normally run the Lab System as an axis with a single position sensor (Encoder on main shaft). 26 May 2004 Page 3 of 10

3. PVT vs JOG PVT is Position-Velocity-Time. The user specifies the axis state at transitions between moves using the end position, end velocity, and piece time. Advantages: Tighter control of profiles during the 50ms between RTCS = better BS performance. Disadvantages: RTCS cannot always determine the last PVT move used by the PMAC. Duplicate PVT points or missing PVT points during transition periods may cause problems during tracking. Exact timing of individual PVT points difficult to schedule due to look-ahead nature. Must be implemented as a PMAC motion program PVT cannot be implemented using online commands. These motions program must be started/stop on-the-fly when moving in and out of track mode. RTCS must provide a new PVT table before current table is completed. Jog mode allow you to command the axis to move at a constant velocity. Advantages: Much simpler to implement, understand, and execute = Less prone to error. No PMAC motion program to load, run, and monitor. Able to keep PMAC s dpos close in sync with RTCS position = better tracking. Disadvantages: Can only make adjustment to velocity at RTCS intervals (20Hz). Beam switch require more setting time. 26 May 2004 Page 4 of 10

3.1 PVT Test1 The following graphs illustrated the velocity and following error for a 10 AS/sec track for 10 seconds. The PVT period is 200 ms. The Linux host download a 10 element PVT table each seconds. The PMAC motion program switch to the new PVT table when downloaded. Rate is 10 arcseconds/sec (~1000 count/second). Position Graph Velocity Graph Error Graph Note the spike which occurs every second, this is when the PMAC motion program tries to switch PVT tables. 26 May 2004 Page 5 of 10

3.2 PVT Test2 Using a PVT period of 100 ms, and switching buffer every 500 ms. Improvement in the PVT algorithm. The axis is tracking at 10 AS/s with a 600 AS beam switch. Position Velocity Following Error 26 May 2004 Page 6 of 10

Test2 data, but without the beam switch Position Graph Velocity Graph Following Error 26 May 2004 Page 7 of 10

3.3 Jog Test Using an update 500 ms. The axis is tracking at 10 AS/s with a 600 AS beam switch. Position Graph Velocity Graph Following Error 26 May 2004 Page 8 of 10

Jog Test without the beam switch. Position Graph Velocity Graph Following Error 26 May 2004 Page 9 of 10

4. Conclusions The PMAC is an acceptable solution for TCS motor control. The IRTF s servo system has some unique feature which requires customized PMAC configuration and programming. The requirement for duel motor output per telescope axis can be implemented using a PMAC PLC program. The algorithm is actually very simple. The PMAC can only accept a single velocity sensor per telescope axis. A built-in A/D input can accept the tachometer signal, but treats it as a position sensor. The jog mode of the PMAC is very flexible and can be used to implement all required TCS3 software mode: Track, Slew, Motor Position, Motor Velocity. The PMAC PVT is an alternative to using the JOG mode during tracking. The advantage of PVT is it allows the RTCS to specify change in position and velocity independently of the RTCS s loop cycle of 20 Hz. PVT points can be specified, for example, at 5 ms (10 PVT trajectories per RTCS loop). PVT could improve settling time of the telescope. The PVT mode does have disadvanges: It is an extremely complex mode to program. PVT requires independent motor programs for each axis, which consume CPU resources and must be started/stop on demand. The RTCS must constantly feed data to the PVT motion program, thus imposing a responds requirement on the VTCS. I believe the using JOG mode for track is the more desirable solution. 26 May 2004 Page 10 of 10