Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #509484 > unrolled thread

add one resistor, quiet ugly smps ADC noise

Started byWinfield Hill <hill@rowland.harvard.edu>
First post2018-06-28 04:35 -0700
Last post2018-07-04 10:21 +0300
Articles 20 on this page of 47 — 17 participants

Back to article view | Back to sci.electronics.design


Contents

  add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-28 04:35 -0700
    Re: add one resistor, quiet ugly smps ADC noise Don Kuenz, KB7RPU <g@crcomp.net> - 2018-06-28 14:10 +0000
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-28 09:01 -0700
    Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-28 08:43 -0700
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-28 09:07 -0700
    add one resistor, quiet ugly smps ADC noise Klaus Kragelund <klauskvik@hotmail.com> - 2018-06-28 11:49 -0700
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-28 12:09 -0700
        Re: add one resistor, quiet ugly smps ADC noise Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-06-28 12:21 -0700
          Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-28 12:40 -0700
            Re: add one resistor, quiet ugly smps ADC noise Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-06-28 13:08 -0700
            Re: add one resistor, quiet ugly smps ADC noise Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-06-28 19:59 -0400
              Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-28 17:38 -0700
                Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-29 05:09 -0700
                Re: add one resistor, quiet ugly smps ADC noise Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-06-29 11:11 -0400
                  Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-29 08:50 -0700
                    Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-29 09:14 -0700
                      Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-29 12:13 -0700
        Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-28 12:25 -0700
          Re: add one resistor, quiet ugly smps ADC noise "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-06-29 03:49 -0500
            Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-29 07:18 -0700
      Re: add one resistor, quiet ugly smps ADC noise Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-06-28 12:14 -0700
    Re: add one resistor, quiet ugly smps ADC noise sea moss <danluster81@gmail.com> - 2018-06-28 20:04 -0700
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-29 05:18 -0700
        Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-29 07:22 -0700
    Re: add one resistor, quiet ugly smps ADC noise Mikko OH2HVJ <mikko.syrjalahti@nospam.fi> - 2018-06-29 09:53 +0300
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-06-29 05:24 -0700
    Re: add one resistor, quiet ugly smps ADC noise "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-30 09:58 -0400
      Re: add one resistor, quiet ugly smps ADC noise Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-06-30 17:43 +0300
        Re: add one resistor, quiet ugly smps ADC noise gnuarm.deletethisbit@gmail.com - 2018-06-30 07:48 -0700
      Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highlandtechnology.com> - 2018-06-30 08:36 -0700
        Re: add one resistor, quiet ugly smps ADC noise "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-06-30 14:31 -0400
          Re: add one resistor, quiet ugly smps ADC noise Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-06-30 15:06 -0400
          Re: add one resistor, quiet ugly smps ADC noise John Larkin <jjlarkin@highland_snip_technology.com> - 2018-06-30 12:37 -0700
          Re: add one resistor, quiet ugly smps ADC noise gnuarm.deletethisbit@gmail.com - 2018-06-30 18:12 -0700
            Re: add one resistor, quiet ugly smps ADC noise "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2018-07-03 01:00 -0400
              Re: add one resistor, quiet ugly smps ADC noise gnuarm.deletethisbit@gmail.com - 2018-07-03 06:42 -0700
                Re: add one resistor, quiet ugly smps ADC noise Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-03 14:24 -0400
                  Re: add one resistor, quiet ugly smps ADC noise gnuarm.deletethisbit@gmail.com - 2018-07-03 12:46 -0700
    Re: add one resistor, quiet ugly smps ADC noise legg <legg@nospam.magma.ca> - 2018-07-02 09:35 -0400
    Re: add one resistor, quiet ugly smps ADC noise Castorp <nikolaibeev@gmail.com> - 2018-07-02 12:24 -0700
      Re: add one resistor, quiet ugly smps ADC noise Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-03 16:39 +0200
        Re: add one resistor, quiet ugly smps ADC noise Castorp <nikolaibeev@gmail.com> - 2018-07-03 07:56 -0700
    Re: add one resistor, quiet ugly smps ADC noise upsidedown@downunder.com - 2018-07-03 10:03 +0300
      Re: add one resistor, quiet ugly smps ADC noise Don Kuenz, KB7RPU <g@crcomp.net> - 2018-07-03 13:57 +0000
      Re: add one resistor, quiet ugly smps ADC noise Winfield Hill <hill@rowland.harvard.edu> - 2018-07-03 12:50 -0700
        Re: add one resistor, quiet ugly smps ADC noise "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-04 01:06 -0500
        Re: add one resistor, quiet ugly smps ADC noise upsidedown@downunder.com - 2018-07-04 10:21 +0300

Page 1 of 3  [1] 2 3  Next page →


#509484 — add one resistor, quiet ugly smps ADC noise

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-28 04:35 -0700
Subjectadd one resistor, quiet ugly smps ADC noise
Message-ID<ph2h6a01qoj@drn.newsguy.com>
 Switching converters and sensitive SAR ADCs don't
 go well together.  Consider a 3.7 Li-ion to 14V boost
 converter, switching 400mA current ramps at 500kHz.
 Add a 16-bit ADC, which takes 2us to sampling a signal,
 and completes its conversion in 15us.  A large fraction
 of the ADC samples are degraded by SMPS switching noise.
 The boost converter, a TPS61040, has an enable input,
 but if used this triggers a 1 ms soft-start operation,
 so it can't serve as a way to quiet the converter.

 Converters use two resistors to set the output voltage.
 I added a third resistor to the 1.255V feedback node,
 connected to a 3.3V controller logic output.  When at
 0V the converter works normally maintaining 14 volts.
 But a logic high lowers the 14V setpoint by 3.3V, to
 nearly 10V, instantly stopping any converter operation.
 Doing the disable a few us before triggering the ADC,
 and releasing it a few us after, completely eliminates
 the degraded ADC sampling, yet still lets the boost
 converter keep up with the 14V load requirements.

 Note, not all converter ICs can be stopped so easily.
 The TPS61040 uses a pulse-frequency modulation (PFM)
 scheme, with constant peak current, and makes its
 switching decisions on a pulse-by-pulse basis.


-- 
 Thanks,
    - Win

[toc] | [next] | [standalone]


#509490

FromDon Kuenz, KB7RPU <g@crcomp.net>
Date2018-06-28 14:10 +0000
Message-ID<2018000628a@crcomp.net>
In reply to#509484
Winfield Hill <hill@rowland.harvard.edu> wrote:
> Switching converters and sensitive SAR ADCs don't
> go well together.  Consider a 3.7 Li-ion to 14V boost
> converter, switching 400mA current ramps at 500kHz.
> Add a 16-bit ADC, which takes 2us to sampling a signal,
> and completes its conversion in 15us.  A large fraction
> of the ADC samples are degraded by SMPS switching noise.
> The boost converter, a TPS61040, has an enable input,
> but if used this triggers a 1 ms soft-start operation,
> so it can't serve as a way to quiet the converter.
>
> Converters use two resistors to set the output voltage.
> I added a third resistor to the 1.255V feedback node,
> connected to a 3.3V controller logic output.  When at
> 0V the converter works normally maintaining 14 volts.
> But a logic high lowers the 14V setpoint by 3.3V, to
> nearly 10V, instantly stopping any converter operation.
> Doing the disable a few us before triggering the ADC,
> and releasing it a few us after, completely eliminates
> the degraded ADC sampling, yet still lets the boost
> converter keep up with the 14V load requirements.
>
> Note, not all converter ICs can be stopped so easily.
> The TPS61040 uses a pulse-frequency modulation (PFM)
> scheme, with constant peak current, and makes its
> switching decisions on a pulse-by-pulse basis.
>

If a schematic's worth a thousand words, a schematic with component 
values is worth even more. :0) FWIW, you leave me with the impression
that you're doing something similar to this:

-----------------------+--------------------------------o +14V
                       |
  +------------+       R1 2.2M
  |  TPS61040  |       |
  |            |       |
  |         FB +-------+---R3-----< +3.3V Enable
  |            |       |   68k
  |        GND +---+   |
  |            +   |   R2 180k 
  +------------+   |   |
-------------------+---+--------------------------------o GND


73,

-- 
Don Kuenz, KB7RPU

[toc] | [prev] | [next] | [standalone]


#509513

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-28 09:01 -0700
Message-ID<ph30or02lkt@drn.newsguy.com>
In reply to#509490
Don Kuenz, KB7RPU wrote...
>
>Winfield Hill <hill@rowland.harvard.edu> wrote:
>> Switching converters and sensitive SAR ADCs don't
>> go well together.  Consider a 3.7 Li-ion to 14V boost
>> converter, switching 400mA current ramps at 500kHz.
>> Add a 16-bit ADC, which takes 2us to sampling a signal,
>> and completes its conversion in 15us.  A large fraction
>> of the ADC samples are degraded by SMPS switching noise.
>> The boost converter, a TPS61040, has an enable input,
>> but if used this triggers a 1 ms soft-start operation,
>> so it can't serve as a way to quiet the converter.
>>
>> Converters use two resistors to set the output voltage.
>> I added a third resistor to the 1.255V feedback node,
>> connected to a 3.3V controller logic output.  When at
>> 0V the converter works normally maintaining 14 volts.
>> But a logic high lowers the 14V setpoint by 3.3V, to
>> nearly 10V, instantly stopping any converter operation.
>> Doing the disable a few us before triggering the ADC,
>> and releasing it a few us after, completely eliminates
>> the degraded ADC sampling, yet still lets the boost
>> converter keep up with the 14V load requirements.
>>
>> Note, not all converter ICs can be stopped so easily.
>> The TPS61040 uses a pulse-frequency modulation (PFM)
>> scheme, with constant peak current, and makes its
>> switching decisions on a pulse-by-pulse basis.
>>
>
>If a schematic's worth a thousand words, a schematic with component 
>values is worth even more. :0) FWIW, you leave me with the impression
>that you're doing something similar to this:
>
>-----------------------+--------------------------------o +14V
>                       |
>  +------------+       R1 2.2M
>  |  TPS61040  |       |
>  |            |       |
>  |         FB +-------+---R3-----< +3.3V Enable
>  |            |       |   68k
>  |        GND +---+   |
>  |            +   |   R2 180k 
>  +------------+   |   |
>-------------------+---+--------------------------------o GND
>
>
>73,

 Thanks, close, but if a 3.3V logic signal swing is
 to lower the output setpoint by 3.3V, then R3 = R1. 
 In fact I used R1=R3= 2.49M and R2= 167k.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#509507

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-06-28 08:43 -0700
Message-ID<vc0ajdlj4p319dm31fgcr7r95g0dvh4lpa@4ax.com>
In reply to#509484
On 28 Jun 2018 04:35:38 -0700, Winfield Hill
<hill@rowland.harvard.edu> wrote:

> Switching converters and sensitive SAR ADCs don't
> go well together.  Consider a 3.7 Li-ion to 14V boost
> converter, switching 400mA current ramps at 500kHz.
> Add a 16-bit ADC, which takes 2us to sampling a signal,
> and completes its conversion in 15us.  A large fraction
> of the ADC samples are degraded by SMPS switching noise.
> The boost converter, a TPS61040, has an enable input,
> but if used this triggers a 1 ms soft-start operation,
> so it can't serve as a way to quiet the converter.
>
> Converters use two resistors to set the output voltage.
> I added a third resistor to the 1.255V feedback node,
> connected to a 3.3V controller logic output.  When at
> 0V the converter works normally maintaining 14 volts.
> But a logic high lowers the 14V setpoint by 3.3V, to
> nearly 10V, instantly stopping any converter operation.
> Doing the disable a few us before triggering the ADC,
> and releasing it a few us after, completely eliminates
> the degraded ADC sampling, yet still lets the boost
> converter keep up with the 14V load requirements.
>
> Note, not all converter ICs can be stopped so easily.
> The TPS61040 uses a pulse-frequency modulation (PFM)
> scheme, with constant peak current, and makes its
> switching decisions on a pulse-by-pulse basis.

How well does that work? Stopping the switcher will kill the big
switching ringing, the main noise source, but will "freeze" the ripple
at random voltages.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#509516

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-28 09:07 -0700
Message-ID<ph313b02mb1@drn.newsguy.com>
In reply to#509507
John Larkin wrote...
>
> Winfield Hill wrote:
>
>> Switching converters and sensitive SAR ADCs don't
>> go well together.  Consider a 3.7 Li-ion to 14V boost
>> converter, switching 400mA current ramps at 500kHz.
>> Add a 16-bit ADC, which takes 2us to sampling a signal,
>> and completes its conversion in 15us.  A large fraction
>> of the ADC samples are degraded by SMPS switching noise.
>> The boost converter, a TPS61040, has an enable input,
>> but if used this triggers a 1 ms soft-start operation,
>> so it can't serve as a way to quiet the converter.
>>
>> Converters use two resistors to set the output voltage.
>> I added a third resistor to the 1.255V feedback node,
>> connected to a 3.3V controller logic output.  When at
>> 0V the converter works normally maintaining 14 volts.
>> But a logic high lowers the 14V setpoint by 3.3V, to
>> nearly 10V, instantly stopping any converter operation.
>> Doing the disable a few us before triggering the ADC,
>> and releasing it a few us after, completely eliminates
>> the degraded ADC sampling, yet still lets the boost
>> converter keep up with the 14V load requirements.
>>
>> Note, not all converter ICs can be stopped so easily.
>> The TPS61040 uses a pulse-frequency modulation (PFM)
>> scheme, with constant peak current, and makes its
>> switching decisions on a pulse-by-pulse basis.
>
> How well does that work? Stopping the switcher will
> kill the big switching ringing, the main noise source,
> but will "freeze" the ripple at random voltages.

 It works extremely well.   The "noise" isn't from
 inductor-switch node ringing, etc., but rather from
 fast di/dt ground bounce, etc.  This kind of noise
 is very fast, transient, and instantly disappears.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#509533

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2018-06-28 11:49 -0700
Message-ID<cbff2c9c-ab34-4328-93d1-a5208d29410f@googlegroups.com>
In reply to#509484
Hi

I don’t really see the point of your efforts about this

With 16bit, one LSB is 200uV

You most likely have about 1uF output cap and a switching ripple of 100mV. So you will never measure this correctly if you don’t filter the heck out of it, and the 1us idle makes no sense, since if you have filtered it will be noise free

By the way, I have done digital switch modes a couple of times and digested many papers, and have never seen a system with more than 12LSB

Cheers

Klaus

[toc] | [prev] | [next] | [standalone]


