xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at:

Size: px
Start display at page:

Download "xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at:"

Transcription

1 xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at:

2 Control Hardware Connect to your experiment through the network. xpc target IP: xpc target IP: xpc target Student laptops IP:

3 Software Architecture for Laptop (host computer) 1. Generate real time code and download to computer Simulink Visual C++ xpc Target Real Time Workshop EXECUTABLE 2. Execute code and interact with real time process MATLAB GUI xpcrctool.m Simulink MATLAB command line or script

4 Setting up xpc Target This GUI configures your computer to communicate with the xpc target computer. 1. At the MATLAB prompt type: xpcsetup <enter> 2. Enter appropriate data 3. Click on Update 4. Click on Close See zoom on next page.

5 xpcsetup Zoom Change all settings to match the values shown below, except for the CompilerPath and TcpIpTargetAddress. The compiler path should contain the path to visual C++ on your computer. Use the TcpIpTargetAddress assigned to the box controlling your hardware. Path to VC++ on your computer IP address of target computer

6 Test your xpc setup Test your setup with a MATLAB xpc target test suite. At the MATLAB prompt, enter: xpctest( noreboot ) <enter> It is important to include the noreboot option or the computer will lock up. All is good if there are no errors reported.

7 Create Simulink Model ( 2 PD controllers ) Data logging Encoders D/A converters Differentiation

8 Find Simulink block: Encoder Details xpc Target\Incremental Encoder\Measurement Computing\PCI-QUAD04 Channel number: There are four encoder channels available. Count four times per complete cycle of the quadrature signal. position in radians = 2*pi*Count / (1024*4)

9 Find Simulink block: D/A Details xpc Target\D/A\Measurement Computing\PCIM-DAS Channel number: There are 2 D/A channels available. Channels 1 and 2 are connected to motor amplifiers. Set the range for both channels: 10 to +10 volts Reset to initial value after termination Desired voltage signals feed in here Initial value of D/A

10 PD Controller Details Derivative term in the feedback to avoid reference differentiation Proportional Gain Derivative Gain Desired Position Controller Output Actual Position Differentiation ( velocity estimate )

11 Configure for Compile (1-runtime) On your Simulink window select: Simulation Configuration Parameters Solver Choose fixed step Program will halt after this time Your real time interrupt rate

12 Configure for Compile (2-compile) On your Simulink window select: Simulation Configuration Parameters Real-Time Workshop 1. Click on Browse. 2. Select xpc Target from the pop up menu. 3. Screen should now look like this.

13 Configure for Compile (3-data log) On your Simulink window select: Simulation Configuration Parameters Real-Time Workshop xpc Target options Enter size of data Logging buffer.

14 Compile and Download Using either method 1 or method 2 will cause MATLAB to compile your Simulink Model and download the real time code to the target PC. Method 1 select: Tools Real-Time Workshop Build Model Method 2 Click on the Build button.

15 Execute via GUI At the MATLAB prompt, type: xpcrctool <enter> Click play button to start real time code execution. Monitor signals during run time. Not Real Time! Log data to plot after execution.

16 Monitor Signals via GUI 1. Select Host scope 2. Click Add Scope 3. Select Host 4. Select from pull down menu: Tools Host Scope Manager 5. Click Add Signals Your Simulink diagram will pop up. You can select any signal to monitor by right clicking on the signal trace.

17 Data Logging via GUI After the program has finished, check the outputs box. Click on Plot Logged Data. The outputs correspond to the outport blocks in your Simulink Diagram

18 Execute via Command Line >> start(tg): start execution of real time code >> stop(tg): stop execution of real time code If you already have a compiled application, you can load it with: load(xpcobj, APPNAME)

19 Data Logging via Command Line Regardless of how you execute the real time code, the logged data will be available from the MATLAB command line after the code has finished. tg.outputlog(:,1) The variable tg.timelog is a time vector tg.outputlog is a matrix of logged data At the MATLAB prompt: >> time = tg.timelog; >> outputlog = tg.outputlog; >> response =outputlog(:,3); >> plot(time,response); tg.outputlog(:,2) tg.outputlog(:,3)

20 Parameter Tuning via Command Line Each parameter will have a parameter name (e.g. P1 P14, etc.) To see the list of parameters and associated Simulink variables: set(tg,'showparameters','on') ; <enter> tg <enter> Parameters = PROP. VALUE PARAMETER NAME BLOCK NAME P Scalar P1 PCI-QUAD04 P Scalar P2 PCI-QUAD04 P Scalar P3 PCI-QUAD04 P Scalar P4 PCI-QUAD04 P Scalar P5 PCI-QUAD04 P Scalar P6 PCI-QUAD04 P Scalar P7 PCI-QUAD04 P Scalar P8 PCI-QUAD04

21 Parameter Tuning via Command Line To change the value of a parameter: setparam(tg, parameter number, new value); e.g. If we want P3 = 10 we write setparam(tg, 3, 10); <enter>

22 Execute and Parameter Tuning via Simulink 1. External Mode 2. Connect to Target 3. Run Executable 4. Click on blocks to change parameter values during real time.

Control Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only)

Control Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only) 1 Introduction Control Systems Laboratory Manual Hardware and Software Overview The undergraduate Control Systems Lab is located in ETLC E5-006. In the lab, there are 15 PCs equipped with data acquisition

More information

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual Rotary Motion Servo Plant: SRV02 Rotary Experiment #00: QuaRC Integration Using SRV02 with QuaRC Student Manual SRV02 QuaRC Integration Instructor Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1

More information

Industrial PC for real-time rapid prototyping KEY FEATURES

Industrial PC for real-time rapid prototyping KEY FEATURES xpc TargetBox Industrial PC for real-time rapid prototyping xpc TargetBox is an industrial PC system that features a combination of performance, ruggedness, and I/O expandability in a compact package specifically

More information

EPC-1000 Embedded PC Controller

EPC-1000 Embedded PC Controller EPC-1000 Embedded PC Controller User Manual Servo Tech Inc 1747 W. Roosevelt Rd. Suite 110 Ph: (312) 355-4853 Fax: (312) 355-2021 Chicago, IL 60608 www.servotechinc.com TABLE OF CONTENTS 1. About Your

More information

AC : DEVELOPMENT AND INITIAL ANALYSIS OF A MINI CNC RAPID DEVELOPMENT SYSTEM

AC : DEVELOPMENT AND INITIAL ANALYSIS OF A MINI CNC RAPID DEVELOPMENT SYSTEM AC 21-1427: DEVELOPMENT AND INITIAL ANALYSIS OF A MINI CNC RAPID DEVELOPMENT SYSTEM Lie Tang, Missouri University of Science and Technology Robert Landers, Missouri University of Science and Technology

More information

xpc Target 4 User s Guide

xpc Target 4 User s Guide xpc Target 4 User s Guide How to Contact The MathWorks www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_ts.html Technical Support suggest@mathworks.com bugs@mathworks.com

More information

Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB IDE

Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB IDE Introduction to Microchip-SIMULINK Blocksets and MATLAB Plug-in for MPLAB IDE Produced by Murali Manohara Chembarpu 2008 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1

More information

Real Time Testing of PMSM Controller using xpc Target Turnkey solution

Real Time Testing of PMSM Controller using xpc Target Turnkey solution Real Time Testing of PMSM Controller using xpc Target Turnkey solution August 08, 2012 Prasanna Deshpande Application Engineering MathWorks India 2012 The MathWorks, Inc. 1 What is real time testing Rapid

More information

SERVOMOTIVE MC Three Axis PC Based Servo Motion Controller. Features

SERVOMOTIVE MC Three Axis PC Based Servo Motion Controller. Features SERVOMOTIVE MC-3628 Three Axis PC Based Servo Motion Controller Features Closed-loop servo motion control for three axes, with position and velocity control 32-bit position, velocity, and acceleration

More information

Simulink Based Robot Arm Control Workstation. Figure 1-1 High Level Block Diagram

Simulink Based Robot Arm Control Workstation. Figure 1-1 High Level Block Diagram Introduction: This project consists of designing a software-based control workstation in the Simulink environment using the SimMechanics Toolbox. The Quanser robot arm system will be modeled using this

More information

Experiment 1: Introduction to PC-Based Data Acquisition and Real-Time Control

Experiment 1: Introduction to PC-Based Data Acquisition and Real-Time Control Experiment 1: Introduction to PC-Based Data Acquisition and Real-Time Control Tools/concepts emphasized: Matlab, Simulink, Real-Time-Workshop (RTW), WinCon, MultiQ-3, data acquisition, and real-time control.

More information

What is Simulink. >>simulink

What is Simulink. >>simulink MATLAB Simulink What is Simulink Simulink is an input/output device GUI block diagram simulator. Simulink contains a Library Editor of tools from which we can build input/output devices and continuous

More information

Example: Modeling a Cruise Control System in Simulink

Example: Modeling a Cruise Control System in Simulink Example: Modeling a Cruise Control System in Simulink Physical setup and system equations Building the model Open-loop response Extracting the Model Implementing PI control Closed-loop response Physical

More information

Introduction to Matlab Simulink. Control Systems

Introduction to Matlab Simulink. Control Systems Introduction to Matlab Simulink & their application in Control Systems ENTC 462 - Spring 2007 Introduction Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB

More information

SIMULINK Tutorial. Select File-New-Model from the menu bar of this window. The following window should now appear.

SIMULINK Tutorial. Select File-New-Model from the menu bar of this window. The following window should now appear. SIMULINK Tutorial Simulink is a block-orientated program that allows the simulation of dynamic systems in a block diagram format whether they are linear or nonlinear, in continuous or discrete forms. To

More information

Application of xpc Target as a Prototyping Environment in Control System Laboratories

Application of xpc Target as a Prototyping Environment in Control System Laboratories Application of xpc Target as a Prototyping Environment in Control System Laboratories Cedric Demers-Roy, Richard Hurteau Ecole Polytechnique de Montreal Abstract This paper presents an example of application

More information

Usable Simulink Embedded Coder Target for Linux

Usable Simulink Embedded Coder Target for Linux Usable Simulink Embedded Coder Target for Linux Michal Sojka, Pavel Píša Czech Technical University in Prague Faculty of Electrical Engineering Department of Control Engineering 16 th Real-Time Linux Workshop

More information

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback System Level Block Diagram By: Christopher Spevacek and Manfred Meissner Advisor: Dr. Gary Dempsey Overview: Our

More information

Sesión 2: PL 1b: Gestión de sistemas en tiempo real para prototipado rápido de controladores (MathWorks).

Sesión 2: PL 1b: Gestión de sistemas en tiempo real para prototipado rápido de controladores (MathWorks). Sesión 2: PL 1b: Gestión de sistemas en tiempo real para prototipado rápido de controladores (MathWorks). 1 Objetivo... 3 Hardware description... 3 Software Setup... 3 Setting an Initial Working Folder...

More information

Session 3 Introduction to SIMULINK

Session 3 Introduction to SIMULINK Session 3 Introduction to SIMULINK Brian Daku Department of Electrical Engineering University of Saskatchewan email: daku@engr.usask.ca EE 290 Brian Daku Outline This section covers some basic concepts

More information

Modeling HDL components for FPGAs in control applications

Modeling HDL components for FPGAs in control applications Modeling HDL components for FPGAs in control applications Mark Corless, Principal Application Engineer, Novi MI 2014 The MathWorks, Inc. 1 Position sensing High resolution voltage modulation Critical diagnostics

More information

xpc Target For Use with Real-Time Workshop User s Guide Version 2

xpc Target For Use with Real-Time Workshop User s Guide Version 2 xpc Target For Use with Real-Time Workshop User s Guide Version 2 How to Contact The MathWorks: www.mathworks.com comp.soft-sys.matlab support@mathworks.com suggest@mathworks.com bugs@mathworks.com doc@mathworks.com

More information

Open Loop Step Response

Open Loop Step Response TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Open Loop Step Response by Sean Hendrix revised by Trevor Eckert 1 OBJECTIVE The objective is to find a first-order model for a DC motor using the open loop step

More information

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset

Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset Mid Sweden University Revised: 2013-11-12 Magnus Eriksson Assignment 2 in Simulation of Telesystems Laboratory exercise: Introduction to Simulink and Communications Blockset You are expected to conclude

More information

Experiment 8 SIMULINK

Experiment 8 SIMULINK Experiment 8 SIMULINK Simulink Introduction to simulink SIMULINK is an interactive environment for modeling, analyzing, and simulating a wide variety of dynamic systems. SIMULINK provides a graphical user

More information

APPENDIX A SOFTWARE INFORMATION

APPENDIX A SOFTWARE INFORMATION APPENDIX A SOFTWARE INFORMATION The Feedback Thermal Control Experiment and Process Simulator are analog systems so a data acquisition board and Matlab s data acquisition toolbox are used to collect data

More information

Running 2D Ball Balancer Experiment

Running 2D Ball Balancer Experiment Running 2D Ball Balancer Experiment Contents Purpose...1 Physical Setup...1 Procedures...3 Step 1: Calibration...3 Step 2: MATLAB and the Environment...4 Step 3: Setup File...5 Step 4: Compile and Run...5

More information

Objectives. Part 1: forward kinematics. Physical Dimension

Objectives. Part 1: forward kinematics. Physical Dimension ME 446 Laboratory #1 Kinematic Transformations Report is due at the beginning of your lab time the week of February 20 th. One report per group. Lab sessions will be held the weeks of January 23 rd, January

More information

Introduction to PoliArd

Introduction to PoliArd Introduction to PoliArd Damiano Milani Politecnico di Milano Department of Mechanical Engineering PoliArd Project PoliArd is a complete environment for implementing control logics on real-time hardware.

More information

Control Technology. motion controller and power amplifier

Control Technology. motion controller and power amplifier Control Technology motion controller and power amplifier Erik van Hilten Rik Prins National Instruments Agenda Controller, the central element Tools for controller design in drive systems: - in PC-based

More information

8438/8838 User Manual User Manual of the 8438/8838 MATLAB Embedded Controllers

8438/8838 User Manual User Manual of the 8438/8838 MATLAB Embedded Controllers User Manual of the 8438/8838 MATLAB Embedded Controllers Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the

More information

Hands-on Lab. Open-Loop Response: System Identification

Hands-on Lab. Open-Loop Response: System Identification Hands-on Lab Open-Loop Response: System Identification v r Motorized tethered cart A step or impulse response provides useful information that characterizes the system. With such data, one can then begin

More information

MMTO Internal Technical Memorandum #04-3

MMTO Internal Technical Memorandum #04-3 MMTO Internal Technical Memorandum #04-3 Control System Prototyping A Case Study D. Clark July 15, 2004 Introduction In the spring of 2004, MMTO began a project to upgrade the MMT servo control system

More information

Matlab Simulink Simscape

Matlab Simulink Simscape Matlab Simulink Simscape 1 / 6 2 / 6 3 / 6 Matlab Simulink Simscape Simscape enables you to rapidly create models of physical systems within the Simulink environment. With Simscape, you build physical

More information

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks 2012 The MathWorks, Inc. 1 Agenda Develop ECUs with Model-Based Design Generate Application Code for Prototyping

More information

Lab Exercise 07 DC motor PI velocity control

Lab Exercise 07 DC motor PI velocity control Lab Exercise 07 DC motor PI velocity control Lab 07.1 Objectives The objectives of this exercise are to: 1. Incorporate many of the hardware and software elements developed previously in this course into

More information

RMCWin. WalkThrough. This document is intended for walking through RMCWin with customers over the telephone/internet.

RMCWin. WalkThrough. This document is intended for walking through RMCWin with customers over the telephone/internet. RMCWin WalkThrough This document is intended for walking through RMCWin with customers over the telephone/internet. Figure 1. Typical RMC100 and RMCWin installation. PC running RMCWin Setup and Diagnostics

More information

MAC-3xx Core. Application. As the result, we deliver any customized SPEC Off-the-Shelf

MAC-3xx Core. Application. As the result, we deliver any customized SPEC Off-the-Shelf MAC-3xx Core 333MHz (3ns) ADSP-21362 SHARC DSP 2.0 GigaFLOP s, SIMD Core IEEE-compatible 32-bit floating-point, 40-bit extended floating-point 64 bit memory mapping format 80 bit MAC Instructions 200 MHz,

More information

Lab 2 Modeling from an observed response

Lab 2 Modeling from an observed response Lab 2 Modeling from an observed response Agenda Time Item 5 min Lab introduction The big picture of system modeling in the time domain 5 min The SEE, to quantify the goodness of fit 5 min Demonstration

More information

Simulink Basics Tutorial

Simulink Basics Tutorial Simulink Basics Tutorial Simulink is a graphical extension to MATLAB for modeling and simulation of systems. One of the main advantages of Simulink is the ability to model a nonlinear system, which a transfer

More information

Real-Time Windows Target

Real-Time Windows Target Real-Time Windows Target For Use with Real-Time Workshop Modeling Simulation Implementation User s Guide Version 2 How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc.

More information

Process Automation CHEM-E7140

Process Automation CHEM-E7140 Process Automation CHEM-E7140 Tutorial 3: An introduction to Simulink 1 Contents 1 Simulink: a brief introduction...2 A. Getting started...2 B. Modeling dynamic models...3 C. Creating a new model...4 D.

More information

Importing Models from Physical Modeling. Tools Using the FMI Standard

Importing Models from Physical Modeling. Tools Using the FMI Standard Importing Models from Physical Modeling Tools Using the FMI Standard Overview The objective of this tutorial is to demonstrate the workflow for the integration of FMUs in DYNA4. The following use case

More information

ME422 Mechanical Control Systems Matlab/Simulink Hints and Tips

ME422 Mechanical Control Systems Matlab/Simulink Hints and Tips Cal Poly San Luis Obispo Mechanical Engineering ME Mechanical Control Systems Matlab/Simulink Hints and Tips Ridgely/Owen, last update Jan Building A Model The way in which we construct models for analyzing

More information

Introduction to Simulink

Introduction to Simulink Introduction to Simulink by Vinay S. K. Guntu 4310 Feedback Control Systems 1 Simulink Basics Tutorial Simulink is a graphical extension to MATLAB for modeling and simulation of systems. Advantages 1)

More information

Tutorial - Exporting Models to Simulink

Tutorial - Exporting Models to Simulink Tutorial - Exporting Models to Simulink Introduction The Matlab and Simulink tools are widely used for modeling and simulation, especially the fields of control and system engineering. This tutorial will

More information

SIMULINK A Tutorial by Tom Nguyen

