Metadata FieldDocument Information
StatusDraft
Created2026-11-24
Last Updated2026-11-24
AuthorDavide Cuneo
Rev. #1.0
ReviewersDavide

Introduction and Context

This document describes how to use the simulated FGC3 available at FREIA to learn the operation of the power converters before working on a real converter and magnet. The simulator appears in the control system as a device called SPARE, and it is operated from the same CS-Studio interface used for the real converters. It behaves like a real FGC3, but nothing is connected to it: it is therefore the safe place to try the commands, make mistakes and understand what each button does.

The document is written as a guided exercise. It follows the same steps as the short circuit test of a power converter, described in 5. Short circuit test of a COMBO power converter, and for each step it reports what was observed during the first session on the simulator, carried out in November 2026.

It is important to keep in mind that the interface also contains screens acting on the real converters, reachable from the tabs on the left of the window (for example Operator and Engineer). During this exercise only the SPARE device in SIMULATION must be used. Writing values is possible only from the main computer in the control room: when the interface is opened from a remote computer, all the fields are shown but are read-only.

Required Equipment

Carrying out this exercise requires:

  • access to the main computer in the control room, where the CS-Studio interface can write values;
  • the FGC screen of CS-Studio, with the SPARE device shown in SIMULATION (yellow label at the top of the screen).

No hardware is involved: the converter, the load and the measurements are all simulated.

Phase 1: Understanding the FGC Screen

The FGC screen, shown in Figure 1, is organised in five zones.

Figure 1: The FGC screen in CS-Studio, with the SPARE device in SIMULATION.

The Settings zone, at the top left, is the one used most of the time. It contains the parameters of the ramp (REF:RAMP:INITIAL, FINAL, LINEAR_RATE, ACCELERATION and DECELERATION), the buttons RAMP, RUN and ABORT, the selection of the load, the state bar Off / Standby / Idle, the readings of current and voltage and the status of the converter. In this zone the grey column is the value to be written, while the column on the right is the value read back from the FGC.

The FGC Start-up Setup zone, on the right, runs an automatic sequence of commands for the start-up of the converter on a resistive load, described in Phase 4. The Controls zone, at the bottom left, contains the same commands one by one: mode of the converter, selection of the DCCT, regulation mode, type of function, parameters of the test sine and selection of the load, plus the buttons DEVICE RESET and VS RESET. The zone at the bottom centre shows the status of the data, of the four ADC channels (A to D) and of the two DCCTs, while the plot at the bottom right shows the measured current versus time.

The correspondence between the main elements of the screen and the commands of the FGC terminal is the following:

Screen elementTerminal equivalentMeaning
REG:MODE = V / I (Controls)s reg.mode v / s reg.mode iRegulate the voltage or the current
State bar: Idles pc ilSwitch on and go to IDLE
State bar: Offs pc ofSwitch off
Load selection (LOAD_2)s load.select 2Select the load
RAMPs ref.func.type ramp (?)Arm the ramp
RUNs ref.runStart the armed function
ABORTs ref.abort (?)Stop the running function; the converter stays on

The readings that are worth following during the exercise are I_MEAS and I_REF (measured current and current reference), V_MEAS and V_REF (measured voltage and voltage reference), PC State and STATE_VS (state of the converter and of the voltage source) and I_DIFF_MA, which is the difference between the measurements of the two DCCTs, expressed in mA; on the simulator it read between 67 and 90 mA.

A small indicator labelled NONE Mode sits below the state bar. It is green when no reference function is running and the converter holds a constant reference, and it turns black while a function, such as a ramp, is running. At the end of the function it turns green again after about one second. In practice, a new command should be given only when this indicator is green.

Note

Numeric fields are written only when Enter is pressed. If the operator clicks elsewhere, the field goes back to its previous value without any warning. Always check the read-back column after writing a value.

Phase 2: Start-up in Voltage Mode

The first part of the exercise reproduces the start-up used on the real converter during the short circuit test. Before starting, the operator checks that the load LOAD_2 is selected, both in the Settings zone and in the field LOAD:SELECT of the Controls zone, that the converter is OFF and that NO FAULTS is displayed. A yellow WARNING is normal on the simulator and can be ignored.

The regulation mode is then set to voltage, selecting V in the field REG:MODE of the Controls zone, and the converter is switched on by clicking Idle in the state bar. The converter goes to IDLE, and STATE_VS and PC State change accordingly.

