Section One: Using Control Blocks for PID Controllers

Size: px
Start display at page:

Download "Section One: Using Control Blocks for PID Controllers"

Transcription

1 Section One: Using Control Blocks for PID Controllers In this section, the use of control blocks will be used to compensate for a Plant Given by the transfer function: Open a new Simplorer, rename the Project to be Control_Blocks, rename the Design to be PID_control, File -> Save As to a desired location Insert two blocks onto the schematic Basic Elements/Blocks/Sources Blocks/STEP: Step Function (one) Basic Elements/Blocks/Continuous Blocks/GS: S-Transfer Function (one) Connect them as shown below (this represents an open loop system) Add an AC analysis from the Project Manager Window by selecting Analysis then RMB -> Solution Setup -> Add AC leave values at the default settings. -1

2 Insert two plots on the schematic, one will be for a TR analysis and the other will be a Bode Plot for the AC analysis Draw -> Report -> Rectangular Plot (size it, don t give signals simply close) Draw -> Report -> Bode Plot (size it, don t give signals, simply close) The schematic should now appear as shown below Double click on the STEP block, use following; this block provides a step function from a value of 0 to a value of 1, at time = 0 when the simulation starts. Select the AC Parameters tab and define Magnitude = 1 (this will be the value of the source during an AC analysis. Double click on the GS block and define the transfer function for the Plant -2

3 Double click on the Rectangular Plot, select GS1.VAL, Add Trace, Close Double click on the Bode Plot to define the transfer function that will be plotted Select Solution to be AC Select the Base (or reference) signal to be STEP1.VAL Select the GS1.VAL to be the Signal Select Add Trace then Close Set up each plot to display the header only by selecting each plot, RMB -> View - > Visibility, go to the Legends tab, and select only the Header box Rename each plot in the Project Manager window under the Results section to be G(s) TR Output and G(s) Transfer Function (for the Bode Plot) -3

4 Set up the TR and AC analysis as follows Run the TR analysis, then Run the AC analysis, the results should appear as shown below. File -> Save Note the output ramps up to 4.87V (As shown on TR plot due to gain of 4.87) Note the DC gain of 4.87 => 13.75dB (as shown on the Bode Plot) Note the phase goes to -180 degrees due to the double pole -4

5 Note the original Plant G(s) can be re-written, then factored to determine the frequency of the poles (double pole at w = 0.4, where F = w/2pi = 0.064Hz) Double click the Bode plot from the Program Manager window under the Results section Move the mouse into the plot area and RMB - > Marker -> Add X Marker This will add a marker that can be moved along the X axis by placing the curser over the yellow box on the X axis and moving it (note can also select it and move it with the keyboard -> ) move the X marker to 0.064Hz (location of double pole) -5

6 Add another marker using RMB -> Marker -> add Marker Place the marker at the very beginning of the plot to display the DC gain, then hit Esc to get out of place marker mode. The DC gain should be approx dB Double click on the G(s) TR Output plot in the same Results section in the Program Manager window, move the mouse into the plot area RMB -> Trace Characteristic -> Add Select Math and max, and leave the Range to be full, then select Add, this will place a marker at the max value within defined range -6

7 Close out the plot windows to get back to the schematic Note the markers appear on the schematic plots, these can be moved for better visibility of the plot Select the Bode Plot, RMB -> edit in place (this puts the plot in edit mode, (similar to when it is opened in the Project Manager window under the Results section). Select the marker box and move it to a desired location as shown below Select both the STEP and GS block by drawing a box around them, copy (Ctrl + C), then paste (Ctrl + V) Delete the connection between this new pair Add a SUM block into the circuit Basic Elements/Blocks/Signal Processing Blocks/SUM: Summation Flip the SUM block Vertically Add a new Plot Draw -> Report -> Rectangular, do not add signal, simply close Move the SUM block in-between the STEP and GS block and connect as shown -7

8 Double click on the SUM block and select the sign for the feedback from the GS block to be - which would represent negative feedback Double click on the new plot, make sure to chose the TR solution select GS2.VAL, Add Trace, Close Note this configuration now represent a closed loop system with no compensation. Run the TR analysis, the results should appear as shown below Note the output is now less than 1V and has associated transients File -> Save -8

9 Copy the latest configuration by drawing a box around it, (Ctrl + C), then paste it below (Ctrl + V) Remove all connections Add the following blocks into the schematic and arrange them as shown Basic Elements/Blocks/Signal Processing Blocks/SUM: Summation Double click on this SUM block and add input pin by selecting another box for the input Basic Elements/Blocks/Continuous Blocks/GAIN: Gain Basic Elements/Blocks/Continuous Blocks/INTG: Integrator Basic Elements/Blocks/Continuous Blocks/DIFF: Derivative Connect the blocks as shown below -9

10 Add a plot by this new configuration Draw -> Report -> Rectangular Plot Select the Solution to be TR, select GS3.VAL, Add Trace, Close Add another plot, Draw -> Report -> Bode Plot Select the Base signal to be SUM2.VAL, and the Signal to be SUM3.VAL Add Trace, Close (this will plot the transfer function of the PID control section) File -> Save -10

11 Several types of control will now be evaluated Double click on each block in the PID Control section (GAIN, INTG, and DIFF), and note the gain term associated with each (KP, KI, and KD respectively) The transfer function for a PID controller is shown below with the associated gain terms Adjust the Gain terms as follows, run both the TR and AC analysis and note the results (note the AC analysis shows the transfer function of the PID controller) Set Kp =1, Ki = 0, KD = 0 (yields a Proportional control only) Run TR and AC, note results Set Kp =1, Ki = 0.1, KD = 0 (yields a PI control) Run TR and AC, note results Set Kp =1, Ki = 0.1, KD = 1 (yields a PID control) [Optimal Design] Run TR and AC, note results File -> Save -11

12 Section Two: Active Filters and G(s) blocks In this section, a G(s) Transfer function block will be used to show the implementation of an Active Filter design. Create a new Design in the Control_Blocks Project; Project -> insert simplorer design Rename the new Design to be Active_Filter Add the following components to the new Active_Filter Design 4 Resistors 1 capacitor 1 voltage source 1 opamp Basic Elements/Circuit/Semiconductors Device/Operational Amplifier/OPV5: Dynamic Op Amp Flip the Op Amp vertically so - input is on top Relax the Grid set up for more versatile placements of values on schematic Schematic -> Grid Setup, un select box for Snap Text and Graphics Rotate, connect and display values of the Active filter using the Op Amp as shown. note the names and values of each component -12

13 Double click on the Voltage source and define parameters as shown below Time Controlled Sine, Spice Compatible, Amplitude = 10, Frequency = 1000Hz Select the AC Parameters tab and set Magnitude = 1 (this is the magnitude for the AC analysis) Add an AC analysis via the Project Manager window for the Active_Filter design, set it up as shown -13

14 Double click on the TR Analysis and set it up as shown below Zoom out on the schematic and add two plots onto the schematic Draw -> Report -> Rectangular Plot Define the signals to be the voltage across the output (Rload_opamp.v), and input E1.V, Add Trace, Close Draw -> Report -> Bode Plot Define the base signal to be E1.V and the Signal to be Rload_opamp.V (note the - sign is there to compensate for the fact this active filter has a 180 phase shift as in inverting op amp configuration. Add Trace, Close -14

15 Run both the TR and AC anlaysis, the results should be as shown below File -> Save Adjust the TR plot to view the X axis from 35ms to 40ms Adjust the Bode (AC plot) so it only displays the Header, and change the name of the Header to Op Amp Active Filter Transfer Function, the results should appear as shown below -15

16 Evaluation of the results DC Gain of the filter is given by Av(dc) = RF/Rin = 10k/1k = 10 => 20dB Break frequency for the pole (Fp) of the filter is given by w = 1/(RF*CF) = 100rad wp = 2PiFp => Fp = wp/2pi = 100/2pi = 15.9Hz Open the Bode plot (for the AC analysis) from the Results section in the Program Manager window Add markers for the DC gain (RMB -> Marker -> Add Marker) Add X marker for Fp (RMB -> Marker -> Add X Marker) NOTE from the Bode Plot, the DC gain is 20dB, and the Fp is 15.9Hz Note Fp occurs at approx 3dB from the DC gain (17dB) Move the X Marker to 1000Hz, and note the Gain of the Op Amp Filter at 1kHz is approx. -16dB where voltage gain is given by 20log(ratio) = -16, therefore ratio = Note also the final phase is -90 degrees (validates a single pole) Clear all markers using Marker -> Clear All -16

17 Open the Rectangular Plot for the TR analysis and measure the peak value of the input and output voltages using RMB -> Trace Characteristic -> Add. Select Math, max, range as shown below, then select Add this should yield the following Note the output voltage at 1000Hz is 1.56 Vp where the input voltage is 10Vp which yields the gain of 1.56/10 = (as shown by the Bode Plot at 1kHz of approx -16dB) File -> Save -17

18 A G(s) transfer function block will now be created to represent the Op Amp Active filter. Add the following components to the Active Filter design Basic element/blocks/continuous Blocks/GS: S-Transfer function (one) Voltage Source (two) Resistor (one) Voltage Meter (one) -> Basic Element/Measurement/Electrical/VM Arrange them as shown below Double click on the VM1 Voltage meter, select the Output/Display tab and select the box to Show Pin for the Voltage V (this represents the voltage that is being measured). Flip the Voltage Meter Horizontally Double click on the E3 Voltage source shown above, and select the EMF value to be a pin (this pin will determine the voltage of the source) Connect the circuit as shown below, note the G(s) block will represent the Active Filter (Op Amp), E2 will be the input to the filter, VM1 will interface with the control blocks because the voltage at its output pin represents a non-conserved node which is compatible with the control blocks. In order to interface the non-conserved node output of the control block with conserved components, it will be connected as the input pin to a voltage source as shown. -18

19 Double click on the voltage source E2, define it to be the same as E1: Time Controlled Sine, Spice Compatible, Amplitude = 10, Frequency = 1000Hz Change the name of the Resistor to be Rload_Gs, leave it at default value of 1000 Ohms Define the G(s) block, from the Op Amp Bode plot it was found that the Frequency of the pole Fp was 15.9Hz (wp = 100), and DC gain = 20dB (10) therefore we have for the transfer function G(s) = 1000/(s + 100) Note the use of for the numerator to account for the 180 phase shift of the Op Amp configuration where the input signal is connect to the - input -19

20 Add a Rectangular plot, make sure to select the TR as the Solution in the upper left, define the signals to be E2.V and Rload_Gs.V Add a Bode plot, define the base to be E2.V and the Signal to be GS1.VAL Run both the TR and AC analysis, adjust the Rectangular TR plot to display only from 35mS to 40mS as was done for the other one. The results should appear as shown below. Note results are the same as for the Op Amp implementation File -> Save -20

Varistor Characterization using Non-Linear Components

Varistor Characterization using Non-Linear Components Varistor Characterization using In this lab, a non-linear resistor will be used to model a Varistor. An alternate method will also be evaluated using a non-linear voltage dependent current source. The

More information

Chapter 12: Electronic Circuit Simulation and Layout Software

Chapter 12: Electronic Circuit Simulation and Layout Software Chapter 12: Electronic Circuit Simulation and Layout Software In this chapter, we introduce the use of analog circuit simulation software and circuit layout software. I. Introduction So far we have designed

More information

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab Prelab Part I: RC Circuit 1. Design a high pass filter (Fig. 1) which has a break point f b = 1 khz at 3dB below the midband level (the -3dB

More information

Simulating Circuits James Lamberti 5/4/2014

Simulating Circuits James Lamberti 5/4/2014 Simulating Circuits James Lamberti (jal416@lehigh.edu) 5/4/2014 There are many simulation and design platforms for circuits. The two big ones are Altium and Cadence. This tutorial will focus on Altium,

More information

Introduction to LT Spice IV with Examples

Introduction to LT Spice IV with Examples Introduction to LT Spice IV with Examples 400D - Fall 2015 Purpose Part of Electronics & Control Division Technical Training Series by Nicholas Lombardo The purpose of this document is to give a basic

More information

Introduction to NI Multisim & Ultiboard Software version 14.1

Introduction to NI Multisim & Ultiboard Software version 14.1 School of Engineering and Applied Science Electrical and Computer Engineering Department Introduction to NI Multisim & Ultiboard Software version 14.1 Dr. Amir Aslani August 2018 Parts Probes Tools Outline

More information

LT Spice Getting Started Very Quickly. First Get the Latest Software!

LT Spice Getting Started Very Quickly. First Get the Latest Software! LT Spice Getting Started Very Quickly First Get the Latest Software! 1. After installing LT Spice, run it and check to make sure you have the latest version with respect to the latest version available

More information

EK307 Active Filters and Steady State Frequency Response

EK307 Active Filters and Steady State Frequency Response EK307 Active Filters and Steady State Frequency Response Laboratory Goal: To explore the properties of active signal-processing filters Learning Objectives: Active Filters, Op-Amp Filters, Bode plots Suggested

More information

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis All circuit simulation packages that use the Pspice engine allow users to do complex analysis that were once impossible to

More information

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL Experiment No. 1(a) : Modeling of physical systems and study of

More information

MultiSim and Analog Discovery 2 Manual

MultiSim and Analog Discovery 2 Manual MultiSim and Analog Discovery 2 Manual 1 MultiSim 1.1 Running Windows Programs Using Mac Obtain free Microsoft Windows from: http://software.tamu.edu Set up a Windows partition on your Mac: https://support.apple.com/en-us/ht204009

More information

Lab 9 Frequency Domain

Lab 9 Frequency Domain Lab 9 Frequency Domain 1 Components Required Resistors Capacitors Function Generator Multimeter Oscilloscope 2 Filter Design Filters are electric components that allow applying different operations to

More information

Introduction to PSpice

Introduction to PSpice Electric Circuit I Lab Manual 4 Session # 5 Introduction to PSpice 1 PART A INTRODUCTION TO PSPICE Objective: The objective of this experiment is to be familiar with Pspice (learn how to connect circuits,

More information

Lab 6 Prelab Grading Sheet

Lab 6 Prelab Grading Sheet Lab 6 Prelab Grading Sheet NAME: Read through the Background section of this lab and print the prelab and in-lab grading sheets. Then complete the steps below and fill in the Prelab 6 Grading Sheet. You

More information

Testing and Stabilizing Feedback Loops in Today s Power Supplies

Testing and Stabilizing Feedback Loops in Today s Power Supplies Keywords Venable, frequency response analyzer, impedance, injection transformer, oscillator, feedback loop, Bode Plot, power supply design, open loop transfer function, voltage loop gain, error amplifier,

More information

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation ECE4902 Lab 5 Simulation Simulation Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation Be sure to have your lab data available from Lab 5, Common

More information

Figure AC circuit to be analyzed.

Figure AC circuit to be analyzed. 7.2(1) MULTISIM DEMO 7.2: INTRODUCTION TO AC ANALYSIS In this section, we ll introduce AC Analysis in Multisim. This is perhaps one of the most useful Analyses that Multisim offers, and we ll use it in

More information

Getting Started with Qucs

Getting Started with Qucs Getting Started with Qucs Graham Edge University of Toronto After downloading Qucs, installing it, and running for the first time you should see a window that looks something like this: The large yellow

More information

Control System Circuits with Opamps

Control System Circuits with Opamps Control System Circuits with Opamps 27.04.2009 Purpose To introduce opamps, transistors and their usage To apply a control system with analog circuit elements. Difference Amplifier Figure 1 Basic Difference

More information

Homework Assignment 07

Homework Assignment 07 Homework Assignment 07 Question 1 (Short Takes). 2 points each unless otherwise noted. 1. A single-pole op-amp has an open-loop low-frequency gain of A = 10 5 and an open loop, 3-dB frequency of 4 Hz.

More information

55:041 Electronic Circuits The University of Iowa Fall Exam 3. Question 1 Unless stated otherwise, each question below is 1 point.

55:041 Electronic Circuits The University of Iowa Fall Exam 3. Question 1 Unless stated otherwise, each question below is 1 point. Exam 3 Name: Score /65 Question 1 Unless stated otherwise, each question below is 1 point. 1. An engineer designs a class-ab amplifier to deliver 2 W (sinusoidal) signal power to an resistive load. Ignoring

More information

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control Goals for this Lab Assignment: 1. Design a PD discrete control algorithm to allow the closed-loop combination

More information

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions: Cir cuit s 22 Lab Lab #7 Filter Design The purpose of this lab is multifold. This is a three-week experiment. You are required to design a High / Low Pass filter using the LM38 OP AMP. In this lab, you

More information

Circuit Shop v December 2003 Copyright Cherrywood Systems. All rights reserved.

Circuit Shop v December 2003 Copyright Cherrywood Systems. All rights reserved. Circuit Shop v2.02 - December 2003 Copyright 1997-2003 Cherrywood Systems. All rights reserved. This manual is a printable version of Circuit Shop's help file. There are two parts to the manual: The first

More information

Homework Assignment 10

Homework Assignment 10 Homework Assignment 10 Question The amplifier below has infinite input resistance, zero output resistance and an openloop gain. If, find the value of the feedback factor as well as so that the closed-loop

More information

Since transmission lines can be modeled using PSpice, you can do your analysis by downloading the student version of this excellent program.

Since transmission lines can be modeled using PSpice, you can do your analysis by downloading the student version of this excellent program. PSpice Analysis Since transmission lines can be modeled using PSpice, you can do your analysis by downloading the student version of this excellent program. PSpice can be downloaded from the following

More information

LTSpice Basic Tutorial

LTSpice Basic Tutorial Index: I. Opening LTSpice II. Drawing the circuit A. Making Sure You Have a GND B. Getting the Parts C. Placing the Parts D. Connecting the Circuit E. Changing the Name of the Part F. Changing the Value

More information

The above figure represents a two stage circuit. Recall, the transfer function relates. Vout

The above figure represents a two stage circuit. Recall, the transfer function relates. Vout LABORATORY 12: Bode plots/second Order Filters Material covered: Multistage circuits Bode plots Design problem Overview Notes: Two stage circuits: Vin1 H1(s) Vout1 Vin2 H2(s) Vout2 The above figure represents

More information

Homework Assignment 03

Homework Assignment 03 Homework Assignment 03 Question 1 (Short Takes), 2 points each unless otherwise noted. 1. Two 0.68 μf capacitors are connected in series across a 10 khz sine wave signal source. The total capacitive reactance

More information

AN294. Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS

AN294. Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS Relevant Devices This application note applies to the Si8250/1/2 Digital Power Controller and Silicon Laboratories Single-phase POL

More information

Lab #2 First Order RC Circuits Week of 27 January 2015

Lab #2 First Order RC Circuits Week of 27 January 2015 ECE214: Electrical Circuits Laboratory Lab #2 First Order RC Circuits Week of 27 January 2015 1 Introduction In this lab you will investigate the magnitude and phase shift that occurs in an RC circuit

More information

Lecture 2 Analog circuits. IR detection

Lecture 2 Analog circuits. IR detection Seeing the light.. Lecture Analog circuits I t IR light V 9V V Q OP805 RL IR detection Noise sources: Electrical (60Hz, 0Hz, 80Hz.) Other electrical IR from lights IR from cameras (autofocus) Visible light

More information

A Brief Handout for Introduction to

A Brief Handout for Introduction to A Brief Handout for Introduction to Electric cal Engineering Course This handout is a compilation of PSPICE, A Brief Primer, Department of Electrical and Systems Engineering, University of Pennsylvania

More information

Testing Power Sources for Stability

Testing Power Sources for Stability Keywords Venable, frequency response analyzer, oscillator, power source, stability testing, feedback loop, error amplifier compensation, impedance, output voltage, transfer function, gain crossover, bode

More information

Lab 6: Building a Function Generator

Lab 6: Building a Function Generator ECE 212 Spring 2010 Circuit Analysis II Names: Lab 6: Building a Function Generator Objectives In this lab exercise you will build a function generator capable of generating square, triangle, and sine

More information

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1. Objectives The purpose of this laboratory project is to introduce to equipment, measurement techniques, and simulations commonly used in AC circuit analysis. In this laboratory session, each student will:

More information

Operational Amplifiers

Operational Amplifiers Questions Easy Operational Amplifiers 1. Which of the following statements are true? a. An op-amp has two inputs and three outputs b. An op-amp has one input and two outputs c. An op-amp has two inputs

More information

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following: Islamic University of Gaza Faculty of Engineering Electrical Engineering department Control Systems Design Lab Eng. Mohammed S. Jouda Eng. Ola M. Skeik Experiment 3 PID Controller Overview This experiment

More information

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load ECE4902 C2012 - Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load PURPOSE: The primary purpose of this lab is to measure the

More information

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

ETIN25 Analogue IC Design. Laboratory Manual Lab 2 Department of Electrical and Information Technology LTH ETIN25 Analogue IC Design Laboratory Manual Lab 2 Jonas Lindstrand Martin Liliebladh Markus Törmänen September 2011 Laboratory 2: Design and Simulation

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering EE320L Electronics I Laboratory Laboratory Exercise #2 Basic Op-Amp Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective: The purpose of

More information

Use of the LTI Viewer and MUX Block in Simulink

Use of the LTI Viewer and MUX Block in Simulink Use of the LTI Viewer and MUX Block in Simulink INTRODUCTION The Input-Output ports in Simulink can be used in a model to access the LTI Viewer. This enables the user to display information about the magnitude

More information

An Introductory Guide to Circuit Simulation using NI Multisim 12

An Introductory Guide to Circuit Simulation using NI Multisim 12 School of Engineering and Technology An Introductory Guide to Circuit Simulation using NI Multisim 12 This booklet belongs to: This document provides a brief overview and introductory tutorial for circuit

More information

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink Extensive introductory tutorials for MATLAB and Simulink, including Control Systems Toolbox and Simulink Control Design

More information

Lab 10: Oscillators (version 1.1)

Lab 10: Oscillators (version 1.1) Lab 10: Oscillators (version 1.1) WARNING: Use electrical test equipment with care! Always double-check connections before applying power. Look for short circuits, which can quickly destroy expensive equipment.

More information

EE 233 Circuit Theory Lab 3: First-Order Filters

EE 233 Circuit Theory Lab 3: First-Order Filters EE 233 Circuit Theory Lab 3: First-Order Filters Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 Inverting Amplifier... 3 3.2 Non-Inverting Amplifier... 4 3.3 Integrating

More information

14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006

14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006 14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006 1. Getting Started PSPICE is available on the ECE Computer labs in EE 103, DSV

More information

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required. 1 When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required. More frequently, one of the items in this slide will be the case and biasing

More information

EE 210 Lab Exercise #3 Introduction to PSPICE

EE 210 Lab Exercise #3 Introduction to PSPICE EE 210 Lab Exercise #3 Introduction to PSPICE Appending 4 in your Textbook contains a short tutorial on PSPICE. Additional information, tutorials and a demo version of PSPICE can be found at the manufacturer

More information

Magnetic Levitation System

Magnetic Levitation System Magnetic Levitation System Electromagnet Infrared LED Phototransistor Levitated Ball Magnetic Levitation System K. Craig 1 Magnetic Levitation System Electromagnet Emitter Infrared LED i Detector Phototransistor

More information

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE 77 ELECTRICAL CIRCUITS 6. PERATAL AMPLIIERS PART III DYNAMIC RESPNSE Introduction In the first 2 handouts on op-amps the focus was on DC for the ideal and non-ideal opamp. The perfect op-amp assumptions

More information

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering Lab Reference Manual ECEN 326 Electronic Circuits Texas A&M University Department of Electrical and Computer Engineering Contents 1. Circuit Analysis in PSpice 3 1.1 Transient and DC Analysis 3 1.2 Measuring

More information

Homework Assignment 06

Homework Assignment 06 Homework Assignment 06 Question 1 (Short Takes) One point each unless otherwise indicated. 1. Consider the current mirror below, and neglect base currents. What is? Answer: 2. In the current mirrors below,

More information

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS Issued 10/5/2008 Pre Lab Completed 10/12/2008 Lab Due in Lecture 10/21/2008 Introduction In this lab you will characterize

More information

Integrators, differentiators, and simple filters

Integrators, differentiators, and simple filters BEE 233 Laboratory-4 Integrators, differentiators, and simple filters 1. Objectives Analyze and measure characteristics of circuits built with opamps. Design and test circuits with opamps. Plot gain vs.

More information

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering EXPERIMENT 5 GAIN-BANDWIDTH PRODUCT AND SLEW RATE OBJECTIVES In this experiment the student will explore two

More information

Lecture 2 Analog circuits. Seeing the light..

Lecture 2 Analog circuits. Seeing the light.. Lecture 2 Analog circuits Seeing the light.. I t IR light V1 9V +V IR detection Noise sources: Electrical (60Hz, 120Hz, 180Hz.) Other electrical IR from lights IR from cameras (autofocus) Visible light

More information

SmartCtrl. User s Guide. Powersim Inc.

SmartCtrl. User s Guide. Powersim Inc. SmartCtrl User s Guide Powersim Inc. SmartCtrl User s Guide Version 1.0 Release 1.1 April 2010 Copyright 2010 Carlos III University of Madrid, GSEP Power Electronics Systems Group, Spain. All rights reserved.

More information

Models 296 and 295 combine sophisticated

Models 296 and 295 combine sophisticated Established 1981 Advanced Test Equipment Rentals www.atecorp.com 800-404-ATEC (2832) Models 296 and 295 50 MS/s Synthesized Multichannel Arbitrary Waveform Generators Up to 4 Independent Channels 10 Standard

More information

Experiment 8: An AC Circuit

Experiment 8: An AC Circuit Experiment 8: An AC Circuit PART ONE: AC Voltages. Set up this circuit. Use R = 500 Ω, L = 5.0 mh and C =.01 μf. A signal generator built into the interface provides the emf to run the circuit from Output

More information

Getting Started. with Easy Blue Print

Getting Started. with Easy Blue Print Getting Started with Easy Blue Print User Interface Overview Easy Blue Print is a simple drawing program that will allow you to create professional-looking 2D floor plan drawings. This guide covers the

More information

2. BAND-PASS NOISE MEASUREMENTS

2. BAND-PASS NOISE MEASUREMENTS 2. BAND-PASS NOISE MEASUREMENTS 2.1 Object The objectives of this experiment are to use the Dynamic Signal Analyzer or DSA to measure the spectral density of a noise signal, to design a second-order band-pass

More information

EE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

EE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load EE4902 C200 - Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load PURPOSE: The primary purpose of this lab is to measure the

More information

Homework Assignment 06

Homework Assignment 06 Question 1 (2 points each unless noted otherwise) Homework Assignment 06 1. True or false: when transforming a circuit s diagram to a diagram of its small-signal model, we replace dc constant current sources

More information

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class. ME 5281 Fall 215 Homework 8 Due: Wed. Nov. 4th; start of class. Reading: Chapter 1 Part A: Warm Up Problems w/ Solutions (graded 4%): A.1 Non-Minimum Phase Consider the following variations of a system:

More information

Homework Assignment 03 Solution

Homework Assignment 03 Solution Homework Assignment 03 Solution Question 1 Determine the h 11 and h 21 parameters for the circuit. Be sure to supply the units and proper sign for each parameter. (8 points) Solution Setting v 2 = 0 h

More information

Open Loop Frequency Response

Open Loop Frequency Response TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Open Loop Frequency Response by Carion Pelton 1 OBJECTIVE This experiment will reinforce your understanding of the concept of frequency response. As part of the

More information

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 6 Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS Goal The goals of this experiment are: - Verify the operation of a differential ADC; - Find the

More information

RLC Software User s Manual

RLC Software User s Manual RLC Software User s Manual Venable Instruments 4201 S. Congress, Suite 201 Austin, TX 78745 512-837-2888 www.venable.biz Introduction The RLC software allows you to measure the frequency response of RLC

More information

Homework Assignment 07

Homework Assignment 07 Homework Assignment 07 Question 1 (Short Takes). 2 points each unless otherwise noted. 1. A single-pole op-amp has an open-loop low-frequency gain of A = 10 5 and an open loop, 3-dB frequency of 4 Hz.

More information

EECE Circuits and Signals: Biomedical Applications. Lab 3. Basic Instruments, Components and Circuits. Introduction to Spice and AC circuits

EECE Circuits and Signals: Biomedical Applications. Lab 3. Basic Instruments, Components and Circuits. Introduction to Spice and AC circuits EECE 2150 - Circuits and Signals: Biomedical Applications Lab 3 Basic Instruments, Components and Circuits. Introduction to Spice and AC circuits Introduction and Preamble: In this lab you will experiment

More information

GATE: Electronics MCQs (Practice Test 1 of 13)

GATE: Electronics MCQs (Practice Test 1 of 13) GATE: Electronics MCQs (Practice Test 1 of 13) 1. Removing bypass capacitor across the emitter leg resistor in a CE amplifier causes a. increase in current gain b. decrease in current gain c. increase

More information

Ansoft Designer Tutorial ECE 584 October, 2004

Ansoft Designer Tutorial ECE 584 October, 2004 Ansoft Designer Tutorial ECE 584 October, 2004 This tutorial will serve as an introduction to the Ansoft Designer Microwave CAD package by stepping through a simple design problem. Please note that there

More information

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts) ECE 363 FINAL (F16) NAME: 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts) You are asked to design a high-side switch for a remotely operated fuel pump. You decide to use the IRF9520 power

More information

Electronics basics for MEMS and Microsensors course

Electronics basics for MEMS and Microsensors course Electronics basics for course, a.a. 2017/2018, M.Sc. in Electronics Engineering Transfer function 2 X(s) T(s) Y(s) T S = Y s X(s) The transfer function of a linear time-invariant (LTI) system is the function

More information

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit [International Campus Lab] Objective Determine the behavior of resistors, capacitors, and inductors in DC and AC circuits. Theory ----------------------------- Reference -------------------------- Young

More information

Background Theory and Simulation Practice

Background Theory and Simulation Practice CAD and Simulation Objectives Experiment Topic: CAD and Simulation PSpice 9.1 Student Version To obtain your free copy of the software and user s guide, go to Electronics Lab website ( http://www.electronics-lab.com/downloads/schematic/013/

More information

Use of a Popular Power Electronics Platform in a Control Systems Laboratory

Use of a Popular Power Electronics Platform in a Control Systems Laboratory Paper ID #15410 Use of a Popular Power Electronics Platform in a Control Systems Laboratory Dr. Cherian Mathews, University of the Pacific Cherian P. Mathews is a Professor in the Department of Electrical

More information

1) Consider the circuit shown in figure below. Compute the output waveform for an input of 5kHz

1) Consider the circuit shown in figure below. Compute the output waveform for an input of 5kHz ) Consider the circuit shown in figure below. Compute the output waveform for an input of 5kHz Solution: a) Input is of constant amplitude of 2 V from 0 to 0. ms and 2 V from 0. ms to 0.2 ms. The output

More information

USING THE VENABLE WINDOWS SOFTWARE VERSION 4

USING THE VENABLE WINDOWS SOFTWARE VERSION 4 USING THE VENABLE WINDOWS SOFTWARE VERSION 4 FOR MODELS 3215/3225/3235 Venable Instruments 4201 S. Congress, Suite 201 Austin, TX 78745 512-837-2888 www.venable.biz TABLE OF CONTENTS TOPICS PAGE System

More information

(b) 25% (b) increases

(b) 25% (b) increases Homework Assignment 07 Question 1 (2 points each unless noted otherwise) 1. In the circuit 10 V, 10, and 5K. What current flows through? Answer: By op-amp action the voltage across is and the current through

More information

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL:

LECTURE 2: PD, PID, and Feedback Compensation. ( ) = + We consider various settings for Zc when compensating the system with the following RL: LECTURE 2: PD, PID, and Feedback Compensation. 2.1 Ideal Derivative Compensation (PD) Generally, we want to speed up the transient response (decrease Ts and Tp). If we are lucky then a system s desired

More information

ME451: Control Systems. Course roadmap

ME451: Control Systems. Course roadmap ME451: Control Systems Lecture 20 Root locus: Lead compensator design Dr. Jongeun Choi Department of Mechanical Engineering Michigan State University Fall 2008 1 Modeling Course roadmap Analysis Design

