Goto page Previous 1, 2, 3, 4 Next
VWWall
Guest
Fri Mar 12, 2010 12:03 am
Bill Sloman wrote:
Quote:
On Mar 10, 6:17 pm, Bill Sloman <bill.slo...@ieee.org> wrote:
On Mar 10, 5:42 pm, John Larkin
jjlar...@highNOTlandTHIStechnologyPART.com> wrote:
On Wed, 10 Mar 2010 10:52:55 GMT, kevinl...@hartley.com (Kevin Lang)
wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Given a single-phase sine wave as input, you could make an all-pass
network that would give two outputs that are 90 degree phase shifted
at all frequencies, then do some analog summing to make 120 and 240.
There are some allpass phase shifter circuits used in ham-radio type
SSB transmitters that aren't too horrible.
It could also be done with an integrator to make a 90 degree shift,
some sort of AGC to restore the amplitude, and some analog mixing.
And a few other terrible ways.
But it's probably easier to build a generator that inherently makes
quadrature or 3-phase sine waves.
Analog Devices do multi-output DDS chips that would probably do the
job.
A quick look suggests that a pair of synchronised AD9958 chips would
do the job
http://www.analog.com/en/rfif-components/direct-digital-synthesis-dds...
but a bit of trigometry with an AD9854 - which nominally generates
pairs of outputs in quadrature - might do the job for less money.
http://en.wikipedia.org/wiki/Trigonometric_functions
sin(x + y) = sin x. cos y + cos x.sin y
sin(2.pi.t + 3.pi/2) = sin(2.pi.t).cos(2.pi/3) + cos(2.pi.t).
sin(2.pi/3)
= sin(2.pi.t).-0.5 + cos(2.pi.t). 0.866025403
which you can get with a summing amplifier, as you can with sin(2.pi.t
+ 4.pi/3)
Once you've got two sine waves in quadrature, getting three phase is
simple. Just use a Scott-T transformer. These were once use for power
applications, but since two phase power is almost extinct, they are now
used for connecting servos that use synchros to those with resolvers.
http://en.wikipedia.org/wiki/Scott-T_transformer
--
Virg Wall, P.E.
Jamie
Guest
Fri Mar 12, 2010 12:15 am
JW wrote:
Quote:
On Wed, 10 Mar 2010 19:33:19 -0500 Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote in Message id:
0AWln.78156$K81.64778_at_newsfe18.iad>:
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
ADC outputs? Do you mean DAC?
Yes, of course

