Exercise 11: Discretization

Size: px
Start display at page:

Download "Exercise 11: Discretization"

Transcription

1 Exercise 11: Discretization Introduction We will use different discretization methods using pen and paper exercises and in practical implementation in MathScript/LabVIEW along with built-in discretization methods. Euler: Two commonly used methods for discretization are as follows: Euler forward method: Euler backward method: Other methods are Zero Order Hold (ZOH), Tustin s method, etc. Where is the sampling time, and, and are discrete values. Note! Different notations may be used: =,,, etc. Example: Given the following system: We will use the Euler forward method to create a discrete version of this system. We get as follows: Further: Faculty of Technology, Postboks 203, Kjølnes ring 56, N-3901 Porsgrunn, Norway. Tel: Fax:

2 2 This gives: Finally: If we use, and, we get: [End of Example] Discretization in MathScript In MathScript we can simulate a discrete system using a For Loop or a While Loop. We can also use some of the built-in functions to convert a continuous state-space model to a discrete state-space model. In MathScript we can use the function c2d() to convert from a continuous system to a discrete system. Example: We will simulate the following discrete system in MathScript using a For Loop: We will set and MathScript code: % Simulation of discrete model clear clc % Model Parameters a = 0.25; b = 2; % Simulation Parameters Ts = 0.1; %s Tstop = 20; %s uk = 1; x(1) = 0; % Simulation for k=1:(tstop/ts) x(k+1) = (1-a*Ts).*x(k) + Ts*b*uk; end % Plot the Simulation Results k=0:ts:tstop;

3 3 plot (k, x) grid on We use as the sampling time. This gives the following results: As you may notice, we get the same result as we get in the previous Exercise (10b) when we used LabVIEW. [End of Example] Example: Given the following system: We will set and We will use the built-in function c2d() in order to find the discrete system: % Find Discrete model clear clc % Model Parameters a = 0.25; b = 2; Ts = 0.1; %s % State-space model A = [-a];

4 4 B = [b]; C = [1]; D = [0]; model = ss(a,b,c,d) model_discrete = c2d(model, Ts, 'forward') This gives the following results: a b 0.2 c 1 d 0 or: As you see this is the same result as in the example above. [End of Example] Discretization in LabVIEW There are several ways we can make a discrete model in LabVIEW as well. In this exercise we will use the Formula Node. A Formula Node in LabVIEW evaluates mathematical formulas and expressions similar to C on the block diagram. In this way you may use existing C code directly inside your LabVIEW code. It is also useful when you have complex mathematical expressions. Example: We use the same discrete system as in previous examples: With and We will use the Formula Node and a For Loop in LabVIEW in order to simulate this discrete model. The LabVIEW code is as follows:

5 5 The simulation results are as follows: As you see we get the same results here as in the other examples. [End of Example] Task 1: Discrete system Given the following system:

6 6 Task 1.1 Find the discrete system and set it on state-space form (using pen and paper). Use Euler forward: Task 1.2 Define the continuous state-space model ( pen and paper ) and then implement the continuous state-space model in MathScript. Then use MathScript to find the discrete state-space model. Compare the result from the previous task. Set and Task 2: Discrete Controller A controller is given by the following transfer function: Task 2.1 Find the continuous differential equation. Task 2.2 Find the discrete difference equation. Use the Euler backward method. Task 3: Discrete State-space model Given the following system: Task 3.1 Find the discrete state-space model

7 7 Task 3.2 Define the continuous state-space model ( pen and paper ) and then implement the continuous state-space model in MathScript. Then use MathScript to find the discrete state-space model. Compare the result from the previous subtask. Use values and. Task 4: Discrete Low-pass Filter Transfer function for a first-order low-pass filter may be written: Where is the time-constant of the filter. Task 4.1 Create the discrete low-pass filter algorithm using pen and paper. Use the Euler Backward method. Task 4.2 Create a discrete low-pass filter in LabVIEW using the Formula Node in LabVIEW. Create a SubVI of the code. You will use this subvi in your project later. The user needs to be able to set the time constant of the filter from the outside, i.e., it should be an input to the SubVI. The simulation Time-step Test and make sure your filter works! Note! A golden rule is that: needs also to be set from the outside. You may, e.g., use the Uniform White Noise PtByPt.vi. Example:

8 8 Task 5: Discrete PI controller A continuous-time PI controller may be written: Where u is the controller output and is the control error: Below we see a block diagram of a simple control system:

9 9 Task 5.1 Create the discrete PI Controller algorithm using pen and paper. Use the Euler Backward method. Task 5.2 Create a discrete PI controller in LabVIEW using the Formula Node. Create a SubVI of the code. You will use this subvi in your project later. Task 6: Simulation Implement your PI controller and Low-pass filter in a simulation. You may, e.g., use the example General PID Simulator.vi as a base for your simulation. Use the NI Example Finder (Help Find Examples ) in order to find the VI in LabVIEW. Note! You will need the LabVIEW PID and Fuzzy Logic Toolkit in order to fulfill this Task. Run the example and see how it is implemented and how it works. Note! Save the VI with a new name and replace the controller used in the example with the controller you created in the previous task. Additional Resources Here you will find tutorials, additional exercises, etc.

Solutions. Discretization HANS-PETTER HALVORSEN,

Solutions. Discretization HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions HANS-PETTER HALVORSEN, 2011.08.12 Discretization Faculty of Technology, Postboks 203,

More information

Control and Simulation in. LabVIEW

Control and Simulation in. LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions Control and Simulation in HANS-PETTER HALVORSEN, 2011.08.11 LabVIEW Faculty of Technology,

More information

State Estimation with Observers

State Estimation with Observers Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics State Estimation with Observers HANS-PETTER HALVORSEN, 2012.08.20 Faculty of Technology, Postboks

More information

Data Acquisition HANS-PETTER HALVORSEN,

Data Acquisition HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Data Acquisition HANS-PETTER HALVORSEN, 2011.10.14 Faculty of Technology, Postboks 203, Kjølnes

More information

Virtual Instruments with LabVIEW

Virtual Instruments with LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Virtual Instruments with LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks

More information

Exercise 5: Basic LabVIEW Programming

Exercise 5: Basic LabVIEW Programming Exercise 5: Basic LabVIEW Programming In this exercise we will learn the basic principles in LabVIEW. LabVIEW will be used in later exercises and in the project part, as well in other courses later, so

More information

DAQ in MATLAB HANS-PETTER HALVORSEN,

DAQ in MATLAB HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics DAQ in MATLAB HANS-PETTER HALVORSEN, 2011.06.07 Faculty of Technology, Postboks 203, Kjølnes ring

More information

Datalogging in LabVIEW

Datalogging in LabVIEW Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Datalogging in LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks 203, Kjølnes

More information

NI Vision System HANS- PETTER HALVORSEN,

NI Vision System HANS- PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI Vision System HANS- PETTER HALVORSEN, 2013.02.19 Faculty of Technology, Postboks 203, Kjølnes

More information

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI mydaq HANS-PETTER HALVORSEN, 2012.01.20 Faculty of Technology, Postboks 203, Kjølnes ring 56,

More information

Wireless DAQ using ZigBee

Wireless DAQ using ZigBee Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Wireless DAQ using ZigBee Cuong Nguyen, Hans- Petter Halvorsen 2013.10.29 Hardware

More information

LabVIEW MathScript Quick Reference

LabVIEW MathScript Quick Reference Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics LabVIEW MathScript Quick Reference Hans-Petter Halvorsen, 2012.06.14 Faculty of Technology, Postboks

More information

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc.

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc. Simulation in LabVIEW Hans-Petter Halvorsen, M.Sc. Software LabVIEW LabVIEW Control Design and Simulation Module This module is used for creating Control and Simulation applications with LabVIEW. Here

More information

University College of Southeast Norway. Control and Simulation. in LabVIEW. Hans-Petter Halvorsen,

University College of Southeast Norway. Control and Simulation. in LabVIEW. Hans-Petter Halvorsen, University College of Southeast Norway Control and Simulation Hans-Petter Halvorsen, 2016.10.28 in LabVIEW http://home.hit.no/~hansha Preface This document explains the basic concepts of using LabVIEW

More information

Wireless DAQ System. In this project you are going to create a Wireless DAQ System, see Figure 1-1. Figure 1-1: Wireless DAQ system

Wireless DAQ System. In this project you are going to create a Wireless DAQ System, see Figure 1-1. Figure 1-1: Wireless DAQ system Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Wireless DAQ System Keywords: Data Communication, Protocols,

More information

Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics. SCADA System

Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics. SCADA System Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics SCADA System Keywords: Data Communication, protocols,

More information

Exercise: State-space models

Exercise: State-space models University College of Southeast Norway Exercise: State-space models A state-space model is a structured form or representation of a set of differential equations. Statespace models are very useful in Control

More information

Laboratory System. 1 Introduction

Laboratory System. 1 Introduction Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Laboratory System Keywords: Data Communication, Protocols,

More information

Weather System. In this project you are going to create a Weather System, see Figure 1-1. Figure 1-1: Weather system

Weather System. In this project you are going to create a Weather System, see Figure 1-1. Figure 1-1: Weather system Høgskolen i Telemark Telemark University College Faculty of Technology, Department of Electrical Engineering, Information Technology and Cybernetics Weather System Keywords: Data Communication, Protocols,

More information

Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. MathScript

Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. MathScript Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Solutions So You Think You Can HANS-PETTER HALVORSEN, 2011.09.07 MathScript Part I: Introduction

More information

Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics.

Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics. Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Wi- Fi DAQ Hardware Setup Cuong Nguyen, Hans- Petter Halvorsen, 2013.08.07

More information

Chapter 2. MathScript

Chapter 2. MathScript Chapter 2. MathScript 2.1 What is MathScript MathScript is math-oriented, text-based computing language to address tasks mathematic calculation: Most suitable for Mathematic calculation. Matrix based data

More information

2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram

2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram E80 Spring 2015 Lecture 3 LabView 1. Creating a VI (Virtual Instrument) From the File drop-down menu, select New VI 2. The LabView Environment Two panes will open, one is the Front panel, and one is the

More information

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS Hands-On Introduction to LabVIEW for Scientists and Engineers Second Edition John Essick Reed College New York Oxford OXFORD UNIVERSITY PRESS Contents. Preface xiii 1. THE WHILE LOOP AND WAVEFORM CHART

More information

LABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH

LABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH LABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH In this exercise, you will be introduced to the MathScript Node and the XY Graph. The MathScript Node structure uses syntax that is very similar

More information

Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz

Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming by Nasser Kehtarnavaz University

More information

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI

Lesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI Lesson 1 Introduction to LabVIEW TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI 1 Virtual Instruments (VIs) Front Panel Controls = Inputs

More information

NI USB-TC01 Thermocouple Measurement Device

NI USB-TC01 Thermocouple Measurement Device Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics NI USB-TC01 Thermocouple Measurement Device HANS- PETTER HALVORSEN, 2013.02.18 Faculty of Technology,

More information

LabVIEW Express VI Development Toolkit User Guide

LabVIEW Express VI Development Toolkit User Guide LabVIEW Express VI Development Toolkit User Guide Version 1.0 Contents The LabVIEW Express VI Development Toolkit allows you to create and edit Express VIs, which you can distribute to users for building

More information

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT AC 2012-4561: MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT Dr. Nikunja Swain, South Carolina State University Nikunja Swain is a professor in the College of Science, Mathematics,

More information

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW.

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW. Goal Description Implementation Use the debugging tools built into LabVIEW. Complete the following steps to load a broken VI and correct the errors. Use single-stepping and execution highlighting to step

More information

Excel tutorial Introduction

Excel tutorial Introduction Office button Excel tutorial Introduction Microsoft Excel is an electronic spreadsheet. You can use it to organize your data into rows and columns. You can also use it to perform mathematical calculations

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

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 1 (v 1.3) Setup The user interface of LabView is highly customizable. How this is done is a personal preference. For

More information

LabVIEW Datalogging and Supervisory Control Module

LabVIEW Datalogging and Supervisory Control Module RELEASE AND UPGRADE NOTES LabVIEW Datalogging and Supervisory Control Module Version 8.6 Contents This document describes the system requirements and the process of installing the LabVIEW 8.6 Datalogging

More information

Direction Fields; Euler s Method

Direction Fields; Euler s Method Direction Fields; Euler s Method It frequently happens that we cannot solve first order systems dy (, ) dx = f xy or corresponding initial value problems in terms of formulas. Remarkably, however, this

More information

Real-Time Systems. Exam June 3, 2015, hours:

Real-Time Systems. Exam June 3, 2015, hours: Department of AUTOMATIC CONTROL Real-Time Systems Exam June 3, 2015, hours: 14.00 19.00 Points and grades All answers must include a clear motivation and a well-formulated answer.answersmaybegiveninenglishorswedish.thetotalnumberof

More information

Real-Time Systems. Exam May 7, 2015, hours:

Real-Time Systems. Exam May 7, 2015, hours: Department of AUTOMATIC CONTROL Real-Time Systems Exam May 7, 25, hours: 8. 3. Points and grades All answers must include a clear motivation and a well-formulated answer.answersmaybegiveninenglishorswedish.thetotalnumberof

More information

Virtual Instrumentation With LabVIEW

Virtual Instrumentation With LabVIEW Virtual Instrumentation With LabVIEW Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in LabVIEW LabVIEW Programs Are Called Virtual Instruments

More information

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc.

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc. MATLAB Examples Simulink Hans-Petter Halvorsen, M.Sc. What is Simulink? Simulink is an add-on to MATLAB. You need to have MATLAB in order to use Simulink Simulink is used for Simulation of dynamic models

More information

From Design to Deployment:

From Design to Deployment: From Design to Deployment: Leveraging the combined power of LabVIEW and Mathematica throughout the development cycle Copyright 2002 BetterVIEW Consulting Introduction As research and production cycles

More information

Module 2: Single Step Methods Lecture 4: The Euler Method. The Lecture Contains: The Euler Method. Euler's Method (Analytical Interpretations)

Module 2: Single Step Methods Lecture 4: The Euler Method. The Lecture Contains: The Euler Method. Euler's Method (Analytical Interpretations) The Lecture Contains: The Euler Method Euler's Method (Analytical Interpretations) An Analytical Example file:///g /Numerical_solutions/lecture4/4_1.htm[8/26/2011 11:14:40 AM] We shall now describe methods

More information

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Instructions: If you did not receive this exam in a sealed envelope stamped "NI Certification," DO NOT ACCEPT this exam. Return it to the proctor

More information

LabVIEW Advanced for 7.0 Manual Course Errata

LabVIEW Advanced for 7.0 Manual Course Errata LabVIEW Advanced for 7.0 Manual Course Errata Exercise 1-4, page 1-24: On faster machines the VI profiler reports incorrect data. It shows that the VI plotting 1 point at a time is faster then the VI plotting

More information

Virtual Instrumentation With LabVIEW

Virtual Instrumentation With LabVIEW Virtual Instrumentation With LabVIEW Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build a simple data acquisition application Create a subroutine

More information

Tips for Code Re-Use. Rejwan Ali, Marketing Engineer NI Africa and Oceania

Tips for Code Re-Use. Rejwan Ali, Marketing Engineer NI Africa and Oceania ni.com 1 ni.com Tips for Code Re-Use Rejwan Ali, Marketing Engineer NI Africa and Oceania Graphical System Design A platform-based approach for measurement and control 4 Calling Compiled Code From LabVIEW

More information

2 Lab 2: LabVIEW and Control System Building Blocks

2 Lab 2: LabVIEW and Control System Building Blocks 2 Lab 2: LabVIEW and Control System Building Blocks 2.1 Introduction Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to

More information

LabVIEW VI Analyzer Toolkit

LabVIEW VI Analyzer Toolkit USER GUIDE LabVIEW VI Analyzer Toolkit Version 1.1 Contents The LabVIEW VI Analyzer Toolkit allows you to interactively and programmatically test VIs to find areas of improvement. The toolkit contains

More information

LabVIEW programming I

LabVIEW programming I FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming I LabVIEW basics Spring 2011 Lecture #2 Bekkeng 13.1.2011 Virtual Instruments LabVIEW programs are called virtual instruments,

More information

MOVING FROM CELL TO CELL

MOVING FROM CELL TO CELL VCAE: EXCEL Lesson 1 Please send comments to Author: Zahra Siddiqui at zed_ess@hotmail.com Concepts Covered: Cell Address; Cell Pointer; Moving across Cells Constants: Entering, Editing, Formatting Using

More information

University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen,

University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen, University College of Southeast Norway LM-900 Level Tank Hans-Petter Halvorsen, 2016.10.26 http://home.hit.no/~hansha Table of Contents Table of Contents... ii 1 Introduction... 1 2 System Description...

More information

LabVIEW Basics I: Introduction Course

LabVIEW Basics I: Introduction Course www.ni.com/training LabVIEW Basics I Page 1 of 4 LabVIEW Basics I: Introduction Course Overview The LabVIEW Basics I course prepares you to develop test and measurement, data acquisition, instrument control,

More information

LabVIEW control solutions on Mac. Christophe Salzmann. Ecole Polytechnique Fédérale de Lausanne - Switzerland

