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

Introduce fixes on calibation #6

Open
ckampm opened this issue Feb 19, 2019 · 0 comments
Open

Introduce fixes on calibation #6

ckampm opened this issue Feb 19, 2019 · 0 comments

Comments

@ckampm
Copy link
Contributor

ckampm commented Feb 19, 2019

The ChimeraTK::LinearStepperMotor class provides 2 modes, "calibration" and "determineTolerance". The first moves along the entire stage and discovers the end switch positions. In an additional step, the second mode also moves to each end switch and hits it ten times in order to estimate a normal distribution. The resulting standard deviation is used to provide a tolerance for the end switch position. These two modes should be merged, so that only one action has to be taken by the user. It should also significantly reduce code in the LinearStepperMotorStateMachine class.

Note that this procedure has drawbacks. The motor might slip, when it first hits the end switch with a high speed, which leads to inaccuracies. Also, the tolerance can only be checked, when the endswitches are hit again, which might never happen. However, for stages without additional sensors, this is the only way to verify the position.

In recent FW revisions, registers are available to store the end switch position and the tolerance. The merging of both modes has been started in branch ChimeraTK_APIupdate

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

No branches or pull requests

1 participant