[Dsg-hallc_controls] Quadrupole field regulation
Mike Fowler
fowler at jlab.org
Fri Sep 28 14:28:11 EDT 2018
Condition one: PSU starting from zero
Operator> Inputs an I_target and I_MOL value.
PLC> Checks I_target if in limits, sets the MPS_Wa_Value
Operator> Start regulation
PLC> Compares analog I_coarse to Last_I_Sent which is assumed to be zero.
If I_coarse > Last_I_Sent the code sends MPS_Wa_Value to
PSU. Note: analog I_coarse value could be non zero and the MOL value
is not sent.
PLC> Waits for I_coarse to be equal to MOL value +/-1%. Was the MOL
value ever sent?
Mike
On 9/28/2018 2:00 PM, Amanda Hoebel wrote:
> The operator would input an I_target and I_MOL value, then select to
> start regulation.
>
>
> ------------------------------------------------------------------------
> *From: *"Mike Fowler" <fowler at jlab.org>
> *To: *"dsg-hallc controls" <dsg-hallc_controls at jlab.org>
> *Sent: *Friday, September 28, 2018 1:54:31 PM
> *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
>
> Hi,
>
> What is the sequence of inputs from the operator?
>
> Mike
>
>
>
> On 9/28/2018 1:30 PM, Amanda Hoebel wrote:
>
> Hi Mike,
>
> I have some questions/comments (in blue) on some of your comments
> for the current loop regulation.
>
> 4. If the analog signal I_coarse is less than the Last_I_Sent by
> even a small fraction the MOL value is used.
> Yes, as the PSU would be ramping up, even if it's by a small
> amount. This would only occur if someone were to set an
> I_target/Last_I_Sent value that was very close to what the power
> supply was already at. If that is not the correct method, what
> should be done instead?
>
> 7. Consider this:
> If I_coarse is equal to Last_I_Sent +/- a few amps
> true, MPS is at setpoint
> false, The MPS is still ramping, something happened, or the
> MPS tripped and the Last_I_Sent was not updated. (Interlock?)
> or the window is too small. Determine what to do.
> I am unsure of what you are suggesting. I will implement a
> condition where the loop stops if there is an interlock (as per
> comment #1) and can add a case where the program continues to the
> next rung if the PSU_Ready is True, in the event that the window
> is too small. Any other problem that could arise seems like it
> would be related to the PSU itself, not the program. The program
> does not ramp the PSU and stop ramp only if the current falls
> within the window. The PSU will stop at the set point given (no
> runaway condition possible).
>
> 8. Compare Q1_I_Target to Last_I_Sent to determine ramp direction
> instead of the analog I_coarse.
> Q1_I_Target and Last_I_Sent cannot be compared for ramp direction,
> as they will be the same value as each other on the ladder logic
> when the regulation routine is enabled.
>
> Regards,
> Amanda
>
> ------------------------------------------------------------------------
> *From: *"Amanda Hoebel" <amandah at jlab.org>
> *Sent: *Wednesday, September 26, 2018 10:04:46 AM
> *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
>
> ------------------------------------------------------------------------
> *From: *"Mike Fowler" <fowler at jlab.org>
> *To: *"dsg-hallc controls" <dsg-hallc_controls at jlab.org>
> *Sent: *Tuesday, September 25, 2018 10:37:25 AM
> *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
> Hi,
>
> Comments.
>
> The ability to manually input a current and send it without a MOL
> value has been removed.
> Must be included.
>
> Cheers,
> Mike
>
>
>
> On 9/20/2018 9:12 AM, Amanda Hoebel wrote:
>
> Hi Mike,
>
> I have attached pdfs of the field regulation routine for HMS
> Q1. If this is correct I will make the routines for HMS Q2
> and Q3, and for the quads in SHMS.
>
> Regards,
> Amanda
>
>
> _______________________________________________
> Dsg-hallc_controls mailing list
> Dsg-hallc_controls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls
>
>
>
> _______________________________________________
> Dsg-hallc_controls mailing list
> Dsg-hallc_controls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls
>
>
>
> _______________________________________________
> Dsg-hallc_controls mailing list
> Dsg-hallc_controls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls
>
>
>
> _______________________________________________
> Dsg-hallc_controls mailing list
> Dsg-hallc_controls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls
>
>
> _______________________________________________
> Dsg-hallc_controls mailing list
> Dsg-hallc_controls at jlab.org
> https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/dsg-hallc_controls/attachments/20180928/a7987844/attachment.html>
More information about the Dsg-hallc_controls
mailing list