Author Topic: Phase shift mixing multiple square wave signals together  (Read 936 times)

0 Members and 1 Guest are viewing this topic.

Offline jonovidTopic starter

  • Super Contributor
  • ***
  • Posts: 1546
  • Country: au
    • JONOVID
Phase shift mixing multiple square wave signals together
« on: January 22, 2022, 07:49:31 am »
the idea here is to use a single clock input to represent up to 4 or 5 multiple square wave signals at one time in the use of phase shift mixing
so duplication of the logic gates is avoided at the outputs. one signal path can be used representing multiple square wave signals

before conducting experiments I seek the opinion of others. as reinventing the wheel is  :palm:
before ordering more components for an experiment that may fail  |O  I seek the opinion of others.
most phase shift mixing for motor control is only two inputs

mixing 4 or 5 square wave signals together in to one square wave phase shift
Not an analog output
Not a analog to digital converter
phase shift mixing to a square wave by logic gates
why
in music synthesis experiments
say I have 12 square wave inputs with-in one octave of frequency and all 12 are inputs are combined logicly to a single output in square wave phase shift
will the individual square wave inputs be distinguishable in the output square wave? or will it be random noise?
the difference between input signals will be less then one octave of their frequency
in most cases no more then 4 or 5 input signals will be combined logicly at any time out of a bank of 12 input square wave signals
square wave duty cycles of all input signals be the same say 50% or 5%  duty cycle
my experiment is to
make up a set of gates for all 12 inputs   12x 555 timers
or get this ic

8 input gate so two of this
note that the on state for any one of the inputs will add to the signal output on time .
74LVC30A
https://assets.nexperia.com/documents/data-sheet/74LVC30A.pdf
Hobbyist with a basic knowledge of electronics
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Phase shift mixing multiple square wave signals together
« Reply #1 on: January 22, 2022, 10:00:25 am »
To what end?  Do you want to "mix" (in the audio sense) the signals?

Logic gates are nonlinear in that sense.  An adding circuit (audio mixer) is required.

Phase shift is mostly irrelevant; the logic result will have tones (harmonics and intermodulation (mixing) products) at various sum and difference frequencies.  Phase can null certain tones but not change the overall spectrum.

(The most linear a gate gets, is either an XOR gate which is linear in the sense that it obeys algebraic rules, or maybe something like a Hadamard gate which is lossless in the information sense.  Neither is linear in the analog sense.)

If multiple outputs are acceptable, then an AND gate (to select each input), followed by a chain of adders, will create a binary result (ceil(lg(N)) bits for N inputs) corresponding to the analog sum.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline jonpaul

  • Super Contributor
  • ***
  • Posts: 3656
  • Country: fr
  • Analog, magnetics, Power, HV, Audio, Cinema
    • IEEE Spectrum
Re: Phase shift mixing multiple square wave signals together
« Reply #2 on: January 22, 2022, 10:05:48 am »
Check electronic music sites, and work of Moog, etc. on polyphonic syntheses.

Jon

An Internet Dinosaur...
 

Offline jonovidTopic starter

  • Super Contributor
  • ***
  • Posts: 1546
  • Country: au
    • JONOVID
Re: Phase shift mixing multiple square wave signals together
« Reply #3 on: January 22, 2022, 12:48:23 pm »
I have no idea what will happen if conducting this experiment it may end in random noise.
just that no one has posted a circuit like this anywhere. maybe because it doesn't work. :-//

Quote
To what end?  Do you want to "mix" (in the audio sense) the signals?

Logic gates are nonlinear in that sense.  An adding circuit (audio mixer) is required.
yes I know the audio at some point in the signal path needs to be recovered as analog from the digital output.

in analog audio mixing the results are well known and well documented we all know that.
Quote
Check electronic music sites, and work of Moog, etc. on polyphonic syntheses.
  :-+
I know about Moog ARP and Japanese Roland history, the many good analog synthesizer sites
 why try this  or experiment
there are some things one can do with a digital output that one can not do with a analog output
example clocking sequencers and digital circuit bending.

I started with the popular Atari Punk Console  and decided add to both ends of the circuit with a big bag of 555's from AliEx.
the front end is the circuit posted here. middle is the un-known digital circuit  :-// and the rear end does work as a digital to analog converter.
I am posting to see if anyone has tried this before

thinking about this it looks like a high frequency clock is needed to coordinate the
digital mixing at both the top and bottom of the frequency's to be combined.  this is getting complicated

if all else fails I can copy the Atari Punk Console circuit 12 times in parallel, then tune it to scale. that's 24 knobs to play with.
add two sequencers on analog audio mixing output, 18 more knobs to play with.  mission accomplished
Hobbyist with a basic knowledge of electronics
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf