+ Post New Thread
Results 1 to 14 of 14

13th September 2017, 15:06 #1
 Join Date
 Aug 2016
 Posts
 14
 Helped
 0 / 0
 Points
 285
 Level
 3
Analog PWM Efficiency calculation related difficulties.
Hi...
Recently I made a PWM circuit to drive A Strip of LED.
The Circuit consists LM324N and drive a mosfet at 200Khz.
As I know that to calculate efficiency of a device I need to calculate the input power and the output power. Ef = (Output Power/ Input Power)*100.
But in my case in put power is 6V x 1A = 6W and what about the output power? as It's provide pwm signal in different duty cycle controlled by the pot?
What is the best way to calculate the output power?
I used the circuit provided in the below link. Changed the capacitor and resistor to get the desired frequency.
http://www.pcsilencioso.com/cpemma/pwm.html

13th September 2017, 15:22 #2
Awards:
 Join Date
 Jul 2009
 Location
 Aberdyfi, West Wales, UK
 Posts
 11,375
 Helped
 3764 / 3764
 Points
 69,588
 Level
 64
Re: Analog PWM Efficiency calculation related difficulties.
Are you sure you mean 200KHz, the schematic says "30  200Hz is normally used".
I would suspect 200KHz is too fast for an LM324 to fully switch and drive a capacitive load.
Brian.PLEASE  no friends requests or private emails, I simply don't have time to reply to them all.
It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.

13th September 2017, 17:57 #3
 Join Date
 Feb 2012
 Location
 L.A. USA Zulu 8
 Posts
 3,438
 Helped
 804 / 804
 Points
 17,543
 Level
 32
Re: Analog PWM Efficiency calculation related difficulties.
The output power is the output current times the output voltage times the dutycycle.
Zapper
Curmudgeon Elektroniker

13th September 2017, 17:57

13th September 2017, 22:53 #4
Awards:
 Join Date
 Apr 2014
 Posts
 11,149
 Helped
 2617 / 2617
 Points
 55,114
 Level
 57
Re: Analog PWM Efficiency calculation related difficulties.
Hi,
in my case in put power is 6V x 1A = 6W
Klaus

13th September 2017, 22:53

14th September 2017, 04:43 #5
 Join Date
 Sep 2007
 Location
 Richmond Hill, ON, Canada
 Posts
 6,633
 Helped
 1660 / 1660
 Points
 34,278
 Level
 45
 Blog Entries
 7
Re: Analog PWM Efficiency calculation related difficulties.
No one calc. what you have offer without specs of LEDs and the LM324 has inadequate slew rate to drive a square wave unless using a low frequency such as 1~10kHz. The best way to measure it is with an Ammeter before a huge capacitor across V+ to 0V. Or use a current sense R of 50m ohms and scope the current.
A good design question lists your overall requirements™ The best question deserves a better answer. ™
... Tony Stewart EE since 1975

14th September 2017, 05:54 #6
 Join Date
 Aug 2016
 Posts
 14
 Helped
 0 / 0
 Points
 285
 Level
 3
Re: Analog PWM Efficiency calculation related difficulties.
Hi...
Yes you are right it's operating at 200Hz not Khz... My mistake.
   Updated   
Hi...
I have a bench power supply, I configured the Voltage and current at 6V and 1 Amp. The LED strip glowing perfect on 100% duty cycle. I measured the Voltage and current at 100 % Duty cycle is 5.96V and current is 0.93A...
I don't know how to calculate the wattage 1090% duty cycle.
   Updated   
   Updated   
Hi...
Thanks for your reply.
I purchased the led strip from Local Market.
This is a 3W LED and it's voltage is 6V.

14th September 2017, 05:54

14th September 2017, 06:43 #7
Awards:
 Join Date
 Apr 2014
 Posts
 11,149
 Helped
 2617 / 2617
 Points
 55,114
 Level
 57
Re: Analog PWM Efficiency calculation related difficulties.
Hi,
What power loss can one expect?
* loss in the Mosfet
* loss in the driving circuitry.
Loss in the Mosfet can be switching loss and conductive loss. Switching loss at 200Hz should be negligible. Conductive loss is the voltage across the Mosfet in ON state (scope) times voltage times duty cycle.
Loss in the rest of the circuitry may come from a power supply circuit including smoothing bulk capacitor. It will be shown as DC current when the PWM is in OFF state. This power loss will be current x voltage.
****
Masuring PWM'd current with a DVM is somehow tricky.
There are meters that show the average current. On a square wave this is: peak_current x duty_cycle.
There are meters that show true RMS_including DC. They show peak_current x sqrt(duty_cycle)
There are meters that show true RMS of a high pass filtered current. I don't know the exact formula for this.
And there are meters that show some value that I call "fake RMS". They show only correct RMS values of clean sine shaped currents.
They may use "peak value" method or "average of a rectified value" method. The exact formula depend on the meter and usually is unknown.
> Either use a meter with known method and known formula or use a scope.
Modern scopes often have mathematical functions .... they can exactely calculate the power from random current and voltage waveforms.
Klaus
1 members found this post helpful.

14th September 2017, 08:09 #8
 Join Date
 Aug 2016
 Posts
 14
 Helped
 0 / 0
 Points
 285
 Level
 3
Re: Analog PWM Efficiency calculation related difficulties.
Hii...
Thanks...
I measured RMS of output Voltage and Output Current and calculated the wattage depending on that. In 10% Duty cycle it's showing 19% Efficient.
Let me Demonstrate what actually I want:
I Want to Drive A LED Strip of 3W 6V from a 7.48.4V 2S2P 4000mAH Lipo battery. I want to calculate the time backup if I use analog PWM using opAmp.
Is there any better way to make an efficient dimmer? Should I use Integrated Circuit which generate pwm which will be efficient?
Need Advice.

14th September 2017, 08:30 #9
Awards:
 Join Date
 Apr 2014
 Posts
 11,149
 Helped
 2617 / 2617
 Points
 55,114
 Level
 57
Re: Analog PWM Efficiency calculation related difficulties.
Hi,
I don't think this value is true.
Expect >80%.
RMS voltage and RMS current is not usefull for this, because you don't have an ohmic load with constant V to I relationship.
An indication for low efficiency is that the switching circuit becomes warm.
With 19% it will be not warm, but hot. Imagine: 19% means that 81% is heat. This is about four times the power of the LED.
Klaus
1 members found this post helpful.

14th September 2017, 10:01 #10
 Join Date
 Aug 2016
 Posts
 14
 Helped
 0 / 0
 Points
 285
 Level
 3
Re: Analog PWM Efficiency calculation related difficulties.
Hmmm... you are right...
I don't have proper DMM which will show me the proper Wattage of a chopped signal, nor I have a proper oscope who will calculate the power output mathematically. My oscope is more than 56 years old and no option to calculate the wattage.
I am also confused about how to calculate the effective wattage of the PWM out. :(

14th September 2017, 10:01

14th September 2017, 11:29 #11
Awards:
 Join Date
 Apr 2014
 Posts
 11,149
 Helped
 2617 / 2617
 Points
 55,114
 Level
 57
Re: Analog PWM Efficiency calculation related difficulties.
Hi,
we gave you several methods and calculation formulas.
> averaging methods are good, RMS not.
> any scope (without mathematics function) picture can give a good estimation. (btw: what scope do you have?)
> calculate the loss is good because: input_power = output_power + loss
Klaus
1 members found this post helpful.

14th September 2017, 11:39 #12
 Join Date
 Jan 2008
 Location
 Bochum, Germany
 Posts
 41,515
 Helped
 12665 / 12665
 Points
 239,611
 Level
 100
Re: Analog PWM Efficiency calculation related difficulties.
I'm under the impression that your "efficiency" consideration are flawed from the start.
Power is average of instantaneous voltage multiply instantaneous current. No chance to determine the input or output power of a pulsed signal with DMM voltage and current measurements. That's only possible for DC signals without current or voltage ripple.
Applying PWM to a load with constant resistance (e.g. a resistive heater, also roughly applicable to LED stripes with series resistor) gives rated power multiply duty cycle.
1 members found this post helpful.

14th September 2017, 13:09 #13
 Join Date
 Aug 2016
 Posts
 14
 Helped
 0 / 0
 Points
 285
 Level
 3
Re: Analog PWM Efficiency calculation related difficulties.
Hi...
Thanks I will go fore the Average method.
BTW, I measured my DMM with function generator. It's actually providing Peakvoltage x duty cycle.
I use PDS2000 from OWON. As a student it was a huge investment that time. :D

15th September 2017, 07:23 #14
 Join Date
 Feb 2012
 Location
 L.A. USA Zulu 8
 Posts
 3,438
 Helped
 804 / 804
 Points
 17,543
 Level
 32
Re: Analog PWM Efficiency calculation related difficulties.
For best efficiency you need to use PWM with an proper sized inductor in series with the load.
Otherwise the PWM efficiency is no better than a linear regulator for the same average LED current.Zapper
Curmudgeon Elektroniker
+ Post New Thread
Please login