multi-phase oscillator

Started by zachary vex, November 21, 2004, 04:31:18 AM

Previous topic - Next topic

puretube

...people are even still patenting tube circuits nowadays;
...be assured I`ve been researching for a long time;
...don`t want no digital spikes anywhere, that might cause clicking/zippering;
...don`t wanna need filtering;
...want it utmost simple and superbly featuresque!
(haven`t found the latter anywhere).

puretube



zachary vex

they both open as complete jibberish for me!  8^(


gez

Quote from: R.G. on November 22, 2004, 03:07:25 PMThe other answer is - get a PIC. A PIC can output you multi-phase LFOs directly in PWM format, as well as reading the speed pot.

Apologies for resurrecting this old thread, but analogue techniques for doing what I want to do are getting a tad complex. 

Trying to get my head round the above.  Are you saying that 4 outputs of the PIC are used, each one giving a PWM output?  If so, does this work along the lines of a Class-D amp, i.e. a simple LC filter at the output blocks the carrier frequency and the average DC is developed across the cap??

"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

gez

Anyone want to take a stab at it?
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

The Tone God

Quote from: gez on January 07, 2006, 11:38:34 AM
Trying to get my head round the above.  Are you saying that 4 outputs of the PIC are used, each one giving a PWM output?  If so, does this work along the lines of a Class-D amp, i.e. a simple LC filter at the output blocks the carrier frequency and the average DC is developed across the cap??

You can get uCs with four PWM outputs. Each PWM output is, in general, controlled by a timer. All it would take is the proper manipulation of the timer(s) so each output would represent a phase. Fairly simple to do.

Andrew

no one ever

ah hem. NOW is this what we think it is? (is this thread ringing any bells)
(chk chk chk)

Sir H C

To get 90 degree phase shifts from an oscillator, you can either do a phase shift oscillator with 4 sections but this often has multiple places where the gain can cause oscillation, or you can look at the fun quadriture oscillators as are used for most modern mixers.  You just need an all pass network that can create the 90 degree phase shift over the needed band, and then you can use the signal and the 90 degree signal and with inversions get all the signals you need.

This is how we do it for RF to get image reject mixers, so I think it can work for audio frequencies.

TELEFUNKON

IIRC, gez posted a 4phase triangle oscillator himself, a while ago?

gez

#31
Quote from: The Tone God link=topic=27098.msg292110#msg292110
You can get uCs with four PWM outputs. Each PWM output is, in general, controlled by a timer. All it would take is the proper manipulation of the timer(s) so each output would represent a phase. Fairly simple to do.

Thanks for the reply Andrew.  I'm still finding my way around PICs so it'll take a while until I'm up to scratch! 

How do you convert the PWM outputs to something (resembling?) analogue?  Is this like the class D approach as I outlined in my earlier post?  Thanks.
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

gez

#32
Quote from: TELEFUNKON on January 08, 2006, 04:31:38 AM
IIRC, gez posted a 4phase triangle oscillator himself, a while ago?

Indeed I did Mr Funk-on, but I need a rectified sine in quadrature.  Number of ways of doing this in analogue but the parts count (and with some approaches the IC count) is a tad high for my liking. 

I've already found one approach that uses weighted resistors at the output of a PIC to get a stepped waveform - this has a lower parts count than doing the stepped thing with CMOS chips - but I'd prefer something a little smoother.

Just did a spell check and apparently I should be called fez...
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

TELEFUNKON

gez: did you get the PM?
the forum crapped out again right after writing...

Nasse

http://ww1.microchip.com/downloads/en/AppNotes/00538c.pdf


Found this when goooogling around, dunno if this kind of principle (around 4015 cmos chip) could be used for lfo but cant see why not
(tried to find some shift register/resitor matrix like circuits but did not find any better, i have some circuits but could not find those just now)
http://home.att.net/~theremin1/Circuit_Library/wheel.htm

I wish luck for your projects
  • SUPPORTER

gez

Quote from: TELEFUNKON on January 08, 2006, 10:13:20 AM
gez: did you get the PM?
the forum crapped out again right after writing...

Yup, thanks.  I've replied.  :icon_lol:
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

gez

#36
Quote from: Nasse on January 08, 2006, 10:23:18 AM
http://ww1.microchip.com/downloads/en/AppNotes/00538c.pdf

Ah, thank you Nasse!  It obviously is along similar lines to the Class-D approach then. 

Question.  With these PICs that have PWM output.  Do they PWM a waveform presented to the input (via built in A-to-D converter) or does one program the chip to produce the desired waveform, which is then outputted in PWM format?
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

The Tone God

Quote from: gez on January 08, 2006, 05:49:24 AM
I've already found one approach that uses weighted resistors at the output of a PIC to get a stepped waveform - this has a lower parts count than doing the stepped thing with CMOS chips - but I'd prefer something a little smoother.

That would be a varition of DSS (Direct Signal Synthisis). Interesting stuff but if you are doing it with discreets then it eats up alot of outputs.

Quote from: gez on January 08, 2006, 05:45:09 AM
How do you convert the PWM outputs to something (resembling?) analogue?

Usually the common way is to stick on a simple RC low pass network. Depending on the application sometimes you can even get away without needing the filter. The filter should be tunned for the frequency of the PWM output.

Quote from: gez on January 08, 2006, 10:40:23 AM
Question.  With these PICs that have PWM output.  Do they PWM a waveform presented to the input (via built in A-to-D converter) or does one program the chip to produce the desired waveform, which is then outputted in PWM format?

The PWM is just a way of generating a variable output voltage. It is done in the software/hardware with no relation to an input unless you program it so. So it closer to the later.

Andrew

gez

Thanks for your help Andrew, much appreciated.  Any chance of giving me the code of one of these PICs that can do the PWM thing, so I can look at the datasheet and see what's in store? [/gulp]  :icon_biggrin:

"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

gez

Incedentally, the PIC stepped approach is outlined here (about half way down the page):

http://www.ke4nyv.com/picprojects.htm

"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter