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


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

Dumpy filter

Started bybitrex <bitrex@de.lete.earthlink.net>
First post2018-02-01 18:14 -0500
Last post2018-02-02 01:46 -0600
Articles 10 on this page of 50 — 17 participants

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


Contents

  Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 18:14 -0500
    Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-01 16:58 -0700
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:18 -0500
        Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:25 -0500
          Re: Dumpy filter Pimpom <Pimpom@invalid.com> - 2018-02-02 10:48 +0530
            Re: Dumpy filter piglet <erichpwagner@hotmail.com> - 2018-02-04 21:48 +0000
              Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-04 18:13 -0500
              Re: Dumpy filter Don Kuenz <g@crcomp.net> - 2018-02-05 17:05 +0000
                Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 16:03 -0500
                  Re: Dumpy filter Don Kuenz <g@crcomp.net> - 2018-02-06 02:25 +0000
                    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 23:13 -0500
                      Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 02:14 -0800
                        Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-06 09:34 -0500
                          Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 06:48 -0800
                            Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-06 10:04 -0500
                              Re: Dumpy filter tabbypurr@gmail.com - 2018-02-06 13:59 -0800
                                Re: Dumpy filter Clifford Heath <no.spam@please.net> - 2018-02-08 19:08 +1100
                                  Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-08 11:05 -0500
                                    Re: Dumpy filter krw@notreal.com - 2018-02-08 12:36 -0500
                                      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-08 19:32 -0500
                                        Re: Dumpy filter krw@notreal.com - 2018-02-08 20:12 -0500
                                          Re: Dumpy filter bill.sloman@ieee.org - 2018-02-09 05:27 -0800
      Re: Dumpy filter bill.sloman@ieee.org - 2018-02-01 18:06 -0800
        Re: Dumpy filter Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-02-01 18:16 -0800
          Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-01 21:28 -0700
            Re: Dumpy filter Jasen Betts <jasen@xnet.co.nz> - 2018-02-02 05:10 +0000
              Re: Dumpy filter krw@notreal.com - 2018-02-02 00:58 -0500
            Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 06:25 -0800
              Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 18:43 -0800
                Re: Dumpy filter bill.sloman@ieee.org - 2018-02-03 15:34 -0800
                  Re: Dumpy filter Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2018-02-03 17:23 -0700
                    Re: Dumpy filter bill.sloman@ieee.org - 2018-02-03 17:01 -0800
        Re: Dumpy filter David Brown <david.brown@hesbynett.no> - 2018-02-02 13:29 +0100
          Re: Dumpy filter bill.sloman@ieee.org - 2018-02-02 18:50 -0800
            Re: Dumpy filter David Brown <david.brown@hesbynett.no> - 2018-02-05 13:23 +0100
              Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-05 08:45 -0500
              Re: Dumpy filter bill.sloman@ieee.org - 2018-02-05 13:58 -0800
    Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 19:30 -0500
      Re: Dumpy filter Winfield Hill <hill@rowland.harvard.edu> - 2018-02-01 18:45 -0800
        Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:56 -0500
    Re: Dumpy filter George Herold <gherold@teachspin.com> - 2018-02-01 16:40 -0800
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 20:00 -0500
        Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 20:02 -0500
      Re: Dumpy filter bill.sloman@ieee.org - 2018-02-01 18:16 -0800
    Re: Dumpy filter John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-01 17:54 -0800
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:16 -0500
      Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-01 21:30 -0500
        Re: Dumpy filter Mike Perkins <spam@spam.com> - 2018-02-02 11:28 +0000
          Re: Dumpy filter bitrex <bitrex@de.lete.earthlink.net> - 2018-02-02 08:28 -0500
    Re: Dumpy filter "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-02-02 01:46 -0600

Page 3 of 3 — ← Prev page 1 2 [3]


#493331

FromGeorge Herold <gherold@teachspin.com>
Date2018-02-01 16:40 -0800
Message-ID<3eeffbe4-e29b-4203-93fe-ed532020f089@googlegroups.com>
In reply to#493316
On Thursday, February 1, 2018 at 6:14:41 PM UTC-5, bitrex wrote:
> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output 
> proportional to duty cycle, an LM386 as two-pole Sallen Key 
> "Busselworth" filter:
> 
> <https://imgur.com/a/XcDCC>
> 
> Faster settling and better drive current than an RC filter, almost as 
> cheap. It's not glamorous but gets the job done

A Butterworth response has ringing in the time domain, 
Bessel is better.

George H. 

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


#493332

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-02-01 20:00 -0500
Message-ID<WKOcC.13923$KA7.6906@fx05.iad>
In reply to#493331
On 02/01/2018 07:40 PM, George Herold wrote:
> On Thursday, February 1, 2018 at 6:14:41 PM UTC-5, bitrex wrote:
>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output
>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>> "Busselworth" filter:
>>
>> <https://imgur.com/a/XcDCC>
>>
>> Faster settling and better drive current than an RC filter, almost as
>> cheap. It's not glamorous but gets the job done
> 
> A Butterworth response has ringing in the time domain,
> Bessel is better.
> 
> George H.
> 

It's a Butterworth/Bessel 0.50 transitional filter transfer function; 
sort of a compromise between the better ideal settling time of the 
Bessel and ideal steeper frequency domain cutoff of the Butterworth. 
Bustleworth.

With an "open loop" gain of only 200 from the bypassed but 
still-not-an-opamp LM386 the performance of a strict Bessel in Sallen 
Key didn't look so ah good.

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


#493333

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-02-01 20:02 -0500
Message-ID<iMOcC.13924$KA7.11251@fx05.iad>
In reply to#493332
On 02/01/2018 08:00 PM, bitrex wrote:
> On 02/01/2018 07:40 PM, George Herold wrote:
>> On Thursday, February 1, 2018 at 6:14:41 PM UTC-5, bitrex wrote:
>>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output
>>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>>> "Busselworth" filter:
>>>
>>> <https://imgur.com/a/XcDCC>
>>>
>>> Faster settling and better drive current than an RC filter, almost as
>>> cheap. It's not glamorous but gets the job done
>>
>> A Butterworth response has ringing in the time domain,
>> Bessel is better.
>>
>> George H.
>>
> 
> It's a Butterworth/Bessel 0.50 transitional filter transfer function; 
> sort of a compromise between the better ideal settling time of the 
> Bessel and ideal steeper frequency domain cutoff of the Butterworth. 
> Bustleworth.
> 
> With an "open loop" gain of only 200 from the bypassed but 
> still-not-an-opamp LM386 the performance of a strict Bessel in Sallen 
> Key didn't look so ah good.

BTW the reason for this exercise is the LM386 has a lot of drive current 
available and can be used to drive small motors/servos directly - even 
says so in the datasheet!

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


#493351

Frombill.sloman@ieee.org
Date2018-02-01 18:16 -0800
Message-ID<79545a08-2db9-4b13-96b2-f888e451cf90@googlegroups.com>
In reply to#493331
On Friday, February 2, 2018 at 11:40:53 AM UTC+11, George Herold wrote:
> On Thursday, February 1, 2018 at 6:14:41 PM UTC-5, bitrex wrote:
> > Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output 
> > proportional to duty cycle, an LM386 as two-pole Sallen Key 
> > "Busselworth" filter:
> > 
> > <https://imgur.com/a/XcDCC>
> > 
> > Faster settling and better drive current than an RC filter, almost as 
> > cheap. It's not glamorous but gets the job done
> 
> A Butterworth response has ringing in the time domain, 
> Bessel is better.

Taylor and Williams list some equi-ripple approximations to the perfect fast-settling filter, which offer slightly better carrier frequency attenuation for the same number of poles. You do need more than two poles of filtering to get into that territory.

It doesn't look as if Bitrex needs to go there.

-- 
Bill Sloman, Sydney

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


#493341

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-02-01 17:54 -0800
Message-ID<m3h77ddfdo3j10sss36hb8rdncimi4p0k0@4ax.com>
In reply to#493316
On Thu, 1 Feb 2018 18:14:36 -0500, bitrex
<bitrex@de.lete.earthlink.net> wrote:

>Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output 
>proportional to duty cycle, an LM386 as two-pole Sallen Key 
>"Busselworth" filter:
>
><https://imgur.com/a/XcDCC>
>
>Faster settling and better drive current than an RC filter, almost as 
>cheap. It's not glamorous but gets the job done

One more RC gets you a 3rd-order filter, and avoids the shoot-through
problem of the first cap whacking the opamp output impedance, which is
the real problem with Sallen-Key filters.




-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#493350

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-02-01 21:16 -0500
Message-ID<ORPcC.1030$xf6.312@fx09.iad>
In reply to#493341
On 02/01/2018 08:54 PM, John Larkin wrote:
> On Thu, 1 Feb 2018 18:14:36 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
> 
>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output
>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>> "Busselworth" filter:
>>
>> <https://imgur.com/a/XcDCC>
>>
>> Faster settling and better drive current than an RC filter, almost as
>> cheap. It's not glamorous but gets the job done
> 
> One more RC gets you a 3rd-order filter, and avoids the shoot-through
> problem of the first cap whacking the opamp output impedance, which is
> the real problem with Sallen-Key filters.

That's a good idea. The gross part about how it is now is that the '386 
output bias stage seems to run extremely lean class AB, maybe it's even 
straight class B for all I know. So every time the  crosses over between 
output devices there's a glitch that the meager 30 dB of "open loop" 
gain isn't able to correct, and the glitch "rings" the filter on each 
pulse transition. ping ping ping ping. A heavy load improves that a bit

The situation can be improved more and the drive current reduced by 
increasing the R values and lowering the cap values, but can't increase 
the R values too much as there's an internal ~50k to ground on each '386 
input. Increase R2 too much and its Thevenin impedance in combination 
with the internal resistor screws up the frequency response.

No silk purses out of sow's ears

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


#493357

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-02-01 21:30 -0500
Message-ID<d3QcC.2070$kZ2.233@fx41.iad>
In reply to#493341
On 02/01/2018 08:54 PM, John Larkin wrote:
> On Thu, 1 Feb 2018 18:14:36 -0500, bitrex
> <bitrex@de.lete.earthlink.net> wrote:
> 
>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output
>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>> "Busselworth" filter:
>>
>> <https://imgur.com/a/XcDCC>
>>
>> Faster settling and better drive current than an RC filter, almost as
>> cheap. It's not glamorous but gets the job done
> 
> One more RC gets you a 3rd-order filter, and avoids the shoot-through
> problem of the first cap whacking the opamp output impedance, which is
> the real problem with Sallen-Key filters.
> 

This is the output into an 8 ohm load with 1 kHz 5 volt PWM in at 30% 
duty cycle, Rs increased a bit and Cs decreased:

<https://imgur.com/a/9kcP1>

The "Bustleworth" time-domain response seems good enough for rock and 
roll to me. With a dumpy LM386 the strict Butterworth rings like mad and 
the strict Bessel is dog slow

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


#493416

FromMike Perkins <spam@spam.com>
Date2018-02-02 11:28 +0000
Message-ID<p51i0b$jf3$1@news2.open-news-network.org>
In reply to#493357
On 02/02/2018 02:30, bitrex wrote:
> On 02/01/2018 08:54 PM, John Larkin wrote:
>> On Thu, 1 Feb 2018 18:14:36 -0500, bitrex
>> <bitrex@de.lete.earthlink.net> wrote:
>>
>>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output
>>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>>> "Busselworth" filter:
>>>
>>> <https://imgur.com/a/XcDCC>
>>>
>>> Faster settling and better drive current than an RC filter, almost as
>>> cheap. It's not glamorous but gets the job done
>>
>> One more RC gets you a 3rd-order filter, and avoids the shoot-through
>> problem of the first cap whacking the opamp output impedance, which is
>> the real problem with Sallen-Key filters.
>>
> 
> This is the output into an 8 ohm load with 1 kHz 5 volt PWM in at 30% 
> duty cycle, Rs increased a bit and Cs decreased:
> 
> <https://imgur.com/a/9kcP1>
> 
> The "Bustleworth" time-domain response seems good enough for rock and 
> roll to me. With a dumpy LM386 the strict Butterworth rings like mad and 
> the strict Bessel is dog slow

Do you need a load resistance as low as 8R? I might have though any load 
to maintain the output in a 'class A' regime would work?


-- 
Mike Perkins
Video Solutions Ltd
www.videosolutions.ltd.uk

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


#493422

Frombitrex <bitrex@de.lete.earthlink.net>
Date2018-02-02 08:28 -0500
Message-ID<eIZcC.1333$BX2.1312@fx22.iad>
In reply to#493416
On 02/02/2018 06:28 AM, Mike Perkins wrote:
> On 02/02/2018 02:30, bitrex wrote:
>> On 02/01/2018 08:54 PM, John Larkin wrote:
>>> On Thu, 1 Feb 2018 18:14:36 -0500, bitrex
>>> <bitrex@de.lete.earthlink.net> wrote:
>>>
>>>> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC 
>>>> output
>>>> proportional to duty cycle, an LM386 as two-pole Sallen Key
>>>> "Busselworth" filter:
>>>>
>>>> <https://imgur.com/a/XcDCC>
>>>>
>>>> Faster settling and better drive current than an RC filter, almost as
>>>> cheap. It's not glamorous but gets the job done
>>>
>>> One more RC gets you a 3rd-order filter, and avoids the shoot-through
>>> problem of the first cap whacking the opamp output impedance, which is
>>> the real problem with Sallen-Key filters.
>>>
>>
>> This is the output into an 8 ohm load with 1 kHz 5 volt PWM in at 30% 
>> duty cycle, Rs increased a bit and Cs decreased:
>>
>> <https://imgur.com/a/9kcP1>
>>
>> The "Bustleworth" time-domain response seems good enough for rock and 
>> roll to me. With a dumpy LM386 the strict Butterworth rings like mad 
>> and the strict Bessel is dog slow
> 
> Do you need a load resistance as low as 8R? I might have though any load 
> to maintain the output in a 'class A' regime would work?
> 
> 

Yeah probably not. An 8 ohm load at the DC output voltage positive limit 
will likely be pushing the max power dissipation of a SOIC or DIP 
package, assuming the die definitely won't be at 25 degrees C and taking 
temperature de-rating into account - I haven't seen any datasheets for 
this old chip that provide temperature de-rating curves for it, they 
don't expect it to be used this way I suppose.

The datasheet says it can drive a 4 ohm load but I'm sure that implies 
AC audio signals only

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


#493411

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2018-02-02 01:46 -0600
Message-ID<p51500$61b$1@dont-email.me>
In reply to#493316
I mean if you want dumpy, this is pretty that:
https://www.seventransistorlabs.com/Images/Rx_AF_Bandpass.png
https://www.seventransistorlabs.com/Images/Rx_AF_Bandpass_Response.png
(Actually 5702 not 6V6, it's just that 6V6 model is similar enough to work. 
Actually, quite practically close, given the limitations of the model.)

Tim

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

"bitrex" <bitrex@de.lete.earthlink.net> wrote in message 
news:xbNcC.9814$9X2.2516@fx25.iad...
> Filtering 0-5V 1kHz PWM square wave to get ~1 volt to 10 volts DC output 
> proportional to duty cycle, an LM386 as two-pole Sallen Key "Busselworth" 
> filter:
>
> <https://imgur.com/a/XcDCC>
>
> Faster settling and better drive current than an RC filter, almost as 
> cheap. It's not glamorous but gets the job done 

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

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


csiph-web