HIL-Friction Simulation for Experimental Testing of Position Control Schemes

Similar documents
Lab 3: Quanser Hardware and Proportional Control

Influence of the gap and the friction on trajectory reproduction accuracy in a multiaxis machine with CNC

ROBUST FRICTION COMPENSATOR FOR HARMONIC DRIVE TRANSMISSION

Trajectory Planning, Setpoint Generation and Feedforward for Motion Systems

MECHATRONICS ENGINEERING TECHNOLOGY. Modeling a Servo Motor System

Motion Control. Laboratory assignment. Case study. Lectures. compliance, backlash and nonlinear friction. control strategies to improve performance

Joint Torque Control for Backlash Compensation in Two-Inertia System

Automatic Control Systems. -Lecture Note 15-

Double Inverted Pendulum (DBIP)

Hybrid modelling and simulation of a computer numerical control machine tool feed drive

ME 3210 Mechatronics II Laboratory Lab 4: DC Motor Characteristics

Coupled Drive Apparatus Modelling and Simulation

FEEDBACK CONTROL SYSTEMS

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Appendix A Prototypes Models

Motion System Classes. Motion System Classes K. Craig 1

2.004 Dynamics and Control II Spring 2008

Manufacturing Equipment Control

Educational laboratory setup of DC motor cascade control based on dspace1104 platform

Rotary Motion Servo Plant: SRV02. Rotary Experiment #01: Modeling. SRV02 Modeling using QuaRC. Student Manual

Mechatronics Engineering. Li Wen

PI-like Observer Structures in Digitally Controlled DC Servo Drives: Theory and Experiments

Friction. Modeling, Identification, & Analysis

Balancing of an Inverted Pendulum with a SCARA Robot

DC-motor PID control

Department of Mechanical Engineering

ECE3510 Lab #5 PID Control

DESIGN AND REALIZATION OF PROGRAMMABLE EMULATOR OF MECHANICAL LOADS. Milan Žalman, Radovan Macko

6) Motors and Encoders

Survey of Methods of Combining Velocity Profiles with Position control

MEAM 510 Fall 2011 Bruce D. Kothmann

General procedure for formulation of robot dynamics STEP 1 STEP 3. Module 9 : Robot Dynamics & controls

Technical Description

Input-output data sets for development and benchmarking in nonlinear identification

NONLINEAR FRICTION ESTIMATION FOR DIGITAL CONTROL OF DIRECT-DRIVE MANIPULATORS

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual

Analysis and Model-Based Control of Servomechanisms With Friction

Satellite Attitude Control System Design Using Reaction Wheels Bhanu Gouda Brian Fast Dan Simon

ACTIVE CONTROL STICK DRIVEN BY A PIEZO ELECTRIC MOTOR

Lab 6d: Self-Erecting Inverted Pendulum (SEIP)

MEAM 510 Fall 2012 Bruce D. Kothmann

(Refer Slide Time: 00:01:30 min)

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

for Articulated Robot Arms and Its Applications

FRICTION MODELLING OF A LINEAR HIGH-PRECISION ACTUATOR. P.O. Box , D Ilmenau, Germany 2

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department

Nonlinear Control Systems Simulation Using Spreadsheets

Video 5.1 Vijay Kumar and Ani Hsieh

ROBUST CONTROL OF ELASTIC DRIVE SYSTEMS USING THE IMMERSION AND INVARIANCE METHODOLOGY. Irfan Ullah Khan

Precision tracking control of a horizontal arm coordinate measuring machine in the presence of dynamic flexibilities

ECE 5670/6670 Lab 8. Torque Curves of Induction Motors. Objectives

Fast Seek Control for Flexible Disk Drive Systems

Visual State Feedback Digital Control of a Linear Synchronous Motor using Generic Video-Camera Signal

The Feedforward Friction Compensation of Linear Motor Using Genetic Learning Algorithm

Lecture 6: Control Problems and Solutions. CS 344R: Robotics Benjamin Kuipers

Modelling and simulation of a measurement robot

A Physically-Based Fault Detection and Isolation Method and Its Uses in Robot Manipulators