SIMULINK A Tutorial by Tom Nguyen Introduction SIMULINK A Tutorial by Tom Nguyen Simulink (Simulation and Link) is an extension of MATLAB by Mathworks Inc. It works with MATLAB to offer modeling, simulating, and analyzing of dynamical

More information

Lecture 2 Matlab Environment

Lecture 2 Matlab Environment Computer Aided Design (CAD) Lecture 2 Matlab Environment Dr.Eng. Basem ElHalawany Title Lecturer: Lecturer Webpage: Room/Email Teaching Assistant (TA) Course Webpage References Software Packages Assessment

More information

SIMULINK FOR BEGINNERS:

SIMULINK FOR BEGINNERS: 1 SIMULINK FOR BEGINNERS: To begin your SIMULINK session open first MATLAB ICON by clicking mouse twice and then type»simulink You will now see the Simulink block library. 2 Browse through block libraries.

More information

Motion Control Computing Architectures for Ultra Precision Machines

Motion Control Computing Architectures for Ultra Precision Machines Motion Control Computing Architectures for Ultra Precision Machines Mile Erlic Precision MicroDynamics, Inc., #3-512 Frances Avenue, Victoria, B.C., Canada, V8Z 1A1 INTRODUCTION Several computing architectures

More information

MATLAB 7. The Language of Technical Computing KEY FEATURES

MATLAB 7. The Language of Technical Computing KEY FEATURES MATLAB 7 The Language of Technical Computing MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical

More information

Introduction to Simulink

Introduction to Simulink Introduction to Simulink Mikael Manngård Process Control Laboratory, Åbo Akademi University February 27, 2014 Simulink is an extension to MATLAB that is used for modeling and simulation of dynamic systems.

More information

Interfacing OpenSim models with MATLAB /Simulink. OpenSim Workshop

Interfacing OpenSim models with MATLAB /Simulink. OpenSim Workshop Interfacing OpenSim models with MATLAB /Simulink Acknowledgements Why do we care about MATLAB and OpenSim? MATLAB Simulink S- func5on OpenSim Pros World s leading mathematical computing software Used by

More information

Video Decoder EI3 Extender Board Support Package (BSP) v1.0.0 Release Notes

Video Decoder EI3 Extender Board Support Package (BSP) v1.0.0 Release Notes Video Decoder EI3 Extender Board Support Package (BSP) v1.0.0 Release Notes Thank you for installing the Video Decoder EI3 Extender Board Support Package (BSP). The BSP provides software and documentation

More information

DETC RAPID EMBEDDED PROGRAMMING FOR ROBOTIC SYSTEMS

DETC RAPID EMBEDDED PROGRAMMING FOR ROBOTIC SYSTEMS Proceedings of Insert Conference Abbreviation: Insert Conference Name Insert Conference Date and Location DETC RAPID EMBEDDED PROGRAMMING FOR ROBOTIC SYSTEMS Daniel Burns Thomas G. Sugar Arizona State

More information

Self-Correcting Projectile Launcher: Proposal for ECSE-4460 Control Systems Design

Self-Correcting Projectile Launcher: Proposal for ECSE-4460 Control Systems Design Self-Correcting Projectile Launcher: Proposal for ECSE-4460 Control Systems Design Josh Schuster Yena Park Diana Mirabello Ryan Kindle March 1, 2005 Rensselaer Polytechnic Institute ABSTRACT The design

More information

Matlab OTKB GUI Manual:

Matlab OTKB GUI Manual: Matlab OTKB GUI Manual: Preface: This is the manual for the OTKB GUI. This GUI can be used to control stage position as well as perform sensitivity and stiffness calibrations on the trap. This manual will

More information

Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes

Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP) v1.0.0 Release Notes Thank you for installing the Blackfin Audio (EI1) EZ-Extender Board Support Package (BSP). The BSP provides software and

More information

SJ300 Closed loop vector control (Velocity)

SJ300 Closed loop vector control (Velocity) SJ300 Closed loop vector control (Velocity) 1 1. Scope 1.1. The scope of this document is to provide a step-by-step procedure for setting up a SJ300 for closed loop vector control (velocity). 2. Parts

More information

Simulink Basics Tutorial

Simulink Basics Tutorial 1 of 20 1/11/2011 5:45 PM Starting Simulink Model Files Basic Elements Running Simulations Building Systems Simulink Basics Tutorial Simulink is a graphical extension to MATLAB for modeling and simulation

More information

4Trio Motion Technology3

4Trio Motion Technology3 4Trio Motion Technology3 MC 202 Motion Controller Product Overview 3-1 3.0 Motion Coordinator 202 Description 3.1 Motion Coordinator 202 The Motion Coordinator 202 is a miniature stepper/servo positioner

More information

Introduction to ARDUINO/SIMULINK