Jamie
Guest
Fri Mar 12, 2010 12:23 am
Michael A. Terrell wrote:
Quote:
JW wrote:
On Wed, 10 Mar 2010 19:33:19 -0500 Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote in Message id:
0AWln.78156$K81.64778_at_newsfe18.iad>:
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
ADC outputs? Do you mean DAC?
He never knows what he means.
I think you should be the last one, commenting on that.
Bill Sloman
Guest
Fri Mar 12, 2010 12:24 am
On Mar 10, 6:17 pm, Bill Sloman <bill.slo...@ieee.org> wrote:
Quote:
On Mar 10, 5:42 pm, John Larkin
jjlar...@highNOTlandTHIStechnologyPART.com> wrote:
On Wed, 10 Mar 2010 10:52:55 GMT, kevinl...@hartley.com (Kevin Lang)
wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Given a single-phase sine wave as input, you could make an all-pass
network that would give two outputs that are 90 degree phase shifted
at all frequencies, then do some analog summing to make 120 and 240.
There are some allpass phase shifter circuits used in ham-radio type
SSB transmitters that aren't too horrible.
It could also be done with an integrator to make a 90 degree shift,
some sort of AGC to restore the amplitude, and some analog mixing.
And a few other terrible ways.
But it's probably easier to build a generator that inherently makes
quadrature or 3-phase sine waves.
Analog Devices do multi-output DDS chips that would probably do the
job.
A quick look suggests that a pair of synchronised AD9958 chips would
do the job
http://www.analog.com/en/rfif-components/direct-digital-synthesis-dds...
but a bit of trigometry with an AD9854 - which nominally generates
pairs of outputs in quadrature - might do the job for less money.
http://en.wikipedia.org/wiki/Trigonometric_functions
sin(x + y) = sin x. cos y + cos x.sin y
sin(2.pi.t + 3.pi/2) = sin(2.pi.t).cos(2.pi/3) + cos(2.pi.t).
sin(2.pi/3)
= sin(2.pi.t).-0.5 + cos(2.pi.t). 0.866025403
which you can get with a summing amplifier, as you can with sin(2.pi.t
+ 4.pi/3)
--
Bill Sloman, Nijmegen
Michael A. Terrell
Guest
Fri Mar 12, 2010 12:57 am
Jamie wrote:
Quote:
Michael A. Terrell wrote:
JW wrote:
On Wed, 10 Mar 2010 19:33:19 -0500 Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote in Message id:
0AWln.78156$K81.64778_at_newsfe18.iad>:
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
ADC outputs? Do you mean DAC?
He never knows what he means.
I think you should be the last one, commenting on that.
When did you start thinking?
--
Lead free solder is Belgium's version of 'Hold my beer and watch this!'
John Fields
Guest
Fri Mar 12, 2010 1:23 am
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Quote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Jamie
Guest
Fri Mar 12, 2010 1:50 am
Michael A. Terrell wrote:
Quote:
Jamie wrote:
Michael A. Terrell wrote:
JW wrote:
On Wed, 10 Mar 2010 19:33:19 -0500 Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote in Message id:
0AWln.78156$K81.64778_at_newsfe18.iad>:
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
ADC outputs? Do you mean DAC?
He never knows what he means.
I think you should be the last one, commenting on that.
When did you start thinking?
I've always been thinking. The mentally incapacitated, usually don't notice.
Don't fret, it'll probably take you a while to get this.
Jamie
Guest
Fri Mar 12, 2010 3:03 am
John Fields wrote:
Quote:
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Never made a variable frequency generator with a uC before?
it's very easy. Look at DDS technology. Just an old idea with a new
name on it and some alterations to make it possible for a wide range of
output.
With 20 Mhz uC's you can get 1khz sine waves via pwm with no problem
into a padded network that is unity buffered.
Even the slower ones can do that. Math isn't a problem, I just load a
data table with the integral coefficients to index into, for fast
computations of the PWM duty cycle.
And I have made a 3 phase 60 Hz reference generator with a PLL that
did a 12 cycle latency sample. This was to replace an obsolete chip.
(via an older generation PIC). The output wave form looked clean....
btw, there are some external components needed to polish this off,
naturally. And if memory serves, I think microchip has newer uC's that
makes this even easier now.
Have a good day..
JosephKK
Guest
Fri Mar 12, 2010 3:47 pm
On Wed, 10 Mar 2010 21:58:36 -0800, Robert Baer <robertbaer_at_localnet.com> wrote:
Quote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Refer to analog computers and work done then (40 or so years ago well
before "solid state").
Even the x=-x.. generator needs tuning for sine generation, so what
is wrong with using three phase retard stages with "ganged" tuning to
maintain fixed phase delay on each stage?
Nothing at all. However average engineers find it difficult to maintain
proper phase relationships and maintain stable amplitude versus frequency.
Michael A. Terrell
Guest
Sat Mar 13, 2010 12:53 am
Jamie wrote:
Quote:
Michael A. Terrell wrote:
Jamie wrote:
Michael A. Terrell wrote:
JW wrote:
On Wed, 10 Mar 2010 19:33:19 -0500 Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote in Message id:
0AWln.78156$K81.64778_at_newsfe18.iad>:
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
ADC outputs? Do you mean DAC?
He never knows what he means.
I think you should be the last one, commenting on that.
When did you start thinking?
I've always been thinking. The mentally incapacitated, usually don't notice.
Don't fret, it'll probably take you a while to get this.
Yawn. You're as stupid as dimbulb. You'll never get that.
--
Lead free solder is Belgium's version of 'Hold my beer and watch this!'
John Fields
Guest
Tue Mar 16, 2010 1:23 am
On Thu, 11 Mar 2010 21:03:15 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Quote:
John Fields wrote:
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Never made a variable frequency generator with a uC before?
---
Heh...
One of the first ones I ever made was using the 6502 in a Commodore 64
and a light pen to translate the amplitude variations on the face of the
monitor into musical tones as the light pen was moved around the screen.
---
Quote:
it's very easy. Look at DDS technology. Just an old idea with a new
name on it and some alterations to make it possible for a wide range of
output.
With 20 Mhz uC's you can get 1khz sine waves via pwm with no problem
into a padded network that is unity buffered.
---
20 _mega_ Hertz???
With an 8 bit counter, a lookup table, and a DAC, I can generate a
stand-alone 1000Hz sine wave using a 256kHz clock, and I can easily
change the frequency of the sine wave just by varying the clock
frequency, unlike you wastrels who demand ever-increasing µC clock
frequencies just to bring your monstrosities to life.
---
Quote:
Even the slower ones can do that. Math isn't a problem, I just load a
data table with the integral coefficients to index into, for fast
computations of the PWM duty cycle.
---
Blah, blah, blah.
---
Quote:
And I have made a 3 phase 60 Hz reference generator with a PLL that
did a 12 cycle latency sample.
---
BFD...
I can build a 3 phase 60Hz reference generator directly locked to a
crystal, with infinite latency and no need for a PLL, and so can just
about anybody else who's in this game.
YMMV.
---
Quote:
This was to replace an obsolete chip.
(via an older generation PIC). The output wave form looked clean....
---
"Looking" clean isn't the same as "being" clean, and, since you've
admitted that you have a penchant for cheap-ass test equipment of
unknown accuracy, you're saying that a lick is as good as a promise.
---
Quote:
btw, there are some external components needed to polish this off,
naturally. And if memory serves, I think microchip has newer uC's that
makes this even easier now.
---
More platitudes.
---
Quote:
Have a good day..
---
Blow me.
JF
Jim Thompson
Guest
Tue Mar 16, 2010 1:33 am
On Mon, 15 Mar 2010 19:23:12 -0500, John Fields
<jfields_at_austininstruments.com> wrote:
Quote:
On Thu, 11 Mar 2010 21:03:15 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
John Fields wrote:
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Never made a variable frequency generator with a uC before?
---
Heh...
One of the first ones I ever made was using the 6502 in a Commodore 64
and a light pen to translate the amplitude variations on the face of the
monitor into musical tones as the light pen was moved around the screen.
---
it's very easy. Look at DDS technology. Just an old idea with a new
name on it and some alterations to make it possible for a wide range of
output.
With 20 Mhz uC's you can get 1khz sine waves via pwm with no problem
into a padded network that is unity buffered.
---
20 _mega_ Hertz???
With an 8 bit counter, a lookup table, and a DAC, I can generate a
stand-alone 1000Hz sine wave using a 256kHz clock, and I can easily
change the frequency of the sine wave just by varying the clock
frequency, unlike you wastrels who demand ever-increasing µC clock
frequencies just to bring your monstrosities to life.
---
Even the slower ones can do that. Math isn't a problem, I just load a
data table with the integral coefficients to index into, for fast
computations of the PWM duty cycle.
---
Blah, blah, blah.
---
And I have made a 3 phase 60 Hz reference generator with a PLL that
did a 12 cycle latency sample.
---
BFD...
I can build a 3 phase 60Hz reference generator directly locked to a
crystal, with infinite latency and no need for a PLL, and so can just
about anybody else who's in this game.
YMMV.
---
This was to replace an obsolete chip.
(via an older generation PIC). The output wave form looked clean....
---
"Looking" clean isn't the same as "being" clean, and, since you've
admitted that you have a penchant for cheap-ass test equipment of
unknown accuracy, you're saying that a lick is as good as a promise.
---
btw, there are some external components needed to polish this off,
naturally. And if memory serves, I think microchip has newer uC's that
makes this even easier now.
---
More platitudes.
---
Have a good day..
---
Blow me.
JF
My favorite phrase since my MECL days... "Speed Kills"
...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at
http://www.analog-innovations.com | 1962 |
The only thing bipartisan in this country is hypocrisy
John Larkin
Guest
Tue Mar 16, 2010 3:45 am
On Thu, 11 Mar 2010 21:03:15 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Quote:
John Fields wrote:
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Never made a variable frequency generator with a uC before?
it's very easy. Look at DDS technology. Just an old idea with a new
name on it and some alterations to make it possible for a wide range of
output.
With 20 Mhz uC's you can get 1khz sine waves via pwm with no problem
into a padded network that is unity buffered.
Even the slower ones can do that. Math isn't a problem, I just load a
data table with the integral coefficients to index into, for fast
computations of the PWM duty cycle.
I usually think of a DDS sinewave lookup table as being, well, sines,
but you could just load the table with the PWM of the sines. A 20 MHz
CPU - especially an ARM - doing 32-bit math could probably do 3-phase
sines up to a couple hundred KHz with milli-Hz frequency resolution.
John
John Larkin
Guest
Tue Mar 16, 2010 3:48 am
On Mon, 15 Mar 2010 22:33:27 -0500, Jamie
<jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Quote:
John Fields wrote:
On Thu, 11 Mar 2010 21:03:15 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
John Fields wrote:
On Wed, 10 Mar 2010 19:33:19 -0500, Jamie
jamie_ka1lpa_not_valid_after_ka1lpa__at_charter.net> wrote:
Kevin Lang wrote:
What would be the simplest way to derive a simultaneous three phase
output from a sine wave produced by a single function generator IC ...
that does not change as the frequency is varied?
Specifically, two additional sinewaves remaining 120 and 240 degrees
out of phase with the original as the frequency is varied between
100Hz and 1KHz.
Kevin Lang
Learn to code a uC chip... A Pic, AVR, ATEML, ARm etc..
that has at least 3 ADC outputs..
The smaller family chips use a PWM (Pulse width modulator) that
can form a Sin wave on the output..
You code the math to generate the first base sine and then, offset
the other outputs at the proper angle.
---
And how, exactly, would you do that over a 10:1 change in frequency?
JF
Never made a variable frequency generator with a uC before?
---
Heh...
One of the first ones I ever made was using the 6502 in a Commodore 64
and a light pen to translate the amplitude variations on the face of the
monitor into musical tones as the light pen was moved around the screen.
---
it's very easy. Look at DDS technology. Just an old idea with a new
name on it and some alterations to make it possible for a wide range of
output.
With 20 Mhz uC's you can get 1khz sine waves via pwm with no problem
into a padded network that is unity buffered.
---
20 _mega_ Hertz???
With an 8 bit counter, a lookup table, and a DAC, I can generate a
stand-alone 1000Hz sine wave using a 256kHz clock, and I can easily
change the frequency of the sine wave just by varying the clock
frequency, unlike you wastrels who demand ever-increasing µC clock
frequencies just to bring your monstrosities to life.
---
Even the slower ones can do that. Math isn't a problem, I just load a
data table with the integral coefficients to index into, for fast
computations of the PWM duty cycle.
---
Blah, blah, blah.
---
And I have made a 3 phase 60 Hz reference generator with a PLL that
did a 12 cycle latency sample.
---
BFD...
I can build a 3 phase 60Hz reference generator directly locked to a
crystal, with infinite latency and no need for a PLL, and so can just
about anybody else who's in this game.
YMMV.
---
This was to replace an obsolete chip.
(via an older generation PIC). The output wave form looked clean....
---
"Looking" clean isn't the same as "being" clean, and, since you've
admitted that you have a penchant for cheap-ass test equipment of
unknown accuracy, you're saying that a lick is as good as a promise.
---
btw, there are some external components needed to polish this off,
naturally. And if memory serves, I think microchip has newer uC's that
makes this even easier now.
---
More platitudes.
---
Have a good day..
---
Blow me.
Professional courtesy response, I presume ?
JF
My my, what vulgarity out of a prestige young man, like yourself.
Yes, he and JT are unusually vulgar today. I figure they were cuddling
for warmth and the shawl fell off their knees.
John
Tim Williams
Guest
Tue Mar 16, 2010 4:24 am
"John Fields" <jfields_at_austininstruments.com> wrote in message
news:0qetp5hfec458on5ar3dl8u58v86mdrnbl_at_4ax.com...
Quote:
20 _mega_ Hertz???
With an 8 bit counter, a lookup table, and a DAC, I can generate a
stand-alone 1000Hz sine wave using a 256kHz clock ...
Ah, but you missed the whole point: PICs don't *have* DACs. To do it by
PWM, you need big clocks.
Have you not noticed Jan's entire exploration of PICs? "How much can you do
with a PIC and a minimum of support hardware?" DACs are support hardware,
not internal, so they are excluded as much as possible.
Some hardware implementation of a count-and-compare PWM generator or
sigma-delta DAC, locally PLL'd to some much higher clock (like 256MHz), and
controlled by a microcontroller at much lower rates (4MHz would be enough),
would be suitable. Alas, they don't make these, nor do they make PICs (or
AVRs) with [parallel] DACs inside, so you're SOL as far as running the core
at big MHz. The alternative is finding a uC which *does* have a DAC inside,
but that directly violates the thesis: use a *PIC*.
Tim
--
Deep Friar: a very philosophical monk.
Website:
http://webpages.charter.net/dawill/tmoranwms
Goto page Previous 1, 2, 3, 4 Next