MODELLING ANALYSIS & DESIGN OF DSP BASED NOVEL SPEED SENSORLESS VECTOR CONTROLLER FOR INDUCTION MOTOR DRIVE

Robust Controller Design for Speed Control of an Indirect Field Oriented Induction Machine Drive

Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum

THE REACTION WHEEL PENDULUM

A RECEDING HORIZON CONTROL FOR LIFTING PING-PONG BALL. Sumiko Majima and Keii Chou

Mechatronics Modeling and Analysis of Dynamic Systems Case-Study Exercise

SOP Release. FEV Chassis Reliable Partner in Chassis Development. FEV Chassis Applications and Activities. Concept Layout. Design

Motion Control of Linear Permanent Magnet Motors with Force Ripple Compensation

EUROMASTER HYDRAULIC PRESSBRAKES

Friction Compensation for a Force-Feedback Teleoperator with Compliant Transmission

Research Collection. Thermal issues in 5-axis machine tools. Conference Paper. ETH Library

ELG4112. Electromechanical Systems and Mechatronics

Adaptive NN Control of Dynamic Systems with Unknown Dynamic Friction

Design and Control of Compliant Humanoids. Alin Albu-Schäffer. DLR German Aerospace Center Institute of Robotics and Mechatronics

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification

Modelling of Nonlinearities and Parasitic Effects in the Electro-Mechanical Command Transmission Path for a Real-Time Flight Simulation Model

MATHEMATICAL MODELING OF OPEN LOOP PMDC MOTOR USING MATLAB/SIMULINK

Calibration Routine. Store in HDD. Switch "Program Control" Ref 1/ Ref 2 Manual Automatic

THE stick-slip friction system is known to exhibit very

WHAT A SINGLE JOINT IS MADE OF RA

Predictive Cascade Control of DC Motor

Laboratory Exercise 1 DC servo

Passivity-Based Control of an Overhead Travelling Crane

Experimental investigation of micro-chaos

Using Thermal Boundary Conditions in SOLIDWORKS Simulation to Simulate a Press Fit Connection

A Novel Method on Disturbance Analysis and Feed-forward Compensation in Permanent Magnet Linear Motor System

Modeling and Control Overview

Passivity-based Control of Euler-Lagrange Systems

Alireza Mousavi Brunel University

System Parameters and Frequency Response MAE 433 Spring 2012 Lab 2

Belt Tension Clamp. Drive Motor. Friction Brake. Load. Encoder 2. Drive. (4000 lines/rev incremental) Encoder 1. (4000 lines/rev incremental)

DISTURBANCE ATTENUATION IN A MAGNETIC LEVITATION SYSTEM WITH ACCELERATION FEEDBACK

Adaptive Control of Variable-Speed Variable-Pitch Wind Turbines Using RBF Neural Network

LQG/LTR CONTROLLER DESIGN FOR ROTARY INVERTED PENDULUM QUANSER REAL-TIME EXPERIMENT

DYNAMIC EMULATION OF TIRE/ROAD FRICTION FOR DEVELOPING ELECTRIC VEHICLE CONTROL SYSTEMS

Enhancing a Model-Free Adaptive Controller through Evolutionary Computation

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

Frequency Domain Identification of Dynamic Friction Model Parameters

Simulation Study on Pressure Control using Nonlinear Input/Output Linearization Method and Classical PID Approach

Generator. Introduction. Modeling in COMSOL Multiphysics

MODELLING ANALYSIS & DESIGN OF DSP BASED NOVEL SPEED SENSORLESS VECTOR CONTROLLER FOR INDUCTION MOTOR DRIVE

DC-motor modelling and parameter identification

Industrial Servo System

Transcription:

