Skip to content

Commit

Permalink
#67: More minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
drw5ff committed Aug 6, 2022
1 parent 6da7dae commit 801bbfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Binary file added julia/figs/step.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 1 addition & 13 deletions julia/identification_script.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,4 @@ print("Closed-Loop Integral Gain Ki = " + Ki)
step_plot = plot!(step(P_cl))
nyquist_plot = plot(nyquistplot([P, P_cl], ylims=(-1,1), xlims=(-1.5,1.5)))
savefig(step_plot,"./julia/figs/step.png")
savefig(nyquist_plot,"./julia/figs/nyquist.png")






# ζ = 0.5 # Desired damping

# ws = logspace(-1,2,8) # A vector of closed-loop bandwidths
# kp = 2*ζ*ws-1 # Simple pole placement with PI given the closed-loop bandwidth, the poles are placed in a butterworth pattern
# ki = ws.^2
# pidplots(P,:nyquist,:gof;kps=kp,kis=ki, ω= logspace(-2,2,500)) # Request Nyquist and Gang-of-four plots (more plots are available, see ?pidplots )
savefig(nyquist_plot,"./julia/figs/nyquist.png")

0 comments on commit 801bbfe

Please sign in to comment.