Author Topic: analog switching demodulator technologies "walsh function"  (Read 6301 times)

0 Members and 1 Guest are viewing this topic.

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
analog switching demodulator technologies "walsh function"
« on: November 15, 2013, 06:59:15 pm »
I read this on a website;

PerkinElmer Instrument’s analog lock-in amplifiers use an
alternative and more sophisticated type of switching
demodulator which replaces the single analog switch with an
assembly of several switches driven by a Walsh function. This
may be thought of as a stepped approximation to a sinewave.
Careful selection of components allows such a demodulator to
offer all of the advantages of the switching demodulator with
one additional benefit, which is the complete rejection of the
responses at the third and fifth harmonics and reduced
responses for higher orders.

Does anyone know what an "assembly of several switches driven by a Walsh function." is in context of making an analog multiplier circuit?

I know you can perform a multiplication either by using a multiplier or by using a switch (for the purposes of a lock in amplifier).
What does this superior walsh function switch arrangement look like?

I was going to build a circuit out of op amps and a analog switch in the typical configuration but this has gotten me curious.
 

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: analog switching demodulator technologies "walsh function"
« Reply #1 on: November 15, 2013, 07:12:48 pm »
From my minimal understanding, it is part of the method to used to digitally demodulate complex modulated signals, however I can imagine that just as using a double balanced mixer offers advantages over a single balanced, and an image reject mixer offers further advantages still, then using walsh codes and multiple switches can offer similar advantages.

I can't say any more than that without doing some research, and it's Friday evening, therefore my priorities are fish and beer rather than maths.

Offline branadic

  • Super Contributor
  • ***
  • Posts: 2435
  • Country: de
  • Sounds like noise
Re: analog switching demodulator technologies "walsh function"
« Reply #2 on: November 15, 2013, 07:20:25 pm »
This is what I would have expected while reading that quote too. It's a number of switches driven by the Walsh function, that means each switch is driven by a seperate signal as explained by the Walsh function, a number of frequencies each one multiple of a fundamental frequency that drives switch 1.
The german wiki explains the Walsh function very well:

http://de.wikipedia.org/wiki/Walsh-Funktion

the english wiki does not.
Computers exist to solve problems that we wouldn't have without them. AI exists to answer questions, we wouldn't ask without it.
 

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
Re: analog switching demodulator technologies "walsh function"
« Reply #3 on: November 15, 2013, 11:02:43 pm »
I really don't understand that. The switching method (single switch) lock in amplifier makes sense to me.

I am having trouble understanding how multiple switches could even help. If you have two signals (your phase/frequency reference and your input) how the hell does adding more switches help? Would that just not result in switches operating in parallel and causing problems due to charge injection etc).

What are these additional switches connected to? Typically you have one switch that connects to a reference wave form... does this method some how use harmonics of the reference wave form?

I am sorry but that page of math equations just caused my brain to over heat.  :wtf:

I think I will just find some kind of multiplication IC and be done with this tom foolery.
« Last Edit: November 15, 2013, 11:05:30 pm by SArepairman »
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: analog switching demodulator technologies "walsh function"
« Reply #4 on: November 16, 2013, 04:39:50 am »
I am having trouble understanding how multiple switches could even help. If you have two signals (your phase/frequency reference and your input) how the hell does adding more switches help?

The switches have different gains and the outputs are summed. You could make a multiplying DAC by having switches with power of 2 gain ratios controlled by each 'DAC bit' and you could feed the DAC a digital sine wave to get something only sensitive to the fundamental.

Walsh functions are an easily generated set of digital patterns which controlling switches of appropriate gain can generate any repetitive waveform including the sine wave needed for your requirement.
 

Online Marco

  • Super Contributor
  • ***
  • Posts: 6905
  • Country: nl
Re: analog switching demodulator technologies "walsh function"
« Reply #5 on: November 17, 2013, 01:13:48 am »
So what is the advantage of this over mixing? Dynamic range?
« Last Edit: November 17, 2013, 03:30:10 am by Marco »
 

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
Re: analog switching demodulator technologies "walsh function"
« Reply #6 on: November 17, 2013, 08:09:42 am »
So what is the advantage of this over mixing? Dynamic range?


"with one additional benefit, which is the complete rejection of the
responses at the third and fifth harmonics and reduced
responses for higher orders."

I would still like to see a schematic for a practical circuit that uses this technique.
So we now know that there are multiple switches with different gains switched on at the right time.
How do we determine the gains and when to switch them? What is  the procedure for deciding these things?

somehow I missed this which is most illuminating:
http://www.milton.arachsys.com/nj71/index.php?menu=2&submenu=2&subsubmenu=5&page=2

BUt I would love if someone linked a walsh demodulator circuit or schematic of a machine that uses one





Also, I still don't understand by what you mean by gain of switches. The demodulator circuit I am familar with uses a comparator, square wave reference signal and some op amps. What are you gaining exactly>?
« Last Edit: November 17, 2013, 08:44:53 am by SArepairman »
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: analog switching demodulator technologies "walsh function"
« Reply #7 on: November 17, 2013, 04:14:34 pm »
Also, I still don't understand by what you mean by gain of switches. The demodulator circuit I am familar with uses a comparator, square wave reference signal and some op amps. What are you gaining exactly>?

