How much is my average current?

Thread Starter

fjord

Joined May 10, 2012
14
For the following situation:

http://i.imgur.com/f7DM34A.png

I'm driving a solenoid and need to know what my power supply requirements are.

I measured with clamp ammeter and saw ~2A.

Can you tell me how to compute this value, and how to use it to determine my PSU requirements?
 

ScottWang

Joined Aug 23, 2012
7,400
Some clamp ammeter may not response to the real current of pwm.

Normally the I = V/R = 26.5A.
Calculating the 50%/50% PWM, I = (V/R)/(100%/50%)
So calculating the I_Pwm = (V/R)/(100%/Hi duty%)

exp: pwm Hi duty 100%
I_Pwm = (V/R)/(100%/Hi duty%)
I_Pwm = 26.5A/(100%/100%)
I_Pwm = 26.5A/1
I_Pwm = 26.5A

exp: pwm Hi duty 80%
I_Pwm = (V/R)/(100%/Hi duty%)
I_Pwm = 26.5A/(100%/80%)
I_Pwm = 26.5A/1.25
I_Pwm = 21.2A

exp: pwm Hi duty 50%
I_Pwm = 26.5A/(100%/50%)
I_Pwm = 26.5A/2
I_Pwm = 13.25A

exp: pwm Hi duty 20%
I_Pwm = 26.5A/(100%/20%)
I_Pwm = 26.5A/5
I_Pwm = 5.3A

exp: pwm Hi duty 5%
I_Pwm = (V/R)/(100%/Hi duty%)
I_Pwm = 26.5A/(100%/5%)
I_Pwm = 26.5A/20
I_Pwm = 1.325A
 

crutschow

Joined Mar 14, 2008
34,428
ScottWang's calculations are basically correct if the PWM frequency is high enough that the inductor ripple current never goes to zero. Anything above 10kHz should be fine for an inductance of 155μH.

Note that a free wheeling diode needs to be added across the solenoid (cathode to plus) for the circuit to work properly and avoid large voltage spikes across the transistor.
 

Thread Starter

fjord

Joined May 10, 2012
14
There is a diode, I didn't include it because it's not a part of the current calculation, what is shown is stripped down
 

crutschow

Joined Mar 14, 2008
34,428
There is a diode, I didn't include it because it's not a part of the current calculation, what is shown is stripped down
But it is part of the current calculation for a PWM signal. If the inductive current has nowhere to go when the transistor shuts off then the current must stop, which generates a large inductive spike at the transistor collector.
 

Thread Starter

fjord

Joined May 10, 2012
14
OH jeeze! I just realized that my drawing is very deceptive! During the period of time labeled T2, there is NO SIGNAL, it doesn't continue as the three dots would have you thinking.

That is, it's not just a simple continuous 50% duty cycle signal

It's a square wave at 33.33Hz, with a duty cycle of 2.67%, modulating another square wave at 31.25kHz with a duty cycle of about 50% (though this varies, so a solution in general terms is preferable).
 

t_n_k

Joined Mar 6, 2009
5,455
OH jeeze! I just realized that my drawing is very deceptive! During the period of time labeled T2, there is NO SIGNAL, it doesn't continue as the three dots would have you thinking.

That is, it's not just a simple continuous 50% duty cycle signal

It's a square wave at 33.33Hz, with a duty cycle of 2.67%, modulating another square wave at 31.25kHz with a duty cycle of about 50% (though this varies, so a solution in general terms is preferable).
As a rough method ......

\(\text{I_{\small{AV}}=0.0267[LF_{duty}]x\frac{0.5[HF_{duty}]x53[Volts]}{2[Ohms]}=0.354 Amp}\)
 
Top