【Program control Delta SM3300 series power supply】

When we are doing embedded software development, we will do various tests in combination with hardware or products. On this day, I received a test request, requiring me to linearly increase the product voltage from 9V to 18V, increasing by 0.1V every 20s. In fact, I am usually a lazy person. Generally, if it is easy to operate by hand, I will not use my brain. But this is too much, so I want to automate it.

PC software and operation manual download

First of all, we open the product link https://delta-elektronika.nl/products/sm3300-series on Delta’s official website
insert image description here
and pull down to enter the Download interface to download PC software and programming manuals
insert image description here
. But our company does not allow software downloads, so I use web version

Delta power supply configuration

  1. Connect the computer and power supply with an Ethernet cable.
  2. Configure the IP address on the power supply device
    Click Menu -> Interface -> LAN -> DHCP , select Enable , and the IP address will be automatically configured.
    insert image description here
    If you choose Disable, you need to manually configure the IP, and make sure it is on the same network segment as the PC.
  3. Selecting a Control Source on the Power Supply On
    the power supply, click Menu -> Configuration -> Source .
    Set Vsetting and Isetting respectively . Because I only need to use the program to control the voltage, I choose Seq for Vsetting , and the default front for Isetting , which is the control of the power equipment panel.

Create programming sequence

  1. Create a new txt file and save it as *.seq* type. Be careful not to save it as .seq.txt here.
  2. Edit a program as follows
1 sv=9
2 sc=50
3 w=60
increase:
4 inc sv,0.1
5 w=20
6 cjl sv,18,increase
7 w=1
8 end

Note:
a. The preceding 1 2 3 4 are required
b. sv = 9It means that the power supply voltage is set to 9V.
c. sc=50It means to set the power supply current to 50A, which is not practical here. I write it here just to tell you the current setting command.
d. w=60means to wait for 60s.
e. increase:Here is a label, :which is the sign of the label. .
f. inc sv,0.1means to increase the power supply voltage by 0.1V
g. cjl sv,18,increasemeans to jump to if sv<18V label increase. cjlIt is compare jump lower, and the corresponding command is cjg, compare jump greater. See the programming manual for details.
insert image description here
h. The last end indicates the end of the program. Here, it should be noted that there must be a blank line after end , otherwise an error will always be reported

Power control via web seq

  1. Check the IP address on the power supply unit. Menu -> Interface -> LAN -> Address .
  2. Connect the power supply and computer with a network cable.
  3. Select the control source on the power supply unit. On the power supply, click Menu -> Configuration -> Source . Set Vsetting to Seq, and Isetting still uses the default front, which is the power device panel control.
  4. Open the PC browser, enter the IP address, you can control
    insert image description here
    insert image description here

control results

insert image description here

Guess you like

Origin blog.csdn.net/shuting7/article/details/130636100