avikde / robobee3d

Robobee research including controls, modeling, and simulation
2 stars 1 forks source link

Nonlin benefit with different weighting #141

Closed avikde closed 4 years ago

avikde commented 4 years ago

find previous issue

avikde commented 4 years ago

Nonlin benefit debugging - describe when it is beneficial

lower power solutions nonlinBenefit(ret1, range(0, 3, length=6), range(180, 360, length=6); Φ=120, Qdt=0, Rpow=1e1, τ2eq=true) nonlin_eq_Qdt0_Rpow1e1.zip

image

nonlinBenefit(ret1, range(0, 3, length=6), range(180, 360, length=6); Φ=120, Qdt=1e2, τ2eq=true) nonlin_eq_Qdt1e2.zip

image

nonlinBenefit(ret1, range(0, 3, length=6), range(180, 360, length=6); Φ=120, Qdt=1e3, τ2eq=true) nonlin_eq_Qdt1e3.zip

image

nonlinBenefit(ret1, range(0, 3, length=6), range(180, 360, length=6); Φ=120, Qdt=1e4, τ2eq=true) nonlin_eq_Qdt1e4.zip

image

nonlinBenefit(ret1, range(0, 3, length=6), range(180, 360, length=6); Φ=120, Qdt=1e6, τ2eq=true, tol=5e-2) nonlin_eq_Qdt1e6.zip

image

avikde commented 4 years ago

From https://github.com/avikde/robobee3d/pull/140#issuecomment-583086308

Nonlinbenefit:

avikde commented 4 years ago

Nonlin benefit where

Helpful picture for nonlin benefit. Seems like the band of helpfulness is in general when T is higher.

image

Generally correlated with higher stroke

Qdt = 1e3

image

Qdt = 34e3

image

Qdt = 67e3

image

Qdt = 100e3

image

nonlin_phi120.pdf nonlin_phi120 nonlin_phi120.zip nonlin_phi120_Qdt_0_Rpow_1e1.pdf nonlin_phi120_Qdt_0_Rpow_1e1 nonlin_phi120_Qdt_0_Rpow_1e1.zip

avikde commented 4 years ago

Things that set some "scale" that may affect the effectiveness of the nonlin transmission

avikde commented 4 years ago

Qdt=1e4, with ko=50 nonlin_eq_Qdt1e4_ko50.zip

image

Same with phi 90 nonlin_eq_Qdt1e4_ko50_phi90.zip

image

^ bad due to a lot of -13 (infeasible?)

with phi90, ko=80 - idea to try and get a similar ratio of output to act reflected stiffness

image

phi90, ko=50

image

avikde commented 4 years ago

Phi=90

ko=20 with phi=90 - NO NONLIN BENEFIT opt would pick lin in this instance

image

i.,e. if act stiffness dominates, this is bad

ko=60, Qdt=1e4

image

ko=60, Qdt=5e4

image

Qdt moves the "preferred FL" band up and down

ko=55, Qdt=5e4

image

moved preferred band to the right

ko=55, Qdt=1e4

image

avikde commented 4 years ago
avikde commented 4 years ago

Phi=90 redo (deltay was wrong)

Qdt=1e4, ko=30

image

Qdt=5e3, ko=60

image

Qdt=1e4, ko=60

image

3e4, ko=60

image

1e4, ko=55

image

1e4, ko=50

image

5e3, ko=55

image

5e3, ko=57.5

image

avikde commented 4 years ago

Observations:

Band of preferred ko seems quite small

avikde commented 4 years ago

nonlinbig.zip

with nonlinbig2.zip

nonlinbig4.zip

nonlinbig5.zip

avikde commented 4 years ago

by experimenting with openloopplot, can get an idea: nonlin transmission helps more when ko is low and mw is high

avikde commented 4 years ago

Try:

need to combine with the openloopplot at - call out a few parts of the param space nlbenefit-nonlinbig3.pdf

nlbenefit-nonlinbig3

EDIT: some old slices here https://github.com/avikde/robobee3d/issues/141#issuecomment-585442168 but hidden now

To improve and consolidate:

avikde commented 4 years ago

Openloop plot normalize based on output displacement. Automatic implemented but doesn't work that well due to dynamic effects. Manually tuned T1 scale

olplot.pdf olplot