Introduction to ARDUINO/SIMULINK Introduction to ARDUINO/SIMULINK Lab Objectives Install and verify Arduino software package for Simulink using a digital output to light a LED Communicate with the target board (Arduino) using external

More information

[ MATLAB ] [ Resources ] PART TWO: SIMULINK

[ MATLAB ] [ Resources ] PART TWO: SIMULINK Página 1 de 15 [ MATLAB ] [ Resources ] PART TWO: SIMULINK Contents Introduction Getting Started Handling of Blocks and Lines Annotations Some Examples NOTE: This tutorial is based on Simulink Version

More information

Running Linear Flexible Joint Cart + Single Inverted Pendulum Experiment

Running Linear Flexible Joint Cart + Single Inverted Pendulum Experiment Running Linear Flexible Joint Cart + Single Inverted Pendulum Experiment Contents Purpose...1 Physical Setup...2 Procedures...2 Step 1: Starting MATLAB...2 Step 2: Selecting Compiler...2 Step 3: Setup

More information

MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version

MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version MANUAL FOR RECTILINEAR AND TORSIONAL POSITION CONTROL SYSTEM Prof. R.A. de Callafon, Dept. of MAE, UCSD, version 3.1415 ECP HARDWARE & SOFTWARE Turning on Hardware Turn on the ECP (model 205 or 210) control

More information

Lab 7: PID Control with Trajectory Following

Lab 7: PID Control with Trajectory Following Introduction ME460: INDUSTRIAL CONTROL SYSTEMS Lab 7: PID Control with Trajectory Following In Lab 6 you identified an approximate transfer function for both the X and Y linear drives of the XY stage in

More information

SynqNet-ZMP Hardware Quick Start Guide. Table of Contents

SynqNet-ZMP Hardware Quick Start Guide. Table of Contents Table of Contents Safety Warnings... 2 Install the MDK (software)... 4 Install Controller... 8 PCI... 9 CPCI-3U... 11 Connect Hardware... 12 Cable Connections: Controller to Node(s).. 13 Motion Console...

More information

Teaching Control System Principles Using Remote Laboratories over the Internet

Teaching Control System Principles Using Remote Laboratories over the Internet , July 6-8, 2011, London, U.K. Teaching Control System Principles Using Remote Laboratories over the Internet Lutfi Al-Sharif, Ashraf Saleem, Walid Ayoub, and Mohammad Naser Abstract Remote laboratories

More information

PSIM SIMULATION SOFTWARE. TUTORIAL How to use the Simcoupler

PSIM SIMULATION SOFTWARE. TUTORIAL How to use the Simcoupler PSIM SIMULATION SOFTWARE TUTORIAL How to use the Simcoupler Page 1/8 The objective of this tutorial is to help you use the Simcoupler module to realise co-simulation between PSIM 6.0 and Matlab/Simulink*.

More information

Ensemble QL andqle Networked Panel-Mount Piezo Drive

Ensemble QL andqle Networked Panel-Mount Piezo Drive Ensemble QL and QLe Motion Controllers Ensemble QL andqle Networked Panel-Mount Piezo Drive Networkable with any Ensemble drive to control up to ten axes of piezo and/or servo motor stages Single or Multi-axis

More information

E105: RLTOOL Tutorial

E105: RLTOOL Tutorial E105: RLTOOL Tutorial Andrew C. Smith 7/30/2007 Thanks to Sean Augenstein for his tutorial. 1. Introduction What is RLTOOL? RLTOOL is a tool in MATLAB, that provides a GUI for performing Root Locus analysis

More information

SJ300 Closed loop vector control (Electronic Gearing)

