EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information

Size: px
Start display at page:

Download "EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information"

Transcription

1 EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information This is a take-home lab assignment. There is no experiment for this lab. You will study the tutorial in the next section and do the examples to learn the basics of MATLAB and Simulink for control systems simulation. You will need use to MATLAB, Simulink, and the control systems toolbox which are available in some of the OIT managed computer labs of UTA. Also, you can use your own installation of MATLAB. After studying the examples, you will work on the problems in the Lab Report section on your own and are required to submit a report by uploading it via EE4314 Blackboard. Please check the information about the assignment policy in the Lab Report section. 01/25/13 Page 1

2 2.1. MATLAB Basics 2. MATLAB and Simulink Tutorial The main elements of the interface are: - Command Window - Current Directory/Folder - Workspace Window - Command History Window - Start Button 2.2. Basic Commands - who - list current variables. who lists the variables in the current workspace. - whos - is a long form of WHO. It lists all the variables in the current workspace, together with information about their size, bytes, class, etc. - help display help text in command window. - clc - clears the command window and homes the cursor. - clf clears current figure. - clear - clears variables and functions from memory. - clear all - removes all variables, globals, functions. - save saves workspace variables to disk. Use help save for details. - load loads workspace variables from disk. - plot PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up. 01/25/13 Page 2

3 2.3. MATLAB Variables In general, the matrix is defined in the MATLAB command interface by input from the keyboard and assigned a freely chosen variable name. >> x = 1.00 A 1x1 matrix will be assigned to the variable x. >> y = [1 5 3] A row vector of length 3 will be defined. >> z = [3 1 2; 4 0 5]; A 2x3 matrix will be defined. An element of the matrix can be accessed by using the index (), for example: >> z(2,3) 5 : can be used as an index to refer to the whole row or column, for example: >> z(:,1) 3 4 Example 1: Simple 2D Plot PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up. If you do the following: >> x = 0 : 1 : 10; A vector called x of length 11 will be defined. >> y = -1: 1 : 9; Another vector called y of length 11 will be defined. >> plot(x,y) As a result you will get the plot y versus x as shown on the right. 01/25/13 Page 3

4 To put labels on the axes: >> grid on; >> xlabel('time (sec)'); >> ylabel('distance (meter)'); >> legend('distance from point A to B'); >> title('distance Plot'); The result will be as shown on the right. List of useful plot commands include: - xlim - gets the x limits of the current axes. - ylim - gets the y limits of the current axes. - semilogx() - is the same as plot(), except a logarithmic (base 10) scale is used for the X-axis. - semilogy() - is the same as plot(), except a logarithmic scale is used for the Y-axis. - plot3(x,y,z) similarly to plot(), plot3() plots a line in 3-space through the points whose coordinates are the elements of x, y and z. Example 2: 3D Plot >> x = -1 : 0.1 : 1; A vector of length 21. >> y = -1 : 0.1 : 1; >> Z = exp(-1*(x'*y)); Z is a 21x21 matrix. >> mesh(x,y,z) As a result you will get the plot on the right. 01/25/13 Page 4

5 >> contour(x,y,z) As a result you will get the plot on the right. Contour(Z) is a contour plot of matrix Z treating the values in Z as heights above a plane Vector Operations There are 2 types of vector operations in MATLAB 1) Element by element operations.+ element by element addition operation.- element by element subtraction operation.* element by element multiplication operation.^ element by element power operation./ element by element division operation 2) Matrix operations ' matrix transpose * matrix multiply ^ matrix power eye(n) is the N-by-N identity matrix. inv(x) is the inverse of the square matrix X. det(x) is the determinant of the square matrix X. trace(x) is the sum of the diagonal elements of X, which is also the sum of the eigenvalues of X. Example 3: Matrix Operations >> X = eye(2) X = /25/13 Page 5

6 >> Y = [1 3; 2 1] Y = >> Z = [3 2; 1 4] Z = Element by element multiplication VS matrix multiplication >> Y.*Z >> Y*Z Element by element power VS matrix power >> Z^ >> Z.^ Inverse, transpose and multiplication example >> inv(z) >> inv(z)*y' 01/25/13 Page 6

7 Complex Numbers An imaginary can be defined using the i, j. >> a = 2 + i a = i Useful commands for complex number operations include: - real(x) is the real part of X. - imag(x) is the imaginary part of X. - conj(x) is the complex conjugate of X. - abs(x) is the absolute value of the elements of X. When X is complex, abs(x) is the complex modulus (magnitude) of the elements of X. - angle(x) returns the phase angles, in radians, of a matrix with complex elements. - cart2pol(x,y) transforms corresponding elements of data stored in Cartesian coordinates X,Y to polar coordinates (angle TH and radius R). - pol2cart(th,r) transforms corresponding elements of data stored in polar coordinates (angle TH, radius R) to Cartesian coordinates X,Y. Example 4: Imaginary Number Operations >> real(a) 2 >> imag(a) 1 >> conj(a) i >> abs(a) >> angle(a) >> [th,r] = cart2pol(real(a), imag(a)) 01/25/13 Page 7

8 th = r = >> [x, y] = pol2cart(th, r) x = 2 y = Linear Systems / Control Systems Toolbox At the MATLAB command prompt, type help control to learn about the control systems toolbox. Some useful commands include: - tf(num, den) - creates a continuous-time transfer function with numerator(s) num and denominator(s) den. - ss(a,b,c,d) - creates the continuous-time state-space model - impulse() - calculates the unit impulse response of a linear system. - step() - calculates the unit step response of a linear system. - lsim() - simulates the time response of continuous or discrete linear systems to arbitrary inputs. - residue(b,a) - finds the residues, poles, and direct term of a partial fraction expansion of the ratio of two polynomials, b(s) and a(s). - ode23() - solves initial value problems for ordinary differential equations. - Dsolve () solves differential equations symbolically. Example 5: Time responses of a linear system s Create a system with transfer function G( s)= s 2 + 2s +10 >> Num = [1 0]; >> Den = [1 2 10]; >> sys = tf(num,den) Transfer function: s s^2 + 2 s /25/13 Page 8

