Bang/Bang Control with a Hysteresis Deadband @ChristopherLum
Bang/Bang Control with a Hysteresis Deadband  @ChristopherLum
Uploaded February 2025 | Updated November 2026, 11 hours ago
In this video we improve on the bang/bang control algorithm by adding a hysteresis deadband. This makes the system more robust to actuator/control chatter at the cost of slightly increased over/undershoot. We investigate how to implement this controller in Simulink using Stateflow to build finite state machines. We also demonstrate how Stateflow is compatible with the Simulink Support Package for Arduino Hardware which allows us to execute Stateflow charts on an Arduino in real-time.

Topics and timestamps:
0:00 – Introduction
4:12 – Hysteresis deadband concept
20:41 – Implementation using memory blocks
23:05 – Implementation as a finite state machine
29:41 – Simulink simulation model
44:18 – Simulink Arduino implementation
47:34 – Building controller in Stateflow
52:53 – Summary of pros/cons

Lecture notes and code can be downloaded from github.com/clum/YouTube/tree/main/Controls36

All Control Theory videos in a single playlist (youtube.com/playlist?list=PLxdnSsBqCrrF9KOQRB9ByfB0EUMwnLO9o)

#Control #ControlTheory

All Matlab/Simulink videos in a single playlist (youtube.com/playlist?list=PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF)

#Matlab #Simulink

You can support this channel via Patreon at patreon.com/christopherwlum or by clicking on the ‘Thanks’ button underneath the video. Thank you for your help!
Bang/Bang Control with a Hysteresis DeadbandStand Mixer Won’t Turn – Solved!Furnace Heat Exchanger Leaking – Solved!Importing Table Data Into Matlab Using ‘readtable’The Chain RuleAA516/AE512 Week01Replace a Ford Transit HubcapTubeless Tire Conversion: A Complete End-to-End TutorialAE511 Final ProjectFuel Leaking from Motorcycle – Solved!Brooks Ghost 14 Road-Running ShoesRefill Inkjet Printer Cartridges
Christopher Lum |

Bang/Bang Control with a Hysteresis Deadband

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER