New feature: SI Tune Feedback - #1265
Conversation
|
The latest bug we spotted is still to be fixed (one commit away). Please check the Note: the property |
…atic loop opening (removal of "inloop" property)
… and its in-loop usage
|
@VitorSouzaLNLS , integration test is failing, did you notice it ? |
Yes, I did. The first failure occurs when the However, I modified Some command functions, such as Perhaps we should standardize this return-value behavior, either by always returning @fernandohds564 @anacso17 what do you think about this? I can create a new PR to discuss and handle this differences. (In the meantime, I'll revert the modification I made in |
… "cmd_apply_corr"
I think we could use the old return stardard for this PR, just like it is being checked in the unittest, but we should discuss broadly if it makes sense to use a unique standard for all our pcaspy-based IOCs. If other people think this discussion is usefull, I would open a new PR so that it does not get forgotton in our daily duties. |
|
I don't remember why we defined this standard. Do you remember, @anacso17? I think it worth discussing this separately, depending on Ana's answer. |
|
After discussing with @fernandohds564, we identified that returning |
We believe this is not the ideal behavior and we will adapt the code to do something similar to what SOFB and the HLTiming IOCs do, which is handling the counter at the Driver in the machine applications code. This changes will be made in in another PR. Do you agree with these changes, @anacso17? |
|
Hi guys! I didn't have time to review this PR yet, but regarding the topic of |
| _PVName( | ||
| 'SI-Glob:AP-CurrInfo:StoredEBeam-Mon' | ||
| ).substitute(prefix=_vaca_prefix), | ||
| connection_timeout=0.05 |
There was a problem hiding this comment.
@VitorSouzaLNLS , is there not a default connecion_timeout constant from a base class or one in another class you can import and expose more visibly than having a hard-coded constant burried in the code implementation ?
SI Tune Feedback – Initial Support
Summary
This PR adds the initial support for the SI Tune Feedback application in
siriuspy/opticscorr.The implementation introduces the infrastructure required to operate a closed-loop tune correction system for the Storage Ring, including new PVs, loop control, tune source selection, PID configuration, beam-status monitoring, and automatic correction logic.
What changed
Added new enums and constants for:
Open/Closed);Expanded the tune feedback PV database with:
Extended
TuneCorrAppto support feedback-loop operation:Added
SITuneCorrApp, which implements:Notes
TuneSpecand BbB-based tune measurements.Operational findings
During early use of this version, two operational issues were identified:
StoredEBeam-MonPV used to open the loop when there is no stored beam was found to have an incorrect calibration.Testing
StoredEBeam-Mon.To do
🗹 Fix the known loop-state inconsistency bug.
🗹 Review and correct the
StoredEBeam-Moncalibration dependency.🗹 Merge these fixes as part of this PR before final integration.