Estimating Dynamics for (DC-motor)+(1st Link) of the Furuta Pendulum

Similar documents
Controller Design in Frequency Domain

EE 402 RECITATION #13 REPORT

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Manufacturing Equipment Modeling

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

ECE 3510 Final given: Spring 11

Active Vibration Isolation of an Unbalanced Machine Spindle

Lecture L22-2D Rigid Body Dynamics: Work and Energy

Chapter 8 - Power Density Spectrum

Understanding Poles and Zeros

Frequency Response of Filters

The Calculation of G rms

ω h (t) = Ae t/τ. (3) + 1 = 0 τ =.

THE EDUCATIONAL IMPACT OF A GANTRY CRANE PROJECT IN AN UNDERGRADUATE CONTROLS CLASS

Positive Feedback and Oscillators

Time series analysis Matlab tutorial. Joachim Gross

Awell-known lecture demonstration1

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Dynamic Process Modeling. Process Dynamics and Control

The accelerometer designed and realized so far is intended for an. aerospace application. Detailed testing and analysis needs to be

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

Precision Diode Rectifiers

MATRIX TECHNICAL NOTES

Applications of Second-Order Differential Equations

Newton s Law of Motion

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

Lecture 24: Oscillators. Clapp Oscillator. VFO Startup

Physics 1A Lecture 10C

Simple Harmonic Motion

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Physics 41 HW Set 1 Chapter 15

Introduction to acoustic imaging

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

First, we show how to use known design specifications to determine filter order and 3dB cut-off

DCMS DC MOTOR SYSTEM User Manual

3.2 Sources, Sinks, Saddles, and Spirals

5 Signal Design for Bandlimited Channels

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

Students Manual for the Exam. General Engineering and Electrical Civil Engineering Discipline

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

Orbits of the Lennard-Jones Potential

Mounting instructions. Acceleration Transducer B12. B 26.B12.10 en

PHYSICS 111 HOMEWORK SOLUTION #10. April 8, 2013

USB 3.0 CDR Model White Paper Revision 0.5

Lecture 8 : Dynamic Stability

Copyright 2011 Casa Software Ltd.

Predictive Indicators for Effective Trading Strategies By John Ehlers

Non-Data Aided Carrier Offset Compensation for SDR Implementation

The DC Motor. Physics 1051 Laboratory #5 The DC Motor

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

VCO Phase noise. Characterizing Phase Noise

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Building a simple seismometer

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Rotation: Moment of Inertia and Torque

Force on Moving Charges in a Magnetic Field

PID Control. Chapter 10

Tips For Selecting DC Motors For Your Mobile Robot

Chapter 3 Non-parametric Models for Magneto-Rheological Dampers

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

AP Physics Circular Motion Practice Test B,B,B,A,D,D,C,B,D,B,E,E,E, m/s, 0.4 N, 1.5 m, 6.3m/s, m/s, 22.9 m/s

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

ANALYTICAL METHODS FOR ENGINEERS

Precise Modelling of a Gantry Crane System Including Friction, 3D Angular Swing and Hoisting Cable Flexibility

STATIC AND KINETIC FRICTION

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.

FRICTION, WORK, AND THE INCLINED PLANE

Linear Motion vs. Rotational Motion

SYNCHRONOUS MACHINES

Aim : To study how the time period of a simple pendulum changes when its amplitude is changed.

Doppler. Doppler. Doppler shift. Doppler Frequency. Doppler shift. Doppler shift. Chapter 19

Chapter 11 SERVO VALVES. Fluid Power Circuits and Controls, John S.Cundiff, 2001

Linear DC Motors Magnetic Flux Permanent Bar Magnets

Section 3. Sensor to ADC Design Example

Determination of Acceleration due to Gravity

Tennessee State University

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

DINAMIC AND STATIC CENTRE OF PRESSURE MEASUREMENT ON THE FORCEPLATE. F. R. Soha, I. A. Szabó, M. Budai. Abstract

Sample Questions for the AP Physics 1 Exam

Spring Simple Harmonic Oscillator. Spring constant. Potential Energy stored in a Spring. Understanding oscillations. Understanding oscillations

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

VCO K 0 /S K 0 is tho slope of the oscillator frequency to voltage characteristic in rads per sec. per volt.

Lab 1. The Fourier Transform

Digital to Analog Converter. Raghu Tumati

Experiment 9. The Pendulum

Physics 231 Lecture 15