XI. German-Polish Seminar, University of Applied Sciences Cologne, October 1999 HIL-Friction Simulation for Experimental Testing of Position Control Schemes H. Henrichfreise, R. Starbek, J. Reuter Cologne Laboratory of Mechatronics University of Applied Sciences Cologne 1 Introduction The compensation of friction and active vibration damping have gained considerable importance over the past few years. One reason for this are the increasing demands for higher precision and speed in positioning mechanisms in the areas of machine tools and handling mechanisms (robotics). Furthermore, the requirements of modern actuator-systems in the automotive area, for example in electronic brakes and steering, have also intensified the difficulties in handling friction and compliance. For this reason the Cologne Laboratory of Mechatronics (CLM) began to develop suitable compensation algorithms several years ago. These were easy to realize and robust when implemented [1]. In addition, a new approach for estimating and compensating friction was developed and implemented successfully for a typical electromechanical positioning system [2,3]. The comparison of simulation studies with experimental results led to the development of a model library for the realistic simulation of friction. These models are based on the latest trends from international papers on the subject of friction in controlled systems [4] and were extended to cover several effects like load dependent friction which are relevant in real-life applications [5]. The library can be used to conduct extensive parameter studies of the behavior of a friction compensator in combination with different friction characteristics in a drive system. Despite the advances in friction modeling, experimental studies of the system behavior remain essential. Therefore, the positioning system mentioned above was extended to allow experimental studies of the robustness of friction compensators. The application of Hardware-in-the-Loop (HIL) Simulation makes it possible to reproduce almost any friction characteristic in an experiment. 2 Positioning system and extensions for the HIL-Simulation of friction Figure 1 shows the electromechanical positioning system (EMPS) used at the Cologne Laboratory of Mechatronics for the experimental testing of controllers with active vibration damping and friction compensation. The elastic vibrations are caused by the compliant coupling of the motor and ball screw, and friction is generated mainly by the backlash free ball screw drive which converts the rotation of the screw to the translational movement of the carriage. The output voltage u tacho of a tachometer and the counter value of an incremental encoder can be used by the control to determine the angle and angular velocity of the ball screw. The motor is driven by the input voltage u servo of a servo amplifier with integrated current control. An extensive description of this test bed is available in [6]. 1/14

u servo ball screw F l T M E u tacho carriage count Figure 1: EMPS for active vibration damping and friction compensation The extensions made to the EMPS in order to test a control with different friction characteristics are shown in figure 2. u servo u amp F N T M 1 ball screw a F l M 2 E u tacho friction wheel u acc carriage count i amp Figure 2: EMPS with friction wheel, load motor and accelerometer for HIL-Simulation of additional friction The load side friction of the ball screw drive can be increased mechanically by the friction wheel. It is equipped with two diametrically opposed friction linings so that no radial forces act on the ball screw. These forces would produce an undesired deflection of the ball screw and would lead to a falsification of the angle measurement through the incremental encoder. 2/14

Figure 3: Friction wheel (1) with friction linings (2) However, the use of the friction wheel allows only a limited influence on the friction characteristic. Although it is possible to apply a maximum static friction torque within the limit of the maximum torque of the drive motor, the shape of the velocity dependent friction characteristic is determined by the properties of the friction linings. In order to apply an arbitrary velocity dependent friction characteristic to the test bed, a load-side motor is used. The motor is controlled via the reference voltage u amp, the measured current i amp and a digital current control to generate a specific load torque. The combination of this load torque with the friction torque of the ball screw drive and the friction wheel shall yield the desired velocity dependent friction characteristic. The static friction is generated exclusively by the mechanical components. The velocity dependent friction is generated by a signal processing setup, a simplified version of which is shown in figure 4. The difference between the actual and desired friction characteristic is applied to the reference input of the current control as the reference torque of the load motor. The load side angular velocity is computed by an observer which estimates the velocity via the measurement signals of the incremental encoder and the accelerometer. In combination with the EMPS this configuration constitutes a HIL-Simulator for velocity dependent friction. 3/14

Positioning system u servo u amp count u acc,l i amp Observer Ω l Position control Reference generator Difference Torque Torque control Real-time hardware Figure 4: HIL-Simulation of velocity dependent friction. 4/14

