System Modeling and Control for Mechanical Engineers



Similar documents
EDUMECH Mechatronic Instructional Systems. Ball on Beam System

ELECTRICAL ENGINEERING

DISTANCE DEGREE PROGRAM CURRICULUM NOTE:

MECE 102 Mechatronics Engineering Orientation

Positive Feedback and Oscillators

Manufacturing Equipment Modeling

Active Vibration Isolation of an Unbalanced Machine Spindle

Modeling, Analysis, and Control of Dynamic Systems

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

EE 402 RECITATION #13 REPORT

Mini-Lab Projects in the Undergraduate Classical Controls Course

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

Matlab and Simulink. Matlab and Simulink for Control

Microcontroller-based experiments for a control systems course in electrical engineering technology

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

ECE 3510 Final given: Spring 11

COWLEY COLLEGE & Area Vocational Technical School

Controller Design in Frequency Domain

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

Control System Definition

MAT 096, ELEMENTARY ALGEBRA 6 PERIODS, 5 LECTURES, 1 LAB, 0 CREDITS

OPERATIONAL AMPLIFIERS. o/p

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Force/position control of a robotic system for transcranial magnetic stimulation

Notes on Modifying an EET Associate Degree Curriculum to Improve Graduate Placement

ENERGY TRANSFER SYSTEMS AND THEIR DYNAMIC ANALYSIS

Grade Level Year Total Points Core Points % At Standard %

EASTERN ARIZONA COLLEGE Differential Equations

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

Lab 7: Operational Amplifiers Part I

MATH 10550, EXAM 2 SOLUTIONS. x 2 + 2xy y 2 + x = 2

Figure 1. The Ball and Beam System.

LAGUARDIA COMMUNITY COLLEGE CITY UNIVERSITY OF NEW YORK DEPARTMENT OF MATHEMATICS, ENGINEERING, AND COMPUTER SCIENCE

V out. Figure 1: A voltage divider on the left, and potentiometer on the right.

SYLLABUS FORM WESTCHESTER COMMUNITY COLLEGE Valhalla, NY lo595. l. Course #: PHYSC NAME OF ORIGINATOR /REVISOR: Dr.

Successful completion of Math 7 or Algebra Readiness along with teacher recommendation.

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

The Time Constant of an RC Circuit

A few words about imaginary numbers (and electronics) Mark Cohen

DCMS DC MOTOR SYSTEM User Manual

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

Robotics & Automation

Frequency Response of Filters

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

MECH 450F/580 COURSE OUTLINE INTRODUCTION TO OCEAN ENGINEERING

ECE475 Control System Analysis ABET Syllabus. ECE 326. Prerequisite topics: knowledge of Laplace transforms and Bode plots.

School of Engineering Department of Electrical and Computer Engineering

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 L22-2D Rigid Body Dynamics: Work and Energy

Controller Design using the Maple Professional Math Toolbox for LabVIEW

ECE 516: System Control Engineering

AC : STUDENT OUTLOOK TOWARD MEDIA-BASED MODULES IN ELECTRONICS AND NETWORK ANALYSIS

Degree programme in Automation Engineering

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Nodal and Loop Analysis

Voltage/current converter opamp circuits

MAS.836 HOW TO BIAS AN OP-AMP

Slide Basic system Models

Algebra I Credit Recovery

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

Energy, Work, and Power

Designing Gain and Offset in Thirty Seconds

Georgia Standards of Excellence Curriculum Map. Mathematics. GSE 8 th Grade

Switch Mode Power Supply Topologies

Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.

CORRECTION OF DYNAMIC WHEEL FORCES MEASURED ON ROAD SIMULATORS

with functions, expressions and equations which follow in units 3 and 4.

Laboratory 4: Feedback and Compensation

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

Sensors Collecting Manufacturing Process Data

Implementation of Fuzzy and PID Controller to Water Level System using LabView

2.6 The driven oscillator

EDUCATION CURRENT TITLE PROFESSIONAL EXPERIENCE: Ph.D, Theoretical Solid State Physics Louisiana State University, Baton Rouge, LA, 1970

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

CSEN301 Embedded Systems Trimester 1

Metropolitan State University of Denver

University of Rochester Department of Electrical and Computer Engineering ECE113 Lab. #7 Higher-order filter & amplifier designs March, 2012

Florida Math for College Readiness

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

MASTER OF SCIENCE IN APPLIED PHYSICS AND COMPUTER SCIENCE FIVE-YEAR PROGRAM

Dynamic Process Modeling. Process Dynamics and Control

MATHEMATICS PLACEMENT

Modeling Mechanical Systems

UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Address for Correspondence

Outline Servo Control

Online Tuning of Artificial Neural Networks for Induction Motor Control

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

