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

Discontinuity in "slow out" signal #347

Open
cardavr opened this issue Jul 11, 2023 · 5 comments
Open

Discontinuity in "slow out" signal #347

cardavr opened this issue Jul 11, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@cardavr
Copy link

cardavr commented Jul 11, 2023

I've been using linien 0.8.0 to lock a laser to a cavity using an externally generated PDH signal. The locking is working well, however the "slow out" port seems to have discontinuities that eventually cause the laser to lose lock. I've tried using both the "Analog 0" port and the "Fast Out 1" ports to provide the slow out control signal, but the behavior is identical. The discontinuities only appear to happen when the "control history" curve has a zero crossing, though it is not deterministic. I've copied a screenshot below showing the effect that we see. Yellow is the "slow out" signal that has the discontinuities, and you can see the impact it has on the green control history curve. In this case the glitches were not strong enough to cause the laser to unlock, but they eventually one will be strong enough. The "strength" parameter does affect this. If it's increased to say 10, the glitches pretty quickly become large enough to rail the output.

image

@cardavr cardavr added the bug Something isn't working label Jul 11, 2023
@bleykauf
Copy link
Collaborator

This should disappear if you use larger values for the strength, think >1000. It thought I added a note about this in the v0.8.0 release but it looks like it was not merged in the end...

Please report back if this fixed the issue.

@cardavr
Copy link
Author

cardavr commented Jul 12, 2023

Unfortunately I'm unable to test if setting the slow output gain that high solves the discontinuity problem. We're using the slow feedback for thermal control which has bandwidth ~1 Hz. So setting the strength parameter to 1000 is not stable in our system. Strengths of 1-5 do seem perfect for steering the output with the appropriate gain, with the exception of the fast jumps that sporadically show up.

@bleykauf
Copy link
Collaborator

bleykauf commented Jul 12, 2023 via email

@cardavr
Copy link
Author

cardavr commented Jul 12, 2023

I can attenuate the output, but this appears to not help significantly. It also has the tradeoff of limiting the overall tuning range, which is also undesirable.

For example, here is a screenshot showing the locking behavior with an 8 dB attenuator installed on the slow out port:
image

I currently have the slow out configured on the "Fast Out 1" SMA port, but I saw the same behavior from Analog Out 0.

Do you have any ideas what causes this?

@cardavr
Copy link
Author

cardavr commented Jul 12, 2023

Here's one more image showing the behavior with the slow out port disconnected from the laser so that the catastrophic glitches don't cause the system to come unlocked:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants