[Dsg-hallc_controls] Quadrupole field regulation

Mike Fowler fowler at jlab.org
Thu Nov 8 10:01:19 EST 2018


Hi,

Please send a larger version of the current loop 1.  11x17?
It is difficult to read.

Thank you,
Mike




On 11/6/2018 4:10 PM, Amanda Hoebel wrote:
> Hi Mike,
>
> Attached are PDFs for the current regulation function block diagrams 
> and ladder logic for Q1 HMS.  Let us know if you find anything in the 
> program that is not correct.
>
> Regards,
> Amanda
>
>
> ------------------------------------------------------------------------
> *From: *"Mike Fowler" <fowler at jlab.org>
> *To: *"dsg-hallc controls" <dsg-hallc_controls at jlab.org>
> *Sent: *Thursday, October 18, 2018 11:42:23 AM
> *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
>
> >>What should happen to the power supply should an interlock occur? 
> Meaning if an interlock occurs and the regulation is stopped...
>
> If an interlock should occur the MPS will ramp down. The regulation 
> program should stop and return to standby, waiting for new input from 
> the operator.
>
> Cheers,
> Mike
>
>
>
>
>
> On 10/18/2018 9:45 AM, Amanda Hoebel wrote:
>
>     Hi Mike,
>
>     It does look like there was a tag and operator missing from the
>     pdf I had sent you. They exist in the version of the program I was
>     looking at.  Before I send the newest version I have a question on
>     one of the program requirements. In your comments you stated that:
>
>     1. If an Interlock occurs the regulation is not stopped. Need this.
>     2. If the MPS is ramping and the operator stops the regulation,
>     the I_coarse value should be sent to the MPS. (Stop where it is)
>
>     What should happen to the power supply should an interlock occur?
>     Meaning if an interlock occurs and the regulation is stopped, are
>     you saying the I_coarse value should be sent to the MPS just as it
>     should be done if the operator stops the regulation?
>
>     Regards,
>     Amanda
>
>
>     ------------------------------------------------------------------------
>     *From: *"Mike Fowler" <fowler at jlab.org>
>     *To: *"dsg-hallc controls" <dsg-hallc_controls at jlab.org>
>     *Sent: *Friday, September 28, 2018 3:45:32 PM
>     *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
>     >>>the operator inputs an I_target value and then selects to start
>     regulation, the I_target value will be stored as Last_I_sent
>
>     Perhaps I am missing the code where start regulation triggers
>     where Last_I_Sent is made equal to I_target.
>
>     Mike
>
>
>
>
>
>     On 9/28/2018 3:02 PM, Amanda Hoebel wrote:
>
>         If the operator inputs an I_target value and then selects to
>         start regulation, the I_target value will be stored as
>         Last_I_sent (on the function block diagram). On the ladder
>         logic, I_coarse is basically being compared to I_target, since
>         I_target and Last_I_sent would be the same value. The program
>         would still work with the PSU starting from zero.
>
>
>         ------------------------------------------------------------------------
>         *From: *"Mike Fowler" <fowler at jlab.org>
>         *To: *"dsg-hallc controls" <dsg-hallc_controls at jlab.org>
>         *Sent: *Friday, September 28, 2018 2:28:11 PM
>         *Subject: *Re: [Dsg-hallc_controls] Quadrupole field regulation
>
>         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
>
>
>
>         _______________________________________________
>         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
>
>
> _______________________________________________
> 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/20181108/3f782cb7/attachment-0001.html>


More information about the Dsg-hallc_controls mailing list