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


Groups > sci.electronics.design > #394265

Re: Multiplexer sample and hold

Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!drn
From Winfield Hill <hill@rowland.harvard.edu>
Newsgroups sci.electronics.design
Subject Re: Multiplexer sample and hold
Date 17 Jan 2016 09:34:36 -0800
Organization Rowland Institute
Lines 50
Message-ID <n7gjbc02k0r@drn.newsguy.com> (permalink)
References <e2Pmy.227940$983.40652@fx06.iad>
NNTP-Posting-Host pdcd04b4d97745251e3b76d83d3e71c66591d356b1597b99c.newsdawg.com
User-Agent Direct Read News 5.60
X-Received-Bytes 2719
X-Received-Body-CRC 2933035031
Xref csiph.com sci.electronics.design:394265

Show key headers only | View raw


bitrex wrote...
>
> In some old schematics for analog music synthesizers, where the
> analog signal path is under microprocessor control, I see that
> they use a multiplexer arrangement to route control voltages
> around being driven from a single DAC, usually like a DAC08 or
> something. They feed it into something like a 4051 multiplexer,
> followed up with a JFET input amp like a TL084 configured as a
> buffer, with a polystyrene or C0G holdup cap of a few hundred p
> on the noninverting input.

 The under 1000pF region would let you use C0G caps, which
 are inexpensive and don't have a D.A. distortion problem.

> Is this an approach that continues to make any sense from a cost
> perspective in year of our Lord 2k16, as we have serial input i2c
> DACs with multiple outputs available, or processors with tons of
> pins that can hardware PWM?

 I've analyzed it for some Arduino controllers, with limited
 PWM output lines (and also in applications where I've used
 most of the pins).  You set an interrupt at the end of each
 PWM cycle, and change the multiplexer switch and change the
 PWM setting to the next channel before restarting the timer. 

 If you increase the PWM timer input clock to 1MHz,
 http://playground.arduino.cc/Main/TimerPWMCheatsheet
 and are using 8-bit PWM, each PWM cycle takes 256 us.
 Using an 8 channel multiplexer, the period time is 2ms,
 and you need a say 10 to 20ms filter on each channel.
 Some may like the idea, but I wasn't encouraged.

 With PWMing, there's always a speed / resolution tradeoff.

 There are several ways to improve the speed and resolution of
 the PWMing.  One is to dither (change the PWM level by one LSB,
 over a number of consecutive PWM-channel periods), ST's AN4507.
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00119042.pdf
argg, what a painful link!

 Another is to use two PWM channels, and combine them with
 resistor ratios.  This is possible because the MSB channel
 has perfect single LSB steps, due to the crystal clock.
http://hackaday.com/2013/01/17/making-better-noises-with-dual-pwm/
 


-- 
 Thanks,
    - Win

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Multiplexer sample and hold bitrex <bitrex@de.lete.earthlink.net> - 2016-01-17 11:10 -0500
  Re:Multiplexer sample and hold bitrex <bitrex@de.lete.earthlink.net> - 2016-01-17 11:16 -0500
    Re:Multiplexer sample and hold DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-17 16:19 +0000
      Re: Multiplexer sample and hold Robert Baer <robertbaer@localnet.com> - 2016-01-18 22:39 -0800
    Re: Multiplexer sample and hold Chris Jones <lugnut808@spam.yahoo.com> - 2016-01-18 05:02 +1100
  Re: Multiplexer sample and hold Tim Wescott <tim@seemywebsite.com> - 2016-01-17 10:47 -0600
    Re: Multiplexer sample and hold bitrex <bitrex@de.lete.earthlink.net> - 2016-01-17 12:34 -0500
      Re: Multiplexer sample and hold Tim Wescott  <Tim@seemywebsite.com> - 2016-01-18 11:02 -0800
        Re: Multiplexer sample and hold bitrex <bitrex@de.lete.earthlink.net> - 2016-01-19 10:47 -0500
          Re: Multiplexer sample and hold Tim Wescott <seemywebsite@myfooter.really> - 2016-01-19 11:01 -0600
      Re: Multiplexer sample and hold Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-18 14:16 -0500
        Re: Multiplexer sample and hold klaus.kragelund@gmail.com - 2016-01-18 12:16 -0800
        Re: Multiplexer sample and hold whit3rd <whit3rd@gmail.com> - 2016-01-18 13:38 -0800
  Re: Multiplexer sample and hold Winfield Hill <hill@rowland.harvard.edu> - 2016-01-17 09:34 -0800
    Re: Multiplexer sample and hold Winfield Hill <hill@rowland.harvard.edu> - 2016-01-17 09:53 -0800
  Re: Multiplexer sample and hold John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-17 10:23 -0800
    Re: Multiplexer sample and hold John Devereux <john@devereux.me.uk> - 2016-01-17 18:41 +0000
      Re: Multiplexer sample and hold John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-17 11:17 -0800
        Re: Multiplexer sample and hold Klaus Kragelund <klauskvik@hotmail.com> - 2016-01-18 01:43 -0800
          Re: Multiplexer sample and hold Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-18 08:17 -0700
            Re: Multiplexer sample and hold "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-01-18 10:26 -0600
        Re: Multiplexer sample and hold John Devereux <john@devereux.me.uk> - 2016-01-18 15:10 +0000
      Re: Multiplexer sample and hold whit3rd <whit3rd@gmail.com> - 2016-01-17 12:43 -0800
        Re: Multiplexer sample and hold krw <krw@nowhere.com> - 2016-01-17 20:12 -0500
          Re: Multiplexer sample and hold whit3rd <whit3rd@gmail.com> - 2016-01-17 17:27 -0800
            Re: Multiplexer sample and hold krw <krw@nowhere.com> - 2016-01-17 20:46 -0500
              Re: Multiplexer sample and hold whit3rd <whit3rd@gmail.com> - 2016-01-17 20:16 -0800
                Re: Multiplexer sample and hold krw <krw@nowhere.com> - 2016-01-18 09:08 -0500
        Re: Multiplexer sample and hold John Devereux <john@devereux.me.uk> - 2016-01-18 15:33 +0000
          Re: Multiplexer sample and hold Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-18 16:55 -0500
            Re: Multiplexer sample and hold whit3rd <whit3rd@gmail.com> - 2016-01-18 22:56 -0800
              Re: Multiplexer sample and hold Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-19 09:56 -0500
                Re: Multiplexer sample and hold Chris Jones <lugnut808@spam.yahoo.com> - 2016-01-20 11:35 +1100
                Re: Multiplexer sample and hold Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-19 21:08 -0500
    Re: Multiplexer sample and hold "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-18 02:14 -0500
      Re: Multiplexer sample and hold John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 08:43 -0800
        Re: Multiplexer sample and hold "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-18 13:47 -0500

csiph-web