With the converter in IDLE, a ramp in voltage is prepared in the Settings zone, writing the following values and pressing Enter after each of them: REF:RAMP:INITIAL = 0, REF:RAMP:FINAL = 0.3, REF:RAMP:LINEAR_RATE = 0.01 V/s, and ACCELERATION and DECELERATION = 0.2 V/s². The ramp is armed by clicking RAMP, which changes the indicator from Not ARMED to ARMED, and started by clicking RUN.

At 0.3 V the simulator showed a current of about 150 A. The simulated load is therefore a pure resistance of about 2 mΩ.

The simulator does not reproduce the energy extraction

On the real circuit, with the energy extraction in series, a voltage of 0.3 V gives practically 0 A, because the IGBT needs about 1.2 V before it conducts (see 5. Short circuit test of a COMBO power converter). The simulator models only the resistance of the load, so the current rises immediately. What the simulator does show clearly is that on a few mΩ a very small voltage gives a large current: on the real circuit, once the threshold is passed, every 0.1 V adds tens of amperes, and the voltage must be raised in small steps.

Phase 3: Operation in Current Mode

Once the current flows, the regulation mode is switched to current by selecting I in the field REG:MODE. The current stays constant, and from this moment the FGC regulates the current: all the values of the ramp are now expressed in amperes. A ramp in current can then be run, for example from the present 150 A to 200 A, with a linear rate of 10 A/s. As a rule of thumb, set the acceleration and the deceleration to half the linear rate.

The converter is then switched off by clicking Off in the state bar.

Note

On the real FGC the regulation mode goes back to I after every switch-off.

As a counter-check, the converter can then be started directly in current mode: REG:MODE is set to I, the converter is brought to Idle, and a ramp to 50 A is run with a linear rate of 10 A/s and acceleration and deceleration of 5 A/s². On the simulator the current reached 50 A immediately, at about 0.1 V, which again corresponds to 2 mΩ. On the real circuit the same direct start does not work, because of the threshold of the energy extraction: the problem lies in the circuit, not in the FGC.

The last test of this phase concerns the ABORT button. A ramp from 50 A to 300 A is run at 5 A/s, with acceleration and deceleration of 5 A/s², and ABORT is pressed around 150 A. It can be observed that the current stopped at about 170 A, after a delay of a few seconds; the converter stayed in IDLE at constant current, and the NONE Mode indicator turned green again. The overshoot comes from the delay of the command through the interface, the network and the FGC, plus the deceleration of the ramp, and it grows with the speed of the ramp.

ABORT is not an emergency stop

ABORT stops the running function, but the current keeps changing for a while after the button is pressed, and the converter stays on. To stop everything, the converter must be switched Off, or the hardware protections and interlocks must act.

To finish, the current is ramped down from the present value to 10 A, with a linear rate of 10 A/s and acceleration and deceleration of 5 A/s², and the converter is switched off by clicking Off once the NONE Mode indicator is green. The ramp down behaved exactly like the ramp up.

Phase 4: The Automatic Start-up Sequence

The FGC Start-up Setup zone runs a sequence of commands that reproduces automatically the start-up on a resistive load with energy extraction. After a reset of the logs (step 0), the sequence switches the converter off and on and sets the regulation mode to voltage (steps 1 to 4). It then prepares a ramp in voltage from 0 to 1.3 V at 0.01 V/s, with acceleration and deceleration of 0.2 V/s² (steps 5 to 9), arms it and starts it (steps A and B), and enables the abort of the sequence (step C). At this point it waits for the current to rise, which happens when the energy extraction starts to conduct. Once the current is there, it switches the regulation mode to current (step D), disables the abort of the sequence and stops the voltage ramp (steps E and F).

The numbers written by the sequence into the PVs (for example 2 and 0 for MODE:PC, 1 and 0 for REG:MODE) are indices of the possible choices; their exact meaning is not known (?). The values in the column on the left (0.0, 2.0, 5.0, 10.0) are probably waiting times in seconds between the steps (?). The button Reset Sequence resets the sequence.

The sequence applies the same method described in the short circuit test procedure: start in voltage, wait for the current, then switch to current regulation. It is recommended to carry out the manual exercise first, in order to understand each step.

Feedback

Found an error or something outdated in this note? Please contact Davide Cuneo (davide.cuneo@physics.uu.se).