More information

Experiment 8 Frequency Response

Experiment 8 Frequency Response Experiment 8 Frequency Response W.T. Yeung, R.A. Cortina, and R.T. Howe UC Berkeley EE 105 Spring 2005 1.0 Objective This lab will introduce the student to frequency response of circuits. The student will

More information

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011 SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY Modified in Fall 2011 ECE 562 Series Resonant Circuit (NL5 Simulation) Page 1 PURPOSE: The purpose of this

More information

Laboratory 4 Operational Amplifier Department of Mechanical and Aerospace Engineering University of California, San Diego MAE170

Laboratory 4 Operational Amplifier Department of Mechanical and Aerospace Engineering University of California, San Diego MAE170 Laboratory 4 Operational Amplifier Department of Mechanical and Aerospace Engineering University of California, San Diego MAE170 Megan Ong Diana Wu Wong B01 Tuesday 11am April 28 st, 2015 Abstract: The

More information

Physics 310 Lab 6 Op Amps

Physics 310 Lab 6 Op Amps Physics 310 Lab 6 Op Amps Equipment: Op-Amp, IC test clip, IC extractor, breadboard, silver mini-power supply, two function generators, oscilloscope, two 5.1 k s, 2.7 k, three 10 k s, 1 k, 100 k, LED,

