output voltage and output current are not synchronized

9 years 5 months ago - 9 years 5 months ago #29529125 by Beginner
BatteryVolts = getvalue(_V, 2) 
setcommand(_G, 1, 200) 
wait(100) 
CourantBat = getvalue (_BATAMPS, 1) 
Courant = getvalue(_A, 1) 
wait(100) 

setcommand(_G, 1, 0) 
wait(3000) 'temps d'attente

print ("Batterie = ",BatteryVolts," Courant Bat = ",CourantBat ," Courant = ",Courant, "\r") 

wait(100)




Current = yellow and Voltage = white.

I measured the current value of current with clamp ammeter and of voltage HDC2450. There is one problem with these measures. The current and Voltage are not synchronized. The yellow current curve, we see that the current saturates for 100 ms and corresponds to the PWM signal applied. The output voltage must be appeared during 100 ms (the length of the saturation current). But we see that the voltage is applied during the rise time and fall time!

Is there a parameter to change for the voltage and current which are synchronized.
Attachments:

Please Log in or Create an account to join the conversation.

9 years 5 months ago #29529126 by Griffin Baker
Replied by Griffin Baker on topic output voltage and output current are not synchronized
Try removing the first wait(100)

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds