Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.38 KB

Examples of Control Systems

These are the files we used in class with the Sphero RVR for control and API

Examples to use Feedback control Loops

  1. on/off control
  2. on/off control with tolerance
  3. proportional control
  4. proportional-integral control
  5. proportional-integral-derivative control, see PID controller on wikipedia

Platforms

Simulations

Landing a Rocket - simulation on replit

Landing a Rocket

Controlling a water valve - simulation on p5js

Water Valve

Controlling a robot arm to a specific angle just with torque - simulation on p5js

Robot Arm

With an updated PID feedback control loop the specific angle are reached relatively fast, as this simulation shows. You can analyze the angle over time with Desmos:

Desmos angles