More information

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill Engineering 3821 Fall 2003 Pspice TUTORIAL 1 Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill 2 INTRODUCTION The PSpice program is a member of the SPICE (Simulation Program with Integrated Circuit

More information

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS Introduction A typical feedback system found in power converters Switched-mode power converters generally use PI, pz, or pz feedback compensators to regulate

More information

Lab 1: Simulating Control Systems with Simulink and MATLAB

Lab 1: Simulating Control Systems with Simulink and MATLAB Lab 1: Simulating Control Systems with Simulink and MATLAB EE128: Feedback Control Systems Fall, 2006 1 Simulink Basics Simulink is a graphical tool that allows us to simulate feedback control systems.

More information

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables AB Design Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables X axis for AB Design Enter X axis label

More information

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 2 ACTIVE FILTERS Issued 9/22/2008 Pre Lab Completed 9/29/2008 Lab Due in Lecture 10/6/2008 Introduction In this lab you will design a

More information

EE 230 Lab Lab 9. Prior to Lab

EE 230 Lab Lab 9. Prior to Lab MOS transistor characteristics This week we look at some MOS transistor characteristics and circuits. Most of the measurements will be done with our usual lab equipment, but we will also use the parameter

More information

Exercise 9: inductor-resistor-capacitor (LRC) circuits

Exercise 9: inductor-resistor-capacitor (LRC) circuits Exercise 9: inductor-resistor-capacitor (LRC) circuits Purpose: to study the relationship of the phase and resonance on capacitor and inductor reactance in a circuit driven by an AC signal. Introduction

More information

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter.

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter. Example 2 An RC network using the oscilloscope and Bode plotter In this example we use the oscilloscope and the Bode plotter in an RC circuit that has an AC source. The circuit which we will construct

More information

EE431 Lab 1 Operational Amplifiers

EE431 Lab 1 Operational Amplifiers Feb. 10, 2015 Report all measured data and show all calculations Introduction The purpose of this laboratory exercise is for the student to gain experience with measuring and observing the effects of common

More information

ECEN 325 Lab 5: Operational Amplifiers Part III

ECEN 325 Lab 5: Operational Amplifiers Part III ECEN Lab : Operational Amplifiers Part III Objectives The purpose of the lab is to study some of the opamp configurations commonly found in practical applications and also investigate the non-idealities

More information

AC Circuits. Nikola Tesla

AC Circuits. Nikola Tesla AC Circuits Nikola Tesla 1856-1943 Mar 26, 2012 Alternating Current Circuits Electrical appliances in the house use alternating current (AC) circuits. If an AC source applies an alternating voltage of

More information

Laboratory on Filter Circuits Dr. Lynn Fuller

Laboratory on Filter Circuits Dr. Lynn Fuller ROCHESTER INSTITUTE OF TECHNOLOGY MICROELECTRONIC ENGINEERING Laboratory on Filter Circuits Dr. Lynn Fuller Webpage: http://people.rit.edu/lffeee 82 Lomb Memorial Drive Rochester, NY 14623-5604 Tel (585)

More information

Experiment 7: PID Motor Speed Control

Experiment 7: PID Motor Speed Control Experiment 7: PID Motor Speed Control Introduction The error output, Ve, of the tachometer circuit from experiment 6 will be connected to the input of a PID controller. The output of the PID controller,

More information