9 Simulate the impulse response of G( s) >> impulse(sys) The result is shown on the right. Simulate a step response of the same system >> step(sys) The result is shown on the right. Now, lets simulate the time response of the above system using different input function. >> t = 0 : 0.1 : 10; >> u = sin(2.*t); >> lsim(sys,u,t) The result is shown on the right. 01/25/13 Page 9

10 Example 6: Partial Fraction Expansion s Suppose that you want to write G( s)= in pole-residue form of s 2 + 2s +10 r r r ( ) = n + k( s). You can use residue() command to solve the problem. G s s p1 s p2 s pn >> Num = [1 0]; >> Den = [1 2 10]; >> [r,p,k] = residue(num, Den) r = i i p = i i k = [] i It means that you can now rewrite G(s) as G( s)= + s +1 3i Example 7: First Order ODE Solver Given x + 2 x = i. s +1+ 3i, plot the time response of x(t) from t = 0 10 for x(0) = 5. You will first open up m-file editor to create the function. First, click on the New button and type the following function code. Then, save the function as myfunction.m in your current working directory. function dx = myfunction(t,x) dx = -2*x; Note that the name of the m-file has to be the same as the name that you use inside the code after function statement. Also, when you call that function, it should be in the MATLAB current directory (unless you add its directory path to MATLAB path from MATLAB>>File>>Set Path). >> [t,x] = ode23(@myfunction, [0 10], 5); >> plot(t,x) >> grid on >> xlabel('time (seconde)'); >> ylabel('amplitude'); >> title('simple ODE Solver'); 01/25/13 Page 10

11 The result is: 2.7. Simulink Simulink is an environment for multidomain simulation and Model-Based Design for dynamic and embedded systems. Simulink programming consists of manipulating or connecting block diagrams in a graphical user interface environment, and therefore it is more intuitive and descriptive than the conventional script-based environment of MATLAB. Simulink can be used to simulate very complex dynamical systems and evaluate the performance of controllers for such systems. Go to MATLAB Help and find simulink examples in the Demos tab. Take some time go over general demos. Example 8: Transfer Function Simulation using Simulink s Create a simulink model of G( s)= and then simulate and plot a step response of this s 2 + 2s +10 transfer function. Step1: Launch Simulink by typing simulink in the command window. Then, open a new blank simulink model. Step2: Go to >>Simulink>>Continuous, then drag the transfer function block from the panel and drop it onto the blank model window. Step3: Double-click the transfer function block to edit the parameters. Enter numerator coefficient and denominator coefficient as show in the picture on the right. 01/25/13 Page 11

12 Step4: Go to >>Simulink>>Sources, then drag the Step block onto the model window. Step5: Go to >>Simulink>>Sinks, then drag the Scope block onto the model window. Step6: Connect the terminals as show in the picture on the right. Step7: Run the simulation, by pressing the play button or go to >>Simulation>>Start. Step8: Double-click the Scope block to view the simulation result. Step9: Press the auto-scale button (binocular) on the scope window and get a nicely scaled plot as shown on the right. Step10: If you want to save the data shown on the scope, you can click on the parameters button of the scope window and setup the scope such that it saves the plot data in the workspace. In the History tab, you should check Save data to workspace option and give it a variable name and select the Array format as shown in the picture on the right. After that, all the plots on the scope get saved when the simulation stops. The first column of the output matrix provides the time data and the other columns provide the corresponding signal data. Then, you can plot the signals with respect to time using the plot command. For instance, the following command plots the second column of output (signal data) versus the first column (time data). >> plot(output(:,1),output(:,2)) Step11: You can save the data in the workspace to a file by selecting all the workspace variables of interest, right clicking on them, and choosing Save As This saves them together as a.mat file which is the file format that MATLAB uses for matrices. You can later import this data into the workspace using the Import data button on the Workspace window or the load command. Note that when you close MATLAB, you loose the data in the workspace. 01/25/13 Page 12

13 Example 9: Simulating an ODE Model using Simulink You will create a Simulink model for x x + x = f ( t) using continuous blocks. And you will use a user defined function block to handle arbitrary f(t). In this example, you will also demonstrate how to send Simulink variables to workspace. Step1: Open a new blank simulink model. Step2: Go to >>Simulink>>Continuous, then drag the 2 integrator blocks from the panel and drop it onto the blank model window. Step3: Go to >>Simulink>>Sources, then a clock block onto the model window. Step4: Go to >>Simulink>>User-Defined Functions, then a Embedded MATLAB Function block onto the model window. Step5: Go to >>Simulink>>Math Operations, then the Sum block onto the model window. Step6: Go to >>Simulink>>Sinks, then drag the To Workspace block onto the model window. Double click the block and select Array under Save Format. Step7: Edit the Sum block so that it takes 3 inputs with signs +,,. Go to Math Operations, then drag the Gain block to model window. Edit its gain to /25/13 Page 13

14 Step8: Connect the terminals as show in the picture below. Step9: You can now set the Embedded MATLAB Function block to reflect any function. In this example, you can use f(t) = sin(t). Step10: You can set the initial value of the integrators by double clicking the integrator block. In this example, you can leave them at 0. Step11: Run the simulation, by pressing the play button or go to >>Simulation>>Start. Step12: Now go to MATLAB command window, notice 2 new variables in the workspace simout and tout. You can use these variables as normal MATLAB variables. Plot of simout versus tout is shown in the picture on the right. 01/25/13 Page 14