SJ300 Closed loop vector control (Electronic Gearing) SJ300 Closed loop vector control (Electronic Gearing) 1 1. Scope 1.1. The scope of this document is to provide a step-by-step procedure for setting up a SJ300 for closed loop vector control (electronic

More information

Note 10 Introduction to MATLAB & SIMULINK

Note 10 Introduction to MATLAB & SIMULINK Note 10 Introduction to MATLAB & SIMULINK Department of Mechanical Engineering, University Of Saskatchewan, 57 Campus Drive, Saskatoon, SK S7N 5A9, Canada 1 1 Introduction to MATLAB MATLAB stands for the

More information

Lab 1: Move the Mobile Robot Wheels: Motor Velocity Control 2.12: Introduction to Robotics Fall 2016

Lab 1: Move the Mobile Robot Wheels: Motor Velocity Control 2.12: Introduction to Robotics Fall 2016 Lab 1: Move the Mobile Robot Wheels: Motor Velocity Control 2.12: Introduction to Robotics Fall 2016 Peter Yu, Ryan Fish, and Kamal Youcef-Toumi Instructions: 1. When your team is done with each task,

More information

System II Device Driver & Controller

System II Device Driver & Controller System II Device Driver & Controller System II 32-bit Device Driver & Controller User s Guide Version 1.0 01 January 1999 Copyright 1998 Tucker-Davis Technologies, TDT. All rights reserved. No part of

More information

ID630L: Becoming Familiar with Sensorless Vector Control of BLDC Motors

ID630L: Becoming Familiar with Sensorless Vector Control of BLDC Motors ID630L: Becoming Familiar with Sensorless Vector Control of BLDC Motors Description: This lab will teach the attendees how to use Renesas MCU to implement sensorless vector control of BLDC motors step

More information

Experiment 6 SIMULINK

Experiment 6 SIMULINK Experiment 6 SIMULINK Simulink Introduction to simulink SIMULINK is an interactive environment for modeling, analyzing, and simulating a wide variety of dynamic systems. SIMULINK provides a graphical user

More information

CourseContents: 1.Introduction to MATLAB. 2. Handling data and data flow in MATLAB. 3. Editing and Debugging M-FILES

CourseContents: 1.Introduction to MATLAB. 2. Handling data and data flow in MATLAB. 3. Editing and Debugging M-FILES CourseContents: 1.Introduction to MATLAB Historical Background Demo & Applications Scope of MATLAB Importance to Engineers Features Vectors & Arrays Accessing MATLAB Help MATLAB Environment Workspace &

More information

Motor driver board. EB022

Motor driver board.   EB022 Motor driver board www.matrixmultimedia.com EB022 Contents About this document 3 Board layout 3 General information 4 Circuit description 5 Circuit diagram 6 2 Copyright About this document This document

More information

USING THE MATLAB TOOLSET TO IMPROVE EFFICIENCY IN THE EOBD CALIBRATION PROCESS

USING THE MATLAB TOOLSET TO IMPROVE EFFICIENCY IN THE EOBD CALIBRATION PROCESS 1 USING THE MATLAB TOOLSET TO IMPROVE EFFICIENCY IN THE EOBD CALIBRATION PROCESS and Ford Motor Company Limited, UK Agenda 2 Introductions and Agenda Background Historical Calibration Process New Calibration

More information

REAL-TIME REMOTE NETWORK CONTROL OF AN INVERTED PENDULUM USING ST-RTL

REAL-TIME REMOTE NETWORK CONTROL OF AN INVERTED PENDULUM USING ST-RTL REAL-TIME REMOTE NETWORK CONTROL OF AN INVERTED PENDULUM USING ST-RTL R. Murillo Garcia 1, F. Wornle 1, B. G. Stewart 1, D. K. Harrison 1 Abstract - This paper describes the use of Simulink Target for

More information

Power PMAC IDE. DELTA TAU Data Systems, Inc. Typical Screen for Integrated Development Environment (IDE) Terminal Position. Intellisense F.E.

Power PMAC IDE. DELTA TAU Data Systems, Inc. Typical Screen for Integrated Development Environment (IDE) Terminal Position. Intellisense F.E. Power PMAC IDE Typical Screen for Integrated Development Environment (IDE) DELTA TAU Data Systems, Inc. Terminal Position Intellisense F.E. Watch Motor Status Velocity User Written Code Message Window

More information

Exercise 2b: Model-based control of the ABB IRB 120

Exercise 2b: Model-based control of the ABB IRB 120 Exercise 2b: Model-based control of the ABB IRB 120 Prof. Marco Hutter Teaching Assistants: Vassilios Tsounis, Jan Carius, Ruben Grandia October 31, 2017 Abstract In this exercise you will learn how to

More information

Embed Release Notes

Embed Release Notes Embed 2016.3 Release Notes INTRODUCTION solidthinking Embed, formerly known as VisSim Embedded, is a block diagram language for model-based embedded development. It supports UML State Charts integrated

More information

Design and Verification of Motion Control Algorithms Using Simulation

Design and Verification of Motion Control Algorithms Using Simulation Design and Verification of Motion Control Algorithms Using Simulation Douglas Eastman, Paul Lambrechts, Arkadiy Turevskiy The MathWorks, Inc. Natick, MA, 176 Identifying system level problems early and

More information

Lecture 20. Java Exceptional Event Handling. Dr. Martin O Connor CA166

Lecture 20. Java Exceptional Event Handling. Dr. Martin O Connor CA166 Lecture 20 Java Exceptional Event Handling Dr. Martin O Connor CA166 www.computing.dcu.ie/~moconnor Topics What is an Exception? Exception Handler Catch or Specify Requirement Three Kinds of Exceptions

More information

Experiment 3. Getting Start with Simulink

Experiment 3. Getting Start with Simulink Experiment 3 Getting Start with Simulink Objectives : By the end of this experiment, the student should be able to: 1. Build and simulate simple system model using Simulink 2. Use Simulink test and measurement

More information

Tutorials for the User-Friendly EST Software

Tutorials for the User-Friendly EST Software Tutorials for the User-Friendly EST Software Installing the Program 1) To begin installation, run the setup.exe file. 2) Agree to install the Runtime Compiler for Matlab as it is essential to running the

