0% found this document useful (0 votes)
7 views2 pages

Assignment - Implementing Control

The document outlines an assignment for the Electronics & Robotics Club at IIT Bombay, focusing on designing, simulating, and tuning a PID controller for temperature regulation in a smart greenhouse using MATLAB Simulink. Key tasks include system modeling, PID controller design, simulation analysis, and reporting results. The assignment aims to maintain a desired internal temperature despite external fluctuations, with a submission deadline of June 23, 2025.

Uploaded by

Tanishk Saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Assignment - Implementing Control

The document outlines an assignment for the Electronics & Robotics Club at IIT Bombay, focusing on designing, simulating, and tuning a PID controller for temperature regulation in a smart greenhouse using MATLAB Simulink. Key tasks include system modeling, PID controller design, simulation analysis, and reporting results. The assignment aims to maintain a desired internal temperature despite external fluctuations, with a submission deadline of June 23, 2025.

Uploaded by

Tanishk Saxena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Electronics & Robotics Club

IIT Bombay [email protected]


erciitb.github.io
+91 824 722 7509 | +91 953 820 7404

Control Theory Bootcamp


Assignment 2: Implementing Controllers

PID-Based Temperature Control in a Smart Greenhouse — Submission Deadline:


23:59, 23 June 2025

Objective
Design, simulate, and tune a PID controller using MATLAB Simulink to regulate the in-
ternal temperature of a smart greenhouse. The aim is to maintain the temperature at a
desired setpoint despite external fluctuations.

Background
Greenhouses create controlled environments for plant growth. Temperature regulation is
crucial, and this can be achieved using feedback control. PID controllers are widely used
for this purpose due to their simplicity and effectiveness.

System Dynamics
The thermal dynamics of the greenhouse can be modeled by the following differential
equation:

dTin (t) 1 K
= − (Tin (t) − Tout (t)) + u(t)
dt τ τ
Where:
• Tin (t): Internal temperature [°C]
• Tout (t): External ambient temperature [°C]
• u(t): Control input (heating/cooling power), u(t) ∈ [−100, 100]
• τ : Time constant (e.g., 200 seconds)
• K: System gain (e.g., 0.5)

Institute Technical Council

Students Gymkhana
1
IIT Bombay, Powai

Bombay 76

The external temperature follows a sinusoidal profile:


 
2πt
Tout (t) = 22 + 8 sin
86400

Tasks
1. System Modeling in Simulink
• Implement the system using Simulink blocks (Integrator, Gain, Sum, Signal Genera-
tor).
• Simulate sinusoidal external temperature input.

2. PID Controller Design


• Use a PID Controller block to generate the control input u(t).
• Set a desired internal temperature setpoint (e.g., 25°C).
• Tune the controller gains manually and with Simulink’s PID Tuner.

3. Simulation and Analysis


• Analyze step response characteristics (rise time, overshoot, settling time).
• Add actuator saturation and simulate sudden disturbances.
• Plot internal temperature, external temperature, and control input over time.

4. Reporting
• Include block diagram screenshots, PID parameter values, and performance plots.
• Comment on the controller effectiveness, tuning process, and observations.

You might also like