15 3. Lab Report Submit your individual report for the following four problems via EE4314 Blackboard ( in one of the following file formats:.doc,.docx, or.pdf. Your report should include if any your formulations, listings of MATLAB code, pictures of Simulink block diagrams, and resulting graphs for each problem. Make sure that you show all your work and provide all the information needed to make it a standalone and self-sufficient submission. Have an appropriate report format for your submission. This lab handout is a good example as to how you should format your report. Make sure that you include the following information in your report: - Report title, your name, ID number, lab section, report due date for you. - Answers to the problems with your o Mathematical derivations and formulations. It is highly recommended that you use the Equation Editor of Microsoft Word, MathType, or a similar editor to write your equations. You can also scan handwritten equations and merge them into your report. o Pictures of Simulink block diagrams and property windows of important blocks in the simulation. o Listings of MATLAB codes with inline comments and explanation in text. o Pictures of data plots with appropriate axis labeling, titles, and clearly visible axis values. Screen printing is not well accepted. - Comments if any to let us know how we can make your learning experience better in this lab. Below is the assignment policy: This assignment is due 2/7/2013 by 11:59 pm. You must upload a single file in.doc,.docx, or.pdf format via the Lab Report Submission link at EE4314 Blackboard ( Late reports will get 20% deduced score from the normal score for each late day (0-24 hr) starting right after the due date and time. For example, a paper that is worth 80 points and is 2 days late (24hr 48hr) will get (20/100) = 48 points. A paper that is late for 5 or more days will get 0 score. You will have two chances of attempt to submit your report via Blackboard and only the last submission will be considered. Grading is out of 100 points and that includes 20% (20 points total) for the format. For example, part (b) of Problem 1 is 10 points and 2 points of that is for the format of your answer. A nice format refers to a clear, concise, and well organized presentation of your work. 01/25/13 Page 15

16 Problem 1 (25 pts). Let x + 2ζω n x + ω n 2 x = f (1) be a second order dynamical system, in which f = f(t) is the input with unit (m/s 2 ), x = x(t) is the output in (m), ζ = 2 is the damping ratio (dimensionless) and ω n = 8 (rad/s) is the natural frequency. a) (15 pts) Use ode23() to simulate the time response of the system from t = 0 to t = 5 s with zero input (i.e. f(t) = 0), and initial conditions of (0.4 m, 0.2 m/s) for x and the first time derivative of x, respectively. Write the program using m-file(s) that output a plot of the change of x and x with time. Plot both variables on the same graph with proper labeling and annotation such that x and x are clearly distinguishable. (Hint for ode23: You need to use the state space representation of the system to create a function that returns the derivatives of x. For instance, let x 1 = x, x 2 = x. Hence, your function implementation will return dx such that dx=a*x+b*f. Note that x=[x 1 ; x 2 ] is a vector of two elements so A is 2 2 and B is 2 1. Note also that ode23 requires a 2 1 vector of initial values.) b) (10 pts) Use ode23() to simulate the time response of the system from t = 0 to t = 5 s where x(0) = 0, x (0) = 0 and f(t) = 1, 0 t 2 s. Write the program using m-file(s) that output a 0, 2 < t 5 s plot of the change of x and x with time. Plot both variables on the same graph with proper labeling and annotation such that x and x are clearly distinguishable. Problem 2 (25 pts). For the system in equation (1) with ζ = 2, ω n = 8 rad/s, and zero initial conditions, a) (8 pts) Transform the differential equation to frequency domain representation using Laplace transform. Show the steps of your formulation and indicate what Laplace transform properties that you use. (You do not need to use MATLAB for this part.) b) (5 pts) Use the tf command to create the system transfer function. Show your commands/codes and the transfer function you get. c) (6 pts) Plot the step response of the system obtained in part (b) for 0 t 5 s. Indicate which variable the plot shows: x, x, or x. d) (6 pts) Using lsim command, plot the time response of the system where f is a sinusoidal wave of amplitude 1.2 m/s 2 and 0.75 Hz frequency for 0 t 5 s. Problem 3 (25 pts). For the system in equation (1) with ζ = 2 and ω n = 8 rad/s, a) (8 pts) Create a Simulink model of the 2 nd order differential equation where f(t) is a function generator. Show the block diagram and indicate which signal line is x, x, and x. b) (7 pts) Simulate the time response of the system from t = 0 to t = 5 s where x(0) = 0.4, x (0) = 0.2 with f(t) as a sinusoidal function of 1.2 m/s 2 amplitude and 0.75 Hz frequency. Is the result the same as the result of Problem 2-d, why? c) (10 pts) Pick two different amplitudes and frequencies for f(t) such as f 1 (t) and f 2 (t). Simulate the time response of the system for both f 1 and f 2 from t = 0 to t = 5 s with zero initial conditions. Show by using the simulation results that the response of the system to f 1 (t)+f 2 (t) is the same as the sum of the individual responses to f 1 (t) and f 2 (t). What is this property of the system called? 01/25/13 Page 16

17 Problem 4 (25 pts). In Simulink, a) (7 pts) Using only two Step sources and a summer, create a single pulse signal that rises to an amplitude of 10 at t = 1 and falls back to zero at t = 2.5 as shown in part (a) of the following picture. Show the block diagram of your design and the plot of the pulse signal with clearly visible axes values. b) (10 pts) Using only Ramp sources and a summer, create the signal shown in part (b) of the following picture. Show the block diagram of your design and the plot of the signal with clearly visible axes values t=1 t=2.5 t=1 t=1.1 t=1.3 t=1.4 (a) (b) c) (8 pts) Input the signal in part (b) to the system in Problem 3-a by replacing the function generator with the summed ramp sources. Apply zero initial conditions. Show the response of the system for 0 t 5 s and compare it with the step response obtained in Problem 2-c. 01/25/13 Page 17

Lab 1: Dynamic Simulation Using Simulink and Matlab

Lab 1: Dynamic Simulation Using Simulink and Matlab Lab 1: Dynamic Simulation Using Simulink and Matlab Objectives In this lab you will learn how to use a program called Simulink to simulate dynamic systems. Simulink runs under Matlab and uses block diagrams

More information

OKLAHOMA STATE UNIVERSITY

OKLAHOMA STATE UNIVERSITY OKLAHOMA STATE UNIVERSITY ECEN 4413 - Automatic Control Systems Matlab Lecture 1 Introduction and Control Basics Presented by Moayed Daneshyari 1 What is Matlab? Invented by Cleve Moler in late 1970s to

More information

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK What is SIMULINK? SIMULINK is a software package for modeling, simulating, and analyzing

