Objective
Hello guys welcome to MAE Learning and in this tutorial, we will learn and develop a Simulink-based “Engine Cooling Fan Control” which follow below conditions:
Design and simulate a cooling fan control system that automatically adjusts its speed based on temperature. The control logic is:
- Fan OFFโโโif Temperature < 90ยฐC
- Fan Speed 1โif 90ยฐC โค Temperature < 100ยฐC
- Fan Speed 2โif Temperature โฅ 100ยฐC
Control Logic
- Inputs: Temperature signal (ยฐC)
- Outputs: Fan status (0 = OFF, 1 = Speed 1, 2 = Speed 2)
- Decision Flow:
- If Temp โฅ 100 โ Fan Status = 2
- Else if Temp โฅ 90 โ Fan Status = 1
- Else โ Fan Status = 0
Simulink Modelling Approach
- Input Block:
- Use a Signal Builder, Step Input, or Constant block for temperature simulation.
- Relational Operators:
- Compare temperature against thresholds (โฅ100 and โฅ90).
- Switch Blocks:
- First switch checks for Temp โฅ 100 (sets Speed 2).
- Second switch checks for Temp โฅ 90 (sets Speed 1 if Speed 2 condition is false).
- Output Display:
- Use Scope or Display block to monitor fan status in real time.
Logic Design

Engine Cooling Fan Control

Model Behavior
- Subsystem Layout:
- Temperature input is branched into two relational checks (โฅ100 and โฅ90).
- Switches determine the appropriate fan status based on comparisons.
- Fan Status Transitions:
- Temp < 90 โ OFF (0)
- Temp โฅ 90 but < 100 โ Speed 1 (1)
- Temp โฅ 100 โ Speed 2 (2)
Simulation Graph

- Simulation plots show temperature changes alongside fan status transitions.
Practical Insights
- Threshold-based control is widely used in HVAC systems, electronics cooling, and automation.
- Simulinkโs block-based approach makes it easy to adjust thresholds or add more fan speed levels.
- Logic is modular and can be reused for similar control applications.