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

Aquasonic Black Series Ultra Whitening Toothbrush – ADA Accepted Electric Toothbrush- 8 Brush Heads & Travel Case – 40,000 VPM Electric Motor & Wireless Charging - 4 Modes w Smart Timer

Magicteam Sound Machines White Noise Machine with 20 Non Looping Natural Soothing Sounds and Memory Function 32 Levels of Volume Powered by AC or USB and Sleep Sound Timer Therapy for Baby Kids Adults

DAYBETTER LED Strip Lights 130ft Lights Strip for Bedroom, Desk, Indoor Room Bedroom Brithday Gifts RGB Decor with Remote and 24V Power Supply


