# CIS4000: control system for the Vertical Farming Water System The control algorithm is implemented on a MicroController Unit: Computational Thinking Assignment UK

The above figure shows a control system for the Vertical Farming Water System. The control algorithm is implemented on a MicroController Unit (MCU) as follows:

The initial state is: the Water Reservoir is Empty, the Nutrient Container is not empty only with essential nutrients.

• The Valve can be open only if one of the following conditions is true:

– Tank 1 (Water Reservoir) is not full,

– Tank 2 (Nutrient Container) is empty.

• The Tank 1 (Water Reservoir) passes from the state full to the state empty exactly after 10 minute the refill (T1 is the time since the last refilling).
• The Tank 2 (Nutrient Container) passes from the state full to the state normal exactly after 24 hours the refill (T2 is the time since the last refilling).

For keeping the level of the two Tanks (Water Reservoir or Nutrient Container) in normal conditions, propose a strategy in which the Water Refill System avoid that the tanks are empty (exception the first filling stage of Tank 1 Water Reservoir).

Hypothesis:

1) Refilling time for the Tank 1 Water Reservoir TR1=0.2*T1,

2) Refilling time for the Tank 2 Nutrient Container: if Tank 1 Water Reservoir is Full and Tank 2 Nutrient Container is not Full, then TR2=20*T1.

The above figure shows a control system for the Vertical Farming Water System. The control algorithm is implemented on a MicroController Unit (MCU) as following:

The initial state is: the Water Reservoir is Empty, the Nutrient Container is not empty only with essential nutrients.
• The Valve can be open only if one of the following conditions is true:
– Tank 1 (Water Reservoir) is not full,
– Tank 2 (Nutrient Container) is empty.
• The Tank 1 (Water Reservoir) passes from the state full to the state empty exactly after 10 minute the refill (T1 is the time since the last refilling).
• The Tank 2 (Nutrient Container) passes from the state full to the state normal exactly after 24 hours the refill (T2 is the time since the last refilling).

For keeping the level of the two Tanks (Water Reservoir or Nutrient Container) in normal conditions, propose a strategy in which the Water Refill System avoid that the tanks are empty (exception the first filling stage of Tank 1 Water Reservoir).
Hypothesis:
1) Refilling time for the Tank 1 Water Reservoir TR1=0.2*T1,
2) Refilling time for the Tank 2 Nutrient Container: if Tank 1 Water Reservoir is Full and Tank 2 Nutrient Container is not Full, then TR2=20*T1.

For emergency purpose,

– If both Tanks Water Reservoir Empty an Nutrient Container are marking Empty, then the MCU must leave what it does and for a period of 10 minutes:
– turn OFF both Water Pump 1 and Water Pump 2
– 20 sec toggle of the buzzer
– send an alarm message to the screen as “Emergency: Water Reservoir Empty”.
– after finishing the 10 minutes, it will return to its normal operation.
– a push button is connected to MCU. As soon as the operator press this button, the MCU must leave what it does and for a period of 4 minutes:
– turn OFF both Water Pump 1 and Water Pump 2.
– 1 sec toggle of the buzzer
– send an alarm message to the screen as” Emergency: Manual Stop”.
– after finishing the 4 minutes, it will return to its normal operation.

This assessment consists of four parts:

1) Apply the constituent parts of Computational Thinking and discuss the results of each.

2) Express the algorithm used in the solution using a flowchart.

3) Express the algorithm using pseudocode.

4) Implement the solution in Python or any programming language you prefer (Bonus).

Buy Answer of This Assessment & Raise Your Grades

If you are a scholar of engineering and want to grow your rank in your CIS4000: Computational Thinking homework task? then don’t worry Students Assignment Help UK has a team of trustworthy writers who have in-depth knowledge to prepare a customized solution for engineering assignments at the most reasonable price.

Answer