#509535

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-28 12:09 -0700
Message-ID<ph3bp406r4@drn.newsguy.com>
In reply to#509533
Klaus Kragelund wrote...
>
> I don't really see the point of your efforts about this
> With 16bit, one LSB is 200uV
>
> You most likely have about 1uF output cap and a switching
> ripple of 100mV.  So you will never measure this correctly
> if you don't filter the heck out of it, ...

 No, sorry, there's a high-res ADC on the circuit board
 near the converter, measuring a TIA-amplifier signal.
 The converter creates 14V for a 50mA LED current source.
 The TIA amp, ADC and smps are sharing grounds, etc., and
 the introduced converter noise looks huge on the amplified
 signal, when viewed on a scope or with the ADC data.  But
 the noise disappears from the scope and ADC data while
 the converter is momentarily stopped.  BTW, we may only be
 using 10 to 12 bits of the data, but the max noise seen
 must have been at the 4 to 6-bit level!  Anyway, I added
 the extra 3rd resistor to the next rev of the PCB and now
 we're happy.  I re-purposed a controller bit that wasn't
 busy doing anything else during the ADC conversions. 

 I thought others might like to know about this little trick.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#509537

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2018-06-28 12:21 -0700
Message-ID<bc4366a2-e5b6-4c2f-92fe-36295df0d5f1@googlegroups.com>
In reply to#509535
torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
> Klaus Kragelund wrote...
> >
> > I don't really see the point of your efforts about this
> > With 16bit, one LSB is 200uV
> >
> > You most likely have about 1uF output cap and a switching
> > ripple of 100mV.  So you will never measure this correctly
> > if you don't filter the heck out of it, ...
> 
>  No, sorry, there's a high-res ADC on the circuit board
>  near the converter, measuring a TIA-amplifier signal.
>  The converter creates 14V for a 50mA LED current source.
>  The TIA amp, ADC and smps are sharing grounds, etc., and
>  the introduced converter noise looks huge on the amplified
>  signal, when viewed on a scope or with the ADC data.  But
>  the noise disappears from the scope and ADC data while
>  the converter is momentarily stopped.  BTW, we may only be
>  using 10 to 12 bits of the data, but the max noise seen
>  must have been at the 4 to 6-bit level!  Anyway, I added
>  the extra 3rd resistor to the next rev of the PCB and now
>  we're happy.  I re-purposed a controller bit that wasn't
>  busy doing anything else during the ADC conversions. 
> 
>  I thought others might like to know about this little trick.
> 

I've done similar and also paused things like display updates 
during burst of sampling

I believe there also are some MCUs that can automatically go into 
"sleepmode" during sampling 

  

[toc] | [prev] | [next] | [standalone]


#509543

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-06-28 12:40 -0700
Message-ID<h6eajdlj8468oi15m9l3qpqbl6q2t8ov2n@4ax.com>
In reply to#509537
On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
<langwadt@fonz.dk> wrote:

>torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
>> Klaus Kragelund wrote...
>> >
>> > I don't really see the point of your efforts about this
>> > With 16bit, one LSB is 200uV
>> >
>> > You most likely have about 1uF output cap and a switching
>> > ripple of 100mV.  So you will never measure this correctly
>> > if you don't filter the heck out of it, ...
>> 
>>  No, sorry, there's a high-res ADC on the circuit board
>>  near the converter, measuring a TIA-amplifier signal.
>>  The converter creates 14V for a 50mA LED current source.
>>  The TIA amp, ADC and smps are sharing grounds, etc., and
>>  the introduced converter noise looks huge on the amplified
>>  signal, when viewed on a scope or with the ADC data.  But
>>  the noise disappears from the scope and ADC data while
>>  the converter is momentarily stopped.  BTW, we may only be
>>  using 10 to 12 bits of the data, but the max noise seen
>>  must have been at the 4 to 6-bit level!  Anyway, I added
>>  the extra 3rd resistor to the next rev of the PCB and now
>>  we're happy.  I re-purposed a controller bit that wasn't
>>  busy doing anything else during the ADC conversions. 
>> 
>>  I thought others might like to know about this little trick.
>> 
>
>I've done similar and also paused things like display updates 
>during burst of sampling
>
>I believe there also are some MCUs that can automatically go into 
>"sleepmode" during sampling 
>
>  
>

Like, computing trashes the on-chip ADC? Makes sense.

The ARMs that we use can, I think, have the ADC programmed to sample
periodically and then interrupt. So the CPU could sleep-on-interrupt.

An external ADC isn't bad; just keep the SPI bus quiet while the ADC
is busy. Some SAR ADCs are actually sequenced by the SPI burst, but
that's probably OK.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#509544

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2018-06-28 13:08 -0700
Message-ID<b096c891-dfab-40e6-903e-38baff7e6b31@googlegroups.com>
In reply to#509543
torsdag den 28. juni 2018 kl. 21.40.29 UTC+2 skrev John Larkin:
> On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
> <langwadt@fonz.dk> wrote:
> 
> >torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
> >> Klaus Kragelund wrote...
> >> >
> >> > I don't really see the point of your efforts about this
> >> > With 16bit, one LSB is 200uV
> >> >
> >> > You most likely have about 1uF output cap and a switching
> >> > ripple of 100mV.  So you will never measure this correctly
> >> > if you don't filter the heck out of it, ...
> >> 
> >>  No, sorry, there's a high-res ADC on the circuit board
> >>  near the converter, measuring a TIA-amplifier signal.
> >>  The converter creates 14V for a 50mA LED current source.
> >>  The TIA amp, ADC and smps are sharing grounds, etc., and
> >>  the introduced converter noise looks huge on the amplified
> >>  signal, when viewed on a scope or with the ADC data.  But
> >>  the noise disappears from the scope and ADC data while
> >>  the converter is momentarily stopped.  BTW, we may only be
> >>  using 10 to 12 bits of the data, but the max noise seen
> >>  must have been at the 4 to 6-bit level!  Anyway, I added
> >>  the extra 3rd resistor to the next rev of the PCB and now
> >>  we're happy.  I re-purposed a controller bit that wasn't
> >>  busy doing anything else during the ADC conversions. 
> >> 
> >>  I thought others might like to know about this little trick.
> >> 
> >
> >I've done similar and also paused things like display updates 
> >during burst of sampling
> >
> >I believe there also are some MCUs that can automatically go into 
> >"sleepmode" during sampling 
> >
> >  
> >
> 
> Like, computing trashes the on-chip ADC? Makes sense.
> 

back in the day when I was doing Bluetooth we did a stacked chip with a 
transceiver and an SoC, everything worked great until the code 
was mowed to ROM instead of RAM then the sensitivity dropped

turned out to be running ROM interfered with the PLL, running 
code in RAM didn't

[toc] | [prev] | [next] | [standalone]


#509577

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2018-06-28 19:59 -0400
Message-ID<ph3spr$3b4$1@dont-email.me>
In reply to#509543
On 06/28/18 15:40, John Larkin wrote:
> On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
> <langwadt@fonz.dk> wrote:
> 
>> torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
>>> Klaus Kragelund wrote...
>>>>
>>>> I don't really see the point of your efforts about this
>>>> With 16bit, one LSB is 200uV
>>>>
>>>> You most likely have about 1uF output cap and a switching
>>>> ripple of 100mV.  So you will never measure this correctly
>>>> if you don't filter the heck out of it, ...
>>>
>>>   No, sorry, there's a high-res ADC on the circuit board
>>>   near the converter, measuring a TIA-amplifier signal.
>>>   The converter creates 14V for a 50mA LED current source.
>>>   The TIA amp, ADC and smps are sharing grounds, etc., and
>>>   the introduced converter noise looks huge on the amplified
>>>   signal, when viewed on a scope or with the ADC data.  But
>>>   the noise disappears from the scope and ADC data while
>>>   the converter is momentarily stopped.  BTW, we may only be
>>>   using 10 to 12 bits of the data, but the max noise seen
>>>   must have been at the 4 to 6-bit level!  Anyway, I added
>>>   the extra 3rd resistor to the next rev of the PCB and now
>>>   we're happy.  I re-purposed a controller bit that wasn't
>>>   busy doing anything else during the ADC conversions.
>>>
>>>   I thought others might like to know about this little trick.
>>>
>>
>> I've done similar and also paused things like display updates
>> during burst of sampling
>>
>> I believe there also are some MCUs that can automatically go into
>> "sleepmode" during sampling
>>
>>   
>>
> 
> Like, computing trashes the on-chip ADC? Makes sense.
> 
> The ARMs that we use can, I think, have the ADC programmed to sample
> periodically and then interrupt. So the CPU could sleep-on-interrupt.
> 
> An external ADC isn't bad; just keep the SPI bus quiet while the ADC
> is busy. Some SAR ADCs are actually sequenced by the SPI burst, but
> that's probably OK.

We like the 14-bit TI ADC141S626, which works like that.  It has this 
weird continuous mode where you leave CS' low, and it takes 18 clocks 
for a 14-bit conversion. That's a nuisance since the MCUs we mostly use 
(NXP Cortex Ms) can't do SPI transfers that long in hardware.

However, if you work CS' on each acquisition, it only needs 16 clocks. 
It has super nice DNL and other good properties, and it's about $3 in 
thousands.

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

[toc] | [prev] | [next] | [standalone]


#509580

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-06-28 17:38 -0700
Message-ID<icvajddbdd08ffns6n03114smi6afrqqrm@4ax.com>
In reply to#509577
On Thu, 28 Jun 2018 19:59:53 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>On 06/28/18 15:40, John Larkin wrote:
>> On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
>> <langwadt@fonz.dk> wrote:
>> 
>>> torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
>>>> Klaus Kragelund wrote...
>>>>>
>>>>> I don't really see the point of your efforts about this
>>>>> With 16bit, one LSB is 200uV
>>>>>
>>>>> You most likely have about 1uF output cap and a switching
>>>>> ripple of 100mV.  So you will never measure this correctly
>>>>> if you don't filter the heck out of it, ...
>>>>
>>>>   No, sorry, there's a high-res ADC on the circuit board
>>>>   near the converter, measuring a TIA-amplifier signal.
>>>>   The converter creates 14V for a 50mA LED current source.
>>>>   The TIA amp, ADC and smps are sharing grounds, etc., and
>>>>   the introduced converter noise looks huge on the amplified
>>>>   signal, when viewed on a scope or with the ADC data.  But
>>>>   the noise disappears from the scope and ADC data while
>>>>   the converter is momentarily stopped.  BTW, we may only be
>>>>   using 10 to 12 bits of the data, but the max noise seen
>>>>   must have been at the 4 to 6-bit level!  Anyway, I added
>>>>   the extra 3rd resistor to the next rev of the PCB and now
>>>>   we're happy.  I re-purposed a controller bit that wasn't
>>>>   busy doing anything else during the ADC conversions.
>>>>
>>>>   I thought others might like to know about this little trick.
>>>>
>>>
>>> I've done similar and also paused things like display updates
>>> during burst of sampling
>>>
>>> I believe there also are some MCUs that can automatically go into
>>> "sleepmode" during sampling
>>>
>>>   
>>>
>> 
>> Like, computing trashes the on-chip ADC? Makes sense.
>> 
>> The ARMs that we use can, I think, have the ADC programmed to sample
>> periodically and then interrupt. So the CPU could sleep-on-interrupt.
>> 
>> An external ADC isn't bad; just keep the SPI bus quiet while the ADC
>> is busy. Some SAR ADCs are actually sequenced by the SPI burst, but
>> that's probably OK.
>
>We like the 14-bit TI ADC141S626, which works like that.  It has this 
>weird continuous mode where you leave CS' low, and it takes 18 clocks 
>for a 14-bit conversion. That's a nuisance since the MCUs we mostly use 
>(NXP Cortex Ms) can't do SPI transfers that long in hardware.
>
>However, if you work CS' on each acquisition, it only needs 16 clocks. 
>It has super nice DNL and other good properties, and it's about $3 in 
>thousands.
>
>Cheers
>
>Phil Hobbs

We use ADS7866 for a cheap outboard ADC. SOT-23-6. 12 bits, $1.50 by
the reel.

I once built a 10-bit ADC out of parts... transistors, no ICs. 3U
rackmount. It sold for more than my Austin Healey Sprite.

I interfaced it to an IBM 1401. It was used to digitize waveforms from
monkey brains. Try to top that!


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#509615

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-29 05:09 -0700
Message-ID<ph57h503096@drn.newsguy.com>
In reply to#509580
John Larkin wrote...
>
> We use ADS7866 for a cheap outboard ADC. SOT-23-6.
> 12 bits, $1.50 by the reel.

 After considerable searching, I settled on MCP3201
 for my go-to 12-bit ADC.  This part has a pin for
 the voltage reference, so you aren't forced to use
 the digital supply.  It also has separate + and -
 analog inputs, nice.  Or place a 16-bit ADS8325 on
 the PCB (same MSOP8 pinout), that sealed the deal.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#509630

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2018-06-29 11:11 -0400
Message-ID<0pKdnd_p6sqt0avGnZ2dnUU7-X-dnZ2d@supernews.com>
In reply to#509580
On 06/28/18 20:38, John Larkin wrote:
> On Thu, 28 Jun 2018 19:59:53 -0400, Phil Hobbs
> <pcdhSpamMeSenseless@electrooptical.net> wrote:
> 
>> On 06/28/18 15:40, John Larkin wrote:
>>> On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
>>> <langwadt@fonz.dk> wrote:
>>>
>>>> torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
>>>>> Klaus Kragelund wrote...
>>>>>>
>>>>>> I don't really see the point of your efforts about this
>>>>>> With 16bit, one LSB is 200uV
>>>>>>
>>>>>> You most likely have about 1uF output cap and a switching
>>>>>> ripple of 100mV.  So you will never measure this correctly
>>>>>> if you don't filter the heck out of it, ...
>>>>>
>>>>>    No, sorry, there's a high-res ADC on the circuit board
>>>>>    near the converter, measuring a TIA-amplifier signal.
>>>>>    The converter creates 14V for a 50mA LED current source.
>>>>>    The TIA amp, ADC and smps are sharing grounds, etc., and
>>>>>    the introduced converter noise looks huge on the amplified
>>>>>    signal, when viewed on a scope or with the ADC data.  But
>>>>>    the noise disappears from the scope and ADC data while
>>>>>    the converter is momentarily stopped.  BTW, we may only be
>>>>>    using 10 to 12 bits of the data, but the max noise seen
>>>>>    must have been at the 4 to 6-bit level!  Anyway, I added
>>>>>    the extra 3rd resistor to the next rev of the PCB and now
>>>>>    we're happy.  I re-purposed a controller bit that wasn't
>>>>>    busy doing anything else during the ADC conversions.
>>>>>
>>>>>    I thought others might like to know about this little trick.
>>>>>
>>>>
>>>> I've done similar and also paused things like display updates
>>>> during burst of sampling
>>>>
>>>> I believe there also are some MCUs that can automatically go into
>>>> "sleepmode" during sampling
>>>>
>>>>    
>>>>
>>>
>>> Like, computing trashes the on-chip ADC? Makes sense.
>>>
>>> The ARMs that we use can, I think, have the ADC programmed to sample
>>> periodically and then interrupt. So the CPU could sleep-on-interrupt.
>>>
>>> An external ADC isn't bad; just keep the SPI bus quiet while the ADC
>>> is busy. Some SAR ADCs are actually sequenced by the SPI burst, but
>>> that's probably OK.
>>
>> We like the 14-bit TI ADC141S626, which works like that.  It has this
>> weird continuous mode where you leave CS' low, and it takes 18 clocks
>> for a 14-bit conversion. That's a nuisance since the MCUs we mostly use
>> (NXP Cortex Ms) can't do SPI transfers that long in hardware.
>>
>> However, if you work CS' on each acquisition, it only needs 16 clocks.
>> It has super nice DNL and other good properties, and it's about $3 in
>> thousands.
>>
>> Cheers
>>
>> Phil Hobbs
> 
> We use ADS7866 for a cheap outboard ADC. SOT-23-6. 12 bits, $1.50 by
> the reel.
> 
> I once built a 10-bit ADC out of parts... transistors, no ICs. 3U
> rackmount. It sold for more than my Austin Healey Sprite.
> 
> I interfaced it to an IBM 1401. It was used to digitize waveforms from
> monkey brains. Try to top that!
> 
> 
Well, I did build diodes that worked from DC to nearly daylight (200 
THz). ;)

