You are browsing as a guest. Sign up (or log in) to start making projects!

54m 51s logged

Creating architecture in Simulink and the Root locus graph

I built the closed loop block diagram in Simulink to simulate my magnetic levitator before building the hardware. Initally, the Scope block appeared to show the position exploding at 10^259, but it was just an auto-scaling glitch. I manually tuned the PID controlled with P = -40 and D = -1. Then, I generated a root locus plot in MATLAB to verify my open-loop plant. The gain was 33.3 which was the value of the threshold I calculated earlier.
Timelapse: https://lapse.hackclub.com/timelapse/h0nwiXtD_xhi
The MATLAB script, Simulink structure, and images of graphs can be found on the project’s GitHub repo.

0
21

Comments 0

No comments yet. Be the first!