0% found this document useful (0 votes)
15 views5 pages

VI Assigment

The document describes a PID controller implemented in LabVIEW to control temperature. It explains the proportional, integral and derivative terms of PID control. It then outlines the steps to create a LabVIEW block diagram for temperature control and classification using a PID controller, DAQ, thermocouple and LED output.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views5 pages

VI Assigment

The document describes a PID controller implemented in LabVIEW to control temperature. It explains the proportional, integral and derivative terms of PID control. It then outlines the steps to create a LabVIEW block diagram for temperature control and classification using a PID controller, DAQ, thermocouple and LED output.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

BAHIR DAR UNIVERSITY

BAHIR DAR INSTITUTE OF TECHNOLOGY

FACULITY OF ELECTRICAL AND COMPUTER ENGINEERING

(INDUSTRIAL CONTROL STREAM)

INSTRUMENTATION ENGINEERING LAB ASSIGNMENT

Name ID

1,Sewagegnehu belachew…………………………BDU1202923

2,Aschale kasahun …………………………………..BDU1207398

3,Sisay Adisu ……………………………………………BDU1207398

Submitted to Mr Taye A

Submission date 12/4/202

We have used a PID controller


The PID controller operates based on the difference between the desired set point and the
measured process variable. It calculates a control signal by combining three control terms:
proportional, integral, and derivative

1. Proportional Term:

The proportional term is the difference between the set point and the measured process variable,
multiplied by the proportional gain (Kp). This term determines the immediate response of the
controller to the error. A higher proportional gain leads to a faster response, but it can also cause
oscillations if set too high

2. Integral Term:

The integral term takes into account the accumulated error over time. It is proportional to the
integral gain (Ki) and helps eliminate steady-state errors. The integral term continuously adjusts
the control signal to reduce the cumulative error between the set point and the process variable

3. Derivative Term:

The derivative term considers the rate of change of the error. It is proportional to the derivative
gain (Kd) and helps dampen the response of the controller. The derivative term anticipates future
changes in the error and helps prevent overshooting and oscillations

The control signal is calculated by multiplying each control term by its respective gain and
summing them together. The resulting control signal is then applied to the actuation device, such
as a motor drive or a heater, to drive the system towards the desired set point

First Create the LabVIEW block diagram:

- Open LabVIEW and create a new VI (Virtual Instrument).

Place the necessary components on the block diagram, including, PID Controller, and output
control. then Wire the components together to establish the data flow. we have Connected the
temperature sensor (thermocouple) to the data acquisition device (DAQ) that interfaces with
LabVIEW. Also Connect the output device ( LED) to the appropriate control signal output of the
DAQ.

Then Configure the DAQ Assistant:

- Configure the DAQ Assistant to read the temperature from the sensor.

- Set the appropriate temperature range (we use a temperature range of , 0-55 degrees Celsius).
Specify the sampling rate and other relevant parameters.

After this we have Implement the PID controller:


- Configure the PID Controller component with the desired PID gains (proportional, integral,
and derivative).

- Connect the temperature input from the DAQ Assistant to the PID Controller.

- Connect the desired set point ( temperature range thresholds) to the PID Controller.

Classify the temperature ranges:

- Use comparison functions (e.g., Greater Than, Less Than) to compare the temperature input
with the desired setpoints.

Based on the comparison results, set appropriate output values to indicate the temperature range.

- Connect the output values to the LED control signal output of the DAQ.

Block diagram of the controller

Run the VI:


- Save and run the VI to start the temperature control and classification process.

- Monitor the temperature readings and observe the LED output to verify the correct
classification.

Then by following the above procedure we can construct the block diagram by using given
parameters

Fig 2 :Simulation of vi while the temperature is grater than 50 degree Celsius

Fig 3 : Simulation of vi while the temperature between 25-50 degree Celsius

Fig 4 : Simulation of vi while the temperature below 25 degree Celsius

You might also like