<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Mike,<br></div><br><div>I have some questions/comments (in blue) on some of your comments for the current loop regulation.<br></div><br><div>4. If the analog signal I_coarse is less than the Last_I_Sent by even a small fraction the MOL value is used.<br></div><div><span style="color: rgb(0, 0, 255);">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?</span><br></div><br><div>7. Consider this:<br style=""> If I_coarse is equal to Last_I_Sent +/- a few amps<br style=""> true, MPS is at setpoint<br style=""> false, The MPS is still ramping, something happened, or the MPS tripped and the Last_I_Sent was not updated. (Interlock?)<br style=""> or the window is too small. Determine what to do.</div><div><span style="color: rgb(0, 0, 255);">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).</span><br></div><br><div>8. Compare Q1_I_Target to Last_I_Sent to determine ramp direction instead of the analog I_coarse.</div><div><span style="color: rgb(0, 0, 255);">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.</span><br></div><div><span style="color: rgb(0, 0, 255);"><br></span></div><div><span style="color: rgb(0, 0, 0);">Regards,<br></span></div><div><span style="color: rgb(0, 0, 0);">Amanda<br></span></div><br><hr id="zwchr"><div><b>From: </b>"Amanda Hoebel" <amandah@jlab.org><br><b>Sent: </b>Wednesday, September 26, 2018 10:04:46 AM<br><b>Subject: </b>Re: [Dsg-hallc_controls] Quadrupole field regulation<br></div><br><div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><br><hr id="zwchr"><div><b>From: </b>"Mike Fowler" <fowler@jlab.org><br><b>To: </b>"dsg-hallc controls" <dsg-hallc_controls@jlab.org><br><b>Sent: </b>Tuesday, September 25, 2018 10:37:25 AM<br><b>Subject: </b>Re: [Dsg-hallc_controls] Quadrupole field regulation<br></div><br><div><div class="moz-cite-prefix">Hi,<br>
<br>
Comments.<br>
<br>
The ability to manually input a current and send it without a MOL
value has been removed. <br>
Must be included.<br>
<br>
Cheers,<br>
Mike<br>
<br>
<br>
<br>
On 9/20/2018 9:12 AM, Amanda Hoebel wrote:<br>
</div>
<blockquote cite="mid:59817053.2238488.1537449142333.JavaMail.zimbra@jlab.org">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>Hi Mike,<br>
</div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Amanda<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Dsg-hallc_controls mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dsg-hallc_controls@jlab.org" target="_blank">Dsg-hallc_controls@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls" target="_blank">https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls</a>
</pre>
</blockquote>
<p><br>
</p>
<br>_______________________________________________<br>Dsg-hallc_controls mailing list<br>Dsg-hallc_controls@jlab.org<br>https://mailman.jlab.org/mailman/listinfo/dsg-hallc_controls</div></div></div></div></div></div><br></div></div></body></html>