By: Mark Bright and Mike Donaldson Advisor: Dr. Gary Dempsey.

Slides:



Advertisements
Similar presentations
Pulse Width Modulation and Motor Control
Advertisements

Sensors Interfacing.
Guitar Effects Processor Using DSP
1 Variable Frequency AC Source Students: Kevin Lemke Matthew Pasternak Advisor: Steven D. Gutschlag 1.
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
Motor Control Lab Using Altera Nano FPGA
Slobodan Lubura. Model-Based-System Design use the models to describe the specifications, operation, performance of a component or a system of components.
dSPACE DS1103 Control Workstation Tutorial and DC Motor Speed Control
Active Suspension System Test Platform Bradley University Department of Electrical & Computer Engineering By: Craig Chan & Olusegun Michael Abidoye Advisor:
Students: Andrew Fouts Kurtis Liggett Advisor: Dr. Dempsey.
1 Autonomously Controlled Vehicles with Collision Avoidance Mike Gregoire Rob Beauchamp Dan Holcomb Tim Brett.
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.
dSPACE DS1103 Control Workstation Tutorial and DC Motor Speed Control
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
DC Motor-Clutch-Generator Control Workstation Senior Project Proposal Simon Benik and Adam Olson Senior Project Proposal Advisor: Dr. Gary Dempsey.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
Coordinate Based Tracking System
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.
Introduction AD620 Instrumentation Amplifier
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
Tracking Rover Team Rubber Ducky Alex Chi Joshua Rubin Alexander Starick Ryan Ramos.
Multidisciplinary Engineering Senior Design Project 6508 Controls Lab Interface Improvement Critical Design Review 2/24/05 Project Sponsor: EE Department.
DC Motor Control  mouse EE 496 Advisor: Dr. Tep Dobry.
Introduction to Op Amps
Spectrum Analyzer Ray Mathes, Nirav Patel,
Wind Energy System By: Andy Brown, Basheer Qattum & Ali Gokal Advisors: Dr. Na & Dr. Huggins.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
David MacNair POWER SUPPLY 3/30/20061 Ethernet Power Supply Controller.
Electric Motors and Motion Control Ara Knaian. Motors Motors convert electrical energy to mechanical energy Motors make things move LINEAR ELECTROSTATIC.
D ESIGN AND I MPLEMENTATION OF THE D IGITAL C ONTROLLER FOR A F UEL C ELL DC-DC P OWER C ONVERTER SYSTEM O.A. A HMED, J.A.M. B LEIJS.
ابزاردقیق ارائه دهم. The device has 2 input ports, named inverting ( - ) input and non-inverting (+) input. The output is simply an amplified signal of.
LAB 1 MATLAB, dSPACE and Simulink
September, 2007ENGR Low-Level Robot Control Mechatronics: Motors, sensors & embedded controls.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie Kosec Dr. Sastry Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie.
MUEV Phase III By: Kevin Jaris & Nathan Golick. Introduction Petroleum is a finite resource. Demand for clean energy is driving the increase in the production.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
CS-EE 481 Spring Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Observer-Based Robot Arm Control System Nick Vogel, Ron Gayles, Alex Certa Advised by: Dr. Gary Dempsey.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
P.H.A.N.S PWM HUB AIR-COOLED NOISE-REDUCTION SYSTEM GROUP MEMBERS: ADAM PALERMO, BRIAN HANSEN FACULTY ADVISOR: DR. ARASH TAKSHI INDUSTRY ADVISOR: DANA.
SEPTEMBER 25, 2008 Power Melder Midterm Presentation.
Mark Randall & Kevin Claycomb Faculty Advisor: David Mitchell Industrial Sponsor: IEEE.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
CONTENTS Objective Software &Hardware requirements Block diagram Mems technology Implementation Applications &Advantages Future scope Conclusion References.
Critical Air System Pressure Controller Senior Design Project, 2010 Morgan Hespe, Department of Electrical and Computer Engineering Mentor: Dr. Stanislaw.
Arduino Based DC Motor Speed Control
Wireless Bluetooth Controller For DC Motor. Introduction Wireless becoming more and more available and widely used Bluetooth is one of the major players.
Moisture Controlled Irrigation System Team Members: ECE - Aaron Beekman, Adrian Fletcher, and Derek Thomas CECS – Jacob Schreiver.
Digital Signal Processor HANYANG UNIVERSITY 학기 Digital Signal Processor 조 성 호 교수님 담당조교 : 임대현
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
6: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.
Fan Assembly Driven by Magnetic Fields
Team Epimetheus Wireless Robot Module
SCADA for Remote Industrial Plant
Microcontroller Applications
Prepared by: Ibrahim Yasin Ibrahim Abdulhaq
6: Processor-based Control Systems
Robotics System Lecture 11_12: DC Motor
Stryke Force Talon SRX Motor Training Course
Introduction to Motor Drives
Presentation transcript:

