Sorensen.Source¶
Code author: Kevin Kennedy <protonyx@users.noreply.github.com>
-
class
labtronyx.drivers.Sorensen.Source.d_XFR(resource, **kwargs)[source]¶ Driver for Sorensen XFR Series DC Power Supplies
-
getProtectionState()[source]¶ This command is used to query the executing state of the protection circuitry. If one of the states has tripped, the protection state can be reset by turning the output off and then back on.
Returns: tuple (OVP, OCP)
-
getTerminalCurrent()[source]¶ Get the measured current from the terminals of the instrument
Returns: float
-
getTerminalPower()[source]¶ Get the measured power from the terminals of the instrument
Returns: float
-
getTerminalVoltage()[source]¶ Get the measured voltage from the terminals of the instrument
Returns: float
-
setCurrent(current)[source]¶ Set the output current level
Parameters: current (float) – Current (in Amps)
-
setProtection(voltage=None, current=None)[source]¶ Enable the protection circuitry. If any of the parameters is zero, that protection is disabled.
Parameters:
-
setVoltage(voltage)[source]¶ Set the output voltage level
Parameters: voltage (float) – Voltage (in Volts)
-
setVoltageSlewRate(step, interval)[source]¶ Set the voltage slew rate as a function of change in the output voltage and a given time interval. The maximum slew rate is 1% rated voltage/150us. The slew rate is saved upon power off and restored at power on. Output ON/OFF and shutdown are not affected by the programmable slew rate. These functions have a slew rate of 1%/20ms.
The range of output voltage is 5% - 0.1% of rated voltage. The range of time interval is 1.5 s - 150 us. The negative slew rate is limited by the discharge rate of the output capacitors.
During current share, slaves operate with their default slew rate. The master operates at its programmed slew rate. Hence a programmable slew rate for the system is achieved. However, this slew rate is limited by the speed of the control loop. The slaves will return to their programmed slew rate when they exit current share slave operation.
The slew rate error increases as the slew rate increases.
Example:
Set a slew rate of 100V/10s. This slew rate is 1V/0.1s, which is within the acceptable range. >>> setVoltageSlewRate(1, 0.1)
Note:
Check both the voltage step and the interval to ensure that you get the required slew rate
Parameters: - step – voltage-step (units of Volts)
- current (float) – time interval (seconds)
-