This http://www.wiseguysynth.com/larry/schematics/walsh/walsh.pdf paper provides the basics and has a practical sine wave generator circuit. Instead of feeding the walsh function patterns at logic levels into the summing amplifier you control switches with those signals to feed + or - your unknown signal into the amplifier.

The output of the amplifier is the unknown signal multiplied by an approximate sine wave of 1/16th the frequency of the walsh generator clock.
 

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
Re: analog switching demodulator technologies "walsh function"
« Reply #8 on: November 17, 2013, 11:13:16 pm »
Also, I still don't understand by what you mean by gain of switches. The demodulator circuit I am familar with uses a comparator, square wave reference signal and some op amps. What are you gaining exactly>?

This http://www.wiseguysynth.com/larry/schematics/walsh/walsh.pdf paper provides the basics and has a practical sine wave generator circuit. Instead of feeding the walsh function patterns at logic levels into the summing amplifier you control switches with those signals to feed + or - your unknown signal into the amplifier.

The output of the amplifier is the unknown signal multiplied by an approximate sine wave of 1/16th the frequency of the walsh generator clock.

But it seems to me that there will be multiple open switches when you describe it that way.
Can you draw a rudimentary paint diagram of how the circuit would look like? I am having alot of difficulty understanding this.
« Last Edit: November 17, 2013, 11:16:50 pm by SArepairman »
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: analog switching demodulator technologies "walsh function"
« Reply #9 on: November 18, 2013, 12:06:04 am »
Also, I still don't understand by what you mean by gain of switches. The demodulator circuit I am familar with uses a comparator, square wave reference signal and some op amps. What are you gaining exactly>?

This http://www.wiseguysynth.com/larry/schematics/walsh/walsh.pdf paper provides the basics and has a practical sine wave generator circuit. Instead of feeding the walsh function patterns at logic levels into the summing amplifier you control switches with those signals to feed + or - your unknown signal into the amplifier.

The output of the amplifier is the unknown signal multiplied by an approximate sine wave of 1/16th the frequency of the walsh generator clock.

But it seems to me that there will be multiple open switches when you describe it that way.
Can you draw a rudimentary paint diagram of how the circuit would look like? I am having alot of difficulty understanding this.

The phase sensitive detector on page 2 of this http://courses.washington.edu/phys431/lock-in/lockin.pdf document uses one change over switch to multiply the unknown signal by a square wave +/- 1.

Several switches driven by walsh functions feeding a summing amplifier with the appropriate gain for each switch will multiply the unknown by an approximate sine wave +/- 1.
 

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
Re: analog switching demodulator technologies "walsh function"
« Reply #10 on: November 18, 2013, 03:06:13 am »
so the input signal would be attenuated with additional amplifiers (i.e. to have a gain of +-0.5, +-0.4, +-0.3 ... ) and each of these inverted/non inverted amplifiers pairs would be connected to a switch connected to point A so that at any time half of the amplifiers would be connected to point A?'

So for instance the amplifiers of +1, -0.5, -0.4, 0.3 could be connected while 0.4, -1, +0.5, -0.3 would be disconnected (i did not follow the timing diagrams here but is my reasoning correct)?

This method demands many op amps.

and in addition to this the reference signal would be fed into the frequency divider block to time all the switches, which seems easy enough in a CPLD.
« Last Edit: November 18, 2013, 03:08:38 am by SArepairman »
 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: analog switching demodulator technologies "walsh function"
« Reply #11 on: November 18, 2013, 03:42:21 am »
So for instance the amplifiers of +1, -0.5, -0.4, 0.3 could be connected while 0.4, -1, +0.5, -0.3 would be disconnected (i did not follow the timing diagrams here but is my reasoning correct)?

This method demands many op amps.

You need one op-amp to multiply the unknown by -1, SPDT switches switch between unknown and -unknown. The output of the switches feed the summing junction of an op-amp through a resistor which sets the gain for that switch. You only need 2 op-amps for any number of walsh functions and switches.
 

Offline SArepairmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 885
  • Country: 00
  • wannabee bit hunter
Re: analog switching demodulator technologies "walsh function"
« Reply #12 on: November 18, 2013, 04:49:16 am »
So for instance the amplifiers of +1, -0.5, -0.4, 0.3 could be connected while 0.4, -1, +0.5, -0.3 would be disconnected (i did not follow the timing diagrams here but is my reasoning correct)?

This method demands many op amps.

You need one op-amp to multiply the unknown by -1, SPDT switches switch between unknown and -unknown. The output of the switches feed the summing junction of an op-amp through a resistor which sets the gain for that switch. You only need 2 op-amps for any number of walsh functions and switches.

OH. Thats easy!  :-+
« Last Edit: November 18, 2013, 04:52:01 am by SArepairman »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf