Yeah I was thinking about something like that. or a digipot from 55 to 50 volts. (I've never used a digipot and have no idea if you can float 'em. Probably more trouble than it's worth.)
As a silly idea, run two MPPC's, one with a constant light input and servo the voltage for the desired gain. (or switch one between 'standard' light source and signal.)
George H.
Didn't find your answer? Ask the community — no account required.
G
George Herold
Put the digipot on the bottom? GH
A
antispam
Cute circuit. However, this is clearly second order filter so fair comparizon would be with cascade of two RC steps. If I did my calculations correctly for R1 = R2 and C1 = C2 and assuming infinite impedance load Woodward's circuit has the same response as two step RC cascade. RC cascade does not need extra inverter, so it is not clear for me if there are reasons to prefer Woodward's circuit.
In some sense optimal tradeoff between filtering ripple and response time is given by Gaussian filter. Multistep RC cascade give good approximation to Gaussian, so in general it is not clear if more fancy (than RC cascade) filtering has advantages for PWM. Phil plans to use three stage RC cascade which already should be pretty good.
Waldek Hebisch
J
Joseph Gwinn
On Oct 11, 2019, Phil Hobbs wrote (in article):
about delta-sigma conversion, it occurs to me that one can improve rejection of power supply ripple by using an explicit charge-pump circuit in a delta-sigma DAC.
Joe Gwinn
B
bitrex
Nice $5 power supply for a single white LED in there too, lol
R
Robert Baer
Use switched filtering?
P
Phil Hobbs
We'd have to bitbang that, for one thing, and for another there would be different numbers of transitions per cycle, which would hurt the linearity on account of the slew artifacts.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
P
Phil Hobbs
That sort of thing is sometimes done with ordinary APDs, but in this instance we're down in the guts of a SEM chamber with lots of other things going on. We have to worry about running into other detectors, and of course all SEMs of my acquaintance have video cameras inside, which require light sources....
Digital pots are generally pretty crappy--unless you go for the expensive ones that use metal resistors, the end-to-end resistance tolerance is typically 30%, with a poor tempco. Thus you have to use them ratiometrically and can't easily put a resistor in series to reduce the adjustment range.
Floating them at some weird voltage is perfectly possible but requires a fair number of additional parts. (One of our products has a set-and-forget laser current limit using a nonvolatile dpot that gets programmed at test time using a laptop--the dpot hangs off a +14V rail, but the laptop is floating, so neither it nor the dpot notices. If we were in mass production, it would need something like a Bus Pirate and a USB isolator.)
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
P
Phil Hobbs
One approach to the PWM ripple problem is to use a S/H to sample the filter output at the beginning of the PWM cycle. The subtle problem is that even if the higher harmonics of the PWM frequency have died away adequately, the phase of the fundamental ripple component depends on the PWM code, which hurts the linearity.
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
A
Andy Bennet
Um then have a PWM gated constant current source feeding a capacitor, followed by a s/h.
P
Phil Hobbs
Yeah, there are lots of ways to do it if you don't mind a bunch of extra parts.
What I wound up with is a vanilla 12-bit PWM driving a SN74LVC1G04 inverter that's powered by a REF5030 3-ppm/K reference, followed by a three-stage RC filter.
It's sort of funny, putting in a $5 reference just to drive a five-cent logic inverter, but that's where error budgets take you sometimes. ;)
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510
http://electrooptical.net
http://hobbs-eo.com
C
Chris Jones
Makes a lot of sense.
It might be worth exploring ways to put a zero in the filter response, at the PWM frequency. Maybe need less poles then.
W
Winfield Hill
Not sure what you were answering to, but the main and vernier PWMs could both be setup for a constant number of transitions.
Thanks,
- Win
L
Lasse Langwadt Christensen
isn't something like this
formatting link
close to doing it all in one ic?
J
jlarkin
What I've never understood about delta-sigma is that you can make 25% duty cycle from
01001000 or from 00011000
but one has twice as many transitions as the other. Rise and fall edges aren't perfect, so they won't make the same average voltage. Since the codes vary in density with the output voltage, that would seem to cause a linearity error and some excess noise. PWM should be better because it always has two transitions per cycle.
I guess the people who design ICs can apply tricks to fix that to 20 or 24 bit level. I suspect that, using discrete parts, we can't.
John Larkin Highland Technology, Inc
lunatic fringe electronics
J
jlarkin
Looks like the best sub-10 PPM ref that we use is ADR363B, 3v 9 PPM, $1.89.
John Larkin Highland Technology, Inc
lunatic fringe electronics
L
Lasse Langwadt Christensen
iptechnology.com:
n:
n
oing a
es from
but it
atively
It'll
om a
845 MCU
n output
ring to
r so, so
hought
a PWM, anyway?
will ease
are, but
xtension
think
at.
can
hey
s are
bits
f
a delta-sigma modulator usually have (should have) a much more "chaotic" output so it averages out
constant input to a delta-sigma modulator is "dangerous" because it can get stuck in some periodic pattern that result in tones in the pass band
and it is really hard to analyse/predict because it is not a linear system
J
jlarkin
But a mid duty cycle has more adjacent bits without transitions than a low or high duty cycle, hence the linearity error. I think.
1st order delta-sigma can have periodic patterns. Presumably higher-order modulators don't.
I posted an LT Spice 2nd order delta-sigma modulator here a while back, but I didn't analyze it much beyond some FFTs.
John Larkin Highland Technology, Inc
lunatic fringe electronics
R
Rick C
n:
n
oing a
es from
but it
atively
It'll
om a
845 MCU
n output
ring to
r so, so
hought
a PWM, anyway?
will ease
are, but
xtension
think
at.
can
hey
s are
bits
f
Direct PWM may give better linearity perhaps, but worse noise because of th e frequency distribution.
Rick C.
--- Get 2,000 miles of free Supercharging
--- Tesla referral code - https://ts.la/richard11209
B
bitrex
TI Filterpro includes an active low-pass filter prototype that's a Bessel/Butterworth hybrid (I call it the "Bustleworth") that I like a lot for filtering PWM, which provides a good compromise between the linear phase response of the Bessel and the steeper slope of the Butterworth.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.