Final submission for EE30186 | University of Bath
The goal is to control the speed of the fan according to the user input using the DE1-SoC FPGA. Author: Oscar Rovira
- Open Loop Mode: User can select the desired speed of the fan by directly controlling the output duty cycle of the PWM waveform being sent to the fan.
- Closed Loop Mode: User can select the desired speed of the fan (RPM's) and the program will calculate the required duty cycle using a PID.
- Open Loop Mode: Fan Speed(RPM) or Duty Cycle(%)
- Closed Loop Mode: Error, Target Speed(RPM), Fan Speed(RPM) or Duty Cycle(%)
Make sure all switches (SW0-9) are down before compiling to ensure complete initialisation of the system
- To turn on the system toggle left switch (SW9) up.
- To turn off the system toggle left switch (SW9) down.
- To turn on Closed Mode toggle right switch (SW0) up.
- To turn on Open Mode toggle right switch (SW0) down.
- To display current duty cycle press KEY0.
- To display fan speed press KEY1.
- In closed mode, to display target fan speed press KEY2.
- In closed mode, to display error press KEY3.
- In closed mode, use the knob to select the target speed in RPM.
- In open mode, use the knob to select the desired duty cycle.