LabVIEW control solutions on Mac. Christophe Salzmann. Ecole Polytechnique Fédérale de Lausanne - Switzerland 1 LabVIEW control solutions on Mac Christophe Salzmann Ecole Polytechnique Fédérale de Lausanne - Switzerland 2 1! Outline Education & research context Control on the Mac (timeline) Current solutions Research

More information

https://www.halvorsen.blog Modbus Hans-Petter Halvorsen

https://www.halvorsen.blog Modbus Hans-Petter Halvorsen https://www.halvorsen.blog Modbus Hans-Petter Halvorsen What is Modbus? Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable

More information

Read Temperature Data

Read Temperature Data Read Temperature Data Exercise 5 Completed front panel and block diagram In this exercise, you will create a program using SensorDAQ s Analog Express VI to collect temperature data and display it on a

More information

Hardware: Acquiring Data and Communicating with Instruments

Hardware: Acquiring Data and Communicating with Instruments Hardware: Acquiring Data and Communicating with Instruments 4 Acquiring a Signal This chapter introduces you to the Express VIs you use to acquire data and communicate with instruments on Windows. These

More information

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE Introduction INSTRIUCTIONS IN THE EXERCISES According to National Instruments description: LabVIEW is a graphical programming platform that helps

More information

LABVIEW MATHSCRIPT HANS-PETTER HALVORSEN,

LABVIEW MATHSCRIPT HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics LABVIEW MATHSCRIPT HANS-PETTER HALVORSEN, 2010.05.25 Faculty of Technology, Postboks 203, Kjølnes

More information

Introduction to LabVIEW. By Finn Haugen, TechTeach

Introduction to LabVIEW. By Finn Haugen, TechTeach 1 of 100 03/07/2012 02:31 PM Introduction to LabVIEW 8.5 by Finn Haugen 31. August 2008 Contents: 1 Preface 2 Introduction 3 Launching LabVIEW 3.1 License Activation 3.2 Starting using LabVIEW 4 Looking

More information

Lab # 8 Parallel Port Interface with LabView & Root Locus Design

Lab # 8 Parallel Port Interface with LabView & Root Locus Design Islamic University of Gaza Faculty of Engineering Computer Engineering Dep. Feedback Control Systems Lab Eng. Tareq Abu Aisha Lab # 8 Lab # 8 Parallel Port Interface with LabView & Root Locus Design Introduction:

More information

Bring your Questions and Find

Bring your Questions and Find Bring your Questions and Find Solutions at your LabVIEW User Group Presented by Nick Golas Telephonics Corp. & Robert Berger National Instruments IEEE I&M Society LI Section & Long Island LabVIEW Users

More information

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment Dept. of Electrical, Computer and Biomedical Engineering Data Acquisition Systems and the NI LabVIEW environment Data Acquisition (DAQ) Use of some data acquisition technique can be convenient, when not

More information

6-3 [bb pid rc.m] 1 %% bb_pid_rc.m 2 3 %% Initialize & load data 4 close all 5 clear all 6 load sim_param 7

6-3 [bb pid rc.m] 1 %% bb_pid_rc.m 2 3 %% Initialize & load data 4 close all 5 clear all 6 load sim_param 7 4.6 PI (p.90) 1 %% velo_pi_mbd.m 3 %% Initialize & load data 6 load model_data 8 %% PI design by pole placement 9 p1 = input( p1 = ); 10 p = p1; % 11 % p = input( p = ); % p 1 13 Kp = -((p1+p)*t + 1)/K;

More information

International Journal of Advance Engineering and Research Development. Flow Control Loop Analysis for System Modeling & Identification

International Journal of Advance Engineering and Research Development. Flow Control Loop Analysis for System Modeling & Identification Scientific Journal of Impact Factor(SJIF): 3.134 e-issn(o): 2348-4470 p-issn(p): 2348-6406 International Journal of Advance Engineering and Research Development Volume 2,Issue 5, May -2015 Flow Control

More information

Benefits of Programming Graphically in NI LabVIEW

Benefits of Programming Graphically in NI LabVIEW Benefits of Programming Graphically in NI LabVIEW Publish Date: Jun 14, 2013 0 Ratings 0.00 out of 5 Overview For more than 20 years, NI LabVIEW has been used by millions of engineers and scientists to

More information

Benefits of Programming Graphically in NI LabVIEW

Benefits of Programming Graphically in NI LabVIEW 1 of 8 12/24/2013 2:22 PM Benefits of Programming Graphically in NI LabVIEW Publish Date: Jun 14, 2013 0 Ratings 0.00 out of 5 Overview For more than 20 years, NI LabVIEW has been used by millions of engineers

More information

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed

More information

Academic Software Solutions

Academic Software Solutions RELEASE NOTES Academic Software Solutions November 2004 Thank you for purchasing this department, college/faculty, or campus license of National Instruments software. Please read this document to familiarize

More information

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Introduction to LabView PURPOSE The purpose of this lab is to get you familiarized with LabView.

More information

Arrays. Collection of data elements that are of same type

Arrays. Collection of data elements that are of same type Arrays Collection of data elements that are of same type 31 One or more dimensions, up to 2 elements per dimension Elements accessed by their index First element is index 0 index 10-element array 0 1 2

More information

Linear Control Systems LABORATORY

Linear Control Systems LABORATORY Islamic University Of Gaza Faculty of Engineering Electrical Engineering Department Linear Control Systems LABORATORY Prepared By: Eng. Adham Maher Abu Shamla Under Supervision: Dr. Basil Hamed Experiments

More information

Labview Lab 2. Vern Lindberg. April 16, 2012

Labview Lab 2. Vern Lindberg. April 16, 2012 Labview Lab 2 Vern Lindberg April 16, 2012 1 Temperature Measurement Thermistors are sensitive semiconductor devices that can measure temperature over a restricted temperature range. The thermistors we

More information

ODE IVP. An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable:

ODE IVP. An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable: Euler s Methods ODE IVP An Ordinary Differential Equation (ODE) is an equation that contains a function having one independent variable: The equation is coupled with an initial value/condition (i.e., value

More information

Linear Algebra in LabVIEW

Linear Algebra in LabVIEW https://www.halvorsen.blog Linear Algebra in LabVIEW Hans-Petter Halvorsen, 2018-04-24 Preface This document explains the basic concepts of Linear Algebra and how you may use LabVIEW for calculation of

More information

DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT

DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT MSc. Nilton Anchaygua A. Victor David Lavy B. Jose Luis Jara M. Abstract The following project has as goal the study of the kinematics, dynamics and control

More information

CHAPTER 5: Exponential and Logarithmic Functions

CHAPTER 5: Exponential and Logarithmic Functions MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 5: Exponential and Logarithmic Functions 5.1 Inverse Functions 5.2 Exponential Functions and Graphs 5.3 Logarithmic Functions

More information

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Application Note 182 Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Introduction This document discusses using LabWindows/CVI to interface with RT Series hardware and to write DLLs to

More information

ChE 400: Applied Chemical Engineering Calculations Tutorial 6: Numerical Solution of ODE Using Excel and Matlab

ChE 400: Applied Chemical Engineering Calculations Tutorial 6: Numerical Solution of ODE Using Excel and Matlab ChE 400: Applied Chemical Engineering Calculations Tutorial 6: Numerical Solution of ODE Using Excel and Matlab Tutorial 6: Numerical Solution of ODE Gerardine G. Botte This handout contains information

More information

A Unified Approach for Classroom and Laboratory Control Systems Education

A Unified Approach for Classroom and Laboratory Control Systems Education A Unified Approach for Classroom and Laboratory Control Systems Education Zaher M. Kassas and Ricardo Dunia Electrical and Computer Engineering Department, The University of Texas, Austin, TX (e-mail:

More information

Module 4. Computer-Aided Design (CAD) systems

Module 4. Computer-Aided Design (CAD) systems Module 4. Computer-Aided Design (CAD) systems Nowadays the design of complex systems is unconceivable without computers. The fast computers, the sophisticated developing environments and the well elaborated

More information

Labview. Masood Ejaz

Labview. Masood Ejaz Labview A Tutorial By Masood Ejaz Note: This tutorial is a work in progress and written specially for CET 3464 Software Applications in Engineering Technology, a course offered as part of BSECET program

More information

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users IMAQ Vision Deployment Engine Note to Users The IMAQ Vision Deployment Engine provides everything you need to deploy custom IMAQ Vision applications to target computers. The IMAQ Vision Deployment Engine

More information

Introduction to LabVIEW

Introduction to LabVIEW University College of Southeast Norway Introduction to LabVIEW Hans-Petter Halvorsen, 2016-09-07 http://home.hit.no/~hansha Preface This document explains the basic concepts of LabVIEW. You find additional

More information

IMAQ Vision Deployment Engine Note to Users

IMAQ Vision Deployment Engine Note to Users IMAQ Vision Deployment Engine Note to Users The IMAQ Vision Deployment Engine provides everything you need to deploy custom IMAQ Vision applications to target computers. The IMAQ Vision Deployment Engine

More information

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides exercises to teach you how to develop a real-time project and VIs, from setting up RT targets to building, debugging, and

More information

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit Engineering Project-I Module 1: Familiarization of LabVIEW and the Vernier Toolkit PREPARED BY Academic Services Unit January 2012 Applied Technology High Schools, 2012 Module 1: Familiarization of LabVIEW

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

Digital Image Processing using Mathematica Link for LabVIEW

Digital Image Processing using Mathematica Link for LabVIEW Digital Image Processing using Mathematica Link for LabVIEW A demo developed for NI Week 2002 August 14-16, 2002, Austin, TX Concept and Programming: David J. Ritter BetterVIEW Consulting Copyright 2002

More information

WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE

WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE 22 March, 2018 WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE Document Filetype: PDF 404.36 KB 0 WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE Which of the

More information

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni. LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual (online) LabVIEW Core 1 Exercise Manual (online) LabVIEW Core 1 Course CD (preloaded on S Share) Multifunction DAQ device File Locations

More information

CITS2401 Computer Analysis & Visualisation

CITS2401 Computer Analysis & Visualisation FACULTY OF ENGINEERING, COMPUTING AND MATHEMATICS CITS2401 Computer Analysis & Visualisation SCHOOL OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING Topic 13 Revision Notes CAV review Topics Covered Sample

More information

Analytical Instrumentation

Analytical Instrumentation Analytical Instrumentation A graduate course ( Chem9532a/b) Dr. Zhifeng Ding Department of Chemistry The University of Western Ontario (519) 661-2111 Ext. 86161 e-mail: zfding@uwo.ca Log in: Femlab feml@b09

More information

Digital Logic Design Exercises. Assignment 1

Digital Logic Design Exercises. Assignment 1 Assignment 1 For Exercises 1-5, match the following numbers with their definition A Number Natural number C Integer number D Negative number E Rational number 1 A unit of an abstract mathematical system

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

Math 1311 Section 3.3 Modeling Data with Linear Functions

Math 1311 Section 3.3 Modeling Data with Linear Functions Math 1311 Section 3.3 Modeling Data with Linear Functions Most of the real world does not come with math equations attached, like price tags. You observe a particular phenomenon and obtain data points.

More information

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}.

September 18, B Math Test Chapter 1 Name: x can be expressed as: {y y 0, y R}. September 8, 208 62B Math Test Chapter Name: Part : Objective Questions [ mark each, total 2 marks]. State whether each of the following statements is TRUE or FALSE a) The mapping rule (x, y) (-x, y) represents

More information

Analytical Instrumentation

Analytical Instrumentation Analytical Instrumentation Log in: Femlab feml@b09 A graduate course ( Chem9532a/b) Dr. Zhifeng Ding Department of Chemistry The University of Western Ontario (519) 661-2111 Ext. 86161 e-mail: zfding@uwo.ca

More information

Level 3 will generally. Level 2 may demonstrate limited ability to: Same as Level 2 Same as Level 2 identify models or

Level 3 will generally. Level 2 may demonstrate limited ability to: Same as Level 2 Same as Level 2 identify models or identify models or representations of multidigit division apply the distributive property to solve multi-digit division problems divide multi-digit whole numbers fluently using the standard algorithm Same

More information

Exam 1 Review. MATH Intuitive Calculus Fall Name:. Show your reasoning. Use standard notation correctly.

Exam 1 Review. MATH Intuitive Calculus Fall Name:. Show your reasoning. Use standard notation correctly. MATH 11012 Intuitive Calculus Fall 2012 Name:. Exam 1 Review Show your reasoning. Use standard notation correctly. 1. Consider the function f depicted below. y 1 1 x (a) Find each of the following (or

More information

ECE 463 Lab 1: Introduction to LabVIEW

ECE 463 Lab 1: Introduction to LabVIEW ECE 463 Lab 1: Introduction to LabVIEW 1. Introduction The purpose of the lab session of ECE463 is to apply/practice the digital communication theory on software-defined radios (USRPs). USRP is coupled

More information