Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Similar documents
By Vishal Kumar. Project Advisor: Dr. Gary L. Dempsey

By Vishal Kumar. Project Advisor: Dr. Gary L. Dempsey

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

Lecture 5 Introduction to control

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Project Advisor: Dr. Gary L. Dempsey

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

Automatic Control Systems 2017 Spring Semester

MEM01: DC-Motor Servomechanism

DC motor control using arduino

Penn State Erie, The Behrend College School of Engineering

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable- Velocity Differential Motor Drives

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

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

Lecture#1 Handout. Plant has one or more inputs and one or more outputs, which can be represented by a block, as shown below.

Phys Lecture 5. Motors

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

Position Control of DC Motor by Compensating Strategies

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Robust Control Design for Rotary Inverted Pendulum Balance

Chapter 10 Digital PID

Advanced Servo Tuning

Step vs. Servo Selecting the Best

Upgrading from Stepper to Servo

Ver. 4/5/2002, 1:11 PM 1

SERVO MOTOR CONTROL TRAINER

UNIVERSITY OF JORDAN Mechatronics Engineering Department Measurements & Control Lab Experiment no.1 DC Servo Motor

Laboratory Tutorial#1

MSK4310 Demonstration

Introduction to Servo Control & PID Tuning

An Overview of Linear Systems

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

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Motor Modeling and Position Control Lab 3 MAE 334

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Lab 11. Speed Control of a D.C. motor. Motor Characterization

DC SERVO MOTOR CONTROL SYSTEM

Electro-hydraulic Servo Valve Systems

Figure 1.1: Quanser Driving Simulator

Laboratory Tutorial#1

Advanced Digital Motion Control Using SERCOS-based Torque Drives

SRV02-Series. Rotary Servo Plant. User Manual

Robot Joint Angle Control Based on Self Resonance Cancellation Using Double Encoders

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL:

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Valve amplifier for proportional pressure valves

Vibration Control of Mechanical Suspension System Using Active Force Control

Figure 2.1 a. Block diagram representation of a system; b. block diagram representation of an interconnection of subsystems

RT-5005/5006/5007/5008

Introduction to MS150

Position Control of a Servopneumatic Actuator using Fuzzy Compensation

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

FPGA Implementation of a PID Controller with DC Motor Application

DC Motor Speed Control for a Plant Based On PID Controller

Identification and Real Time Control of a DC Motor

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

GE 320: Introduction to Control Systems

Digital Control of MS-150 Modular Position Servo System

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism

An Introduction to Proportional- Integral-Derivative (PID) Controllers

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

Built-in soft-start feature. Up-Slope and Down-Slope. Power-Up safe start feature. Motor will only start if pulse of 1.5ms is detected.

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Matlab Data Acquisition and Control Toolbox for Basic Stamp Microcontrollers

UNIT 2: DC MOTOR POSITION CONTROL

Magnetic Suspension System Control Using Position and Current Feedback. Senior Project Proposal. Team: Gary Boline and Andrew Michalets

RISE WINTER 2015 UNDERSTANDING AND TESTING SELF SENSING MCKIBBEN ARTIFICIAL MUSCLES

Features and limitation of the programmable analogue signal processing for levitated devices

Ball and Beam. Workbook BB01. Student Version

Observer-based Engine Cooling Control System (OBCOOL) Project Proposal. Students: Andrew Fouts & Kurtis Liggett. Advisor: Dr.

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim

Equipment and materials from stockroom:! DC Permanent-magnet Motor (If you can, get the same motor you used last time.)! Dual Power Amp!

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

Engine Control Workstation Using Simulink / DSP. Platform. Mark Bright, Mike Donaldson. Advisor: Dr. Dempsey

EC CONTROL SYSTEMS ENGINEERING

Position and Velocity Sensors

DC Motor Speed Control Using Machine Learning Algorithm

Shape Memory Alloy Actuator Controller Design for Tactile Displays

EQ-ROBO Programming : bomb Remover Robot

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Industrial Control Equipment. ACS-1000 Analog Control System

EV3 Advanced Topics for FLL

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

ServoStep technology

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

SINGLE SENSOR LINE FOLLOWER

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

