emrp:ws2025:agv
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| emrp:ws2025:agv [2026/02/28 19:33] – [5.1 Test plan] 23553_students.hsrw | emrp:ws2025:agv [2026/02/28 22:52] (current) – [6. Discussion] 23553_students.hsrw | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 144: | Line 144: | ||
| * 2x DHT11 Sensors | * 2x DHT11 Sensors | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 167: | Line 167: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 209: | Line 209: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 237: | Line 237: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 271: | Line 271: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 380: | Line 380: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 438: | Line 438: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| === 4.5.2 Automations === | === 4.5.2 Automations === | ||
| Line 445: | Line 445: | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| < | < | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 489: | Line 489: | ||
| ===== 5. Testing & Validation ===== | ===== 5. Testing & Validation ===== | ||
| ==== 5.1 Test plan ==== | ==== 5.1 Test plan ==== | ||
| - | At the time of writing, the ventilation system could not be tested in the real greenhouse environment because a new greenhouse is currently under construction. Testing was therefore performed at home. While this limits realism, it enables a more controlled environment and repeatable test scenarios. The bathroom was chosen as the test environment because its volume of approximately 8 m³ is suitable for controlled ventilation experiments using one intake and one exhaust fan. This two-fan setup provides a comparable air exchange rate to the greenhouse design, because halving both the room volume (15 m³ → ~8 m³) and the number of fans (4 → 2) keeps the ventilation capacity per volume in a similar range under ideal conditions. In addition, temperature can be increased in a predictable way using a heater, and relative humidity can be raised quickly | + | At the time of writing, the ventilation system could not be tested in the real greenhouse environment because a new greenhouse is currently under construction. Testing was therefore performed at home. While this limits realism, it enables a more controlled environment and repeatable test scenarios. The bathroom was chosen as the test environment because its volume of approximately 8 m³ is suitable for controlled ventilation experiments using one intake and one exhaust fan. This two-fan setup provides a comparable air exchange rate to the greenhouse design, because halving both the room volume (15 m³ → ~8 m³) and the number of fans (4 → 2) keeps the ventilation capacity per volume in a similar range under ideal conditions. In addition, temperature can be increased in a predictable way using a 2kW heater, and relative humidity can be raised quickly (e.g., through shower steam). This makes it possible to evaluate the system by observing how temperature and humidity change when the fans are enabled. |
| Planned scenarios include: | Planned scenarios include: | ||
| Line 498: | Line 498: | ||
| * keep heating when vent starts keep fans on | * keep heating when vent starts keep fans on | ||
| * Humidity rise scenario | * Humidity rise scenario | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| ==== 5.2 Data collection and logging ==== | ==== 5.2 Data collection and logging ==== | ||
| Line 507: | Line 511: | ||
| When placed in the same environment, | When placed in the same environment, | ||
| + | ==Temperature rise scenario 1== | ||
| + | |||
| + | In this scenario, the room was heated until the ventilation condition triggered (including the configured 1-minute stability delay). At that point, both the heater and the fans were turned off. The objective was to measure how long it takes for the indoor temperature to drop back below the “should vent” threshold without active ventilation (baseline cooling). | ||
| + | |||
| + | Each run started from an initial indoor temperature of approximately 23.8 °C, and the test was repeated four times. | ||
| + | |||
| + | Measured time to cool out of the “should vent” condition (heater OFF, fans OFF): | ||
| + | * Run 1: 3:50 min | ||
| + | * Run 2: 4:00 min | ||
| + | * Run 3: 4:20 min | ||
| + | * Run 4: 4:20 min | ||
| + | |||
| + | The average time across all runs was 4:07 min, with a slight increasing trend over the repetitions (later runs took longer). | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | ==Temperature rise scenario 2== | ||
| + | This scenario follows the same procedure as Scenario 1: the room is heated until the ventilation condition triggers (including the 1-minute stability delay). Once triggered, the heater is turned off. In contrast to Scenario 1, the fans remain on to actively cool the room back below the “should vent” threshold. | ||
| + | |||
| + | The test was repeated three times. | ||
| + | |||
| + | Measured time to cool out of the “should vent” condition (heater OFF, fans ON): | ||
| + | * Run 1: 3:50 min | ||
| + | * Run 2: 3:50 min | ||
| + | * Run 3: 3:50 min | ||
| + | |||
| + | All three runs produced the same result, giving an average time of 3:50 min for this scenario. | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | |||
| + | ==Temperature rise scenario 3== | ||
| + | With the 2000 W heater kept on, the fans were not able to cool the room back below the “should vent” threshold, but they likely slowed down the temperature increase. | ||
| + | |||
| + | ==Humidity rise scenario:== | ||
| + | In this scenario, humidity was increased using hot water/steam until the automation triggered ventilation at 70% RH. Indoor humidity peaked at 88% RH and was then reduced to 63% RH while the fans were running. The fans stopped automatically after the humidity dropped back below the threshold (Fig 17. - 1.). After the fans stopped, indoor humidity began to rise again (Fig 17. - 2.). When the fans were started manually, humidity continued to decrease until the inside and outside humidity levels were approximately equal. During the final part of the test, the outside humidity increased (Fig 17. - 3.). | ||
| + | |||
| + | < | ||
| + | {{ : | ||
| + | </ | ||
| + | ===== 6. Discussion ===== | ||
| + | The system successfully measured indoor/ | ||
| - | * Placeholder: | + | One concern was the limited absolute accuracy of the DHT11 sensors, especially for relative humidity. However, the control logic primarily relies on relative comparisons between inside and outside rather than perfectly accurate absolute values. Using two identical sensor modules also helps because systematic offsets tend to cancel out when comparing trends and differences. As a result, the DHT11 accuracy is acceptable for this prototype, while higher accuracy sensors would improve confidence in the exact trigger thresholds. |
| - | * Placeholder: | + | |
| - | * Placeholder: | + | |
| - | ===== 6. Results & Discussion ===== | + | In the temperature baseline test (heater OFF, fans OFF), cooling back below the ventilation threshold took 4:07 min on average. With ventilation enabled after switching the heater off (heater OFF, fans ON), cooling took 3:50 min across all runs. With a 2000 W heater kept ON, ventilation could not restore temperature below the threshold, but it likely slowed the temperature increase. The baseline cooldown duration increased over repeated trials (from 3:50 to 4:20), which is plausibly explained by heat storage in the room’s surfaces (walls, tiles, furniture) and their gradual release after the heater was switched off. The ventilation-enabled cooling test was performed after the baseline series, meaning it started under less favorable conditions; despite this, the cooldown time with fans remained lower (3:50), supporting a real cooling effect from ventilation in this setup. |
| - | ==== 6.1 Results | + | In the humidity test, ventilation started automatically at 70% RH. Indoor humidity peaked at 88% RH and was reduced to 63% RH while the fans were running. After the fans stopped, indoor humidity rose again even though no additional moisture was added, suggesting that without continued airflow some humid air pockets can remain and moisture on surfaces can re-equilibrate with the air. If humidity had climbed above 70% RH again, the automation would have restarted ventilation. For this test, the fans were started manually instead, and indoor humidity continued to decrease until it approached equilibrium with the outside sensor reading. Towards the end, the measured outside humidity also increased slightly, which is most likely an artifact of the indoor test setup with limited fresh-air exchange rather than a realistic outdoor effect. |
| + | ===== 7. Conclusion and outlook ===== | ||
| - | ==== 6.2 Limitations ==== | + | This project demonstrates a working prototype of a Home Assistant–based greenhouse ventilation system using low-cost sensors and an ESP32 controller. The implementation covers the complete chain from sensing (inside/ |
| - | The current evaluation has several limitations: | + | ==== Outlook ==== |
| - | * Testing was performed in a bathroom rather than a real greenhouse, so airflow patterns, heat capacity, and leakage behavior differ significantly. | + | |
| - | * The controlled tests mainly covered cases where the “inside” environment was hotter and/or more humid than the “outside” reference. Conditions such as rain events, strong solar radiation, and rapid outside fluctuations were not fully represented. | + | |
| - | * DHT11 sensors are low accuracy, especially for humidity (often ±5% RH or worse with a range of 20-80%). | + | |
| - | ===== 7. Future Work Ideas ===== | + | The next step is the deployment |
| - | Here are a few ideas for future development, | + | * Additional sensing |
| - | * Add additional sensors | + | |
| * Soil moisture sensing | * Soil moisture sensing | ||
| * Light and CO₂ sensing for improved climate control decisions | * Light and CO₂ sensing for improved climate control decisions | ||
| - | * Extend | + | * Extended |
| * Automatic watering based on soil moisture and schedules | * Automatic watering based on soil moisture and schedules | ||
| - | * Artificial light | + | * Artificial |
| - | * Absolute humidity based ventilation decisions | + | * Active |
| - | * Add active | + | * Heater |
| - | * Heater/ | + | * Humidifier / dehumidifier system |
| - | * Humidifier / dehumidifier system | + | * Off-grid power system |
| - | * Off-grid power design outlook | + | * Battery/ |
| - | * Plan and implement a battery/ | + | * Power budgeting, |
| - | * Include power budgeting, safety (fusing), and autonomy targets (e.g., nights | + | |
| ===== 8. References / Sources ===== | ===== 8. References / Sources ===== | ||
emrp/ws2025/agv.1772303592.txt.gz · Last modified: 2026/02/28 19:33 by 23553_students.hsrw