HW Set VI page 1 of 9 PHYSICS 1401 (1) homework solutions

Dynamics of Rotational Motion

Lecture L2 - Degrees of Freedom and Constraints, Rectilinear Motion

System Modeling and Control for Mechanical Engineers

The Fourier Analysis Tool in Microsoft Excel

Angular acceleration α

Design of a TL431-Based Controller for a Flyback Converter

Modeling Mechanical Systems

SIGNAL PROCESSING FOR EFFECTIVE VIBRATION ANALYSIS

Centripetal Force. This result is independent of the size of r. A full circle has 2π rad, and 360 deg = 2π rad.

Transcription:

Estimating Dynamics for (DC-motor)+(1st Link) of the Furuta Pendulum 1 Anton and Pedro Abstract Here the steps done for identification of dynamics for (DC-motor)+(1st Link) of the Furuta Pendulum are described. I. PROBLEM FORMULATION The Furuta pendulum consists of an arm rotating in the horizontal plane and a pendulum attached to the end of the arm moving freely in the vertical plane, see Fig. 1. The equations of motion of the Furuta pendulum, derived from the standard Euler-Lagrange dynamics, are 1 (α + β sin 2 θ) φ + γ cos θ θ + 2β θ φ sin θ cos θ γ θ 2 sin θ = τ φ, γ cosθ φ + β θ β φ 2 sin θ cos θ δ sin θ = τ θ. Here φ is the angle of the arm; θ is the angle of the pendulum, measured from the upright position; α, β, δ and γ are constants, defined by various physical parameters of the set-up; τ φ and τ θ are external torques applied to the arm and to the pendulum, respectively. The external torque τ φ consists of various components, among which we recognize the control input u, the friction torque and the contribution due to unmodelled dynamics: τ φ = u F friction ( ) F un.dynamics ( ) In turn, the control torque u is assumed to be proportional to a voltage applied to the DC-motor u = K DC v. Many of the physical parameters (converted to α, β, δ, γ and K DC ) of the system are unknown, and to be identified. To reduce complexity of the problem, we will consider separately the dynamics of the arm of the Furuta pendulum, where to take into account the mass of the pendulum, we have changed the pendulum to a symmetric metal bob added to the end of the arm, see Fig. 2. With such modification the 1 The dynamics of the DC-motor is assumed to be fast and therefore negligible.

2 Fig. 1. The Furuta Pendulum built at the Department of Applied Physics and Electronics, Umeå University. equation of motion of the arm becomes α φ = K DC v F friction ( ) F un.dynamics ( ) (1) Problem: Compute estimates for α, K DC and suggest a procedure for compensating the friction F friction ( ) in (1).

3 Fig. 2. The Furuta Pendulum with the second link changed to the metal bob. II. INITIAL STEPS FOR FRICTION COMPENSATION The friction torque F friction ( ) in (1) is a nonlinear unknown mapping acting in opposite direction to the angular velocity of the arm, dφ. It is often the case that the nature and the precise form of that mapping dt is not needed, but its approximation that can be used for (partly) compensating friction, is of interest. For example, stiction levels for F friction ( ) can be readily identified from the equation (1). Indeed, if one applies ramp signals (with a small inclination) for v, then the levels of control signal when the arm starts moving can be used for such purpose. Here it worth mentioning that the value of K DC might be unknown provided that one is interested to compensate the friction by adding a feedforward term. Such experiments for Furuta pendulum reveal the following control signal levels that can be used to compensate a Coulomb part of the friction torque:.32, if d φ > dt v Coulomb = (2).33, if d φ < dt In fact, these values are varying a bit being functions of the arm angle φ.

