It is desired to control the temperature in a pot of chocola

It is desired to control the temperature in a pot of chocolate (VI Provided) to make Christmas candies. The system has 2 settings: low where desired temperature Td=80 and High where Td=120. The input to the heater is constrained between 0.0 and 1.0 in the provided subVI (i.e. if you send 1.2 to the heater, it will act like you sent it 1.0).

A state diagram can be seen below.

Desired Program Features (with points) (This is my grading rubric)

ÿ      (12) Dataflow programming is used (i.e. minimal use of local/global variables)

ÿ      (5) States are controlled by enum typedef

ÿ      (5) State Machine Architecture

ÿ      (5) Data for state machine wired in cluster. (Desired Temp, Measured Temp, Control Output)

Front Panel

ÿ      (3)Thermometer Indicator of current Temperature. Min value of 0 and max value of 150.

ÿ      (3) Chart displays measured temperatures and desired temperatures.

ÿ      (3) Chart amplitude is fixed between 0 and 150.

ÿ      (2) Chart legend shows which plot is which.

ÿ      (1) Knob with positions (this was provided so don’t delete it)

ÿ      (3) Program stops if knob is set to 0

ÿ      (3) Controller Gain with default value of 0.0001

ÿ      (5) Organized front panel

Controller

ÿ      (5) Controller is active every 50ms. This can be done by the Wait Until Next ms Multiple.

ÿ      (5) power level calculated in subVI.

ÿ      (3) subVI has non default Icon

ÿ      (4) SubVI has outputs of Power Level and if you need to save data (|Td-Tm|>0.1)

ÿ      (5) The new power level (PLn) into the heater is calculated using

PLn=PLp+K(Td-Tm)

Where

PLp= power level from the previous time through the loop

Td = desired temperature

Tm=measured temp from the previous time through the loop

K=Controller gain from front panel

ÿ      (1) Controller power level is entered into Heat Chocolate SubVI

ÿ      (3) Stored data is updated with new values

ÿ      (5) Goes to Saving or Plotting when finished depending on Td and Tm

Plotting

ÿ      (3) Goes to Implement Control after updating front panel indicators

ÿ      (1) Data is plotted and sent to indicator.

Saving Data

ÿ      (5) Desired Temperature and measured temperature stored to a file (for partial credit you can save using high level IO)

ÿ      (10) Data is saved in save data state using low level IO

A state diagram can be seen below knob 0 Implement Control Stop program Display Results Save Data

Solution

In modular arithmetic the set of congruence classes relatively prime to the modulus number, say n, form a group under multiplication called the multiplicative group of integers modulo n. It is also called the group of primitive residue classes modulo n. In the theory of rings, a branch of abstract algebra, it is described as the group of units of the ring of integers modulo n. (Units refers to elements with a multiplicative inverse.)

It is desired to control the temperature in a pot of chocolate (VI Provided) to make Christmas candies. The system has 2 settings: low where desired temperature
It is desired to control the temperature in a pot of chocolate (VI Provided) to make Christmas candies. The system has 2 settings: low where desired temperature

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site