By: Mark Bright and Mike Donaldson Advisor: Dr. Gary Dempsey

 Project Goal  System Applications  Thermal Plant Overview  Engine Side  Thermal Side

The goal of our Engine Control Workstation is to simulate thermal environments that are found in liquid-based cooling systems. With this system we created several different control methods via MATLAB and Simulink working together to control both the engine and thermal transient and steady state responses.

Car Application PC Application The overall goal of this project is to protect the motor with varying loads with minimum energy usage

Engine Side Circuitry Thermal Side Circuitry

Engine DSP Board Thermal DSP Board

Generator Thermistor Flowmeter Pump Pittman Motor Cooling Blocks

Thermal Comparison Pittman Motor  Tmax = 311 deg F  Thermal impedance 75.9 deg F/watt  (2.9 A)^2 * (3.91 ohm) = 36 watts  36W * (75.9 deg F/watt) = 2732 deg F

Engine Side Goals Engine Control:  Minimize C-code and execution time  Learn Auto-Code generation platform of Simulink/DSP interface  Design software for PWM generation and velocity calculation from rotary encoder.  Design closed-loop controllers for velocity and acceleration control.

 32 bit Processor  150 MHz Clock  16 A/D Channels  12 PWM Digital I/O Channels  128K on-chip Flash Memory  9 Ports Total  3.3v Supply  Interfaced to PC by serial port  Inputs and output go through level- shifter IC (5v to 3.3v / 3.3v to 5v)

User Interaction: Set RPM and Gain System DesignSimulink Model MATLAB GUI Code Composer Auto Code Generated C Code TI 2812 DSP Board PWM Output to Drive Motor

 Both encoder channels from the Pittman motor are offset from each other  Pulses are wired into the DSP board Port 8 – pins 6 and 7  2 counts can be obtained per period for each channel – 4 times as many counts  Allows for Steady State Error of ± 5 RPM  Simulink codes this as inner shaft RPM, which must be converted to outer shaft RPM – 5.9:1 gear ratio  Drag QEP Block into Simulink diagram to implement

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented

 Data sent to GUI is set here  Model is used to generate Code Composer C code  P, PI, and FF Control Implemented Desired RPM Actual RPM Controller Output PWM Duty Cycle

 Simulation model started where the 2008 mini project left off  Bilinear Transform converted analog controllers to digital controllers  P, PI, and FF Control Implemented

Gp = ______________ (s/146+1)(s/776+1) ______________ (s/146+1) (s/1460+1)17.1 FF=Gp = 17.1

Simulation:  596 RPM input  FF Output is 17 RPM  Impulse duration was 2mS Actual:  596 RPM input  FF Output is 17 RPM  As expected from simulation

 100 RPM Step Input  FF Control decreases response time by 20 mS  Less overshoot  Smaller time to first peak FF Compensation PI Control Only RPM vs Time (ms) plot

 Start, Type “guide” in MATLAB  GUI can be designed here with many components  Once designed, MATLAB creates an.m file and.fig file MATLAB GUI Design

 GUI created in MATLAB and interfaced to Simulink Model  Plots Motor RPM, PWM Duty Cycle, Transient Response, and both PI and Feed Forward Controller Output  User can input desired RPM: 0 to 834 RPM  Optimal controller gains loaded at startup, but user can control both the gain and type of control  GUI updates in real time

numMsgsOchan1 = r.msgcount('ochan1'); if (numMsgsOchan1) speed = r.readmsg('ochan1', 'int32'); end numMsgsOchan2 = r.msgcount('ochan2'); if (numMsgsOchan2) pid = r.readmsg('ochan2', 'int32'); end numMsgsOchan3 = r.msgcount('ochan3'); if (numMsgsOchan3) RPM = r.readmsg('ochan3', 'int32'); end numMsgsOchan4 = r.msgcount('ochan4'); if (numMsgsOchan4) PI_Out = r.readmsg('ochan4', 'int32'); end numMsgsOchan5 = r.msgcount('ochan5'); if (numMsgsOchan5) FFOut = r.readmsg('ochan5', 'int32'); end

if ((numMsgsOchan1 ~=0) && (numMsgsOchan2 ~= 0) && (numMsgsOchan3 ~= 0) && (numMsgsOchan4 ~= 0) && (numMsgsOchan5 ~= 0)) axes(handles.axes3); plot(handles.axes3,x_axis1, RPM); title(handles.axes3,'Measured speed of the Motor'); xlabel(handles.axes3,'t (s)'); ylabel(handles.axes3,'Speed (RPM)'); grid(handles.axes3,'on'); axis(handles.axes3,[ ]); axes(handles.axes4); cycle = double(pid); plot(handles.axes4,x_axis1, cycle); title(handles.axes4,'Duty Cycle of the PWM Waveform'); xlabel(handles.axes4,'t (s)'); ylabel(handles.axes4,'Duty Cycle (%) '); grid(handles.axes4,'on'); axis(handles.axes4,[ ]);

 Acceleration Control ◦ Adjustable Feed Forward control with different types of input commands: combos of ramps, steps, and parabolic. Load changes can simulate hills and different road conditions.  CAN Bus Interface ◦ Use the DSP board’s CAN bus to send data between the boards. This would allow for a main GUI to control both sides of the system.  Data Logging Feature ◦ Allow for a user to tune controllers and compare results. Could implement a new EE431 / 432 homework or design project around the system.  Set Control Points for Thermal and Engine Response ◦ Set desired temperature for a change in the coolant as well as a engine RPM governor based on load conditions

Hardware Interfacing

 Variable Resistance  Anti-aliasing filter

 Use PWM to drive Pump/Fan  Interface from digital to analog  Average Voltage seen by the device

 Opto-Isolator  TIP120 choice  Design for 3A Opto-Isolator

 LPF to ‘DC’ the PWM  Ideal Op Amp theory  Input = Pump Opto-Isolator

DSP/Simulink Data-Logging

 Conversion of A/D Value to Temperature  Excel Trendline Simulink Data-Logging

 Conversion of A/D Value to Temperature  Excel Trendline Simulink Data-Logging

 Conversion of A/D Value to Temperature  Excel Trendline Simulink Data-Logging

 Conversion of A/D Value to Temperature  Excel Trendline Simulink Data-Logging

Simulink Data-Logging cont.  Datatype conversions  Function auto-code generated

Simulink Data-Logging cont.  Datatype conversions  Function auto-code generated

Logging The Data

Model vs. Actual

Final Simulink Model

Thermal Model

Noise Addition

Anti-Aliasing Hardware

Software Conversion

Energy Management

Power Consumption

Heat Addition

Final Simulink Auto-Code Block

Controller Types  Bang – Bang  Improved Bang Bang  P Control  PI Control

Bang – Bang Control 300 Watts/ Min

Improved Bang-Bang Control 211 Watts / Min

P Control 62 Watts / Min

PI Control 143 Watts / Min

Thermal Efficiency (Degrees F/Watts) Pump PWM% Fan PWM%

Further Thermal Development  Supervisory Control  Further improvement by utilizing Pump and Fan cooling efficiencies  Faster PID Control  Use of more temperature sensors  Use of CAN bus

 Nick Schmidt ◦ Case Assembly ◦ Hardware Assembly  Dr. Dempsey ◦ Case Assembly ◦ Hardware Assembly

P Control – Crossover Freq  Plant Wc is at 899 rad/sec  P Control System Wc was at 164 rad/sec  Gain =.08  Phase Margin with P control: ◦ 115 Gp = __________________ (s/146+1)(s/776+1) 17.1

 Gp(s) =K * 1/(Tc(s)+1) * e^-(s)Td  Pump/Plant ◦ K = (-.8 degrees F / 6.4 V) ◦ Tc = 20 ◦ Td = 6  Fan/Plant ◦ K = (-9.6 degrees F / 13V) ◦ Tc = 12 ◦ Td = 15

 P-Pump ◦ Wc =.148 radians PM = 105 GM =22.1dB  P-Fan ◦ Wc = ? PM = undefined GM =29.4dB  PI-Pump ◦ Wc =.39 radians PM = -139 GM =16.1dB  P-Pump ◦ Wc =.0966 radians PM = -48 GM =-15.92dB

Reading the data  OCHAN’s allow for data to be outputted to: ◦ GUI ◦ Workspace

H-Bridge Servo Amplifier  PWM Brush Type Servo Amplifer – Model 10A8DD  Protected for over- voltage and over- current  DC Supply Voltage: v  Peak Current: ±10A  Maximum Continuous Current: ±6A

Active Load

Conversions (A/D to Temp, PWM% to Watts

Energy Management

Heat Addition

Power

Thermal

Noise

Software Conversion

Opto-Isolator 4N25

LMC6482 Op-Amp

TIP 120 Power Amp

MC Volt regulator

SN74.. Level-shifter

Flowmeter Graph