Products > Test Equipment

Siglent SPD3303X PSU Set lower current cutoff limit to charge batteries???

<< < (3/3)

tautech:

--- Quote from: mawyatt on May 13, 2024, 01:29:06 am ---We just used Python from the usual development environment on a laptop. See Python code provided and see how we accessed the SDP3303X.

Best,

--- End quote ---
:-+
Simple enough to this non-coder.  :palm:

From your Python code:
#Default USB Port for SDP3303X, this has no RS232 port
    SPD3303X = "USB0::0xF4EC::0x1430::SPD3XIDC5R0609::INSTR"
    serial1.open(SPD3303X)#Open USB SDP3303X
    #Reset
    serial1.send_msg('*RST')
    #Identify Power Supply
    serial1.send_query_msg('*IDN?', Timeout_default)
    msgBuf= serial.msg_buf
    print (msgBuf)
    print()   
       
    #Set PS OFF
    serial1.send_msg('OUTP CH1,OFF')
    serial1.send_msg('OUTP CH2,OFF')
    serial1.send_msg('OUTP CH3,OFF')
    #Set PS Default Voltage to Zero
    serial1.send_msg('CH1:VOLT 0')
    time.sleep (1)
   
    #Set Default Current Limit for 10W with 10 Ohm Resistor (1 Amp)
    serial1.send_msg('CH1:CURR 1')

t1d will set his PSU output to max desired values and maybe use code to turn output ON then have it monitor the PSU until his OFF current is reached.


So how would we express ?
If current is less than 200mA = ('OUTP CH1,OFF')


Simple enough for t1d to test any code by using lesser values and a pot to reduce the load below the Ch OFF trigger point.

mawyatt:

--- Quote from: t1d on May 16, 2024, 12:08:42 pm ---tautech is doing a great job in tracking down a solution........

tautech is also checking with some other sources. Thanks tautech, for all of your amazing help!

--- End quote ---

One of the unknown advantages to new folks that haven't been lurking here long. Rob (tautech) is a great resource for folks that have Siglent gear, and always willing to help!!

Same goes for Paul from R&S, but haven't seen anything similar of the Rigol folks which is unfortunate as Rigol could directly benefit from having a knowledgable rep here.

Best,

mawyatt:

--- Quote from: tautech on May 16, 2024, 02:43:23 pm ---
--- Quote from: mawyatt on May 13, 2024, 01:29:06 am ---We just used Python from the usual development environment on a laptop. See Python code provided and see how we accessed the SDP3303X.

Best,

--- End quote ---
:-+
Simple enough to this non-coder.  :palm:

From your Python code:
#Default USB Port for SDP3303X, this has no RS232 port
    SPD3303X = "USB0::0xF4EC::0x1430::SPD3XIDC5R0609::INSTR"
    serial1.open(SPD3303X)#Open USB SDP3303X
    #Reset
    serial1.send_msg('*RST')
    #Identify Power Supply
    serial1.send_query_msg('*IDN?', Timeout_default)
    msgBuf= serial.msg_buf
    print (msgBuf)
    print()   
       
    #Set PS OFF
    serial1.send_msg('OUTP CH1,OFF')
    serial1.send_msg('OUTP CH2,OFF')
    serial1.send_msg('OUTP CH3,OFF')
    #Set PS Default Voltage to Zero
    serial1.send_msg('CH1:VOLT 0')
    time.sleep (1)
   
    #Set Default Current Limit for 10W with 10 Ohm Resistor (1 Amp)
    serial1.send_msg('CH1:CURR 1')

t1d will set his PSU output to max desired values and maybe use code to turn output ON then have it monitor the PSU until his OFF current is reached.


So how would we express ?
If current is less than 200mA = ('OUTP CH1,OFF')


Simple enough for t1d to test any code by using lesser values and a pot to reduce the load below the Ch OFF trigger point.

--- End quote ---

KISS but not too Simple (KISS-BNTS) is the basis for just about everything we do, especially wrt coding ;)

Best,

tautech:

--- Quote from: mawyatt on May 16, 2024, 03:03:38 pm ---Rob (tautech) is a great resource for folks that have Siglent gear, and always willing to help!!

--- End quote ---
Thanks Mike and in cases like these I see a real need when a programmable instrument doesn't support the exact needs....guess it's the practical side of the way I think.
 
I've charged many many SLA's and just manually stopped the charge when the charge rate has dropped away from Vset.

Code to stop charge when a limit has been set could be quite useful for a set and forget charge that I might do with my 40V 60A capable SPS5042X and 24V systems.

KISS-BNTS code is what we need......

t1d:
Three cheers for mawyatt and tautech!!!
Woot! Woot! Woot!

Thanks to everyone, for your help and participation!

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod