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


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

Sub-audio Modulator

Started byDavid King <dking@supernet.com>
First post2015-09-09 14:07 +1000
Last post2015-09-13 17:10 +1000
Articles 11 on this page of 31 — 16 participants

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


Contents

  Sub-audio Modulator David King <dking@supernet.com> - 2015-09-09 14:07 +1000
    Re: Sub-audio Modulator Tim Wescott <tim@seemywebsite.com> - 2015-09-09 01:04 -0500
    Re: Sub-audio Modulator gardiegp@gmail.com - 2015-09-08 23:23 -0700
      Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-10 10:07 +1000
        Re: Sub-audio Modulator Phil Allison <pallison49@gmail.com> - 2015-09-09 17:32 -0700
    Re: Sub-audio Modulator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-09 07:33 +0100
      Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-09 18:34 +1000
    Re: Sub-audio Modulator tabbypurr@gmail.com - 2015-09-09 00:32 -0700
    Re: Sub-audio Modulator George Herold <gherold@teachspin.com> - 2015-09-09 06:24 -0700
    Re: Sub-audio Modulator John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-09 07:18 -0700
    Re: Sub-audio Modulator Jasen Betts <jasen@xnet.co.nz> - 2015-09-09 09:42 +0000
    Re: Sub-audio Modulator whit3rd <whit3rd@gmail.com> - 2015-09-09 12:12 -0700
      Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-10 10:18 +1000
        Re: Sub-audio Modulator dplatt@coop.radagast.org (Dave Platt) - 2015-09-09 18:03 -0700
          Re: Sub-audio Modulator Mike Towner <mtowner@quintrex.com> - 2015-09-10 18:07 +1000
          Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-11 08:43 +1000
            Re: Sub-audio Modulator dplatt@coop.radagast.org (Dave Platt) - 2015-09-10 18:05 -0700
              Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-11 14:09 +1000
        Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-10 02:57 -0400
          Re: Sub-audio Modulator "David Eather" <eather@tpg.com.au> - 2015-09-10 17:05 +1000
            Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-10 03:17 -0400
              Re: Sub-audio Modulator "David Eather" <eather@tpg.com.au> - 2015-09-11 08:34 +1000
          Re: Sub-audio Modulator krw <krw@nowhere.com> - 2015-09-10 12:33 -0400
      Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-10 02:42 -0400
    Re: Sub-audio Modulator "N. Coesel" <nico@niks.nl> - 2015-09-09 21:13 +0200
      Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-10 03:00 -0400
    Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-10 03:16 -0400
    Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-13 11:57 +1000
      Re: Sub-audio Modulator rickman <gnuarm@gmail.com> - 2015-09-12 22:26 -0400
      Re: Sub-audio Modulator Phil Allison <pallison49@gmail.com> - 2015-09-12 23:11 -0700
        Re: Sub-audio Modulator David King <dking@supernet.com> - 2015-09-13 17:10 +1000

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


#376313

Fromrickman <gnuarm@gmail.com>
Date2015-09-10 03:17 -0400
Message-ID<msran1$dma$3@dont-email.me>
In reply to#376311
On 9/10/2015 3:05 AM, David Eather wrote:
> On Thu, 10 Sep 2015 16:57:54 +1000, rickman <gnuarm@gmail.com> wrote:
>
>> On 9/9/2015 8:18 PM, David King wrote:
>>> On Wed, 9 Sep 2015 12:12:41 -0700 (PDT), whit3rd <whit3rd@gmail.com>
>>> wrote:
>>>
>>>> On Tuesday, September 8, 2015 at 9:07:35 PM UTC-7, David King wrote:
>>>>> I would like to generate simulated ECG (electrocardiogram) signals in
>>>>> PC software, but since they are subaudio, they cannot be output
>>>>> through the sound card.
>>>>>
>>>>> My idea is to use the raw ECG signal as an envelope with which to
>>>>> amplitude modulate an audio carrier.
>>>>
>>>> That can work, but the usual treatment (as when seismometers feed into
>>>> analog tape recorders) uses FM (add a bias voltage, do V-F conversion
>>>> with the guaranteed-always-positive V).   AM modulation is more
>>>> troublesome to demodulate.
>>>>
>>>
>>> Thanks for the suggestion. However, I was planning to use a consumer
>>> audio editing application such as Adobe Audition which does not
>>> provide for frequency modulation by complex signals.
>>>
>>> Several people have reasonably suggested I just buy a DAQ. But I would
>>> eventually like to build the demodulator into a stand-alone device and
>>> feed the signal in via an MP3 player.
>>
>> If you want to use an MP3 player, check out a few to see if they work
>> at the lowest frequency you are interested in.  The cutoff frequency
>> is not a brick wall.  It may not even be determined by the analog
>> circuitry. The CODEC I use in one of my designs has an internal high
>> pass filter which is only -3 dB at 3.4 Hz.  I don't remember my ECG
>> data.  Is this low enough?
>
> Some bands are lower eg delta waves - but it might be a place to start

