Professional Documents
Culture Documents
Lab Report CS 8
Lab Report CS 8
Lab Report CS 8
Lab # 08
Design of a switch (ON/OFF) Controller on QNET HVAC
using LabVIEW
Names UBAID UR REHMAN
Class FA18-BEE-E
Lab Task 2
• Make sure the QNET_HVACT_On_Off_Control.vi is running and has been calibrated
as instructed in previous
• In the Signal Generator section set:
➢ 𝐴𝑚𝑝𝑙𝑖𝑡𝑢𝑑𝑒 = 0 ᵒ𝐶
➢ 𝐹𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 = 0.008 𝐻𝑧
➢ 𝑂𝑓𝑓𝑠𝑒𝑡 = 0.5 ᵒ𝐶
• Examine the actual temperature (red) and reference temperature (blue) responses in
the temperature (C) scope.
• Gradually vary the offset in the Signal Generator between 0.5ᵒC and 2ᵒC. How is the
reference temperature,𝑇𝑟 in the temperature (C) scope is set? Attach a sample
temperature response.
• Vary the relay amplitude, 𝑉ℎ_𝑎𝑚𝑝, in the Control Parameters section. Explain how
the heater voltage affects the temperature variation and, in particular, observe the
frequency and amplitude of the chamber temperature. Attach a representative
temperature response.
• Explain the effect of changing the relay mean, 𝑉ℎ_𝑜𝑓𝑓. Attach a temperature
response
The value of the reference temperature is 22.8+0.5 = 23.3C
From the above result it is clearly see that, increasing the relay amplitude, increases the heater
voltage. As a result chamber will be heated more quickly
If we are increasing the relay the heater voltage also increases.
As smaller hysteresis the switching will be high the lamp will turn on and off at the higher
Speed.
Lab Task 3
• Make sure that QNET_HVACT_On_Off_Control.vi is running and has been
calibrated as instructed in section this this. When running, the VI should look similar
to previous tasks
• In the Signal Generator section set:
➢ 𝐴𝑚𝑝𝑙𝑖𝑡𝑢𝑑𝑒 = 0 ᵒ𝐶
➢ 𝐹𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 = 0.008 𝐻𝑧
➢ 𝑂𝑓𝑓𝑠𝑒𝑡 = 0 ᵒ𝐶
• In this Control Parameters section set:
➢ 𝑉ℎ_𝑎𝑚𝑝 = 4 𝑉
➢ 𝑉ℎ_𝑜𝑓𝑓 = 4𝑉
➢ 𝐷𝑡ℎ = 0.50 ᵒ𝐶
• Adjust Temperature (C) scope scales to see both the reference and actual temperature
Adjust the Offset on the Signal Generator to obtain a relatively symmetrical
oscillation (i.e., the rate of increase and decrease should be similar)
• Observe the heater voltage and the chamber temperature. As discusses in Section
8.4.3, this can be modelled by the simple transfer function 𝑃(𝑆) = 𝐾𝑣/𝑠. Find
parameter 𝐾𝑣 that would describe the relation between the voltage and the
temperature signals. Attach both the temperature and voltage responses used to find
𝐾𝑣and show your calculations in the space provided below
The calculation is shown in the manual while the final answer of Kv is 1.56*10-3
Post lab
Give a real-world example of switch control operation and how a
trade-off between hysteresis and better control can improve the
System’s life expectancy
Unmanned ground vehicle for inhumane environments:
Control a simple unmanned ground vehicle (UGV) that moves forwards and backwards depending on
input. A DC motor’s direction of rotation is controlled by alternating the polarities of input voltage. A
sensor such as ultrasonic sensor observes the obstacles and decides whether to move forwards or
backwards.
ON/OFF control action turns the output ON or OFF based on the set point. The output frequently
changes according to minute temperature changes as a result, and this shortens the life of the output
relay or unfavorably affects some devices connected to the Temperature Controller. To prevent this
from happening, a temperature band called hysteresis is created between the ON and OFF operations.
Study the control operations in traditional Split Air Conditioners and
Inverter Air Conditioners.
An inverter type air-conditioner adjusts the speed of the compressor to control the refrigerant (gas) flow
rate, thereby consuming less current and power. An inverter has precise temperature control and as the
set temperature is attained, the unit adjusts its capacity to eliminate any temperature fluctuations. Split
type air conditioners are named as such because they split the components of a traditional air
conditioning system into two individual units – one indoor and one outdoor.
Inverter air conditioner is best for implies the switch control.
Describe how the process in the experiment was modelled by an integrator
under certain conditions? What are the very conditions?
Increasing the relay amplitude, increasing the heater voltage. As a result, chamber will be heated more
quickly.
Conclusion
In this lab I learnt how to Design a switch ON/OFF Controller and implement the Switch Controller on
QNET HVAC