Question: Consider a hot - air heating system. The control sub - system: Receives information from three temperature sensors ( t 1 , t 2 and
Consider a hotair heating system. The control subsystem:
Receives information from three temperature sensors and and from a temperature selector switch
that set the desired temperature Tref and
Generates two signals: onoff OFF that starts stops the heater, and flow LOW,HIGH that
controls the hotair outlet.
The control subsystem functions is as follows: Every minute
An average temperature, Tav, is computed as Tav;
If Tav Tref then onoff and flow are set to OFF;
if Tref Tav Trefthen onoff ON flow LOW;
if Tav Tref then onoff flow HIGH.
Does the following pseudocode correctly describe the control subsystem?
Tav ;
if Tref Tav then onoff OFF; flow OFF;
wait for ;
end loop;
YES
NO; Tavis miscalculated
NO This pseudocode distinguishes only two situations, when Tavis greater than or equal to Tref, or when
Tavis less than Tref, while the control subsystem must distinguish three situations.Consider a hotair heating system. The control subsystem:
Receives information from three temperature sensors and and from a temperature selector switch
that set the desired temperature Tref and
Generates two signals: onoff OFF that starts stops the heater, and flow LOW,HIGH that
controls the hotair outlet.
The control subsystem functions is as follows: Every minute
An average temperature, Tav, is computed as Tav;
If Tave Tref then onoff and flow are set to OFF;
if Tref Tav Trefthen onoff ON flow LOW;
if Tav Tref then onoff flow HIGH.
Does the following pseudocode correctly describe the control subsystem?
loop
Tav ;
if Tref Tav then onoff OFF; flow OFF;
else onoff ; flow HIGH;
end if;
wait for ;
end loop;
YES
NO; Tavis miscalculated
NO This pseudocode distinguishes only two situations, when Tavis greater than or equal to Tref, or when
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
