Title on all pages DC motor modeling with hands on experiments on DSP2 learning module (introductory lecture to mini project)

Slides:



Advertisements
Similar presentations
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Advertisements

ELECTRIC DRIVES Ion Boldea S.A.Nasar 1998 Electric Drives.
Introduction to electronics lab ENGRI 1810 Using: Solderless prototype board (white board) Digital multimeter (DMM) Power Supply Signal Generator Oscilloscope.
Local Trigger Control Unit prototype
Motor Control Lab Using Altera Nano FPGA
MotoHawk Training Model-Based Design of Embedded Systems.
2/18/2004 Introduction to Engineering Electronics STOLEN FROM K. A. Connor 1 Lecture 6 Binary Counter Thinking Digitally.
By: Mark Bright and Mike Donaldson.  Project Goal  Applications of our system  System Block Diagram  Thermal Plant Overiew  Current Progress ◦ Engine.
Controls Lab Interface Improvement Project #06508Faculty Advisors: Dr. A. Mathew and Dr. D. Phillips Project Objectives This work focused on the improvement.
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Simulink ® From Simulink® 7 Getting Started Guide.
P07301 Summary Data Acquisition Module. Team Members.
Digital to Analog Converters
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Analysis and Design of Power Electronic Circuits using Orcad
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Anne Mascarin DSP Marketing The MathWorks
DC Motor Model Using Simscape Engr. Salim Lashari.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Programmable logic control Data Processing Computer System Key Board Light Pen Mouse PLC a Process Control Computer System Motion Sensor Sound Sensor.
Fundamentals of Power Electronics and Power System with MATLAB
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Welcome TO A Company Selling Technology and not just a Product.
המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי לישראל הפקולטה להנדסת חשמל Technion - Israel institute of technology.
High Speed Data Converter University
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Simulink ® Interface Course 13 Active-HDL Interfaces.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Address : Smetanova 17, SI-2000 Maribor, Slovenia; Tel.: , Fax.: ;
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – 30 Lab 3: Layout.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
9.0 New Features New Coupled-Field Material Property allows Analysis of Peltier Cooling Workshop 6 Thermoelectric Cooler.
Introduction to MATLAB for Engineers Third Edition William J. Palm III Chapter 10 Simulink PowerPoint to accompany Copyright © The McGraw-Hill Companies,
HW/SW Codesign Project PWM Control IC 曾任輝 林柏丞. Outline Buck Converter PWM IC A/C Converter PID regulator DPWM Simulation Summary.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
EE 460 Advanced Control and System Integration
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
DC Motor Speed Modeling in Simulink
SPEED CONTROL OF ( SEDM ) ADOPTING CHOPPER CONVERTER AND PI CONTROLLER
Modeling of Power Converters using Matlab and Simulink
Teacher/Mentor Institute Using easyC David Dominguez June 2, 2015 Update Version.
Quick guide to ASIMON configuration For version 3.0 or greater SAFETY AT WORK Date: 3/18/2009.
Getting started with MATLAB/Simulink
Introduction to Programming Python Lab 5: Strings and Output 05 February PythonLab5 lecture slides.ppt Ping Brennan
1 4-Integrating Peripherals in Embedded Systems (cont.)
1 4-Integrating Peripherals in Embedded Systems (cont.)
Throttle Arduino RC Receiver Stock Golf Cart Motor Controller Motor 1 PWM signal: Voltage: 0 – 5V Period = 22ms Positive Pulse Width: 1ms – 2ms Digital.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Getting started with Simulink
BEST Robotic, Inc. MATLAB/Simulink Team Training
WORKSHOP 1 CO-SIMULATION.
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
- Graphical extension to MATLAB for modeling and simulation of systems
WORKSHOP 7 PID TUNING.
Microcontroller Applications
Topics: ArduinoIO package Simulink with arduinoIO
Simulink Basics Reijo Vuohelainen
Workshop on INTRODUCTION OF MATLAB/SIMULINK TOOLS AND THEIR APPLICATION conducted by EEE/CCET 11/13/2018 workshop on 01/12/2010.
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Topics: Arduino Target Package
Introduction to Programming
CSCI1600: Embedded and Real Time Software
Getting Started With Simulink
Equalizing Average Source Power with Pattern Swapping
Introduction to Programming
FPGA Based Single Phase Motor Control Using Multistep Sine PWM Author Name1, Author Name2., Author Name3, (BE-Stream Name) Under the Guidance Of Guide.
Presentation transcript:

Title on all pages DC motor modeling with hands on experiments on DSP2 learning module (introductory lecture to mini project) Doc.dr. Suzana Uran Address : Smetanova 17, SI-2000 Maribor, Slovenia; University of Maribor, Faculty of Electrical Engineering and Computer Science