But only one bit at a time.

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

[toc] | [prev] | [next] | [standalone]


#509640

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-06-29 08:50 -0700
Message-ID<61lcjdpkuqt8phu5ioh8lnd003a9qahho9@4ax.com>
In reply to#509630
On Fri, 29 Jun 2018 11:11:42 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>On 06/28/18 20:38, John Larkin wrote:
>> On Thu, 28 Jun 2018 19:59:53 -0400, Phil Hobbs
>> <pcdhSpamMeSenseless@electrooptical.net> wrote:
>> 
>>> On 06/28/18 15:40, John Larkin wrote:
>>>> On Thu, 28 Jun 2018 12:21:06 -0700 (PDT), Lasse Langwadt Christensen
>>>> <langwadt@fonz.dk> wrote:
>>>>
>>>>> torsdag den 28. juni 2018 kl. 21.09.47 UTC+2 skrev Winfield Hill:
>>>>>> Klaus Kragelund wrote...
>>>>>>>
>>>>>>> I don't really see the point of your efforts about this
>>>>>>> With 16bit, one LSB is 200uV
>>>>>>>
>>>>>>> You most likely have about 1uF output cap and a switching
>>>>>>> ripple of 100mV.  So you will never measure this correctly
>>>>>>> if you don't filter the heck out of it, ...
>>>>>>
>>>>>>    No, sorry, there's a high-res ADC on the circuit board
>>>>>>    near the converter, measuring a TIA-amplifier signal.
>>>>>>    The converter creates 14V for a 50mA LED current source.
>>>>>>    The TIA amp, ADC and smps are sharing grounds, etc., and
>>>>>>    the introduced converter noise looks huge on the amplified
>>>>>>    signal, when viewed on a scope or with the ADC data.  But
>>>>>>    the noise disappears from the scope and ADC data while
>>>>>>    the converter is momentarily stopped.  BTW, we may only be
>>>>>>    using 10 to 12 bits of the data, but the max noise seen
>>>>>>    must have been at the 4 to 6-bit level!  Anyway, I added
>>>>>>    the extra 3rd resistor to the next rev of the PCB and now
>>>>>>    we're happy.  I re-purposed a controller bit that wasn't
>>>>>>    busy doing anything else during the ADC conversions.
>>>>>>
>>>>>>    I thought others might like to know about this little trick.
>>>>>>
>>>>>
>>>>> I've done similar and also paused things like display updates
>>>>> during burst of sampling
>>>>>
>>>>> I believe there also are some MCUs that can automatically go into
>>>>> "sleepmode" during sampling
>>>>>
>>>>>    
>>>>>
>>>>
>>>> Like, computing trashes the on-chip ADC? Makes sense.
>>>>
>>>> The ARMs that we use can, I think, have the ADC programmed to sample
>>>> periodically and then interrupt. So the CPU could sleep-on-interrupt.
>>>>
>>>> An external ADC isn't bad; just keep the SPI bus quiet while the ADC
>>>> is busy. Some SAR ADCs are actually sequenced by the SPI burst, but
>>>> that's probably OK.
>>>
>>> We like the 14-bit TI ADC141S626, which works like that.  It has this
>>> weird continuous mode where you leave CS' low, and it takes 18 clocks
>>> for a 14-bit conversion. That's a nuisance since the MCUs we mostly use
>>> (NXP Cortex Ms) can't do SPI transfers that long in hardware.
>>>
>>> However, if you work CS' on each acquisition, it only needs 16 clocks.
>>> It has super nice DNL and other good properties, and it's about $3 in
>>> thousands.
>>>
>>> Cheers
>>>
>>> Phil Hobbs
>> 
>> We use ADS7866 for a cheap outboard ADC. SOT-23-6. 12 bits, $1.50 by
>> the reel.
>> 
>> I once built a 10-bit ADC out of parts... transistors, no ICs. 3U
>> rackmount. It sold for more than my Austin Healey Sprite.
>> 
>> I interfaced it to an IBM 1401. It was used to digitize waveforms from
>> monkey brains. Try to top that!
>> 
>> 
>Well, I did build diodes that worked from DC to nearly daylight (200 
>THz). ;)
>
>But only one bit at a time.
>
>Cheers
>
>Phil Hobbs

It worked something like this.

https://www.dropbox.com/s/f8b831iz1afa1oz/Old_SAR_ADC.JPG?raw=1

I may have clamped the summing node with some diodes. It's been a
while.

I did a bunch of 16-bit DACs with discretes too. They drove a giant
display in some military Dr Strangelove sort of thing.

I'be been lucky in working for companies with terrible marketing
people who would take purchase orders for anything they could get.



-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#509645

FromWinfield Hill <hill@rowland.harvard.edu>
Date2018-06-29 09:14 -0700
Message-ID<ph5lt10hj6@drn.newsguy.com>
In reply to#509640
John Larkin wrote...
>
> It worked something like this.

 I'm surprised you didn't use the BJT switches in inverted mode.


-- 
 Thanks,
    - Win

[toc] | [prev] | [next] | [standalone]


#509662

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-06-29 12:13 -0700
Message-ID<321djdha4246gp9bkno6rrbs3ns0ppein1@4ax.com>
In reply to#509645
On 29 Jun 2018 09:14:25 -0700, Winfield Hill
<hill@rowland.harvard.edu> wrote:

>John Larkin wrote...
>>
>> It worked something like this.
>
> I'm surprised you didn't use the BJT switches in inverted mode.

I did in my 16 bit DAC. Complementary over-driven emitter followers
driving an r-2r ladder network. The simple NPNs were good enough for
the 10 bit ADC.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#509539

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-06-28 12:25 -0700
Message-ID<h0dajdh6jgchvfjm2bpo1uc8745sm8kb7q@4ax.com>
In reply to#509535
On 28 Jun 2018 12:09:24 -0700, Winfield Hill
<hill@rowland.harvard.edu> wrote:

>Klaus Kragelund wrote...
>>
>> I don't really see the point of your efforts about this
>> With 16bit, one LSB is 200uV
>>
>> You most likely have about 1uF output cap and a switching
>> ripple of 100mV.  So you will never measure this correctly
>> if you don't filter the heck out of it, ...
>
> No, sorry, there's a high-res ADC on the circuit board
> near the converter, measuring a TIA-amplifier signal.
> The converter creates 14V for a 50mA LED current source.
> The TIA amp, ADC and smps are sharing grounds, etc., and
> the introduced converter noise looks huge on the amplified
> signal, when viewed on a scope or with the ADC data.  But
> the noise disappears from the scope and ADC data while
> the converter is momentarily stopped.  BTW, we may only be
> using 10 to 12 bits of the data, but the max noise seen
> must have been at the 4 to 6-bit level!  Anyway, I added
> the extra 3rd resistor to the next rev of the PCB and now
> we're happy.  I re-purposed a controller bit that wasn't
> busy doing anything else during the ADC conversions. 
>
> I thought others might like to know about this little trick.

That is slick. We's considering an EOM driver with a 9 Gs/s, 14-bit
DAC on the same board with switchers. The active shot is under 50 ns,
so we could kill all the power supplies when we fire the DAC.

Here's a board with a 12-bit, 250 Ms/s ADC a few inches from some
switchers.

https://www.dropbox.com/s/opa02hou39tduiq/ESM_rev_B.jpg?raw=1

ADC noise is about 1 LSB RMS, dumb luck mostly. Well, everything is
differential.

16 bits would be awful. Those LTM switcher bricks are pretty quiet.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#509609

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2018-06-29 03:49 -0500
Message-ID<ph4rq6$kdh$1@dont-email.me>
In reply to#509539
"John Larkin" <jjlarkin@highland_snip_technology.com> wrote in message 
news:h0dajdh6jgchvfjm2bpo1uc8745sm8kb7q@4ax.com...
> 16 bits would be awful. Those LTM switcher bricks are pretty quiet.
>

Having pushed one through EMC, and seen the ~ns edges from one, I laugh 
derisively.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: https://www.seventransistorlabs.com/ 

[toc] | [prev] | [next] | [standalone]


#509625

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-06-29 07:18 -0700
Message-ID<cmfcjdp4a7hmci3003sm1v1h5f00frqsip@4ax.com>
In reply to#509609
On Fri, 29 Jun 2018 03:49:06 -0500, "Tim Williams"
<tiwill@seventransistorlabs.com> wrote:

>"John Larkin" <jjlarkin@highland_snip_technology.com> wrote in message 
>news:h0dajdh6jgchvfjm2bpo1uc8745sm8kb7q@4ax.com...
>> 16 bits would be awful. Those LTM switcher bricks are pretty quiet.
>>
>
>Having pushed one through EMC, and seen the ~ns edges from one, I laugh 
>derisively.
>
>Tim

The LTM8023 is a non-synchronous switcher, which doesn't have the
giant spikes of a synchronous switcher. The switcher is a relatively
slow NPN. All the nasty ground loops are internal to the brick. Used
properly, it is very quiet.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.electronics.design


csiph-web