More information

Hexapod Motion Controller with EtherCAT

Hexapod Motion Controller with EtherCAT Hexapod Motion Controller with EtherCAT Control a 6-Axis Positioning System via Fieldbus Interface C-887.53x Integration into an automation system Synchronous motion in 6 axes Cycle time 1 ms Commanding

More information

Analog Simulation and Testing via FPAA Jeffrey Teng, Fall 2016

Analog Simulation and Testing via FPAA Jeffrey Teng, Fall 2016 Analog Simulation and Testing via FPAA Jeffrey Teng, Fall 2016 Introduction This document discusses the process of performing real measurements on analog circuits using an FPAA remote system. The software

More information

ACSE Manuals Archive List of Contents

ACSE Manuals Archive List of Contents ACSE Manuals Archive List of Contents Category Title Borland C++ Programmer's Guide Version 2.0 Languages Help Compiler Version 2.0 Turbo Assembler Reference Guide Version 1.0 Turbo Assembler User's Guide

More information

There is no need to submit any report and you just need to finish the three tutorials as well as the example.

There is no need to submit any report and you just need to finish the three tutorials as well as the example. The first three tutorials are selected from the MATLAB/Simulink help. The fourth example is a simple SimMechanics example which can help you learn the SimMechanics more. You can find more detailed information

More information

Table of Contents. Safety Warnings 3. Install MDK (software).. 5. Install Controller 9 PCI. 10 PMC Connect Hardware Motion Console.

Table of Contents. Safety Warnings 3. Install MDK (software).. 5. Install Controller 9 PCI. 10 PMC Connect Hardware Motion Console. Table of Contents Safety Warnings 3 Install MDK (software).. 5 Install Controller 9 PCI. 10 PMC... 12 Connect Hardware.... 16 Motion Console. 19 Download Controller Firmware. 19 Add New Controller.. 21

More information

Galil Motion Control. DMC - 18x6. Datasheet (US ONLY)

Galil Motion Control. DMC - 18x6. Datasheet (US ONLY) Galil Motion Control DMC - 18x6 Datasheet Galil Motion Control 270 Technology Way, Rocklin, CA 1-916-626-0101 (US ONLY) 1-800-377-6329 Product Description The DMC-18x6 PCI bus motor controllers belong

More information

Fuzzy Logic Control of a Magnetic Suspension System. using xpc Target

Fuzzy Logic Control of a Magnetic Suspension System. using xpc Target Fuzzy Logic Control of a Magnetic Suspension System using xpc Target Functional Description Name: Stephen Friederichs Advisors: Dr. Winfred Anakwa and Dr. In Soo Ahn Date: October 28, 2004 Introduction

More information

A MATLAB TOOLBOX FOR REAL-TIME CONTROL USING C167 MICROCONTROLLERS

A MATLAB TOOLBOX FOR REAL-TIME CONTROL USING C167 MICROCONTROLLERS A MATLAB TOOLBOX FOR REAL-TIME CONTROL USING C167 MICROCONTROLLERS F. WÖrnle, R. Murillo Garcia Glasgow Caledonian University School of Engineering, Science and Design Cowcaddens Road, Glasgow, G4 0BA,

More information

Factory HIL Hardware in the Loop

Factory HIL Hardware in the Loop Factory HIL Hardware in the Loop The Factory HIL provides a way of simulating the complete functionality of an F1 race car. I/O and simulation models are provided to drive the F1 Standard ECU components

More information

Lab # 3 Time Response Design. State Space and Transfer Functions

Lab # 3 Time Response Design. State Space and Transfer Functions Islamic University of Gaza Faculty of Engineering Computer Engineering Dep. Feedback Control Systems Lab Eng. Tareq Abu Aisha Lab # 3 Lab # 3 Time Response Design State Space and Transfer Functions There

More information

BFF Driver Test App Quick Start Guide v1.2

BFF Driver Test App Quick Start Guide v1.2 BFF Driver Test App Quick Start Guide v1.2 Table of Contents 1. Introduction...2 2. Initial Settings...2 2. To Check a Joystick...3 3. To Calibrate the Driver Card at Power-up...3 6. To Output a Force

More information

USER's GUIDE for PLOT_FINDIF_1

USER's GUIDE for PLOT_FINDIF_1 USER's GUIDE for PLOT_FINDIF_1 S. T. Bolmer & R. A. Stephen November 2004 Page 1 PLOT_FINDIF_1 Plot_findif_1.m is a MATLAB 6 script, which is used to plot output from the Woods Hole Oceanographic Institution

More information