Vous êtes sur la page 1sur 15

Exp 15 Charts and Waveforms

Aim To create a calculator in LabView.


Apparatus Required Computer with LabView Software.
Objective To realise a calculator using the LabView.

Build a waveform and find the maximum and minimum value of XY graph.
Disable the numeric control using property node.
Build a VI to generate and plot the waveform with 20 points, periods of 0.2
sec, and a start time of 1.5 sec. Display the total duration taken for entire
plot, number of sample plotted and the final time.
Create a VI to examine the difference, chart type, strip chart, scope chart,
strip scope & sweep chart.

To find maximum and minimum value of a XY graph:-

To disable the numeric control using property node:-

To Build a Waveform with 20 points, start time of 1.5sec and period of 2 sec.

Types of charts:-

PROCEDURE:

Open a LabVIEW.
Create a blank VI.
Create the front panel and block diagram.
Add property nodes according to necessity.
Add waveform chart and go to property and change to strip, scope and
sweep chart.
Add max and min from array to get maximum and minimum value.

Table for blocks used


S.N
O
1

BLOCKS
USED

FUNCTIONS OF THE BLOCK


It is simulate signal block. It has a provision to
change the offset, amplitude, phase and
frequency of the output sine wave.
It is a min max block. It gives the position and
value of the maximum and minimum of the array.

It is random. It produces random numbers


between 0 & 1.

It is an ENUM control.

It is used to convert dynamic data to array.

It is a property node. It can perform functions like


blinking the control output or disable it when not
needed, moving the block, controlling it by mouse
etc.
It is build waveform block. It builds a waveform or
modifies existing one. It can modify the waveform
by adding a delay or adding an interval between
each data.
It is used to time stamp.

It is get waveform subset. It is used to retrieve a


particular data from the waveform.

10

It is used to retrieve the duration of the waveform.

RESULT - Thus the given question were realized and implemented using
LabView.

Exp 13 -Waveform Generation


Aim: - To create a sine wave and carry out convolution of signals.
Apparatus Required Computer with LabView Software.
Objective

Create a sine wave


Convolution of Signals
Sine wave and measurement site

Create a sine wave -

Convolution of Signals

Sine wave and measurement site

PROCEDURE:

To create a sine wave:


Open a blank VI.
Create a logic using express VI to generate a sine VI.
Create a numerical constant for varying amplitude ,waves, offset
value and t
Save and run the program.
Convolution of signals:
Open a blank VI.
Generate to signal using express VI.
Use the convolution block from express VI.
Save and run the program.
Sine wave and measurement site:
Open a blank VI.
First generate a sine wave.
Connect it to the file measurement file from express VI.
Save and run the program.
Controllers:
Open a blank VI.
Create a logic for controllers from function palette.
Save and run the program.

Table for blocks used


S.N
O
1

BLOCKS
USED

FUNCTIONS OF THE BLOCK


It is simulate signal block. It has a provision to
change the offset, amplitude, phase and
frequency of the output sine wave.

2
It is convolution and correlation blocks. It performs
convolution, deconvolution or correlation of inputs
signals.

3
It is write to measurement file block. It is used to
save the values of the input signal at the path
specified. We can also put in comments to show
information about the file.

RESULT:-Thus the sine wave generation and convolution of two signals were
successfully done using LabVIEW.

Exp 14 Design a PID Controller for DC Motor using Ziegler


Nicholas Tuning Method
Aim: - To design a PID controller for a DC motor using Ziegler Nichols tuning
method.
Apparatus Required Computer with LabView Software.
QUESTION:Design a PID controller for DC motor using Ziegler Nichols tuning method.

PROCEDURE:(1) Open the LabVIEW software.


(2) Create a control and simulation loop.
(3) Give a step input to the controller which is connected to the transfer
function block.
(4) Built an array of the system output and the error signals.
(5) Now using data from the array, the output waveform is displayed in XY
graph.
(6) The controller parameter values are found by Ziegler Nichols tuning
method.
(7) Delay can also be incorporated in the process transfer function.

(8) Thus it is seen that output of the typical PID controller is displayed on XY
graph.
Table for blocks used
S.N
O

BLOCKS
USED

FUNCTIONS OF THE BLOCK

It is step input. It is used to produce step output of


desired step time, final time and initial value.

It is summation. It is used for feedback to produce


difference between set point and process variable.

It is normal PID controller. We can give the values


of Kc, Ti, Td.

It is used to input transfer function.

It is build array.

It is collector. It collects samples of the signal of


the specified number and outputs it in one lot.

Result Hence tuning of DC motor was performed using Zeiglar Nicholas


method of tuning.

Exp 7 Implement system with and without Anti


windup Control using PID controller

Aim: - Implement system with and without Anti windup Control using PID
controller

Apparatus Required Computer with LabView Software.

Without Anti Windup Control

With Anti Windup Contro

PROCEDURE:(1) Open the LabVIEW software.


(2) Create a control and simulation loop.
(3) Give a step input to the controller which is connected to the transfer
function block.
(4) Built an array of the system output and the error signals.
(5) Now using data from the array, the output waveform is displayed in XY
graph.
(6) Delay can also be incorporated in the process transfer function.
(7) Thus it is seen that output of the typical PID controller is displayed on XY
graph.

Table for blocks used


S.N
O

BLOCKS
USED

FUNCTIONS OF THE BLOCK

It is step input. It is used to produce step output of


desired step time, final time and initial value.

It is summation. It is used for feedback to produce


difference between set point and process variable.

It is normal PID controller. We can give the values


of Kc, Ti, Td.

It is used to input transfer function.

It is transportation delay.
5
6

It is saturation block. It limits the valid range of


the input value.

It is gain. It is multiplies the input with the gain.

It is simple conventional integrator.

Result Hence tuning of DC motor was performed using Zeiglar Nicholas


method of tuning.