CS545 Contents XIV. Components of a Robotic System. Signal Processing. Reading Assignment for Next Class

Motomatic Servo Control

Cantonment, Dhaka-1216, BANGLADESH

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Transcription:

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback Expo Paper Department of Electrical and Computer Engineering By: Christopher Spevacek and Manfred Meissner Advisor: Dr. Gary Dempsey

Abstract: The project objective was to investigate and compare different algorithms for the calculation of velocity from position information. The best algorithm was applied to a small robot arm system which consists of a controller (PC software), analog-to-digital and digital-to-analog converter PC card, power amplifier, DC motor, gear train, and external load. In robotic systems a velocity calculation is difficult or impossible to implement because of noise. A neural network will be used to filter the noise from the position data before calculating velocity. The controllers that were implemented were a proportional controller, a feed-forward controller, and a two-loop controller consisting of the velocity algorithm and neural network filter. Experimental results show the benefits of our two-loop controller. Introduction: Our project objective is to design and evaluate different controllers for a small robot arm-motor platform from Quanser Consulting. The controllers and signal processing algorithms were implemented in C language on a 200 MHz Pentium Computer. An internal A/D and D/A converter card is connected to the external plant as shown in Fig. 1. The plant consists of an amplifier, DC motor assembly, external gear train, external load (robot arm), and potentiometer for the position sensor. The feedback voltage will be passed through an anti-aliasing filter, to the A/D converter, into the computer. The feedback voltage signal is proportional to the position of the robotic arm. The arm position, output position on Fig. 1, is the primary output of the system, although arm velocity will also be used. Objective: The objective of this project is to show how different types of controllers affect hydraulic and robotic systems. This project compares a proportional control, feed-forward control, minor loop

control, and minor loop control using neural networks. The proportional and feed-forward control use position feedback only, but the minor loop control uses velocity and position feedback. The velocity will be determined in software from the position feedback. Another major objective is to determine a linear model of the robot arm system. This was a critical part of the project because this model determines the different controller parameters. The final objective is to design a user-friendly interface to run and interchange these controllers on-line. Significance of Research: The hydraulic systems area is one of the more challenging areas for closed-loop control especially in the large machinery area. Hydraulic systems are expensive and require large laboratory space. Control algorithms are investigated on smaller systems such as robot arms. Our robot arm system exhibits dynamics (mathematics) similar to a hydraulic actuated system. The predominant method used in industry is human control. Many product parameters cannot even be specified because they rely on the person s experience and training. Automatic electronic controllers can eliminate the repetitive tasks performed by the human controllers as well as achieving better performance such as final position accuracy. Final positioning accuracy has only become a concern in the last several years. Good accuracy is difficult to obtain with conventional controllers. The first step to improve the hydraulic system is to add a conventional closed-loop electronic controller. The PID controller is the most widely used controller in industry and also the easiest method to design and implement. However, there are many problems and challenges with the PID controller for the large machinery hydraulic applications. The nonlinear time-varying parameters of the hydraulic system present a challenge for this control design method. One example of a hydraulic system is a Caterpillar wheel loader. The primary limitation of the PID

controller is that it is not adaptive to the different load conditions found in the large hydraulic system area [1]. For example, the wheel loader s bucket load can vary from 0 to 33,000 pounds. Student Involvement: The two students who worked on this project were Christopher Spevacek and Manfred Meissner. We both performed the system identification of the robot arm, which required approximately three weeks. We also designed all the controllers and the neural network plus writing the code to program the controllers in C language. Dr. Gary Dempsey, our advisor, supplied papers on different velocity algorithms, which we investigated. The best approaches are discussed in the following text. Methodology: The first step, in the project was to determine a linear model of the robot arm shown in Fig 1. A block diagram of the robot arm system is shown in Fig. 2. The block diagram shows that the model is a third order system. A pole is located at the s-plane origin due to the integrator. The armature pole is at high frequency that will not affect the experimental results. Therefore, a second order plant was used for the model. Experimental measurement from the system yields the following model for the plant. Gp = e 0. 025s 505. * ss ( / 2 1) (1) After the plant was found the next step was to design the proportional controller, because this is the easiest one to design. The proportional controller just adds a gain to the system. This was simulated and tested. The results are shown in Fig. 3. Note that an error (tracking error) exists between the command signal and the system output. Ideally, the two curves should overlap. The

