Voltage to PWM chip (similar to class D)?

May 29, 2014 127 Replies

Folks,



Does anyone know an IC that can turn a control voltage into PWM and can handle PWM frequencies in the 50-1000kHz range? Similar to a class D driver but has to go down to DC. The changes in control would be restricted to the audio spectrum below 15kHz.



The LTC6992 does this nicely but isn't precise enough. Same with



555-style timers or switcher chips. I am looking for better 1% and ideally a lot better, including nonlinearity, drift, warts and all. A uC is not suitable either because it should be simple and I need very fine control granularity, down to around 0.1%.

Can't use short-lived consumer chips for radios and TV sets and such.


Regards, Joerg http://www.analogconsultants.com/

I can design you a chip >:-} ...Jim Thompson

| James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: skypeanalog | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

Den torsdag den 29. maj 2014 23.20.26 UTC+2 skrev Joerg:

does it have to be pwm?

not hysteretic, deltasigma or UcD ?

formatting link

-Lasse

Is it fifty or a thousand ? It makes a difference.

How about a sawtooth or triangle waveform and a comparator. Close a feedback loop around that, with a PWM to DC converter; the PWM-DC part can be made very linear.

John Larkin Highland Technology, Inc jlarkin att highlandtechnology dott com http://www.highlandtechnology.com

Den torsdag den 29. maj 2014 23.53.48 UTC+2 skrev John Larkin:

put loop around integrator,comparator and flipflop and you have deltasigma

cut down to the bone,

Version 4 SHEET 1 880 680 WIRE 496 -64 64 -64 WIRE -32 112 -96 112 WIRE 64 112 64 16 WIRE 64 112 48 112 WIRE 80 112 64 112 WIRE 192 112 80 112 WIRE -96 128 -96 112 WIRE 192 128 192 112 WIRE 272 128 192 128 WIRE 80 144 80 112 WIRE 272 176 208 176 WIRE 496 176 496 -64 WIRE 496 176 448 176 WIRE 608 176 576 176 WIRE 80 240 80 208 WIRE 208 256 208 176 WIRE -96 384 -96 208 WIRE 208 400 208 336 FLAG -96 384 0 FLAG 272 224 0 FLAG 208 400 0 FLAG 608 240 0 FLAG 80 240 0 SYMBOL voltage -96 112 R0 WINDOW 3 -226 54 Left 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V1 SYMATTR Value SINE(.5 .4 1000) SYMBOL Digital\\dflop 352 80 R0 SYMATTR InstName A1 SYMBOL res 64 96 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R1 SYMATTR Value 10k SYMBOL res 48 -80 R0 SYMATTR InstName R2 SYMATTR Value 10k SYMBOL cap 96 208 R180 WINDOW 0 24 56 Left 2 WINDOW 3 24 8 Left 2 SYMATTR InstName C1 SYMATTR Value 10n SYMBOL voltage 208 240 R0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V3 SYMATTR Value PULSE(0 1 0 1n 1n 500n 1000n) SYMBOL res 592 160 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R3 SYMATTR Value 1k SYMBOL cap 624 240 R180 WINDOW 0 24 56 Left 2 WINDOW 3 24 8 Left 2 SYMATTR InstName C2 SYMATTR Value 10n TEXT -130 488 Left 2 !.tran 100m

How about a CMOS 555 with a current source to charge the capacitor?

Cheers

Phil Hobbs

Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net

This one has to be PWM but we can possible delinearize upfront (possibly ...). Better would be a clean 1:1 PWM.

Regards, Joerg http://www.analogconsultants.com/

Sorry, 50kHz to 1000kHz.

Regards, Joerg http://www.analogconsultants.com/

That's what I wanted to avoid for real estate reasons. But if I hafta I'll do it.

Regards, Joerg http://www.analogconsultants.com/

That could be done but would gradually lead me to the circuit complexity (size) of a comparator solution. Because I'd have to control the current source over a wide range and very precisely.

I was hoping I'd not be the only one needing a precise voltage-to-PWM function.

Regards, Joerg http://www.analogconsultants.com/

If you want 0.1% accuracy, you might be able to do it open-loop, with a very linear ramp, but it will be hard at that frequency. If you only want 0.1% resolution ("granularity"?) it's not so bad.

Can you use delta-sigma? There are some integrated d-s modulators around.

John Larkin Highland Technology Inc www.highlandtechnology.com jlarkin at highlandtechnology dot com Precision electronic instrumentation

I could but then I'd have to build a one-shot that stretches the pulses into a very precise length and that's almost the same kind of challenge as building my own PWM generator (needs too much space).

Regards, Joerg http://www.analogconsultants.com/

Hey! Microprocessors are simple! You just need to learn some valuable skills, that's all.

formatting link

Tim Wescott Control system and signal processing consulting www.wescottdesign.com

But generating a PWM at 1MHz with a resolution of 0.1% mean you need a base frequency for your counter of 1GHz. I don't know any CPU that could do that.

Reinhardt Behm

why would you need a one-shot? the output is clocked

something like the AD7401, if you want to be sure a flipflop on the output

-Lasse

he did say the input was limited to 15KHz, so 2*15K*1000 >= 30MHz

plenty of cpus that can do that

-Lasse

Someone, TI I think, has a ARM with nanosecond-resolution PWM outputs. But Joerg seems to want an analog input.

Digital delay generators generally use a clocked coarse width generator with analog interpolation down to picoseconds. Too complex for this app.

John Larkin Highland Technology Inc www.highlandtechnology.com jlarkin at highlandtechnology dot com Precision electronic instrumentation

Some MCUs follow the PWM section with a selectable delay line, which gives you sub-clock PWM resolution.

But often you can stand higher error in the higher frequencies than you can at DC. In that case you can put a sigma-delta modulator between your drive number and your PWM. I do this often in control loops, because it works well, it's easy, and it's cheap.

Tim Wescott Wescott Design Services http://www.wescottdesign.com

Yeah, have a tube of those 1 cell voltage capable Cmos versions. They don't handle the upper voltage well but they sure do work well in one cell applications.

Jamie

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required