That is EEG.  I think the OP is doing heart, not head.  Or are delta 
waves also heart?  I never learned much about ECG/EKG.

-- 

Rick

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


#376459

From"David Eather" <eather@tpg.com.au>
Date2015-09-11 08:34 +1000
Message-ID<op.x4rqbad3wei6gd@phenom-pc>
In reply to#376313
On Thu, 10 Sep 2015 17:17:35 +1000, rickman <gnuarm@gmail.com> wrote:

> On 9/10/2015 3:05 AM, David Eather wrote:
>> On Thu, 10 Sep 2015 16:57:54 +1000, rickman <gnuarm@gmail.com> wrote:
>>
>>> On 9/9/2015 8:18 PM, David King wrote:
>>>> On Wed, 9 Sep 2015 12:12:41 -0700 (PDT), whit3rd <whit3rd@gmail.com>
>>>> wrote:
>>>>
>>>>> On Tuesday, September 8, 2015 at 9:07:35 PM UTC-7, David King wrote:
>>>>>> I would like to generate simulated ECG (electrocardiogram) signals  
>>>>>> in
>>>>>> PC software, but since they are subaudio, they cannot be output
>>>>>> through the sound card.
>>>>>>
>>>>>> My idea is to use the raw ECG signal as an envelope with which to
>>>>>> amplitude modulate an audio carrier.
>>>>>
>>>>> That can work, but the usual treatment (as when seismometers feed  
>>>>> into
>>>>> analog tape recorders) uses FM (add a bias voltage, do V-F conversion
>>>>> with the guaranteed-always-positive V).   AM modulation is more
>>>>> troublesome to demodulate.
>>>>>
>>>>
>>>> Thanks for the suggestion. However, I was planning to use a consumer
>>>> audio editing application such as Adobe Audition which does not
>>>> provide for frequency modulation by complex signals.
>>>>
>>>> Several people have reasonably suggested I just buy a DAQ. But I would
>>>> eventually like to build the demodulator into a stand-alone device and
>>>> feed the signal in via an MP3 player.
>>>
>>> If you want to use an MP3 player, check out a few to see if they work
>>> at the lowest frequency you are interested in.  The cutoff frequency
>>> is not a brick wall.  It may not even be determined by the analog
>>> circuitry. The CODEC I use in one of my designs has an internal high
>>> pass filter which is only -3 dB at 3.4 Hz.  I don't remember my ECG
>>> data.  Is this low enough?
>>
>> Some bands are lower eg delta waves - but it might be a place to start
>
> That is EEG.  I think the OP is doing heart, not head.  Or are delta  
> waves also heart?  I never learned much about ECG/EKG.
>

My bad. Your MP3 idea looks good

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


#376377

Fromkrw <krw@nowhere.com>
Date2015-09-10 12:33 -0400
Message-ID<lhb3vadr9h7gehgm1funhog3lt2is9r6lt@4ax.com>
In reply to#376309
On Thu, 10 Sep 2015 02:57:54 -0400, rickman <gnuarm@gmail.com> wrote:

