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

Improve latency #25

Open
2 tasks
SimonFrauenschuh opened this issue Aug 4, 2023 · 0 comments
Open
2 tasks

Improve latency #25

SimonFrauenschuh opened this issue Aug 4, 2023 · 0 comments
Labels
improvement Improved Feature / Construction

Comments

@SimonFrauenschuh
Copy link
Owner

SimonFrauenschuh commented Aug 4, 2023

The time needed for one control cycle consists of 5ms needed by the ADC and an unknown time for the I2C communication with the servo driver.
In order for the P/D controller to function well, it is important to keep that timespan as short as possible.

Previous tests with conversion times for getting the balls position of around 1ms improved the regulation extreme, so switching to a faster ADC is also required. (6bit ADC should work)

  • Measure time needed by the I2C motorcontroller (Shouldn't take longer than around 2 milliseconds)
  • Use faster ADC (current one supports 840 conversions/second)
@SimonFrauenschuh SimonFrauenschuh added the improvement Improved Feature / Construction label Aug 4, 2023
@github-project-automation github-project-automation bot moved this to Backlog in Sisyphos 2.0 Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improved Feature / Construction
Projects
Status: Backlog
Development

No branches or pull requests

1 participant