Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.

Slides:



Advertisements
Similar presentations
Chapter 7 Operational-Amplifier and its Applications
Advertisements

Experiment 17 A Differentiator Circuit
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Data Acquisition Risanuri Hidayat.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
CHE 185 – PROCESS CONTROL AND DYNAMICS
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Unit 4 Sensors and Actuators
MotoHawk Training Model-Based Design of Embedded Systems.
CHE 185 – PROCESS CONTROL AND DYNAMICS
dSPACE DS1103 Control Workstation Tutorial and DC Motor Speed Control
L.
Active Suspension System Test Platform Bradley University Department of Electrical & Computer Engineering By: Craig Chan & Olusegun Michael Abidoye Advisor:
Active Suspension System Test Platform – Controls Advisor: Mr. Steven Gutschlag Presented: 29 April 2004 Project Member: Jerry L. Campbell Senior Presentation.
Students: Andrew Fouts Kurtis Liggett Advisor: Dr. Dempsey.
By: Mark Bright and Mike Donaldson Advisor: Dr. Gary Dempsey.
DC Motor-Clutch-Generator Control Workstation Senior Project Proposal Simon Benik and Adam Olson Senior Project Proposal Advisor: Dr. Gary Dempsey.
By: Mark Bright and Mike Donaldson.  Project Summary  System Block Diagram  Project Goals  4 Week Progress ◦ Engine side ◦ Thermo side.
By: Mark Bright and Mike Donaldson.  Project Goal  Applications of our system  System Block Diagram  Thermal Plant Overiew  Current Progress ◦ Engine.
Craig Chan & Mike Abidoye
dSPACE DS1103 Control Workstation Tutorial and DC Motor Speed Control
Transient and steady state response (cont.)
DC Motor-Clutch-Generator Control Workstation Senior Project Proposal Simon Benik and Adam Olson Senior Project Proposal Advisor: Dr. Gary Dempsey.
EE311: Junior EE Lab Phase Locked Loop J. Carroll 9/3/02.
Robotic Navigation Distance Control Platform By: Scott Sendra Advisors: Dr. Donald R. Schertz Dr. Aleksander Malinowski April 29, 2004.
Internal Model Control for DC Motor Using DSP Platform By: Marcus Fair Advisor: Dr. Dempsey.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
Lecture 9: Compensator Design in Frequency Domain.
Robotic Arm Controller A VLSI Implementation Team: Justin Hamann & Dave McNamara Team: Justin Hamann & Dave McNamara Advisor: Dr. Vinod Prasad Advisor:
Astable multivibrators I
Motor Control of an Oscillating Pendulum Nick Myers and Chirag Patel March 9, 2004 Advised by: Dr. James Irwin and Mr. Jose Sanchez Bradley University.
GPS-Guided Autonomous Vehicle.
Digital to Analog Converters
Pulse Width Modulation (PWM) LED Dimmer Circuit
Linear Regulator Fundamentals 2.1 Types of Linear Regulators.
Pulse Width Modulation (PWM) LED Dimmer Circuit
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
A Differentiator Circuit.  All of the diagrams use a uA741 op amp. ◦ You are to construct your circuits using an LM 356 op amp.  There is a statement.
Experiment 17 A Differentiator Circuit
Dynamic analysis of switching converters
Chapter 13 Linear-Digital ICs. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Electronic Devices.
AUTOMATIC VOLTAGE REGULATOR(AVR)
A Mathematical Analysis of a Sun Tracking Circuit for Photovoltaic Systems Dr. S. Louvros and Prof. S. Kaplanis T.E.I. of Patra, Greece.
1 Lab 5: Controls and feedback. 2 Lab 5: Control and Feedback This embedded system uses the Photo sensor to detect the light intensity of the environment.
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Senior Project Presentation: Designers: Shreya Prasad & Heather Smith Advisor: Dr. Vinod Prasad May 6th, 2003 Internal Hardware Design of a Microcontroller.
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
Observer-Based Robot Arm Control System Nick Vogel, Ron Gayles, Alex Certa Advised by: Dr. Gary Dempsey.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
DC-DC Fundamentals 1.5 Converter Control. What is Converter Control? A converter can provide a constant voltage output at various condition because of.
Frequency Response Analysis and Stability
Digital Control CSE 421.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Ambient Feedback Control System Jonathan Uht.  Description of Ambient Feedback Control System  Block Diagram of Ambient Feedback Control System  Hardware.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
EKT 314/4 WEEK 2 : CHAPTER 1 INTRODUCTION TO EI ELECTRONIC INSTRUMENTATION.
MECH 373 Instrumentation and Measurements
Introduction to Motors, servos and steppers
ELECTRIC DRIVES Ion Boldea S.A.Nasar 2005 Electric Drives.
Digital Control CSE 421.
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
Filters A filter removes a signal’s unwanted frequency components.
Digital Control Systems (DCS)
Presentation transcript:

Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey

Presentation Preview Project Summary and Objective Hardware Controller Application  DC Motor Model  Power Amplifier  F/V Converter Modeling  Summer Circuit  Hardware Controller Design  Experimental Results

Presentation Preview Software Controller Application  Level Shifting Circuit  BSP/Core Functions  User Interface  Command Signal  Sampling Period  Summer  F/V Converter  Digital Controller  Digital Controller Results

Presentation Preview Demonstration Work Final Parts List Future Project Work

Project Summary Design of a control workstation to test control algorithms for a Pittman DC motor Provide insight to classical and digital control system theory through practical applications First apply control system with all hardware components, then implement as much as possible into software

Project Summary Quansar Consulting currently develops control workstations for $5,000 Each station requires a PC with an internal A/D and D/A converter Goal is to develop a system at a much lower cost of $400 based on the 8051 development board

System Block Diagram

Motor Model Gp(s) = _ s s Poles at s= -148 and s= -772 rad/sec DC Gain of 17.08

Power Amplifier Discrete Component Design Internal Controller for Stability  Passive Lag Network Internal Feedback Loop Open Loop Crossover Distortion ± 27.5 Volt Output Range

Power Amplifier

Power Amplifier Model Closed Loop Gain = 11 Results from Matlab after observing open loop frequency response in PSpice: o Time Constant = 10 us o Pole = rad/sec G(s) = 11 _ s/

F/V Converter Modeling Desire Output of 2.5 V for Maximum RPM of 762 o 762 RPM Corresponds to 38.4 kHz o Desired Gain = 2.5/38400 = Experimentally Measured Results: o Time Delay = 5 ms o Pole at 388 rad/sec

F/V Converter Modeling G(s) = *e -.005s s/

Summer Circuit Produces Error Signal from Difference of Command and Feedback Signals Design using LF412 Operational Amplifier and precision resistors. Experimental Transfer Function  V o =.9945V V 2

Hardware System Controller Motor Tracking System  Motor shaft velocity follows analog command signal  All subsystems designed with hardware  Drive up to 762 RPM in positive direction  Command signal of volts  Controller Phase Margin of 60º  Steady State Error of zero (integrator)

Hardware Controller Design PI Controller  Proportional Gain Locates necessary crossover frequency to meet 60º phase margin specification Obtained using Frequency Domain Design  Integrator Drives Steady State Error to zero

Hardware Controller Design Design for crossover frequency and adjust gain to get correct PM Final Frequency Design Results from Matlab: o K = 37.6 o PM = 59.6º o wc = 34 rad/sec o Overshoot = 7.06 %

Experimental Results

Experimental Overshoot = 33 % Why such a large deviation? D/A phase lag o Sampling Period (T) = 2 ms o Phase lag = -wcT = -3.5 º Motor and F/V time delay o Added time delay = 6.1 ms o Phase lag = -wcT d = -11 º

Experimental Results Experimental Gain = 40 o Could account for -5º phase lag New phase margin = 40.5º New expected overshoot = 26 % New deviation = 7 %

Presentation Preview Software Controller Application  Level Shifting Circuit  BSP/Core Functions  User Interface  Command Signal  Sampling Period  Summer  F/V Converter  Digital PI Controller  Digital Controller Results

Level Shifting Circuit In all applications, a signal is sent from the EMAC D/A Converter D/A Converter Output is 0-5 Volts Desired Signal is ± 2.5 Volts for Bidirectional Drive in Software Application D/A Converter Output must be shifted by -2.5 Volts

Board Support Package (BSP) Supports all Devices on Board  Timer 0  Timer 2  D/A converter  A/D converter  Keypad  LCD

Core Contains Functions Common in all Applications  Summer  Conversion routines  RPM measurement  F/V calculation

User Interface Communicates with User  Ask for sampling period  Ask for Proportional Gain  Ask if Integration Desired  Ask for step magnitude (+ or -)  Verify all entries  Display current motor RPM

Command Signal  Magnitude and sign provided by user interface routine  Value entered is level shifted  Value is written to the D/A: 0 – 2.5 Volts -> Negative 2.5 – 5 Volts -> Positive  Support for step inputs only

Sampling Period  Entered by user in terms of microseconds  Value is converted to a timer reload value  Timer 0 is setup with calculated reload value  All sample driven functions are called from Timer 0 interrupt service routine

Summer  Subtracts value of F/V converter feedback signal from command signal  Software version allows for bidirectional error signal by determining motor direction from encoder signals  Called at sampling rate by Timer 0 interrupt service routine

F/V Converter Timer 2 initialized to auto reload on negative encoder transition and capture on positive transition Capture value in timer 2 registers holds cycles per encoder pulse width RPM and F/V output calculated from measured pulse width Continuously measures pulse width, but calculation occurs once every sampling rate

Digital P/PI Controller Proportional gain entered by user in 1/255 increments User chooses between P or PI control Integrator mapped in software as: Z _ Z - 1

Digital Controller Model

Digital Controller Results For Simulated K = 1  Overshoot = 15.15%  tp ≈ 55 ms For Experimental K = 1  Overshoot = 16.4%  tp ≈ 60 ms For Simulated/Experimental K = 0.2  No overshoot For Simulated/Experimental K = 5  Unstable

Digital Controller Results (K=1)

Digital Controller Results (K=0.2)

Digital Controller Results (K=5)

Demonstration Work Model wheel loader demonstrates effectiveness of controller DC generator shaft connected to controlled motor shaft provides voltage to power wheel loader motor Moving bucket arm creates a variable load on the generator

Demonstration Work Controller maintains constant motor velocity DC generator maintains constant voltage Bucket arm velocity remains constant for moderately varying loads

Demonstration Work Separate EMAC controls bucket arm movement Two different operation modes Auto - bucket arm moves up and down continuously one second at a time Manual - pressing and holding buttons on keypad moves bucket arm

Final Parts List Pittman DC Motor  2 x GM9236C534-R2 EMAC x 2 Operational Amplifiers  2 x LF412 Transistors  2 x TIP30  4 x TIP31

Final Parts List Diodes  2 x 1N5617 D Flip-Flop  7474

Future Project Work Implement more complex controllers  Multiple poles and zeroes Add provisions for ramp or impulse commands Use control workstation to test other devices and types of control  Different plants and position control

Design of a Control Workstation for Controller Algorithm Testing Questions?