Code: MATH 274 Title: ELEMENTARY DIFFERENTIAL EQUATIONS

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Hi4aSP051001FME1. Hyundai Robot Function Manual Servo Parameter

Transcription:

Session 1655 System Modeling and Control for Mechanical Engineers Hugh Jack, Associate Professor Padnos School of Engineering Grand Valley State University Grand Rapids, MI email: jackh@gvsu.edu Abstract Traditional courses in systems modeling focus on linear analysis techniques for systems using Laplace transforms. This method is highly effective for electrical engineering students who will make use of these techniques throughout their studies. For various reasons, such as non-linearity, Laplace transforms are used less frequently in mechanical engineering. In recognition of this difference, the Dynamic Systems Modeling and Control course (EGR 345) at Grand Valley State University was redesigned. EGR 345 examines systems that contain translational, rotational and electrical components, as well as permanent magnet DC motors. These systems are modeled with differential equations. The students are shown how to solve these systems of equations using explicit integration, numerical integration, and recognition of the canonical forms. Students are then shown how to manipulate equations containing the differential operator, and how to put these into transfer function form. Once in this form it is possible to utilize most of the techniques of classical linear control, such as block diagrams, Bode plots and root-locus diagrams. The course includes a major laboratory component. In the first half of the semester the laboratories focus on modeling physical components. The models can then be used to predict the responses of systems to given inputs. As the semester progresses the labs transition to using industrial motor controllers to reinforce the value of the course material. The paper describes the course in detail, including a custom written text book available on the course web page (http://claymore.engineer.gvsu.edu/courses.html). Introduction At Grand Valley State University (GVSU) all junior Mechanical and Manufacturing engineering students take EGR 345, Dynamic Systems Modeling and Control. Originally this course followed a very traditional approach using Laplace transforms to analyze lumped parameter linear systems. When the students completed the course they were able to analyze single input, single output linear systems using Laplace transforms, by integrating first and second order differential

equations, and using numerical methods. The topics covered in the old version of the course are listed below. Introduction Translation State variable form Rotation Electrical systems First and second order systems and integration Laplace transforms Transfer functions Block diagrams Feedback control systems, Bode plots and root-locus diagrams The textbook used for the older version of the course was written by Close and Frederick [1]. It covers the analysis of systems using differential equations and numerical methods, but quickly goes on to use Laplacian techniques. This approach is sensible for students in Electrical engineering. They are exposed to these topics in many other courses, thus allowing the material to be quickly reviewed before moving into advanced topics such as system analysis and controls. In addition, electrical systems components are generally easy to linearize, thus allowing the used of Laplace transforms. By contrast, Mechanical engineering students are more likely to use calculus and numerical methods to analyze non-linear systems. They are unlikely to be exposed to Laplace transforms in any other engineering courses, before or after the systems modeling course. A large amount of time is consumed presenting the transforms for the first time in the modeling course, and the material is not reinforced in subsequent courses. As a result most Mechanical engineering students are overwhelmed by a rushed treatment of transforms and controls in a single course. This does not have to be the case. After significant reflection about the challenges in trying to teach systems modeling it was decided to reform the course to be more suitable to Mechanical (and Manufacturing) engineers. In particular the Laplace transform was removed. This freed time to increase the coverage of differential equation solutions and numerical methods. Counter to expectations, removing Laplace transforms did not require the elimination of techniques such as Bode plots and root-locus diagrams. A side benefit of this approach is that it allowed more time to address math deficiencies. In particular, all students had completed a four course calculus sequence, but many still had basic problems [4]. The course was also enhanced by adding labs and tutorials that used industrial equipment to emphasize the theory in practical applications. This also helped to fulfill the mission of the School of Engineering by helping to meet the needs of local industry. Maturing Beyond Linear Systems Historically most system modeling and control courses are rooted in the techniques of Electrical engineering. For example, the book used previously [1] was written by an Electrical engineer, and the author of this paper has a degree in Electrical engineering. As a result the techniques for analysis tend to examine lumped parameter linear systems with Laplace transforms. For students outside Electrical engineering this is unnecessary, and displaces other useful techniques from

already full curriculums. Consider the very fundamental case of a falling mass experiencing aerodynamic drag which results in an equation of the form, My'' + 0.8( y' ) 2 Mg. The velocity squared term will prevent the equation from being converted to a transfer function, and prevent system analysis with Laplacian methods. However, this system can be integrated as a separable equation, or integrated numerically by converting it to a state equation. Eliminating the Laplace transform doesn t eliminate the ability to use many analysis techniques associated with the Laplace transform. The differential operator can be manipulated algebraically, and in many ways is analogous to the Laplacian s. This can be seen in texts [2][3] that use the differential operator. An example is shown in Appendix A. The block diagram shows a negative feedback system using a PID controller for error compensation. The D is an alternate notation for the differential operator d/dt. If the system starts at rest the D could be replaced with the Laplace s. In this case the system block diagram is simplified, a root-locus analysis is done, a Bode plot constructed, and the system response is found (a zero response in this case) by solving the differential equation. A New Course The new course format was offered successfully for the first time in the fall of 2001. The list of course topics is given below. 1. Introduction and math review 2. Translation 3. Calculus and differential equations 4. Numerical methods 5. Rotation 6. Input-output equations 7. Circuits 8. Feedback controllers 9. Fourier and root-locus analysis 10. Converting between analog and digital 11. Sensors 12. Actuators The general sequence of topics is similar to those of the old offerings. The primary difference emerges in the mathematical emphasis on specific topics as shown in Table 1. This new format also allowed the introduction of new topics that are also considered important, such as motion control, sensors and actuators. At the completion of the course students were able to analyze a wide variety of systems. Although they were not familiar with Laplacian techniques they were still able to analyze linear systems with explicit, or numerical integration. They were also able to deal comfortably with non-

linear systems. This format also improves their proficiency with techniques that are applicable in subsequent math intensive course, such as fluids. Table 1: Topical Course Changes Topic Introduction Translation Calculus Numerical methods Rotation Input-output equations Circuits Laplace transforms Feedback control Fourier analysis Bode plots Root-locus plots Motion control Analog I/O Sensors Actuators Changes A basic math review was added. No changes. Expanded the review of methods to solve differential equations, and the first/second order responses. Illustrated methods for solving non-linear differential equations. Expanded the methods for evaluation, including step function, splines and tabular interpolation. The use of C programming was also expanded for system simulation. Nonlinear state equations were illustrated. No changes. Illustrated methods for solving input-output equations using numerical methods and integration. No changes. Eliminated, and some topics shifted elsewhere. Revised this section to use the differential operator D, and remove the initial and final value theorems. Revised to apply phasors to D instead of s. Revised to use D instead of s. Revised to use D instead of s. Added as a new topic. Added as a new topic. Added as a new topic. Added as a new topic. Using Industrial Hardware An Electrical engineering student taking a controls course can design and build many examples of feedback amplifier systems. However Mechanical engineering students are often challenged by a lack of context when studying control systems. To overcome this a number of tutorials and laboratories were added that involved industrial control equipment and sensors.

Throughout the laboratory sequence industrial sensors were used for data collection. Towards the end of the laboratory sequences the labs turned to the use of motors and controllers. In these labs the students altered controller parameters and gains. The servo and variable frequency motors all allowed the students to modify PID controller parameters. As a result the students had been given many opportunities to use systems that were under/over damped, and relate these behaviors to controller gains. A list of the laboratory exercises are given below. 1. Web page creation and Mathcad tutorial/review 2. Computer based data collection with Labview 3. Sensors (accelerometers, potentiometers, ultrasonic, etc.) 4. Permanent magnet DC motor modeling 5. Proportional feedback controller 6. Spring and damper modeling 7. Torsional oscillation of a mass on a thin rod 8. Servo control systems - Allen Bradley Ultra 100 drives 9. Servo control systems and programming in C - Allen Bradley Ultra 5000 drives 10. Op-amp audio filters 11. Stepper motor controllers 12. Variable frequency drives - Allen Bradley 161 series The result of the laboratory sequence was that students were familiar with industrial equipment and how it was related to the theory covered in the lectures. The connection between the theory and actual equipment reduced the resistance to the theory that students previously exhibited. Conclusion The revised format of the course has helped focus on the mathematical skills that are useful to Mechanical engineers. The removal of Laplace transforms does not prevent the students from evaluating linear systems. However the emphasis on numerical techniques enables them to analyze more complex systems. In addition, the time spent reviewing and applying calculus techniques learned previously also improves their mathematical preparation for future courses. A number of indicators speak to the success of the course. In particular the student attitude was notably better at the end of the new course format. The final exam scores also rose to C in the new format from D for the old. The results of this updated course will be reviewed rigorously when the students who took it for the first time in the fall of 2001, return for their next regular academic semester in the summer of 2002.

References [1] Close, C., and Frederick, D., Modeling and Analysis of Dynamic Systems, Second Edition, Wiley, 1995. [2] Raven, F, Automatic Control Engineering, Fifth Edition, McGraw-Hill, 1995. [3] Jack, H., Dynamic System Modeling and Control, http://claymore.engineer.gvsu.edu/ ~jackh/books.html, 2002. [4] Adamczyk, B., Reffeor, W. and Jack, H., Math Literacy and Proficiency in Engineering Students, ASEE Annual Conference Proceedings, 2002. Biography Hugh Jack is an Assistant Professor in the Padnos School of Engineering at Grand Valley State University. He has been teaching there since 1996 in the areas of manufacturing and controls. His research areas include, process planning, robotics and rapids prototyping. He previously taught at Ryerson Polytechnic university for 3 years. He holds a Bachelors in electrical engineering, and Masters and Doctorate in Mechanical Engineering from the University of Western Ontario. Appendix A - A Problem Example A feedback control system is shown below. The system incorporates a PID controller. The closed loop transfer function is given. + - K p K i + + K D d D 4 3 D + 9 ( 3K d ) + D( 3K p ) +( 3K i ) ( 12K d + 1) + D( 9 + 12K p ) +( 12K i ) a) Verify the close loop controller function given. b) Draw a root locus plot for the controller if Kp1 and Ki1. Identify any values of Kd that would leave the system unstable. c) Draw a Bode plot for the feedback system if KdKpKi1. d) Select controller values that will result in a natural frequency of 2 rad/sec and damping coefficient of 0.5. Verify that the controller will be stable. e) For the parameters found in the last step can the initial values be found? f) If the values of Kd1 and KiKp0, find the response to a unit ramp input as a function of time.

(answer + - K p D+ K i + K d D 3 D + 9 4 + - 3K p D + 3K i + 3K d DD ( + 9) 4 3K p D + 3K i + 3K d - DD ( + 9) + 12K p D + 12K i + 12K d 3K p D + 3K i + 3K d ( 12K d + 1) + D( 9 + 12K p ) +( 12K i )

b) ( 12K d + 1) + D( 9 + 12K p ) + ( 12K i ) 0 D 9 12K p ± ( 9 + 12K p ) 2 412K ( d + 1)12K i 212K ( d + 1) Kd -100-10 -1-0.1 0 1 10 100 roots -0.092, 0.109-0.241, 0.418-0.46, 2.369-0.57, 105.6-0.588, -20.41-0.808 +/- 0.52j -0.087 +/- 0.303j -0.0087 +/- 0.1j Stable for, 9 12K p ± ( 9+ 12K p ) 2 412K ( d + 1)12K i < 0 Becomes complex at, ± ( 9 + 12K p ) 2 412K ( d + 1)12K i < 9+ 12K p ( 9 + 12K p ) 2 412K ( d + 1)12K i < ( 9 + 12K p ) 2 412K ( d + 1)12K i < 0 K 1 d > - 12 0 > ( 9 + 12K p ) 2 412K ( d + 1)12K i 576K d K i > ( 9 + 12K p ) 2 48K i ( 9 + 12K K p ) 2 48K i d > 576K d K i K d > 0.682

c) K p 1 K i 1 K d 1 3K p D + 3K i + 3K d ( 12K d + 1) + D( 9 + 12K p ) +( 12K i ) 3 + 3D + 3-13 + D21 + 12 final gain 20log - 3 13 12.7 initial gain 20log - 3 12 12.0-3 + D + 1 13 + D1.615 + 0.923 for the numerator, ω n 1 1 ξ - 1 2ω n 0.5 ω d ω n 1 ξ 2 1 0.5 2 0.866 for the denominator, ω n 0.923 0.961 ξ 1.615 2ω n 0.840 ω d ω n 1 ξ 2 0.961 1 0.840 2 0.521-12dB

3K p D + 3K i + 3K d ( 12K d + 1) + D( 9 + 12K p ) +( 12K i ) ω n 12K - i 2 12K d + 1 12K i 48K d + 4 9+ 12K p 2ξω n - 20.5( 2) 12K d + 1 24K d 7 + 12K p At this point there are two equations and two unknowns, one value must be selected to continue, therefore, K p 10 24K d 7+ 12K p 7 + 12( 10) 127 12K i 48K d + 4 48( 5.292) + 4 258.0 K d 5.292 K i 21.5 Now to check for stability ( 12( 5.292) + 1) + D( 9 + 12( 10) ) + ( 12( 21.5) ) 0 64.504 + 129D + 258 0 129 ± 129 2 4( 64.5)258 D 2( 64.5) 1 ± 1.73j

e) Cannot be found without an assumed input and initial conditions f) 30 ( )D + 30 ( ) + 31 ( ) - ( 12( 1) + 1) + D( 9 + 12( 0) ) + ( 12( 0) ) 3 13 + 9D ( 13 + 9D) ( 3 ) ''13 + '9 ''3 t ' 1 '' 0 '' + ' - 9 0 13 It is a first order system, t () C 1 e -t 9 13 + C 2 ( 0) 0 ' ( 0) 0 starts at rest/undeflected 0 C 1 1 + C 2 C 1 C 2 ' () t -C 9 13 1 e 9 -t 13 0 -C 9 1 C 1 0 13 1 C 2 0 no response