Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

KINGDOM OF CAMBODIA

NATION RELIGION KING

NORTON UNIVERSITY
College of science
Department of Electricity & Electronics

Shift: Evening
Year IV
Semester II

Submitted to Lecturer: Lecturer. CHAN Mithona


Submitted by: Group1
Name

ID

1 Ly Kimseng

20110862

2 Horng Sophorn

20110987

3 Thai Chheanghourt

20113371

4 Chhe Rithy

20111744

Academic Year: 2015-2016

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Virtual Instrumentation
LabView

Tool

Control System

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 1

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)



Virtual Instrumentation

LabView

National Instruments (NI)

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 2

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

... Page 1
.... Page 2
Experiment 2.3 : ..... Page 4-12
Experiment 5.3 : ... Page 13-16
Experiment 8.3 : ........... Page 17-20
Page 21
... Page 21

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 3

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Experiment 2.1
1. Calculate the following by hand or with a calculator:
a. The roots of
b. The roots of
c.
3. Calculate by hand or with a calculator the following transfer functions:
a.
b.
c.
Experiment 2.3
Prelab
1. Study Appendix D, Sections D.1 through Section D.4, Example D.1.
2. Perform by hand the calculations stated in Prelab 1 of Experiment 2.1.
3. Find by a hand calculation the polynomial whose roots are: -7,-8,-3,-5,-9, and -10.
4. Perform by hand a partial-fraction expansion of
5. Find by a hand calculation
and

and

where

Lab
1. Open the LabVIEW functions palette and select the Mathematics/Polynomial paltte.
2. Generate the polynomials enumerated in Prelab 1a and 1b of Experiment 2.1.
3. Generate the polynomials operations stated in Prelab 1c of Experiment 2.1
4. Generate the polynomials whose roots are those stated in Prelab 3 of this experiment.
5. Generate the partial fraction expansion of the transfer function given in Prelab 4 of this
experiment.
6. Using the Control Design and Simulation/Control Design/Model Construction palette,
construct the two transfer functions enumerated in Prelab 5.
Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 4

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

7. Using the Control Design and Simulation/Control Design/Model Interconnection palette,


display the results of the mathematical operations enumerated in Prelab 5 of this experiment.

Solution:
1. Open the LabVIEW functions palette and select the Mathematics/Polynomial palette.

2. Generate the polynomials enumerated in Prelab 1a and 1b of Experiment 2.1.


1a. The roots of

Block Diagram of 1a

Front Panel of 1a

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 5

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

1b. The roots of

Block Diagram of 1a

Front Panel of 1a

3. Generate the polynomials operations stated in Prelab 1c of Experiment 2.1


1c.

Block Diagram window of 1c

Front Panel window of 1c

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 6

Norton University

Block Diagram window of 1c

Front Panel window of 1c

Block Diagram window of 1c

Front Panel window of 1c

Electrical and Electronic Engineering

Assignment: Virtual Instrument (VI=LabVIEW)

Group 1 , E1 , Year IV

Page 7

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

4. Generate the polynomials whose roots are those stated in Prelab 3 of this experiment.

Find by a hand calculation the polynomial whose roots are: -7,-8,-3,-5,-9, and -10.

Block Diagram window (root-to-polynomial)

Front Panel window (root-to-polynomial)

5. Generate the partial fraction expansion of the transfer function given in Prelab 4 of this
experiment.

Perform by hand a partial-fraction expansion of

Block Diagram window

Front Panel window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 8

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Prelab 5. Find by a hand calculation


and

and

where

6. Using the Control Design and Simulation/Control Design/Model Construction palette,


construct the two transfer functions enumerated in Prelab 5.

Block Diagram window of

Front Panel window of

Block Diagram window of

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 9

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Front Panel window of

7. Using the Control Design and Simulation/Control Design/Model Interconnection palette,


display the results of the mathematical operations enumerated in Prelab 5 of this experiment.
Find

and

Block Diagram window

Front Panel window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 10

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Block Diagram window

Front Panel window

Block Diagram window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 11

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Front Panel window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 12

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Experiment5.2
Prelab
Given the block diagram from Example 5.2, replace G 1 , G2 , G3 , H1 , H2 , H3 with the
following transfer functions and obtain and equivalent transfer function.

Lab
Use LabVIEW to implement the block diagram from example 5.2 using the transfer functions
given in the Prelab.

Experiment 5.3
Prelab
Given the block diagram created in the Prelab of Cyber Exploration Laboratory 5.2, use
Masons rule to obtain and equivalent transfer function.
Lab
Use LabVIEWs Control Design and Simulation Module as well as the Mathematics
/Polynomial functions to implement block diagram reduction using Masons rules.

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 13

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Solution:
Use LabVIEWs Control Design and Simulation Module as well as the Mathematics/
Polynomial functions to implement block diagram reduction using Masons rules.

In this example we make use of the equivalent forms steps in the block diagram reduction for
Example 5.2:
First, move

to the left past the pickoff point to create parallel subsystem, and reduce the

feedback system consisting of

and

. This Result is show in Figure (a).

Second, reduce the parallel pair consisting of 1/

and unity, and push

to the right past

the summing junction, creating parallel subsystems in the feedback. These results are show in Figure
(b).

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 14

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Third, collapse the summing junction, add the two feedback elements together, and combine the
last two cascaded block. This result show is show in Figure (c).

Fourth, use the feedback formula to obtain Figure (d).

Finally, multiply the two cascaded block and obtain the final result, show in Figure (e).

Block Diagram window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 15

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Front Panel window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 16

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Experiment 8.2
Prelab
The open-loop system dynamics model for the NASA eight-axis Advanced Research
Manipulator II (ARM II) electromechanical shoulder joint/link, actuated by and armature-controlled
dc servomotor is shown in Figure P8.28.
The ARM II shoulder joint constant parameters are

(Craig, 2005), (Nyzen, 1999), (Williams, 1994).


a. Obtain the equivalent open-loop transfer function,
b. The loop is to be closed by cascading a controller,

, with G(s) in the

forward path forming an equivalent forward-transfer function,


.Parameters of Gc(s) will be used to design a desired transient
performance. The input to the close-loop system is a voltage, V1(s), representing the desired
angular displacement of the robotic joint with a ratio of 1 volt equals 1 radian. The output of
the closed-loop system I the actual angular displacement of the joint,

. An encoder in

the feedback path, Ke , converts the actual joint displacement to a voltage with a ratio of 1
radian equals 1 volt. Draw the closed-loop system showing all transfer functions.
c. Find the closed-loop transfer function.

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 17

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Experiment 8.3
Prelab
Complete the Prelab to Experiment 8.2 if you have not already done so.
Lab
Let

Use LabVIEW to open and customize the Interactive Root Locus VI from the

Examples in order to implement a design of

to yield a step response with a maximum percent

overshoot of 0.2%. Use a hybrid graphical/MathScript approach.

Solution:
a) Open-Loop Transfer Function

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 18

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

b) Open-loop and Close-Loop Block Digram

c) Close-Loop Transfer Function

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 19

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Parameters and Graph

Kd=0.1025 with a maximum percent overshoot of 0.2%


Block Diagram Window

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 20

Norton University

Assignment: Virtual Instrument (VI=LabVIEW)

Control System LabView


Tool
Control System

Tool:
Mathematics/Polynomial
Control Design and Simulation/Control Design/Model Construction
Control Design and Simulation/Control Design/Model Inter-connection
MathScript RT Module
Formula Node

cyber_exploration_lab_exp

Introduction to LabVIEW Control System


Nise Control Systems Engineering 6th etext

Electrical and Electronic Engineering

Group 1 , E1 , Year IV

Page 21

You might also like