More information

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 Today s Objectives ENGR 105: Feedback Control Design Winter 2013 Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 1. introduce the MATLAB Control System Toolbox

More information

ME scope Application Note 28

ME scope Application Note 28 App Note 8 www.vibetech.com 3/7/17 ME scope Application Note 8 Mathematics of a Mass-Spring-Damper System INTRODUCTION In this note, the capabilities of ME scope will be used to build a model of the mass-spring-damper

More information

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN 6. Introduction Frequency Response This chapter will begin with the state space form of the equations of motion. We will use Laplace transforms to

More information

ECE 203 LAB 1 MATLAB CONTROLS AND SIMULINK

ECE 203 LAB 1 MATLAB CONTROLS AND SIMULINK Version 1.1 1 of BEFORE YOU BEGIN PREREQUISITE LABS ECE 01 and 0 Labs EXPECTED KNOWLEDGE ECE 03 LAB 1 MATLAB CONTROLS AND SIMULINK Linear systems Transfer functions Step and impulse responses (at the level

More information

1 Overview of Simulink. 2 State-space equations

1 Overview of Simulink. 2 State-space equations Modelling and simulation of engineering systems Simulink Exercise 1 - translational mechanical systems Dr. M. Turner (mct6@sun.engg.le.ac.uk 1 Overview of Simulink Simulink is a package which runs in the

More information

MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox

MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox Laplace Transform and the Symbolic Math Toolbox 1 MAT 275 Laboratory 7 Laplace Transform and the Symbolic Math Toolbox In this laboratory session we will learn how to 1. Use the Symbolic Math Toolbox 2.

More information

Laboratory handouts, ME 340

Laboratory handouts, ME 340 Laboratory handouts, ME 340 This document contains summary theory, solved exercises, prelab assignments, lab instructions, and report assignments for Lab 4. 2014-2016 Harry Dankowicz, unless otherwise

More information

MATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu

MATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu MATLAB BASICS Instructor: Prof. Shahrouk Ahmadi 1. What are M-files TA: Kartik Bulusu M-files are files that contain a collection of MATLAB commands or are used to define new MATLAB functions. For the

More information

Driven Harmonic Oscillator

Driven Harmonic Oscillator Driven Harmonic Oscillator Physics 6B Lab Experiment 1 APPARATUS Computer and interface Mechanical vibrator and spring holder Stands, etc. to hold vibrator Motion sensor C-209 spring Weight holder and

More information

Homework 1 Solutions

Homework 1 Solutions 18-9 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 18 Homework 1 Solutions Part One 1. (8 points) Consider the DT signal given by the algorithm: x[] = 1 x[1] = x[n] = x[n 1] x[n ] (a) Plot

More information

CONTROL SYSTEMS LABORATORY ECE311 LAB 1: The Magnetic Ball Suspension System: Modelling and Simulation Using Matlab

CONTROL SYSTEMS LABORATORY ECE311 LAB 1: The Magnetic Ball Suspension System: Modelling and Simulation Using Matlab CONTROL SYSTEMS LABORATORY ECE311 LAB 1: The Magnetic Ball Suspension System: Modelling and Simulation Using Matlab 1 Introduction and Purpose The purpose of this experiment is to familiarize you with

More information

2 Solving Ordinary Differential Equations Using MATLAB

2 Solving Ordinary Differential Equations Using MATLAB Penn State Erie, The Behrend College School of Engineering E E 383 Signals and Control Lab Spring 2008 Lab 3 System Responses January 31, 2008 Due: February 7, 2008 Number of Lab Periods: 1 1 Objective

More information

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains Signal Processing First Lab : PeZ - The z, n, and ˆω Domains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations to be made when

More information

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains DSP First Laboratory Exercise #10 The z, n, and ˆω Domains 1 Objective The objective for this lab is to build an intuitive understanding of the relationship between the location of poles and zeros in the

More information

EEE161 Applied Electromagnetics Laboratory 1

EEE161 Applied Electromagnetics Laboratory 1 Dr. Milica Marković Applied Electromagnetics Laboratory page 1 EEE161 Applied Electromagnetics Laboratory 1 Instructor: Dr. Milica Marković Office: Riverside Hall 3028 Email: milica@csus.edu Web:http://gaia.ecs.csus.edu/

More information

Matlab for Review. NDSU Matlab Review pg 1

Matlab for Review. NDSU Matlab Review pg 1 NDSU Matlab Review pg 1 Becoming familiar with MATLAB The console The editor The graphics windows The help menu Saving your data (diary) General environment and the console Matlab for Review Simple numerical

More information

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL EE 213 Fall 2009 LABORATORY #1 INTRODUCTION TO MATLAB INTRODUCTION The purpose of this laboratory is to introduce you to Matlab and to illustrate some of its circuit

More information

Bfh Ti Control F Ws 2008/2009 Lab Matlab-1

Bfh Ti Control F Ws 2008/2009 Lab Matlab-1 Bfh Ti Control F Ws 2008/2009 Lab Matlab-1 Theme: The very first steps with Matlab. Goals: After this laboratory you should be able to solve simple numerical engineering problems with Matlab. Furthermore,

More information

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains DSP First, 2e Signal Processing First Lab P-6: PeZ - The z, n, and O! Domains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations

More information

ECE 3793 Matlab Project 3

ECE 3793 Matlab Project 3 ECE 3793 Matlab Project 3 Spring 2017 Dr. Havlicek DUE: 04/25/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. Make

More information

Simulink Tutorial 1 CPE562

Simulink Tutorial 1 CPE562 Simulink Tutorial 1 CPE562 Week 1 Introduction to Simulink Familiarization with Simulink blocks Sources: Constants Sinks: Display Operations: Sum, Product, Add, Divide. Mathematical operations involving

More information

Laboratory handout 5 Mode shapes and resonance

Laboratory handout 5 Mode shapes and resonance laboratory handouts, me 34 82 Laboratory handout 5 Mode shapes and resonance In this handout, material and assignments marked as optional can be skipped when preparing for the lab, but may provide a useful

More information

Lab Experiment 2: Performance of First order and second order systems

Lab Experiment 2: Performance of First order and second order systems Lab Experiment 2: Performance of First order and second order systems Objective: The objective of this exercise will be to study the performance characteristics of first and second order systems using

More information

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis Appendix 3B MATLAB Functions for Modeling and Time-domain analysis MATLAB control system Toolbox contain the following functions for the time-domain response step impulse initial lsim gensig damp ltiview

More information

Laboratory handout 1 Mathematical preliminaries

Laboratory handout 1 Mathematical preliminaries laboratory handouts, me 340 2 Laboratory handout 1 Mathematical preliminaries In this handout, an expression on the left of the symbol := is defined in terms of the expression on the right. In contrast,

More information

INTRODUCTION TO TRANSFER FUNCTIONS

INTRODUCTION TO TRANSFER FUNCTIONS INTRODUCTION TO TRANSFER FUNCTIONS The transfer function is the ratio of the output Laplace Transform to the input Laplace Transform assuming zero initial conditions. Many important characteristics of

More information

Companion. Jeffrey E. Jones

Companion. Jeffrey E. Jones MATLAB7 Companion 1O11OO1O1O1OOOO1O1OO1111O1O1OO 1O1O1OO1OO1O11OOO1O111O1O1O1O1 O11O1O1O11O1O1O1O1OO1O11O1O1O1 O1O1O1111O11O1O1OO1O1O1O1OOOOO O1111O1O1O1O1O1O1OO1OO1OO1OOO1 O1O11111O1O1O1O1O Jeffrey E.

More information

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM Lab 8 OBJECTIVES At the conclusion of this experiment, students should be able to: Experimentally determine the best fourth order

More information

Example 1 (Characteristic Equation, Eigenvalue, and Eigenvector)

Example 1 (Characteristic Equation, Eigenvalue, and Eigenvector) Matlab Lab 3 Example 1 (Characteristic Equation, Eigenvalue, and Eigenvector) A polynomial equation is uniquely determined by the coefficients of the monomial terms. For example, the quadratic equation

More information

ECE 320 Linear Control Systems Winter Lab 1 Time Domain Analysis of a 1DOF Rectilinear System

ECE 320 Linear Control Systems Winter Lab 1 Time Domain Analysis of a 1DOF Rectilinear System Amplitude ECE 3 Linear Control Systems Winter - Lab Time Domain Analysis of a DOF Rectilinear System Objective: Become familiar with the ECP control system and MATLAB interface Collect experimental data

More information

DSP First Lab 11: PeZ - The z, n, and ωdomains

DSP First Lab 11: PeZ - The z, n, and ωdomains DSP First Lab : PeZ - The, n, and ωdomains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations to be made when using the PeZ GUI.

More information

Leaf Spring (Material, Contact, geometric nonlinearity)

Leaf Spring (Material, Contact, geometric nonlinearity) 00 Summary Summary Nonlinear Static Analysis - Unit: N, mm - Geometric model: Leaf Spring.x_t Leaf Spring (Material, Contact, geometric nonlinearity) Nonlinear Material configuration - Stress - Strain

More information

Problem Weight Score Total 100

Problem Weight Score Total 100 EE 350 EXAM IV 15 December 2010 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO Problem Weight Score 1 25 2 25 3 25 4 25 Total

More information

System Simulation using Matlab

System Simulation using Matlab EE4314 Fall 2008 System Simulation using Matlab The purpose of this laboratory work is to provide experience with the Matlab software for system simulation. The laboratory work contains a guide for solving

More information

These videos and handouts are supplemental documents of paper X. Li, Z. Huang. An Inverted Classroom Approach to Educate MATLAB in Chemical Process

These videos and handouts are supplemental documents of paper X. Li, Z. Huang. An Inverted Classroom Approach to Educate MATLAB in Chemical Process These videos and handouts are supplemental documents of paper X. Li, Z. Huang. An Inverted Classroom Approach to Educate MATLAB in Chemical Process Control, Education for Chemical Engineers, 9, -, 7. The

More information

EE Experiment 11 The Laplace Transform and Control System Characteristics

EE Experiment 11 The Laplace Transform and Control System Characteristics EE216:11 1 EE 216 - Experiment 11 The Laplace Transform and Control System Characteristics Objectives: To illustrate computer usage in determining inverse Laplace transforms. Also to determine useful signal

More information

Lab 1g: Horizontally Forced Pendulum & Chaotic Motion

Lab 1g: Horizontally Forced Pendulum & Chaotic Motion 58:080 Experimental Engineering OBJECTIVE Lab 1g: Horizontally Forced Pendulum & Chaotic Motion The objective of this lab is to study horizontally forced oscillations of a pendulum. This will be done trough

More information

Laboratory 1. Solving differential equations with nonzero initial conditions

Laboratory 1. Solving differential equations with nonzero initial conditions Laboratory 1 Solving differential equations with nonzero initial conditions 1. Purpose of the exercise: - learning symbolic and numerical methods of differential equations solving with MATLAB - using Simulink

More information

AMS 27L LAB #8 Winter 2009

AMS 27L LAB #8 Winter 2009 AMS 27L LAB #8 Winter 29 Solving ODE s in Matlab Objectives:. To use Matlab s ODE Solvers 2. To practice using functions and in-line functions Matlab s ODE Suite Matlab offers a suite of ODE solvers including:

More information

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL EE 213 Spring 2008 LABORATORY #1 INTRODUCTION TO MATLAB INTRODUCTION The purpose of this laboratory is to introduce you to Matlab and to illustrate some of its

More information

Note: The command name is upper case in the description given by help, but must be lower case in actual use. And the backslash Anb is dierent when A i

Note: The command name is upper case in the description given by help, but must be lower case in actual use. And the backslash Anb is dierent when A i MATLAB Tutorial You need a small number of basic commands to start using MATLAB. This short tutorial describes those fundamental commands. You need to create vectors and matrices, to change them, and to

More information

EE/ME/AE324: Dynamical Systems. Chapter 4: Block Diagrams

EE/ME/AE324: Dynamical Systems. Chapter 4: Block Diagrams EE/ME/AE324: Dynamical Systems Chapter 4: Block Diagrams and Computer Simulation Block Diagrams A block diagram is an interconnection of: Blocks representing math operations Wires representing signals

More information

Massachusetts Institute of Technology Department of Mechanical Engineering Dynamics and Control II Design Project

Massachusetts Institute of Technology Department of Mechanical Engineering Dynamics and Control II Design Project Massachusetts Institute of Technology Department of Mechanical Engineering.4 Dynamics and Control II Design Project ACTIVE DAMPING OF TALL BUILDING VIBRATIONS: CONTINUED Franz Hover, 5 November 7 Review

More information

Lab #10 Atomic Radius Rubric o Missing 1 out of 4 o Missing 2 out of 4 o Missing 3 out of 4

Lab #10 Atomic Radius Rubric o Missing 1 out of 4 o Missing 2 out of 4 o Missing 3 out of 4 Name: Date: Chemistry ~ Ms. Hart Class: Anions or Cations 4.7 Relationships Among Elements Lab #10 Background Information The periodic table is a wonderful source of information about all of the elements

More information

New Mexico Tech Hyd 510

New Mexico Tech Hyd 510 Vectors vector - has magnitude and direction (e.g. velocity, specific discharge, hydraulic gradient) scalar - has magnitude only (e.g. porosity, specific yield, storage coefficient) unit vector - a unit

More information

Solving Differential Equations on 2-D Geometries with Matlab

Solving Differential Equations on 2-D Geometries with Matlab Solving Differential Equations on 2-D Geometries with Matlab Joshua Wall Drexel University Philadelphia, PA 19104 (Dated: April 28, 2014) I. INTRODUCTION Here we introduce the reader to solving partial

More information

APPENDIX 1 MATLAB AND ANSYS PROGRAMS

APPENDIX 1 MATLAB AND ANSYS PROGRAMS APPENDIX 1 MATLAB AND ANSYS PROGRAMS This appendix lists all the MATLAB and ANSYS codes used in each chapter, along with a short description of the purpose of each. MATLAB codes have the suffix.m and the

More information

The Laplace Transform

The Laplace Transform The Laplace Transform Generalizing the Fourier Transform The CTFT expresses a time-domain signal as a linear combination of complex sinusoids of the form e jωt. In the generalization of the CTFT to the

More information

a. Follow the Start-Up Procedure in the laboratory manual. Note the safety rules.

a. Follow the Start-Up Procedure in the laboratory manual. Note the safety rules. Lab #1 - Free Vibration Name: Date: Section / Group: Procedure Steps (from lab manual): a. Follow the Start-Up Procedure in the laboratory manual. Note the safety rules. b. Locate the various springs and

More information

Math 2250 Maple Project 2, March Tacoma Narrows. CLASSTIME VERSION A-E, F-K, L-R, S-Z

Math 2250 Maple Project 2, March Tacoma Narrows. CLASSTIME VERSION A-E, F-K, L-R, S-Z Math 2250 Maple Project 2, March 2004. Tacoma Narrows. NAME CLASSTIME VERSION A-E, F-K, L-R, S-Z Circle the version - see problem 2.1. There are six (6) problems in this project. Please answer the questions

More information

Math Assignment 3 - Linear Algebra

Math Assignment 3 - Linear Algebra Math 216 - Assignment 3 - Linear Algebra Due: Tuesday, March 27. Nothing accepted after Thursday, March 29. This is worth 15 points. 10% points off for being late. You may work by yourself or in pairs.

More information

Fin System, Inc. Company Report. Temperature Profile Calculators. Team 1 J. C. Stewards, Lead A. B. Williams, Documentation M. D.

Fin System, Inc. Company Report. Temperature Profile Calculators. Team 1 J. C. Stewards, Lead A. B. Williams, Documentation M. D. Fin System, Inc. Company Report Temperature Profile Calculators Team 1 J. C. Stewards, Lead A. B. Williams, Documentation M. D. Daily, Programmer Submitted in Fulfillment of Management Requirements August

More information

1-D Convection-Diffusion Lab

1-D Convection-Diffusion Lab Computational Fluid Dynamics -D Convection-Diffusion Lab The lab. uses scientificworkplace symbolic calculus and maths editor software (SWP) This file Concevtion-Diffusion-Lab is available from Blackboard

More information

MAT300/500 Programming Project Spring 2019

MAT300/500 Programming Project Spring 2019 MAT300/500 Programming Project Spring 2019 Please submit all project parts on the Moodle page for MAT300 or MAT500. Due dates are listed on the syllabus and the Moodle site. You should include all neccessary

More information

EE nd Order Time and Frequency Response (Using MatLab)

EE nd Order Time and Frequency Response (Using MatLab) EE 2302 2 nd Order Time and Frequency Response (Using MatLab) Objective: The student should become acquainted with time and frequency domain analysis of linear systems using Matlab. In addition, the student

More information

Physics 2310 Lab #3 Driven Harmonic Oscillator

Physics 2310 Lab #3 Driven Harmonic Oscillator Physics 2310 Lab #3 Driven Harmonic Oscillator M. Pierce (adapted from a lab by the UCLA Physics & Astronomy Department) Objective: The objective of this experiment is to characterize the behavior of a

More information

LAB 1: MATLAB - Introduction to Programming. Objective:

LAB 1: MATLAB - Introduction to Programming. Objective: LAB 1: MATLAB - Introduction to Programming Objective: The objective of this laboratory is to review how to use MATLAB as a programming tool and to review a classic analytical solution to a steady-state

More information

Analysis of Dynamic Systems Using Bond Graph Method Through SIMULINK

Analysis of Dynamic Systems Using Bond Graph Method Through SIMULINK Analysis of Dynamic Systems Using Bond Graph Method Through SIMULINK José Antonio Calvo, Carolina Álvarez- Caldas and José Luis San Román Universidad Carlos III de Madrid Spain. Introduction The dynamic

More information

MAE 143B - Homework 7

MAE 143B - Homework 7 MAE 143B - Homework 7 6.7 Multiplying the first ODE by m u and subtracting the product of the second ODE with m s, we get m s m u (ẍ s ẍ i ) + m u b s (ẋ s ẋ u ) + m u k s (x s x u ) + m s b s (ẋ s ẋ u

More information

Solving Differential Equations Using MATLAB

Solving Differential Equations Using MATLAB Solving Differential Equations Using MATLAB Abraham Asfaw aasfaw.student@manhattan.edu November 28, 2011 1 Introduction In this lecture, we will follow up on lecture 2 with a discussion of solutions to

More information

2: SIMPLE HARMONIC MOTION

2: SIMPLE HARMONIC MOTION 2: SIMPLE HARMONIC MOTION Motion of a mass hanging from a spring If you hang a mass from a spring, stretch it slightly, and let go, the mass will go up and down over and over again. That is, you will get

More information

The Laplace Transform

The Laplace Transform The Laplace Transform Syllabus ECE 316, Spring 2015 Final Grades Homework (6 problems per week): 25% Exams (midterm and final): 50% (25:25) Random Quiz: 25% Textbook M. Roberts, Signals and Systems, 2nd

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP 2. Use MATLAB solvers for solving higher order ODEs and

More information

Newton's 2 nd Law. . Your end results should only be interms of m

Newton's 2 nd Law. . Your end results should only be interms of m Newton's nd Law Introduction: In today's lab you will demonstrate the validity of Newton's Laws in predicting the motion of a simple mechanical system. The system that you will investigate consists of

More information

BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012

BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012 BCMB/CHEM 8190 Lab Exercise Using Maple for NMR Data Processing and Pulse Sequence Design March 2012 Introduction Maple is a powerful collection of routines to aid in the solution of mathematical problems

More information

Read through A Graphing Checklist for Physics Graduate Students before submitting any plots in this module. See the course website for the link.

Read through A Graphing Checklist for Physics Graduate Students before submitting any plots in this module. See the course website for the link. Module C2: MatLab The Physics and Astronomy Department has several copies of MATLAB installed on computers that can be accessed by students. MATLAB is a highly developed software package that allows the

More information

Experiment 5. Simple Harmonic Motion

Experiment 5. Simple Harmonic Motion Reading and Problems: Chapters 7,8 Problems 7., 8. Experiment 5 Simple Harmonic Motion Goals. To understand the properties of an oscillating system governed by Hooke s Law.. To study the effects of friction

More information

APPLICATIONS FOR ROBOTICS

APPLICATIONS FOR ROBOTICS Version: 1 CONTROL APPLICATIONS FOR ROBOTICS TEX d: Feb. 17, 214 PREVIEW We show that the transfer function and conditions of stability for linear systems can be studied using Laplace transforms. Table

More information

Lecture 5b: Starting Matlab

Lecture 5b: Starting Matlab Lecture 5b: Starting Matlab James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University August 7, 2013 Outline 1 Resources 2 Starting Matlab 3 Homework

More information

9. Introduction and Chapter Objectives

9. Introduction and Chapter Objectives Real Analog - Circuits 1 Chapter 9: Introduction to State Variable Models 9. Introduction and Chapter Objectives In our analysis approach of dynamic systems so far, we have defined variables which describe

More information

Computer simulation of radioactive decay

Computer simulation of radioactive decay Computer simulation of radioactive decay y now you should have worked your way through the introduction to Maple, as well as the introduction to data analysis using Excel Now we will explore radioactive

More information

Problem Weight Total 100

Problem Weight Total 100 EE 350 Problem Set 3 Cover Sheet Fall 2016 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: Submission deadlines: Turn in the written solutions by 4:00 pm on Tuesday September

More information

Mnova Software for Analyzing Reaction Monitoring NMR Spectra

Mnova Software for Analyzing Reaction Monitoring NMR Spectra Mnova Software for Analyzing Reaction Monitoring NMR Spectra Version 10 Chen Peng, PhD, VP of Business Development, US & China Mestrelab Research SL San Diego, CA, USA chen.peng@mestrelab.com 858.736.4563

More information

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011 ENG M 54 Laboratory #7 University of Alberta ENGM 54: Modeling and Simulation of Engineering Systems Laboratory #7 M.G. Lipsett & M. Mashkournia 2 Mixed Systems Modeling with MATLAB & SIMULINK Mixed systems

More information

Geology Geomath Computer Lab Quadratics and Settling Velocities

Geology Geomath Computer Lab Quadratics and Settling Velocities Geology 351 - Geomath Computer Lab Quadratics and Settling Velocities In Chapter 3 of Mathematics: A simple tool for geologists, Waltham takes us through a brief review of quadratic equations and their

More information

MATLAB Ordinary Differential Equation (ODE) solver for a simple example 1. Introduction

MATLAB Ordinary Differential Equation (ODE) solver for a simple example 1. Introduction MATLAB Ordinary Differential Equation (ODE) solver for a simple example 1. Introduction Differential equations are a convenient way to express mathematically a change of a dependent variable (e.g. concentration

More information

Determining C-H Connectivity: ghmqc and ghmbc (VnmrJ-2.2D Version: For use with the new Software)

Determining C-H Connectivity: ghmqc and ghmbc (VnmrJ-2.2D Version: For use with the new Software) Determining C-H Connectivity: ghmqc and ghmbc (VnmrJ-2.2D Version: For use with the new Software) Heteronuclear Multiple Quantum Coherence (HMQC) and Heteronuclear Multiple Bond Coherence (HMBC) are 2-dimensional

More information

Final exam (practice) UCLA: Math 31B, Spring 2017

Final exam (practice) UCLA: Math 31B, Spring 2017 Instructor: Noah White Date: Final exam (practice) UCLA: Math 3B, Spring 207 This exam has 8 questions, for a total of 80 points. Please print your working and answers neatly. Write your solutions in the

More information

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x Use of Tools from Interactive Differential Equations with the texts Fundamentals of Differential Equations, 5th edition and Fundamentals of Differential Equations and Boundary Value Problems, 3rd edition

More information

System Parameters and Frequency Response MAE 433 Spring 2012 Lab 2

System Parameters and Frequency Response MAE 433 Spring 2012 Lab 2 System Parameters and Frequency Response MAE 433 Spring 2012 Lab 2 Prof. Rowley, Prof. Littman AIs: Brandt Belson, Jonathan Tu Technical staff: Jonathan Prévost Princeton University Feb. 21-24, 2012 1

More information

LAB 5 INSTRUCTIONS LINEAR REGRESSION AND CORRELATION

LAB 5 INSTRUCTIONS LINEAR REGRESSION AND CORRELATION LAB 5 INSTRUCTIONS LINEAR REGRESSION AND CORRELATION In this lab you will learn how to use Excel to display the relationship between two quantitative variables, measure the strength and direction of the

More information

ECE2111 Signals and Systems UMD, Spring 2013 Experiment 1: Representation and manipulation of basic signals in MATLAB

ECE2111 Signals and Systems UMD, Spring 2013 Experiment 1: Representation and manipulation of basic signals in MATLAB ECE2111 Signals and Systems UMD, Spring 2013 Experiment 1: Representation and manipulation of basic signals in MATLAB MATLAB is a tool for doing numerical computations with matrices and vectors. It can

More information

WindNinja Tutorial 3: Point Initialization

WindNinja Tutorial 3: Point Initialization WindNinja Tutorial 3: Point Initialization 6/27/2018 Introduction Welcome to WindNinja Tutorial 3: Point Initialization. This tutorial will step you through the process of downloading weather station data

More information

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control DC Motor Control Trainer (DCMCT) Student Manual Table of Contents 1 Laboratory Objectives1 2 References1 3 DCMCT Plant

More information

CSCE 155N Fall Homework Assignment 2: Stress-Strain Curve. Assigned: September 11, 2012 Due: October 02, 2012

CSCE 155N Fall Homework Assignment 2: Stress-Strain Curve. Assigned: September 11, 2012 Due: October 02, 2012 CSCE 155N Fall 2012 Homework Assignment 2: Stress-Strain Curve Assigned: September 11, 2012 Due: October 02, 2012 Note: This assignment is to be completed individually - collaboration is strictly prohibited.

More information

The Control of an Inverted Pendulum

The Control of an Inverted Pendulum The Control of an Inverted Pendulum AAE 364L This experiment is devoted to the inverted pendulum. Clearly, the inverted pendulum will fall without any control. We will design a controller to balance the

More information

McIDAS-V Tutorial Displaying Point Observations from ADDE Datasets updated July 2016 (software version 1.6)

McIDAS-V Tutorial Displaying Point Observations from ADDE Datasets updated July 2016 (software version 1.6) McIDAS-V Tutorial Displaying Point Observations from ADDE Datasets updated July 2016 (software version 1.6) McIDAS-V is a free, open source, visualization and data analysis software package that is the

More information

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual Rotary Motion Servo Plant: SRV02 Rotary Experiment #11: 1-DOF Torsion 1-DOF Torsion Position Control using QuaRC Student Manual Table of Contents 1. INTRODUCTION...1 2. PREREQUISITES...1 3. OVERVIEW OF

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MAT 75 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP. Use MATLAB solvers for solving higher order ODEs and systems

More information

Control System Engineering

Control System Engineering Control System Engineering Matlab Exmaples Youngshik Kim, Ph.D. Mechanical Engineering youngshik@hanbat.ac.kr Partial Fraction: residue >> help residue RESIDUE Partial-fraction expansion (residues). [R,P,K]

More information

Lab 1 Uniform Motion - Graphing and Analyzing Motion

Lab 1 Uniform Motion - Graphing and Analyzing Motion Lab 1 Uniform Motion - Graphing and Analyzing Motion Objectives: < To observe the distance-time relation for motion at constant velocity. < To make a straight line fit to the distance-time data. < To interpret

More information

Final exam (practice) UCLA: Math 31B, Spring 2017

Final exam (practice) UCLA: Math 31B, Spring 2017 Instructor: Noah White Date: Final exam (practice) UCLA: Math 31B, Spring 2017 This exam has 8 questions, for a total of 80 points. Please print your working and answers neatly. Write your solutions in

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MATLAB sessions: Laboratory 4 MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP 2. Use MATLAB solvers for

More information

Representing Polynomials

Representing Polynomials Lab 4 Representing Polynomials A polynomial of nth degree looks like: a n s n +a n 1 a n 1 +...+a 2 s 2 +a 1 s+a 0 The coefficients a n, a n-1,, a 2, a 1, a 0 are the coefficients of decreasing powers

More information

DEPARTMENT OF ELECTRONIC ENGINEERING

DEPARTMENT OF ELECTRONIC ENGINEERING DEPARTMENT OF ELECTRONIC ENGINEERING STUDY GUIDE CONTROL SYSTEMS 2 CSYS202 Latest Revision: Jul 2016 Page 1 SUBJECT: Control Systems 2 SUBJECT CODE: CSYS202 SAPSE CODE: 0808253220 PURPOSE: This subject

More information

M61 1 M61.1 PC COMPUTER ASSISTED DETERMINATION OF ANGULAR ACCELERATION USING TORQUE AND MOMENT OF INERTIA

M61 1 M61.1 PC COMPUTER ASSISTED DETERMINATION OF ANGULAR ACCELERATION USING TORQUE AND MOMENT OF INERTIA M61 1 M61.1 PC COMPUTER ASSISTED DETERMINATION OF ANGULAR ACCELERATION USING TORQUE AND MOMENT OF INERTIA PRELAB: Before coming to the lab, you must write the Object and Theory sections of your lab report

More information

Coulomb s Law Mini-Lab

Coulomb s Law Mini-Lab Setup Name Per Date Coulomb s Law Mini-Lab On a fresh piece of notebook paper, write the above title, name, date, and period. Be sure to put all headings, Roman numerals and regular numbers on your paper.

More information