Bang/Bang Control with a Hysteresis Deadband
Christopher Lum
@christopherlumAbout
Educational videos and tutorials covering optimization, control theory, mathematics, computer tools (Matlab/Simulink, Mathematica, Blender, etc.), unmanned aerial systems, and general engineering.
Latest Posts
Video Description
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 https://github.com/clum/YouTube/tree/main/Controls36 All Control Theory videos in a single playlist (https://www.youtube.com/playlist?list=PLxdnSsBqCrrF9KOQRB9ByfB0EUMwnLO9o) #Control #ControlTheory All Matlab/Simulink videos in a single playlist (https://www.youtube.com/playlist?list=PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF) #Matlab #Simulink You can support this channel via Patreon at https://www.patreon.com/christopherwlum or by clicking on the ‘Thanks’ button underneath the video. Thank you for your help!
Essential Control Circuit Parts
AI-recommended products based on this video

26x15 Inch Food Warming Mat - Electric Design with Heat-Resistant Pad, 6 Temp Modes, 6 Timer Options & Child Lock, Perfect for Family Gatherings & Everyday Meals

MSI MAG A550BN, Non-Modular Compact 550W Power Supply, 80+ Bronze, Low-Noise Fan, Active PFC Design, 5 Year Warranty

MSI MAG A850GL PCIE5 White, Fully Modular Compact Gaming 850W Power Supply, 80+ Gold, ATX 3.1 & PCIe 5.1 Ready, Native Dual-Color 12V-2x6 Cable, 10 Year Warranty

MSI MPG A1000GS PCIE5, Fully Modular Gaming 1000W Power Supply, 80+ Gold, Dual 12V-2x6 Cables, Server-Grade, ATX 3.1 & PCIe 5.1, Low-Noise, Semi Digital, Embossed Jacket Cables, 10 Year Warranty