Title on all pages Contents About DSP2 learning module DC motor modelling –hands on exercise: current controlled DC motor model (we look for a model of current control loop ) Conclusion

Title on all pages DSP2 card Exchangeable Control Plant Control system: DSP2 learning module

Title on all pages DSP2 card: short description Signal processor TI TMS320C32-60, 3 fast analog inputs 12 bit (2.6us conv. time) 8 MUX analog inputs 12 bit, 1 analog bipolar output(12 bit)/2 unipolar outputs 1 PWM output (3 phase) 1 input for incremental encoder 3 digital outputs and 1 digital input (isolated) RS 232 duplex communication port

Title on all pages Control plant: DC/AC motor H-bridge DC motor

Title on all pages Control plant: Buck converter buck

Title on all pages RC oscilator: ADDA+RC control plant RC control plant also REMOTE experiment!

Title on all pages DSP2 module: Rapid Control Prototyping MATLAB/SIMULINK and DSP Terminal on Personal computer

Title on all pages SIMULINK libraries for DSP2 learning module Embedded Target for DSP-2 board DSP2 learning module DSP blockset Standard SIMULINK libraries DSP2_Library_for_Simulink.pdf

Title on all pages Modelling of DC motor current control loop Hands on experiment: Build a MATLAB/SIMULINK block scheme for open loop control of current controlled DC motor (ESCAP 28D2R-219P) using DSP2 learning module! Measure motor speed with incremental encoder.

Title on all pages DC motor, load, encoder data DC motor ESCAP 28D2R-219P with incr. encoder. Nominal voltage 12 VTorque constant 19.5 mNm/A Nominal current 1.5 ARotor inertia1.76*10 -6 kgm 2 Nominal speed 5000 rev/min Load inertia7.56*10 -6 kgm 2 Incremental encoder 144*4=576 p/rev

Title on all pages Getting started: DSP2 learning module In MATLAB6p5/work directory create a new directory named: VILLACHvisit Run MATLAB6p5 and go to VILLACHvisit directory In MATLAB command window write command: dsp2lib DSP2_Library_for_Simulink.pdf

Title on all pages Getting started In the new opened window ( see figure below) double click New Model button and choose new file name!

Title on all pages Getting started A new SIMULINK file for work with DSP2 learning module is opened with 3 buttons left above. Now you can start building SIMULINK block scheme.

Title on all pages Getting started Getting started In DSP2 learning module library find blocks with name DCMOT choose block DCMOT tokovna regulacija (DCMOT TOKREG Ia – motor current control loop ) and put it in your SIMULINK scheme choose block DCMOT meritev hitrosti (DCMOT OMEGA – motor speed measurement) and put it in your SIMULINK scheme

Title on all pages Getting started In menu of your file choose: Simulation/Simulation Parameters/Real-Time Workshop For DSP-2 options 2 set: 576 number of lines per revolution for Incremental encoder

Title on all pages Getting started Getting started In Embedded Target for DSP-2 board library find block To Terminal – it is a block for data visualisation on your PC use three blocks To Terminal as shown on next slide In Embedded Target for DSP-2 board library find block From Terminal – it is a block for data input from keyboard of your PC use two blocks From Terminal as shown on next slide

Title on all pages Getting started Build SIMULINK block scheme below:

Title on all pages Getting started Set parameters on the left for Pulse Generator block

Title on all pages Getting started Double click Edit Parameters (blue button) Enter definitions for: –T = 200e-6; % sampling time –amp (choose – carefully consider) –per (choose – carefully consider) –offset (choose – carefully consider) Double click Update Parameters (blue button) Switch on DSP2 learning module and double click Build (blue button)

Title on all pages after code buiding and download to DSP2 the DSP Terminal program starts. FIRST set Ioff as below (middle value to 0) Getting started

Title on all pages Getting started After setting ENABLE=1, and selecting Ia, IaREF to view we get:

Title on all pages Getting started Did you get the same response? What happens if we choose offset=0? WHY? Determine the order and parameters of the model for the current control loop ! If there is enough time left find the speed response of DC motor!

Title on all pages Motor speed response/Simulink input signal IaREF Speed response

Title on all pages Conclusion Current control loop is modelled as 1 st order system. - KMKM K T, T T MdMd mm 1/J C I aREF K T = 1, T T = 0.9 ms J C = kgms -2 K M = Nm/A

Title on all pages Motor speed measurement Motor speed measurement is obtained from position measurement of incremental encoder by differenciation  is very noisy. To filter out the noise we use : 2.nd order Butterworth filter with f cutoff = 200 Hz.