>On 9/9/2015 8:18 PM, David King wrote:
>> On Wed, 9 Sep 2015 12:12:41 -0700 (PDT), whit3rd <whit3rd@gmail.com>
>> wrote:
>>
>>> On Tuesday, September 8, 2015 at 9:07:35 PM UTC-7, David King wrote:
>>>> I would like to generate simulated ECG (electrocardiogram) signals in
>>>> PC software, but since they are subaudio, they cannot be output
>>>> through the sound card.
>>>>
>>>> My idea is to use the raw ECG signal as an envelope with which to
>>>> amplitude modulate an audio carrier.
>>>
>>> That can work, but the usual treatment (as when seismometers feed into
>>> analog tape recorders) uses FM (add a bias voltage, do V-F conversion
>>> with the guaranteed-always-positive V).   AM modulation is more
>>> troublesome to demodulate.
>>>
>>
>> Thanks for the suggestion. However, I was planning to use a consumer
>> audio editing application such as Adobe Audition which does not
>> provide for frequency modulation by complex signals.
>>
>> Several people have reasonably suggested I just buy a DAQ. But I would
>> eventually like to build the demodulator into a stand-alone device and
>> feed the signal in via an MP3 player.
>
>If you want to use an MP3 player, check out a few to see if they work at 
>the lowest frequency you are interested in.  The cutoff frequency is not 
>a brick wall.  It may not even be determined by the analog circuitry. 
>The CODEC I use in one of my designs has an internal high pass filter 
>which is only -3 dB at 3.4 Hz.  I don't remember my ECG data.  Is this 
>low enough?

The fundamental (heart beat) is around 1Hz, so all of the important
detail is faster than that.  I've never done ECG analysis, either, but
it seems worth a try.  Deconvolution with the measured response would
extend the bandwidth a bit, if needed.

>
>If not, you *will* need to modulate the data unless you find a unit that 
>is DC coupled.  AM modulation is *fine* and *easy* to demodulate. 
>Radios don't get any simpler than AM types.  For your purposes I am 
>pretty sure you don't need anything more than a common diode and 
>capacitor with an appropriate amp to drive the following circuit.  Just 
>modulate the signal to account for the detection circuit.

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


#376307

Fromrickman <gnuarm@gmail.com>
Date2015-09-10 02:42 -0400
Message-ID<msr8lo$48c$4@dont-email.me>
In reply to#376244
On 9/9/2015 3:12 PM, whit3rd wrote:
> On Tuesday, September 8, 2015 at 9:07:35 PM UTC-7, David King wrote:
>> I would like to generate simulated ECG (electrocardiogram) signals in
>> PC software, but since they are subaudio, they cannot be output
>> through the sound card.
>>
>> My idea is to use the raw ECG signal as an envelope with which to
>> amplitude modulate an audio carrier.
>
> That can work, but the usual treatment (as when seismometers feed into
> analog tape recorders) uses FM (add a bias voltage, do V-F conversion
> with the guaranteed-always-positive V).   AM modulation is more
> troublesome to demodulate.

Really?  I once demodulated an AM signal by taping a solar cell to my 
oscilloscope screen.  My teacher didn't understand why it worked, he 
thought the solar cell was acting as a rectifier, lol.

-- 

Rick

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


#376246

From"N. Coesel" <nico@niks.nl>
Date2015-09-09 21:13 +0200
Message-ID<55f08564$0$19615$e4fe514c@news.kpn.nl>
In reply to#376185
Op 09/09/2015 om 06:07 AM schreef David King:
>
> I would like to generate simulated ECG (electrocardiogram) signals in
> PC software, but since they are subaudio, they cannot be output
> through the sound card.
>
> My idea is to use the raw ECG signal as an envelope with which to
> amplitude modulate an audio carrier. This will then pass through the
> sound card's frequency limiting network.
>
> Then a low pass filter can be applied external to the PC to recover
> the original subaudio ECG.
>
> Can anyone please suggest what the best design approach would be for
> this project?

Too complicated. Just modify a soundcard: remove DC coupling caps and 
add a bipolar output amplifier. The reference level can be found somewhere.

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


#376310

Fromrickman <gnuarm@gmail.com>
Date2015-09-10 03:00 -0400
Message-ID<msr9md$acf$1@dont-email.me>
In reply to#376246
On 9/9/2015 3:13 PM, N. Coesel wrote:
> Op 09/09/2015 om 06:07 AM schreef David King:
>>
>> I would like to generate simulated ECG (electrocardiogram) signals in
>> PC software, but since they are subaudio, they cannot be output
>> through the sound card.
>>
>> My idea is to use the raw ECG signal as an envelope with which to
>> amplitude modulate an audio carrier. This will then pass through the
>> sound card's frequency limiting network.
>>
>> Then a low pass filter can be applied external to the PC to recover
>> the original subaudio ECG.
>>
>> Can anyone please suggest what the best design approach would be for
>> this project?
>
> Too complicated. Just modify a soundcard: remove DC coupling caps and
> add a bipolar output amplifier. The reference level can be found somewhere.

That may not work.  Many CODECs have internal high pass filters on the 
ADC.  If the OP needs frequencies below a handful of Hz, he may have no 
choice but to modulate the signal.

-- 

Rick

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


#376312

Fromrickman <gnuarm@gmail.com>
Date2015-09-10 03:16 -0400
Message-ID<msrakr$dma$1@dont-email.me>
In reply to#376185
On 9/9/2015 12:07 AM, David King wrote:
>
> I would like to generate simulated ECG (electrocardiogram) signals in
> PC software, but since they are subaudio, they cannot be output
> through the sound card.
>
> My idea is to use the raw ECG signal as an envelope with which to
> amplitude modulate an audio carrier. This will then pass through the
> sound card's frequency limiting network.
>
> Then a low pass filter can be applied external to the PC to recover
> the original subaudio ECG.
>
> Can anyone please suggest what the best design approach would be for
> this project?
>
> For example:
>
> A preferred carrier frequency
>
> Type of filter/demodulator for same

What is a good email address for you?  Contact me at rick dot collins 
dot 2013 at arius dot com.

-- 

Rick

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


#376712

FromDavid King <dking@supernet.com>
Date2015-09-13 11:57 +1000
Message-ID<3jl9va1oclhcqljg6blhe2jgm52k1guf6u@4ax.com>
In reply to#376185
On Wed, 09 Sep 2015 14:07:07 +1000, David King <dking@supernet.com>
wrote:

The circuit below includes the rectifier/LP filter that Dave Platt
kindly assisted me with, plus two symmetrical amplifiers which I have
added to drive solenoid coils.

https://app.box.com/s/zqkepmkb477j3mcpum0wetnohdeqowl8

Everything works fine up to the amp. But I am unable to obtain any
output from the LM358 amplifers.

I suspect biasing, but since the design is slightly unusual, the
solution is escaping me.

Can someone please look at the above diagram and tell me where I am
going wrong?

Many thanks.

David King

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


#376720

Fromrickman <gnuarm@gmail.com>
Date2015-09-12 22:26 -0400
Message-ID<mt2mp7$g2e$1@dont-email.me>
In reply to#376712
On 9/12/2015 9:57 PM, David King wrote:
> On Wed, 09 Sep 2015 14:07:07 +1000, David King <dking@supernet.com>
> wrote:
>
> The circuit below includes the rectifier/LP filter that Dave Platt
> kindly assisted me with, plus two symmetrical amplifiers which I have
> added to drive solenoid coils.
>
> https://app.box.com/s/zqkepmkb477j3mcpum0wetnohdeqowl8
>
> Everything works fine up to the amp. But I am unable to obtain any
> output from the LM358 amplifers.
>
> I suspect biasing, but since the design is slightly unusual, the
> solution is escaping me.
>
> Can someone please look at the above diagram and tell me where I am
> going wrong?
>
> Many thanks.

This is not my forte, but the biasing circuit for the final two opamps 
looks like an awkward circuit.  Are you getting the output you expect 
from the second opamp, pin 7?

What voltages are you trying to put on the two coils?  Do you intend to 
have a DC bias on them?

-- 

Rick

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


#376726

FromPhil Allison <pallison49@gmail.com>
Date2015-09-12 23:11 -0700
Message-ID<61f44b62-b0cd-4069-945c-d01a91c84368@googlegroups.com>
In reply to#376712
David King wrote:
>
> 
> The circuit below includes the rectifier/LP filter that Dave Platt
> kindly assisted me with, plus two symmetrical amplifiers which I have
> added to drive solenoid coils.
> 
> https://app.box.com/s/zqkepmkb477j3mcpum0wetnohdeqowl8
> 
> Everything works fine up to the amp. But I am unable to obtain any
> output from the LM358 amplifers.
> 
> I suspect biasing, but since the design is slightly unusual, the
> solution is escaping me.
> 
> Can someone please look at the above diagram and tell me where I am
> going wrong?


** There are several errors in your schematic. 

The low pass filter has no ground reference, so the DC output voltage is able  wander about. A 22k resistor from C2 negative to ground would settle it down. 

What is the purpose of the two output amps ?

Can't say if a circuit will achieve an unknown one. 

As shown, they cannot work linearly because there are TWO competing DC input levels and the op-amps cannot drive enough current into the pin 2 junctions ( via 100 kohms) to correct this. 

Normally, one applies DC bias to ONE op-amp input and lets the amp deal with the other via the feedback loop. The golden rule with of op-amps is the output always tries to make both inputs exactly the same voltage, your job is to make sure that it is possible for it to do so - or else the output will swing hard up to one DC rail. 




....  Phil 


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


#376732

FromDavid King <dking@supernet.com>
Date2015-09-13 17:10 +1000
Message-ID<us7avah0imjjptuhpopsbbluhjqk0nli0r@4ax.com>
In reply to#376726
On Sat, 12 Sep 2015 23:11:27 -0700 (PDT), Phil Allison
<pallison49@gmail.com> wrote:

>David King wrote:
>>
>> 
>> The circuit below includes the rectifier/LP filter that Dave Platt
>> kindly assisted me with, plus two symmetrical amplifiers which I have
>> added to drive solenoid coils.
>> 
>> https://app.box.com/s/zqkepmkb477j3mcpum0wetnohdeqowl8
>> 
>> Everything works fine up to the amp. But I am unable to obtain any
>> output from the LM358 amplifers.
>> 
>> I suspect biasing, but since the design is slightly unusual, the
>> solution is escaping me.
>> 
>> Can someone please look at the above diagram and tell me where I am
>> going wrong?
>
>
>** There are several errors in your schematic. 
>
>The low pass filter has no ground reference, so the DC output voltage is able  wander about. A 22k resistor from C2 negative to ground would settle it down. 

Thanks Phill. I will fix this as you recommend.

>
>What is the purpose of the two output amps ?

Each amp is driving a coil toward ground. One from the positve rail
and the other from the negative. It is intended to produce two
identica,l but offset, signals.

>
>Can't say if a circuit will achieve an unknown one. 
>
>As shown, they cannot work linearly because there are TWO competing DC input levels and the op-amps cannot drive enough current into the pin 2 junctions ( via 100 kohms) to correct this. 
>

I will try changing the DC offset adjustment from the non-inverting to
inverting input and see what happens.

Is there any way to isolate the DC input level of each amp from the
other amp with a diode?

>Normally, one applies DC bias to ONE op-amp input and lets the amp deal with the other via the feedback loop. The golden rule with of op-amps is the output always tries to make both inputs exactly the same voltage, your job is to make sure that it is possible for it to do so - or else the output will swing hard up to one DC rail. 
>
>
>
>
>....  Phil 
>
>

[toc] | [prev] | [standalone]


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

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


csiph-web