4 Obviously, the friction torque F friction ( ) in (1) has other components, for instance, a viscous part. It will be identified later, while adding to the control the feedforward signal v Coulomb v = v nominal + v Coulomb, removes strong nonlinearity in the system making the dynamics of (1) close to linear α φ(t) ( ) = K DC v nominal (t) + v Coulomb (t) F friction ( ) F un.dynamics ( ) = K DC v nominal (t) + (K DC v Coulomb (t) F friction ( ) F un.dynamics ( )) = K DC v nominal (t) β φ(t) + e(t) Here [β φ(t)] is the viscous part of the friction and e(t) is the remaining terms interpreted as a noise. III. ORGANIZATION OF EXPERIMENTS AND DATA PREPROCESSING It is expected that the system with the feedforward compensation term (2) should behave as α φ(t) + β φ(t) = K DC v nominal (t) + e(t). (3) The parameters 2 α, β, K DC are to be identified from the measured values y(t) = φ(t) + e m (t) (4) Here e m (t) is the measurement noise. In addition, we have freedom in choosing the nominal control signal v nominal (t). The system (3) is unstable (the arm moves in horizontal plane and its potential energy is constant). It is suggested to introduce a feedback action to stabilize the system; to use a reference signal to the closed loop signal of a particular pass-band characteristic. The simplest choice of a stabilizing controller for (3) is the proportional feedback ( ) ( ) v nominal (t) = K p r(t) y(t) = K p r(t) {φ(t) + e m (t)} where r(t) is the reference. With such choice the system (3) becomes α φ(t) + β φ(t) + K DC K p φ(t) = K DC K p r(t) + { } e(t) + K p e m (t). (5) It is stable provided that K p >. We have performed 3 experiments, where the feedback gain K p was 2 they are all positive constants K p =.5, K p =.1, K p =.15, (6)

5 and the reference r(t) were built of sinusoids from the frequency range [2, 6] rad/sec. The zero frequency signal has been intentionally excluded from that interval, because the the Coulomb friction (2) is not well defined at zero angular velocity 3. The recorded data and magnitudes of their fast Fourier transforms are depicted on Figs. 3-5. π T The sampling period for the recorded data was T s =.2 [sec] (the corresponding Nyquist frequency 1575 [rad/sec]), the data have been re-sampled to get Nyquist frequency about 12-13 [rad/sec] (that is about 2.5-3 times larger then the bandwidth of the power spectrum of the recorded signals). The resampled signals for the 3rd experiment (with the sampling period T rs =.252 [sec]) are shown on Fig.6 The data for all three experiments have been further processed to remove the mean values and possible ramps prior re-sampling. IV. NON-PARAMETRIC METHODS A. Impulse and Step Responses Computing the estimates for step and impulse responses of the system are the first steps to do. They can show us various properties including a time constant of the system, possible delay, presence of feedback in the data etc. Both step and impulse responses can be computed for the re-sampled and original experimental data. It turns out that computing step and impulse responses for the original data leads to results, which are difficult to use for some reasoning (except the fact that the system is not a low-pass filter), see Figs 7 and 8. This is indeed expectable, the system has been excited to show oscillatory behavior in response (a resonance behavior). It implies that the settling time for the system s step response could be quite large (3-4 seconds). With the sampling period T s =.2 [sec] one needs to estimate more than 15-2 thousands of coefficients to get corresponding behavior. Such task is too demanding. The computing the step and impulse responses for the re-sampled data is more feasible numerically, but the estimates will be of large variance, and again become difficult to interpret. B. Spectral Analysis Computing estimates for frequency response of the system and for spectral density of noise, can be done via relating fast Fourier transforms of the input r(t) and the output y(t). Here the re-sampled data are used for focusing on important range of frequencies. The estimates are dependent on various parameters including a type and size of lag window chosen for computing spectra, see Figs. 9 and 1. 3 When the angular velocity of the arm crossing zero level, the friction map has to have memory state in its description. The friction model (2) is the memoryless mapping.

6 The phase plots of estimates, see Figs. 9 and 1, show that the systems are likely of second order (the phase changes from to π), while the magnitude plots show that one can expect resonances at ω = 2.5 3. and 4.5 [rad/sec] for the first and the second closed systems (5), (6). V. PARAMETRIC METHOD Both the model (5) of the system obtained from basic principles (Newton laws) and the spectral analysis of the data suggest that the order of the model equals to 2, while delay in response is not substantial. One can then use the prediction error method to recover estimates of parameters for the second order system Ĝ(s) = b 1s + b s 2 + a 1 s + a (7) making various modification of focus in estimating and transforming between continuous and discrete time models structures. Comparing the model (5) with the transfer function (7), it is expected that b 1, b a, a 1 β α, a K DCK p α Prior to start searching for parameters, one should take into account that the spectra of data is within interval [2, 6] [rad/sec], therefore an estimate for b of system (5) will be unreliable and of a large variance; the estimation procedure might result into an unstable system. Indeed, the viscous friction in the system is small, hence one should expect two resonance poles close to imaginary axis, and they can be identified with mistake bringing estimated poles of the system into the region of instability. The experiments show that the system (5), (6) is stable, then an appropriate projection ensuring stability for an estimated system should be implemented. As seen from the accompanying MATLAB file, the first two guesses in (8) are wrong, the value for b 1 differs from zero and b is almost 1 times larger than a for all the estimated models and for all experiments. This mismatch should be explained. At the same for all three experiments the values of a /K p = K DC /α become close to each other Experiment 1: Experiment 2: Experiment 3: a K p = 121.37, σ = 1.15 a = 126.16, K p σ =.3467 a = 124.69, K p σ =.2358 These mean values and their variances are used for estimating K DC /α value: (8) K DC α = 124.8629, σ =.1251. VI. VALIDATION The estimated models were successfully tested on the part of the recorded data left for validation step.

7 6 RECORDED DATA (EXPERIMENT 1) 4 φ(t), (output) 2 2 4 6 1 2 3 4 5 6 7.5 r(t), (reference).5 1 2 3 4 5 6 7 Time (a) 2 x 15 FFT of φ(t), (output) 1.5 1.5 2 4 6 8 1 12 14 16 18 2 1 FFT of r(t), (reference) 8 6 4 2 2 4 6 8 1 12 14 16 18 2 frequency [rad/sec] (b) Fig. 3. (a) The recorded responses of the arm of the Furuta Pendulum under the proportional feedback (5) with K p =.5; (b) the magnitudes of FFT of time signals

8 6 RECORDED DATA (EXPERIMENT 2) 4 φ(t), (output) 2 2 4 6 1 2 3 4 5 6 7.5 r(t), (reference).5 1 2 3 4 5 6 7 Time (a) 2 x 15 FFT of φ(t), (output) 1.5 1.5 2 4 6 8 1 12 14 16 18 2 1 FFT of r(t), (reference) 8 6 4 2 2 4 6 8 1 12 14 16 18 2 frequency [rad/sec] (b) Fig. 4. (a) The recorded responses of the arm of the Furuta Pendulum under the proportional feedback (5) with K p =.1; (b) The magnitudes of FFT of time signals

9 6 RECORDED DATA (EXPERIMENT 3) 4 φ(t), (output) 2 2 4 6 1 2 3 4 5 6 7.5 r(t), (reference).5 1 2 3 4 5 6 7 Time (a) 2 x 15 FFT of φ(t), (output) 1.5 1.5 2 4 6 8 1 12 14 16 18 2 1 FFT of r(t), (reference) 8 6 4 2 2 4 6 8 1 12 14 16 18 2 frequency [rad/sec] (b) Fig. 5. (a) The recorded responses of the arm of the Furuta Pendulum under the proportional feedback (5) with K p =.15; (b) The magnitudes of FFT of time signals

1 RECORDED vs. RESAMPLED DATA (EXPERIMENT 3) 2 φ(t), (output) 1 1 2 1 15 2 25 3 35.5 r(t), (reference).5 1 15 2 25 3 35 Time Fig. 6. The time evolution of the data from the experiment 3 (sampled with T s =.2 [sec]) are depicted together with the re-sampled copy when T rs =.252 [sec] for the time interval between 8 and 38 [sec]. 2 the estimated impulse response for resampled data from EXPERIMENT N2 15 1 5 To y1 5 1 15 2 25 3 5 5 1 15 Time x 1 3 Fig. 7. The impulse response estimate for the original data from experiment 2.

11 2 the estimated step response for resampled data from EXPERIMENT N2 2 4 To y1 6 8 1 12 5 5 1 15 Time x 1 3 Fig. 8. The step response estimate for the original data from experiment 2. Amplitude 1 3 1 2 1 1 From u1 to y1 g_spa15 g_spa25 g_spa5 1 1 1 1 Phase (degrees) 5 1 15 2 g_spa15 g_spa25 g_spa5 25 3 1 1 1 Frequency (rad/s) Fig. 9. The spectral estimate for frequency response for experiment 1 with the re-sampled data (T rs =.252 [sec]) and Hamming window used in computing with the sizes 15, 25 and 5.

12 1 3 From u1 to y1 g_spa15 g_spa25 g_spa5 Amplitude 1 2 1 1 1 1 1 Phase (degrees) 2 1 1 2 g_spa15 g_spa25 g_spa5 3 1 1 1 Frequency (rad/s) Fig. 1. The spectral estimate for frequency response for experiment 2 with the re-sampled data (T rs =.252 [sec]) and Hamming window used in computing with the sizes 15, 25 and 5.