3 HIL-Simulation of friction Section 2 described the expansion of the EMPS to a HIL-Simulation test bed for the examination of position control schemes with vibration damping and friction compensation with different friction characteristics. Figure 5 will be used to explain how the interaction between the components can produce almost any desired friction characteristic. M fr 2. friction with friction wheel M S 3. desired friction 1. EMPS friction Figure 5: Friction in the HIL test bed Ω l Curve 1 shows the friction characteristic of the EMPS without the friction wheel. To obtain the desired friction characteristic 3 the friction wheel is tightened so that the maximum static friction torque M s is equal to the desired value. This results in friction characteristic 2 where the velocity dependent friction characteristic does not necessarily correspond to the requirements of a given experiment. Then this characteristic can be adjusted through the application of the difference torque between characteristic 2 and 3 by the load motor. The difference torque is computed after the measurement of the actual characteristic with the friction wheel and the definition of the desired characteristic and is applied via the torque controller (figure 4). This HIL-Simulation of the difference friction torque is realized with the development environment used at the Cologne Laboratory of Mechatronics, which is composed of MATLAB/Simulink and dspace TDE. Figure 6 shows the block diagram used for the rapid prototyping of a controller for the EMPS and the load motor control to perform the first experimental studies with automatic code generation. 5/14

ENC_POS #1 -K- count ENC_POS #2 DS1102ENC_POS ADC #1 ADC #2 ADC #3 ADC #4 DS1102ADC ref ref _dot ref _2dot u_serv o controller for implementation to_count -Kto_u_acc_l -Kto_i_amp -Kto_fract1 DAC #1 DAC #2 DAC #3 DAC #4 DS1102DAC 0 run_ref AND ok reference profile generator count u_acc_lu_k_l -Kto_fract2 i_amp AND ls current controller unlock_ref 1 search BIT IN DS1102IN switch logic search index_f ound hardware_enabled lower_bound ref erence upper_bound DS1102_index_search double-click to initialize parameters Initialization Figure 6: Simulink block diagram for rapid control prototyping The load motor current control and the calculation of the difference torque which is necessary for the desired friction characteristic are grouped in the subsystem "ls current controller". The other blocks and subsystems are the controller to be tested with reference signal generator, the peripheral interfaces and the index search (homing) for the zero position of the carriage. The inputs of the current control are the measured ball screw angle, carriage acceleration and motor current from the incremental encoder and A/D converter interfaces. The output is the motor voltage needed for the difference torque. This voltage is scaled to the input voltage u amp of the servo amplifier (see figure 2) before it is applied to the D/A interface. The contents of the subsystem "ls current controller" are shown in the following block diagram 6/14

Figure 7: Extended load motor current control The lower part of the block diagram contains a conventional PI current control. The screw s angular velocity Ω est is determined from the incremental encoder signal count and the accelerometer voltage u acc by a subsystem observer (center part of the block diagram). The observer was designed for a simplified plant model using the pole placement method. By augmenting the plant model with a disturbance model for accelerometer offset voltages, errors in the estimated angular velocity due to possible offsets in u acc are compensated. The angular velocity Ω est is used to counteract the back- EMF of the load motor and to generate the difference torque for the desired velocity dependent friction (upper part of the block diagram). The difference torque is converted to a current via the load motor torque constant, and the range of this current is limited before it is applied to the current control as a reference signal. Details on the design and implementation of the current control can be found in [7]. Finally we will take a closer look at the computation of the difference torque. This is performed in the subsystem "Friction Difference", which is shown in figure 8. 7/14

f(u) desired friction 1 om ega_est u Abs f(u) Product 1 M_frict_diff EMPS friction Sign f(u) fade out function Figure 8: Subsystem for the generation of the difference torque for velocity dependent friction. The magnitude of the angular velocity Ω= Ω est is fed to two nonlinear function blocks for the computation of the Stribeck characteristics for the desired and actual friction characteristics. The output signals of the function blocks are computed via the equation ΩStrib M ( Ω) = M + ( M M ) e + b Ω R K S K Ω with the given parameters for the static friction torque M S, the kinetic friction torque M K, the Stribeck velocity Ω Strib and the velocity proportional damping constant b for each block. The definition of these parameters is covered in detail in the next chapter. After the calculation of the difference between the two characteristics the difference torque with the correct sign is the product of the difference with the sign of the angular velocity Ω est. In addition, a so-called fade-out function prevents the application of the torque in a defined interval around the angular velocity value Ω est =0. This is required because of the delays in the estimation of the angular velocity and the current control. In the event of a sign change of the angular velocity the fade-out prevents the application of a difference torque with an incorrect sign. In the area of the fade-out the friction torque is applied solely by the mechanical components (friction wheel and EMPS). The code for the realization of the block diagram in figure 6 with the subsystems in the figures 7 and 8 is generated automatically for the real-time hardware shown in figure 4. 8/14

4 Graphical User Interface The use of the hardware described in the previous chapters together with the realization of the simulation and the application of friction in software makes it possible to create various friction characteristics to test position controllers. However, a flexible and reproducible design of experiments requires an easy-to-use interface. The graphical user interface developed for this purpose will be demonstrated by using an example for the measurements of the actual friction characteristic (Friction Measurement) and the design of the desired characteristic (Friction Design). Figure 9 shows the program window after starting the user interface. The interface and all underlying functions were programmed using the development environment at the Cologne Laboratory of Mechatronics (MATLAB/Simulink and dspace TDE). The modular design makes it easy to extend the interface with new control and compensation algorithms. Figure 9: User interface for compensator testing A click on the pushbutton labeled "Friction Measurement" opens the window shown in figure 10 for measuring the current friction characteristic, e.g. the characteristic adjusted with the friction wheel. Clicking another pushbutton in the toolbar starts an experiment for the automatic measurement of this friction characteristic. The experiment is composed of a suitable set of parameters for the reference signal generator from figures 4 and 6 and the capture of time histories from the real-time hardware necessary for the computation of the friction characteristic. The result of such an experiment is displayed in the plot window in figure 10 as the noisy course. Afterwards the Stribeck function from equation (1) can be fit to the measured course (smooth plot in figure 10). The parameters (M S, M K, Ω Strib, and b) are displayed and then downloaded to the corresponding function block (EMPS friction) in figure 8 of the real-time hardware. 9/14

Figure 10: User interface for the determination the actual friction characteristic To perform an experiment using the modified friction characteristic, the next step is the design of the desired characteristic. To do this the user clicks the button labeled "Friction Design" on the user interface in figure 9 in order to open the window shown in figure 11. The plot window displays the friction characteristic fitted to the measurement from earlier on. In the same window, after the activation of a matching function from the toolbar, reference points of a desired characteristic can be set with the mouse pointer. For these points the computation of the corresponding Stribeck parameters and the display of the desired characteristic is performed with a simple click on another button. The characteristic and the parameters can be further edited with the help of the mouse and dialog interfaces. Once the characteristic has its desired shape the computed parameters are also downloaded to the corresponding function block in the subsystem of figure 8 on the real-time hardware. The result of the design of such a friction characteristic is described in the following chapter. 10/14

Figure 11: User interface for the design of a desired friction characteristic 5 Experimental Results The first experiments show that the developed test bed works very satisfactory. The following example of a desired friction characteristic will demonstrate this. Figure 12 shows the actual characteristic (i.e. with friction wheel) and the desired characteristic. For small angular velocities, the load motor has to generate a rapidly changing load torque. In the velocity proportional area the slope of the desired characteristic has been increased so that a sign change of the difference torque occurs. After downloading the parameters determined for both characteristics to the real-time hardware the friction measurement yields the characteristic shown in figure 13. Through the HIL-Simulation and the application of the difference torque to the load motor the resulting friction corresponds very well to the desired characteristic. 11/14

6 0 4 0 2 0 M / Nm m 0-2 0-4 0-6 0-4 0 0-2 0 0 0 2 0 0 4 0 0 o m e g a / ( r a d / s e c ) Figure 12: Measured friction characteristic of the EMPS with friction wheel (noisy) and desired characteristic (smooth) 6 0 4 0 2 0 M / Nm m 0-2 0-4 0-6 0-4 0 0-2 0 0 0 2 0 0 4 0 0 o m e g a / ( r a d / s e c ) Figure 13: Desired friction characteristic (smooth) and measured resulting characteristic after application of the simulated difference torque (noisy) The effect of the fade-out function in the block diagram from figure 8 becomes especially apparent in the load motor torque (figure 14), which is determined with the measurement of the current at the load motor. There is a step in the course of the difference torque (which is the reference signal of the current control) at the limits of the fade-out interval. For a large step size this can lead to undesired vibrations of the controlled system. Therefore, the fade-out interval should be kept as small as possible. The fade-out function had to be introduced to avoid wrong signs for the difference torque which might appear for zero crossings of the angular velocity due to noise in the estimated velocity signal. 12/14

