Project

General

Profile

Bug #7284

MECAR regulation problem upon attempted turn on after a power outage

Added by Kevin Martin over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
11/05/2014
Due date:
% Done:

100%

Estimated time:
Spent time:
Duration:

Description

After a power outage (on 11/04/2014) for most of the Accelerator Complex (but not MECAR), upon trying to establish a MI ramp, MECAR was show large errors on the way up and down the ramp. It was discovered that the ramp was running out of voltage.

The maximum PS voltage limit in MECAR's tiers was increased to allow provide the needed voltage. But the questioned remained: why do we need more voltage all of a sudden?

The next morning (11/05/2014), while still scratching our heads, we had MECAR rebooted... the problem went away (i.e. the additional voltage was no longer needed). This lead to the hypothesis that MECAR's PPL that locks the 1440Hz interrupt to TCLK's 720Hz event became unlocked during the power outage (TCLK went away).

Attach 2.PNG (12.3 KB) Attach 2.PNG Labview VI used to change the PL Gain settings Kevin Martin, 11/06/2014 02:45 PM

History

#1 Updated by Kevin Martin over 5 years ago

  • File Attach 2.PNG Attach 2.PNG added
  • Status changed from New to Resolved
  • Assignee set to Kevin Martin
  • % Done changed from 0 to 100

The PLL Frequency gain was set to -0.001. The gain is ok to lock the PLL at boot time. However, if TCLK goes away and then comes back is was not sufficient to relock the PLL. I did some testing in the micropit (using the backup MECAR) and found that increasing the gain to -0.01 works very well to lock at boot time and after losing and recovering TCLK.

The mecar_sys.c module was modified to permanently change the PLL Frequency Gain.

#2 Updated by Kevin Martin over 5 years ago

  • Subject changed from MECAR regulation upon attempted turn on after a power outage to MECAR regulation problem upon attempted turn on after a power outage

#3 Updated by Kevin Martin over 5 years ago

  • Status changed from Resolved to Accepted

The code changes have been tested in the micropit. I will now request a time to test it in the operational MECAR.

#4 Updated by Kevin Martin almost 5 years ago

  • Status changed from Accepted to Resolved

#5 Updated by Kevin Martin almost 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF