在双向直流电源中,SCPI指令通常不直接提供“软启动时间”的独立设置参数,而是通过控制电压或电流的斜率(Slew Rate)或上升时间(Ramp Rate)间接实现软启动功能。以下是具体设置方法及操作示例:
软启动的核心是限制电压或电流的上升速率,避免启动时产生过大的冲击电流或电压过冲。双向直流电源通常通过以下SCPI指令实现:
plaintextSOURce:VOLTage:SLEW <value> // 设置电压变化率为<value>(如1000 V/s)
或简写为:plaintextSOUR:VOLT:SLEW 1000
plaintextSOURce:VOLTage:SLEW:STATe ON // 启用电压斜率限制
plaintextSOURce:VOLTage:SLEW? // 返回当前电压变化率(如"1000")
plaintextSOURce:CURRent:SLEW <value> // 设置电流变化率为<value>(如50 A/s)
或简写为:plaintextSOUR:CURR:SLEW 50
plaintextSOURce:CURRent:SLEW:STATe ON // 启用电流斜率限制
plaintextSOURce:CURRent:SLEW? // 返回当前电流变化率(如"50")
假设需设置双向直流电源在启动时电压从0V线性上升至24V,斜率为500 V/s:
plaintextSYSTem:REMote
plaintextSOURce:VOLTage 24
plaintextSOURce:VOLTage:SLEW 500
plaintextSOURce:VOLTage:SLEW:STATe ON
plaintextOUTPut:STATe ON
plaintextSOURce:VOLTage:SLEW? // 确认斜率值为500
SYSTem:ERRor?)排查问题。plaintextSOURce:VOLTage:SLEW 1000 // 设置电压斜率为1000 V/s
plaintextSOURce:VOLTage:RAMP 1000 // 部分型号使用RAMP替代SLEW
plaintextSOURce:VOLTage:SLEW:RATE 500 // 设置电压上升速率为500 V/s
建议:始终参考电源的编程手册或SCPI指令集,确保指令语法与参数范围符合设备规格。