The Wind Tunnel Smart Air Flow Stabilization System is designed to ensure precise and stable airflow conditions within a wind tunnel by dynamically adjusting fan speed based on real-time feedback. This system employs a flex sensor to measure the angular displacement of a flap, which reflects airflow stability, and uses a PID control algorithm to maintain a consistent flap angle under varying conditions.
- Design a smart airflow system using sensor feedback to stabilize airflow.
- Use a flex sensor to measure the angular displacement of a flap.
- Implement real-time feedback control to dynamically adjust fan speed and compensate for external disturbances.
- Achieve precise control of airflow conditions by stabilizing the flap angle to a desired set point.
- Test the system under simulated disturbances and verify performance.
- Real-Time Control: Dynamic fan speed adjustments based on real-time sensor feedback.
- PID Control: Implementation of a PID algorithm to minimize error and stabilize the flap angle.
- Disturbance Compensation: Rapid response to external disturbances such as wind gusts.
- Adjustable Set Point: Ability to set and change the target flap angle for airflow stability.
- Comprehensive Testing: Ensures system reliability and stability under various conditions.
Component | Description |
---|---|
Microcontroller | ATMEGA328 |
Sensor | Flex Sensor |
Actuator | Fan |
Motor Driver | L298N |
Angle Control | Potentiometer |
Power Supply | Stable power for MCU and fan |
- Development Environment: PlatformIO
- Programming Language: C
- Control Algorithm: PID (Proportional-Integral-Derivative)
-
Flex Sensor Integration:
- Configured in a voltage divider setup to measure angular displacement of the flap.
- Sensor data converted to voltage and processed using ADC.
-
Fan Control Circuit:
- Fan connected to a PWM-capable pin for speed control.
- Motor driver (L298N) ensures safe operation.
-
PID Control:
- PID algorithm minimizes the error between desired and actual flap angle.
- Adjusts fan speed dynamically using PWM signals.
-
Power Management:
- Stable power supply ensures consistent system performance.
This schematic shows the simulation setup of the flex sensor, fan, motor driver, and microcontroller.
This is the final Schematic diagram.
This was the calibration (PID tunning) phase of the system.
The whole system was tested rigorously by loading the flap with small weights to check if the PID loop worked.
The PID Control Algorithm operates as follows:
- Continuously read the flex sensor output (flap angle).
- Calculate the error:
Error = Desired Angle - Actual Angle
. - Apply the PID formula:
PWM = Kp * Error + Ki * Integral(Error) + Kd * Derivative(Error)
- Adjust fan speed using the PWM signal.
-
Initial Stability:
- Verify that the flap stays at the set angle under stable airflow conditions.
-
External Disturbance:
- Introduce disturbances (e.g., sudden wind gusts) and observe system compensation.
-
Set Point Adjustment:
- Test the ability to change the desired flap angle dynamically.
-
Long-term Stability:
- Run the system for extended periods to ensure reliability.
- Tune the PID constants (Kp, Ki, Kd) for smooth and stable adjustments.
- Evaluate performance by plotting the flap angle over time.
The system successfully stabilizes airflow within the wind tunnel, ensuring the flap angle remains consistent even under external disturbances. The PID control loop allows for real-time compensation and smooth adjustments, achieving precise airflow conditions.
- Amith Mathew Titus
- Anugraha M.
- Integration of additional sensors for enhanced airflow monitoring.
- Implementation of machine learning for adaptive PID tuning.
- Remote control and monitoring via IoT integration.
- PlatformIO (An extension in Visual Studio Code)
- Basic electronics components as listed above
- Clone the repository:
git clone https://github.com/amith152003/Smart-Wind-Tunnel-Air-Flow-Stabilization-System.git
- Install dependencies and upload the code to ATMEGA328.
- Assemble the hardware components as per the schematic.
- Power up the system and set the desired flap angle using the potentiometer.
- Test the system using the scenarios outlined above.
This project is licensed under the MIT License. See the LICENSE file for details.
For any queries or contributions:
- Amith Mathew Titus: amithmathewtitus@outlook.com
- Anugraha M.: anugrahamahesh28@gmail.com
Project Status: Completed ✅