We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dcf7a0 commit 76ab9f5Copy full SHA for 76ab9f5
mwes/mwe_02.jl
@@ -47,7 +47,7 @@ function motor_dynamics(x, u)
47
return [acc]
48
end
49
50
-v_set = 8.0
+v_set = 4.0
51
force = 4000.0
52
v_act = find_equilibrium_speed(winch, v_set, force)
53
mwes/mwe_03.jl
@@ -49,7 +49,7 @@ function motor_dynamics(x, u)
54
55
@@ -68,4 +68,4 @@ D = [0.0 0.0]
68
sys = ss(A, B, C, D)
69
sys_new = ss(A, B[:, 1], C, D[:, 1])
70
71
-bode_plot(sys_new; to=2, title="Linearized Winch, F=$force N")
+bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=$force N")
mwes/mwe_04.jl
@@ -62,12 +62,13 @@ function linearize(winch, v_set, force)
62
63
64
v_set = 4.0
65
-for force in range(300.0, 3800.0, length=10)
66
- @info "Linearizing for force: $force N"
67
- sys_new = linearize(winch, v_set, force)
- # @info "System: $sys_new"
- # @info "Eigenvalues: $(eigvals(sys_new))"
- bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=300..3800 N")
-end
+# for force in range(300.0, 3800.0, length=10)
+# @info "Linearizing for force: $force N"
+# sys_new = linearize(winch, v_set, force)
+# # @info "System: $sys_new"
+# # @info "Eigenvalues: $(eigvals(sys_new))"
+# bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=300..3800 N")
+# end
72
73
-# bode_plot(sys_new; to=2, title="Linearized Winch, F=$force N")
+sys_new = linearize(winch, v_set, 1000.0)
74
+bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=1000 N")
0 commit comments