Thursday, 31 July 2014

Week 15 : Success in Controlling MX45-3Pi Power Supply

 We manage to solve all the problems we encounter last week with the new driver from CAPRA bench. These are the VIs necessary for our programming.


This is an example of CONFIGURE ALL VOLTAGE VI, the string INST:COUP ALL is required to control all the 3 phase voltages together. We were unable to access the low level VI previously but with this new driver we are able to access and modify low level VI within the driver.


 This VI is used to control the slew rate of all 3 phase voltages.



We configure the voltage slew rate to 20V/s for safety purposes. When we  enable the output it will delay for 0.5s before ramp up the 3 phase voltages from 0 to 235V with a rate of 20V/s . Case structure is used to select the value of output voltage automatically when the users selects the program.


This portion enables the power supply to reduce to all the 3 phase voltages to 0V and disable the output automatically. In order to ramp down the voltage to 0V in exact time, we create 2 local variables: #3 VOLTAGE 1 OUTPUT LIMIT (from the diagram below) & RATE (3rd diagram) and change it to read. After that we use  #3 divide by RATE  and plus 1.5 to get the total delay time before disabling the output so that the voltage can reach 0V before the output is being disabled.




After that we combine our power supply software with the 3 instruments software for testing, the results are shown below :










Note: The above result is not from the latest program. We have finish our main program and will test it out when the bench is available.


Setting up GATU :

















No comments:

Post a Comment

Note: only a member of this blog may post a comment.