EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: ripper121 on November 23, 2016, 09:42:08 am

Title: LTC3454 PWM
Post by: ripper121 on November 23, 2016, 09:42:08 am
Hello :),
i want to use the LTC3454 for my Flashlight as a 1A Led Driver.
For this i want to controle the LTC3454 via a PWM signal from a attiny85

http://cds.linear.com/docs/en/datasheet/3454fa.pdf (http://cds.linear.com/docs/en/datasheet/3454fa.pdf)
(http://content.screencast.com/users/Ripper_121/folders/Jing/media/64b34001-3acf-4b2f-8d8a-b11191e19650/2016-11-23_1039.png)
Page 11 shows how to connect this PWM signal. But i dont know which Resistor and Which Capacitor Values i should use for this.

Also there are 2 ISET's. Is the first for the 0-500mA range and the second for the 500-1000mA?
If yes, is the PWM signal for 500mA ISET1 PWMsignal 0-100% and for 1000mA ISET1 PWMsignal 100% + ISET2 PWMsignal 0-100%?
Title: Re: LTC3454 PWM
Post by: NottheDan on November 23, 2016, 10:38:59 am
Also there are 2 ISET's. Is the first for the 0-500mA range and the second for the 500-1000mA?
Err, no. Look at page 8 on the data sheet the table at the bottom right.


EN1EN2ILOAD (A)
GNDGND0 (SHUTDOWN)
VINGND3850 • 0.8V/RISET1
GNDVIN3850 • 0.8V/RISET1
VINVIN3850 • (0.8V/RISET1 + 0.8V/RISET2)
Title: Re: LTC3454 PWM
Post by: ripper121 on November 23, 2016, 10:42:20 am
Yeah but this is no PWM controle!
And i dont think i can put a PWM signal to EN1 and EN2, because then they hadn't wrote a extra info about PWM.
Title: Re: LTC3454 PWM
Post by: kxenos on November 23, 2016, 11:07:34 am
The resistor which is shown as Riset/100 and the capacitor form a low pass filter that converts the PWM signal into an analog voltage. Say you have duty cycle 20% and a 5V PWM signal then you will have about 0.2*5=1V on average. For this to work ok the f-3dB of this filter has to be at least 2 orders of magnitude lower than the freq of the PWM signal. For PWM freq of 10kHz that would be 1/(2piRC)=100.
Title: Re: LTC3454 PWM
Post by: danadak on November 23, 2016, 12:51:01 pm
PWM Filter design, attached.



Regards, Dana.
Title: Re: LTC3454 PWM
Post by: ripper121 on November 23, 2016, 01:11:46 pm
So i found a tool to calc this RC Filter.

http://sim.okawa-denshi.jp/en/PWMtool.php (http://sim.okawa-denshi.jp/en/PWMtool.php)