1 0 M l / Nm m 5 0-5 - 1 0-4 0 0-3 0 0-2 0 0-1 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 o m e g a / ( r a d / s e c ) Figure 14: Simulated difference torque (smooth) and measured load motor torque. 6 Summary and Outlook The first experiments with the test bed described above for the test of position controllers for drives with compliance and friction show very promising results. The use of the HIL-simulation method allows the realization of almost any desired friction characteristic in an experiment. The test bed forms the basis for subsequent experiments with different approaches for friction compensation. Future experiments will include a new approach developed at the Cologne Laboratory of Mechatronics as well as compensators based on predictive control and neural networks. The latter are provided by cooperating partner institutes at the University of Ottawa, Canada and at the Saga University, Japan. The goal of these experiments is to learn more about the implementation and robustness characteristics of the considered approaches for practical application. In addition, classical position control schemes will be examined for comparison. At the same time as the experiments mentioned above the CLM examines further ways to improve and expand the test bed. The measurement of the carriage acceleration forms the basis for an extension of the test bed with the HIL-simulation of further EMPS attachments. For example, with the acceleration measurement and the load motor the real-time simulation of an elastic positioning arm developed at the Laboratory of Mechatronics can interact with the real EMPS. This configuration is suited especially well for the testing of newly developed state space control schemes with decentralized observers [8]. The linear observer contained in the control structure is to be augmented and tested with the nonlinear compensation of the drive friction developed at the Laboratory of Mechatronics. The use of the HIL-Simulation of friction has turned the test bed into a flexible environment for realistic experiments with compensators for drives with compliance and friction. Furthermore, the chosen methodology provides an example for the development and the test of modern drive controllers in the industry. 13/14

Bibliography [1] H. Henrichfreise und C. Witte, Experimental Comparison of Observer-Based Friction Compensation Schemes for an Electromechanical Positioning System. Internal report at the CLM, Faculty of Mechanical Engineering, University of Applied Sciences Cologne 1997 [2] H. Henrichfreise and C. Witte, Observer-Based Nonlinear Compensation of dry Friction in a Positioning System. IX. Geman-Polish Seminar, University of Applied Sciences Cologne, October 1997. [3] H. Henrichfreise and C. Witte, Beobachtergestützte nichtlineare Kompensation trockener Reibung in einem Positionierantrieb. Automatisierungstechnik 46, Volume 3, pp. 128-135, R. Oldenbourg Verlag, Munich 1998. [4] B. Armstrong-Hélouvry, P. Dupont und C. Canudas de Wit: A Survey of Models, Analysis Tools and Compensation Methods for the Control of Machines with Friction. Automatica, Vol. 30, No. 7, 1994, S. 1083-1138. [5] A. Lüngen, Erstellung einer Modellbibliothek für die Simulation von Reibung. Diploma thesis at the CLM, Faculty of Mechanical Design Engineering, University of Applied Sciences Cologne 1998. [6] H. Henrichfreise: Prototyping of a LQG Compensator for a Compliant Positioning System with Friction. 1. Workshop TRANSMECHATRONIK - Entwicklung und Transfer von Entwicklungssystemen der Mechatronik, HNI-Verlagsschriftenreihe, Band 23, Paderborn 1997. Herausgeber: Jürgen Gausemeier. [7] J. Binder, R. Starbek, Aufbau eines Versuches zur HIL-Simulation von Reibung in Positionierregelungen. Project work at the CLM, Faculty of Mechanical Design Engineering, University of Applied Sciences Cologne 1998. [8] R. Lummert, Dezentrale Beobachter zur Realisierung robuster Regler für aktive Schwingungsdämpfung. Diploma thesis at the CLM, Faculty of Mechanical Design Engineering, University of Applied Sciences Cologne 1998. 14/14