Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a vertical hopper for param opt #82

Merged
merged 27 commits into from
Oct 17, 2019
Merged

Add a vertical hopper for param opt #82

merged 27 commits into from
Oct 17, 2019

Conversation

avikde
Copy link
Owner

@avikde avikde commented Oct 13, 2019

Similar to MSD overall, but contains parameters for the leg design.

Fully actuated, so avoids the unactError issue of #80

Inspired by

image

Instead use

image

TODO:

  • stuff
  • initial traj debug
  • opt setting damping too high
  • increasing ma is resulting in lower T
  • bad match between traj2, traj3
  • scale with length scale as in W2D. One idea is to use Tmin for stroke length (piezo) or use a smaller force lim, higher stroke lim (EM) and show how reflected actuator properties become important in EM

@avikde
Copy link
Owner Author

avikde commented Oct 14, 2019

The opt results seem garbage

image

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

With some bigger limits:

image

0.725454 0.1 157.156

so non-trivial results

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

Fixing the initial traj

Now tracks correctly

image

Pos and vel of truncated 1 period

image

Now the initial traj makes sense

image

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

traj2/traj3 match

  • became worse with 9005266
  • fixed in 8605347 but now the opt damping is too high again

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

With Tmin for limited-stroke piezo actuators

image

The output traj is very small, and the match between traj2/3 is not good -- Update: fixed in
321d23d

image

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

Opt results stiffness/damping etc.

σamax = 100 (high stroke, let's say EM) 0.880476 0.100001 7.21895

image

σamax = 0.3 (piezo) 39.5397 190.464 7.10956

image

Conclusion:

  • both get approx the same bo... this must be because the traj is not quite sinusoidal and the original bo used deformed the traj in a way that is found by the opt in both cases

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

Some scaling results

Top: for piezo

Bottom: scale=1, look as a function of max stroke

image

@avikde
Copy link
Owner Author

avikde commented Oct 17, 2019

Need to make this more interesting:

  • leg linkage? to show evolving leg shape
  • as a function of actuator mass?

@avikde avikde merged commit 4251797 into master Oct 17, 2019
@avikde avikde deleted the vhop branch October 17, 2019 20:09
avikde added a commit that referenced this pull request Oct 23, 2019
avikde added a commit that referenced this pull request Oct 23, 2019
* w2d results fixed to be same as before #82

* hide that print

* this actually keeps shrinking them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant