DOC PREVIEW
PSU EE 200 - Lab_2_EE200_f13

This preview shows page 1-2-3-4-5-32-33-34-35-64-65-66-67-68 out of 68 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 68 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ColorGrayscaleEE 200 Fall 2013Lab 2.EE 200Design ToolsLaboratory 2Professor Jeffrey SchianoDepartment of Electrical Engineering1EE 200 Fall 2013Lab 2.Laboratory 2 Topics• Review Material– EE 210 and CMPEN 270• LabVIEW–Review– Front Panel and Block Diagrams– Tool Selection2EE 200 Fall 2013Lab 2.Exercise 1• Sketch the typical input-output transfer characteristic, VOUTversus VIN, of the CMOS inverter• Indicate on the diagram – VOHmin: minimum output voltage in the HIGH state– VIHmin: minimum input recognized as a HIGH – VILmax: maximum input recognized as a LOW– VOLmax: maximum output voltage in the LOW stateOUTVINVDDVSSV3EE 200 Fall 2013Lab 2.Exercise 1HighStateLowState4OUTVINVDDVDDV2DDV2DDVEE 200 Fall 2013Lab 2.Exercise 2• The ring oscillator generates the waveforms shown• Determine the values of vA, vB,and vC, in terms of VDD• Find expressions for TL, TH, and in terms of R and CCoutvRsRfvCMOS CMOS0LV HDDVVHTLToutvtBvAvtCvfv1LHfTT5EE 200 Fall 2013Lab 2.Exercise 2• Suppose gate B output is logic high• Gate A input must be logic high which means vf> VDD/2• Because gate A output is logic low, vfrelaxes towards 0• When vfreaches VDD/2, gate A and B outputs switch state• Because voltage across C cannot change instantaneously, the instant gate A switches, vfmust decrease by VDD6CoutvRsR2fDDvVABHVLVfv0LV HDDVVoutvttfvBv0.5DDV0.5DDVCvDDVEE 200 Fall 2013Lab 2.Exercise 2• Suppose gate B output is logic low• Gate A input must be logic low which means vf< VDD/2• Because gate A output is high, vfheads towards VDD• When vfreaches VDD/2, gate A and B outputs switch state• Because voltage across C cannot change instantaneously, the instant gate A switches, vfmust increase by VDD7CoutvRsR2fDDvVABLVHVfv0LV HDDVVoutvttfv0.5BDDvVDDV1.5ADDvVDDVEE 200 Fall 2013Lab 2.Exercise 2• The behavior of vf(t) is determined by the RC circuit• From Laboratory 1, during the intervals THand TL8() ,inital voltageinital voltagetfFIFIFvt V V Ve RCVV  LVHVHTLToutvt0.5DDV1.5DDVt0.5DDVfvEE 200 Fall 2013Lab 2.Exercise 29EE 200 Fall 2013Lab 2.Exercise 210EE 200 Fall 2013Lab 2.Exercise 3• Which node(s) executes first: Add or Subtract?• Which node(s) executes last?11EE 200 Fall 2013Lab 2.Exercise 4• Which node(s) may execute first?12EE 200 Fall 2013Lab 2.Exercise 5• Write a VI that determines the roots of the quadratic equation1320ax bx cEE 200 Fall 2013Lab 2.Parts of VI• LABVIEW VIs contain three main components:1. Front Panel 3. Icon/Connector Pane2. Block Diagram14EE 200 Fall 2013Lab 2.Front Panel – Controls Palette• Contains the controls and indicators you use to create the front panel• Access from the front panel by selecting View»Controls Palette15EE 200 Fall 2013Lab 2.Front Panel – Front Panel Toolbar16EE 200 Fall 2013Lab 2.Front Panel – Controls & Indicators• Controls– Knobs, push buttons, dials, and other input devices– Simulate instrument input devices and supply data to the block diagram of the VI• Indicators– Graphs, LEDs, and other displays– Simulate instrument output devices and display data the block diagram acquires or generates17EE 200 Fall 2013Lab 2.Front Panel –Numeric Controls/Indicators• The numeric data type can represent numbers of various types, such as integer or real18EE 200 Fall 2013Lab 2.Front Panel –Boolean Controls/Indicators• The Boolean data type represents data that only has two parts, such as True and False or On and Off• Use Boolean controls and indicators to enter and display Boolean (True or False) values• Boolean objects simulate switches, push buttons, and LEDs19EE 200 Fall 2013Lab 2.Front Panel – Strings• The string data type is a sequence of ASCII characters • The string data type is a sequence of ASCII characters • Use string indicators to display text to the user20EE 200 Fall 2013Lab 2.Front Panel – Shortcut Menus• All LabVIEW objects have associated shortcut menus• As you create a VI, use the shortcut menu items to change the look or behavior of front panel and block diagram objects• To access the shortcut menu, right-click the object21EE 200 Fall 2013Lab 2.Front Panel – Property Dialog Box• Right-click a front panel object and select Properties to display• The options available on the property dialog box are similar to the options available on the shortcut menu for that object22EE 200 Fall 2013Lab 2.Front Panel –Configure Multiple Objects• Select multiple objects to simultaneously configure shared properties23EE 200 Fall 2013Lab 2.Block Diagram• Block diagram objects include:• Terminals, SubVIs, Functions, Constants, Wires24EE 200 Fall 2013Lab 2.Block Diagram – Functions Palette• Contains the VIs, functions, and constants you use to create the block diagram25EE 200 Fall 2013Lab 2.Block Diagram –Block Diagram Toolbar26EE 200 Fall 2013Lab 2.Block Diagram – Terminals• Terminals are:– Block diagram appearance of front panel objects– Entry and exit ports that exchange information between the front panel and block diagram– Analogous to parameters and constants in text-based programming languages– Change the view type of a terminal by toggling the View as Icon selection from the context menu 27EE 200 Fall 2013Lab 2.Block Diagram Terminals28EE 200 Fall 2013Lab 2.Block Diagram: Nodes• Objects on the block diagram that have inputs and/or outputs and perform operations when a VI runs• Analogous to statements, operators, functions, and subroutines in control-flow programming languagesNodes29EE 200 Fall 2013Lab 2.Block Diagram – Function Nodes• Fundamental operating elements of LabVIEW• Do not have front panels or block diagrams, but do have connector panes• Double-clicking a function only selects the function –does not open it like a VI• Has a pale yellow background on its icon30EE 200 Fall 2013Lab 2.Block Diagram – SubVI Nodes• SubVI: VIs that you build to use inside of another VI• Any VI has the potential to be used as a subVI• When you double-click a subVI on the block diagram, you can view the front panel and block diagram of the subVI– The upper right corner of the front panel and block diagram displays the icon for the current VI– This is the icon that appears when you place the VI on a block diagram as a subVI31EE 200 Fall 2013Lab 2.Block Diagram – Wires• Transfer data between block diagram objects through wires• Wires are


View Full Document

PSU EE 200 - Lab_2_EE200_f13

Download Lab_2_EE200_f13
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab_2_EE200_f13 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab_2_EE200_f13 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?