feed-forward controller was added next, to reduce the tracking error. The feed-forward controller is the inverse of the plant model. A first-order approximation is G FF = s s /10 1 (2) The block diagram, Fig. 4., shows the location of the feed-forward controller. The gain k is the only parameter for the P-controller design. The output of the plant is shown in Fig. 5. Note that the tracking error has been reduced. The next step was to design the minor loop controller. This is different than the other two methods because the controller uses velocity feedback. To do this, position data had to be differentiated in order to get velocity. We researched different algorithms and the best was found to be Tustin s Method (3). Tustin = 2 z 1 T z 1 (3) To further reduce the tracking and over-shoot error, a minor loop controller was designed. The minor loop is just a differentiation of the output signal, which gives the velocity. This loop does not affect the overall order of the system. After obtaining the overall transfer function of the minor loop (4), the proportional and feed forward controllers (5) had to be readjusted. s * 0.35 G ML = (4) s / 30 1 s * 0.02 G FF = (5) s / 30 1 The location of the feed-forward and the minor loop is shown in Fig. 6. The output is shown in Fig. 7. Note that the tracking error and over-shoot are reduced. The neural network was used to filter the noise of the output signal in order to obtain better differentiating results (Fig.8, 9, 10, 11). Neural networks are programming techniques to emulate a brain. It is adaptive and so it can

react better to various changes in the surroundings or plant. In connection with the minor loop better results were expected, but the curve-fitting algorithm used did not do the job very well. The overshoot was just slightly smaller than without the neural network and the tracking was not as good as in the conventional minor loop (Fig.12). Results: The proportional controller is the easiest to design but does not have the best results as seen in Fig. 3. When the feed-forward controller was implementated the tracking was better but an overshoot was introduced to the output as shown in Fig. 5. With minor loop control, the tracking was almost perfect and the over-shoot was lowered (see Fig.7). Conclusion: With five out of six controllers working: proportional, feed-forward, minor loop, feed-forward with minor loop, proportional with minor loop, the one that did not perform as expected was the minor loop with the neural network. The neural network should have the best results because it smoothes out the position output signal. Further investigation of the neural algorithm is required but the simulation and experimental results are promising. Note the reduction in the level of noise from Fig.9 to Fig.10. The neural network problem has been determined. An extension to the neural network algorithm is currently under investigation to improve performance. Reference: [1] G. L. Dempsey. "ALS 990 Wheel Loader: Controller Design for Bucket and Steering Systems," Technical Report, Caterpillar Inc., Systems and Controls Research Department, November 1996.

5V DC Motor Assembly Amp 200 MHz Pentium-Based PC -5V D/A Converter A/D Converter Interface Card 1 14.1 Internal Gears Position Sensor 5V -5V Antialiasing Filter External Gears 5 Feedback Voltage 1 Load 5 Output Position Va 1 s*lara Fig. 1. Low Level System Block Diagram Kt 1 s*jeqbeq - Armature Inertia Integrator 1 Kg ωn 1 s θ Kv Fig. 2. Robot Arm System Block Diagram DC Motor with Robot Arm Load Command Signal System Output Fig. 3. P-Controller Output

Input Feed Forward - K Gp Output Fig. 4. Feed Forward P-Controller Command Signal System Output Fig. 5. Feed-Forward Output G FF - k - G p Output G ML Fig. 6. Minor Loop Block Diagram

System Output Command Signal Fig. 7. Minor Loop Output 150 differentiated input signal 100 50 0-50 -100-150 0 5 10 15 20 Fig.8. Ideal Differentiation of Input Signal 150 differentiated Plant Output 100 50 0-50 -100-150 0 5 10 15 20 Fig.9. Differentiated Plant Signal without ANN

150 differenciated ANN output with tustin 100 50 0-50 -100-150 0 5 10 15 20 Fig.10. Differentiation with ANN and Tustin s Method G FF Input - k - G p Output G ML ANN Fig. 11. Minor Loop with ANN Block Diagram Command Signal System Output Fig. 12. Minor Loop with ANN Output