Electronic Schematics (alt.binaries.schematics.electronic) A place to show and share your electronics schematic drawings.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 2
Default Digital step generator

I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg

And re-drew it as follows.

http://members.ozemail.com.au/~bisagoma/step_gen.jpg

But ... it does not appear to work as described. The input is a 512 Hz
clock pulse. The output on pin 3 of the CD4051 is a slightly noisey
plain squarewave divided by 32 (16Hz). IOW no steps.

Can anyone point out a design fault in this circuit or other reason
why it might not work?

Lewis
  #2   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 71
Default Digital step generator

Lewis Carson a écrit :
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg

And re-drew it as follows.

http://members.ozemail.com.au/~bisagoma/step_gen.jpg

But ... it does not appear to work as described. The input is a 512 Hz
clock pulse. The output on pin 3 of the CD4051 is a slightly noisey
plain squarewave divided by 32 (16Hz). IOW no steps.

Can anyone point out a design fault in this circuit or other reason
why it might not work?


Sure. You need the opamp stage at the 4051 output.
A small cap (1n or so) across the 1K feedback resistor will be welcomed too.

--
Thanks,
Fred.
  #3   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 105
Default Digital step generator

"Fred Bartoli" r_AndThisToo
wrote in message ...
A small cap (1n or so) across the 1K feedback resistor will be welcomed too.


Is that meant to surpress any spikes when the '4051 switches (i.e,. if it
"breaks" before it "makes")?

It's kind of a clever circuit, IMO. What do the circuit design gurus think of
it?

I'm waiting to hear someone suggest you could do this with an 8 pin PIC or
AVR... 4 lines to the '4051, and another one to receive frequency commands
over, e.g., RS-232. :-)


  #4   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 29
Default Digital step generator


"Lewis Carson" wrote in message
...
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg

And re-drew it as follows.

http://members.ozemail.com.au/~bisagoma/step_gen.jpg

But ... it does not appear to work as described. The input is a 512 Hz
clock pulse. The output on pin 3 of the CD4051 is a slightly noisey
plain squarewave divided by 32 (16Hz). IOW no steps.

Can anyone point out a design fault in this circuit or other reason
why it might not work?

Lewis


And pin 7 of the 4051 need to go to 0V



--
Posted via a free Usenet account from http://www.teranews.com

  #5   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 1,420
Default Digital step generator

On Fri, 30 Mar 2007 16:05:14 -0700, "Joel Kolstad"
wrote:

"Fred Bartoli" r_AndThisToo
wrote in message ...
A small cap (1n or so) across the 1K feedback resistor will be welcomed too.


Is that meant to surpress any spikes when the '4051 switches (i.e,. if it
"breaks" before it "makes")?

It's kind of a clever circuit, IMO. What do the circuit design gurus think of
it?

I'm waiting to hear someone suggest you could do this with an 8 pin PIC or
AVR... 4 lines to the '4051, and another one to receive frequency commands
over, e.g., RS-232. :-)


Just connect four pic pins to an output node with 1k, 2k, 4k, and 8k
resistors, and you're done.

John



  #6   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 29
Default Digital step generator


"John Larkin" wrote in message
...
On Fri, 30 Mar 2007 16:05:14 -0700, "Joel Kolstad"
wrote:

"Fred Bartoli"

r_AndThisToo
wrote in message ...
A small cap (1n or so) across the 1K feedback resistor will be welcomed

too.

Is that meant to surpress any spikes when the '4051 switches (i.e,. if it
"breaks" before it "makes")?

It's kind of a clever circuit, IMO. What do the circuit design gurus

think of
it?

I'm waiting to hear someone suggest you could do this with an 8 pin PIC

or
AVR... 4 lines to the '4051, and another one to receive frequency

commands
over, e.g., RS-232. :-)


Just connect four pic pins to an output node with 1k, 2k, 4k, and 8k
resistors, and you're done.

John


Seems about 30% THD?.



--
Posted via a free Usenet account from http://www.teranews.com

  #7   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 83
Default Digital step generator

On Sat, 31 Mar 2007 02:18:09 +0100, "john jardine"
wrote:


"John Larkin" wrote in message
.. .
On Fri, 30 Mar 2007 16:05:14 -0700, "Joel Kolstad"
wrote:

"Fred Bartoli"

fred._canxxxel_this_bartoli@RemoveThatAlso_free. fr_AndThisToo
wrote in message ...
A small cap (1n or so) across the 1K feedback resistor will be welcomed

too.

Is that meant to surpress any spikes when the '4051 switches (i.e,. if it
"breaks" before it "makes")?

It's kind of a clever circuit, IMO. What do the circuit design gurus

think of
it?

I'm waiting to hear someone suggest you could do this with an 8 pin PIC

or
AVR... 4 lines to the '4051, and another one to receive frequency

commands
over, e.g., RS-232. :-)


Just connect four pic pins to an output node with 1k, 2k, 4k, and 8k
resistors, and you're done.

John


Seems about 30% THD?.


Is that what you get with 16 amplitude levels spaced, presumably, at
16 even time intervals? I'd guess somewhat better than 30%; a square
wave is only 43. Possibly you could make a better sine wave if the
resistors weren't binary weighted. More math than I care to sign up
for!

We just did a homebrew 8-channel DDS waveform generator, with 16-bit
math and 14-bit dacs, 2048 point sine lookup table. Sinewaves look
pretty good.

John

  #8   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 29
Default Digital step generator


"John Larkin" wrote in message
...
[...]
Seems about 30% THD?.


Is that what you get with 16 amplitude levels spaced, presumably, at
16 even time intervals? I'd guess somewhat better than 30%; a square
wave is only 43. Possibly you could make a better sine wave if the
resistors weren't binary weighted. More math than I care to sign up
for!


I'd envisioned a clean triangle. (3rd harmonic at 1/3rd of primary).

We just did a homebrew 8-channel DDS waveform generator, with 16-bit
math and 14-bit dacs, 2048 point sine lookup table. Sinewaves look
pretty good.

John


Nice!.
Sounds like you've been disenchanted with the performance of the AD chips.



--
Posted via a free Usenet account from http://www.teranews.com

  #9   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 2
Default Digital step generator

Thank you all for the responses. But to clarify my original question,
is there anything wrong with the circuit below or not? Is the design
flawed or incorrectly implemented?

Thanks,

Lewis


On Sat, 31 Mar 2007 07:30:53 +1000, Lewis Carson
wrote:

I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg

And re-drew it as follows.

http://members.ozemail.com.au/~bisagoma/step_gen.jpg

But ... it does not appear to work as described. The input is a 512 Hz
clock pulse. The output on pin 3 of the CD4051 is a slightly noisey
plain squarewave divided by 32 (16Hz). IOW no steps.

Can anyone point out a design fault in this circuit or other reason
why it might not work?

Lewis


  #10   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 272
Default Digital step generator

"Lewis Carson" wrote in message
...
Thank you all for the responses. But to clarify my original question,
is there anything wrong with the circuit below or not? Is the design
flawed or incorrectly implemented?

Thanks,

Lewis


On Sat, 31 Mar 2007 07:30:53 +1000, Lewis Carson
wrote:

I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg
I found this circuit online.

http://members.ozemail.com.au/~bisagoma/step_sine.jpg

And re-drew it as follows.

http://members.ozemail.com.au/~bisagoma/step_gen.jpg

But ... it does not appear to work as described. The input is a 512 Hz
clock pulse. The output on pin 3 of the CD4051 is a slightly noisey
plain squarewave divided by 32 (16Hz). IOW no steps.

Can anyone point out a design fault in this circuit or other reason
why it might not work?

Lewis



Someone already told you how to fix your drawing. You need to put the opamp, or
at least a load resistance, on the output of the mux. Otherwise, the resistor
chain is open-ended, no current is being passed through them, therefore, you're
seeing only the sum of the 4040 outputs, which are all CMOS level square waves.
Remember, the 4040 is an analog switch. It only makes a path from input to
output, it doesn't source or sink anything at the output except what is applied
to the inputs.

--
Dave M
MasonDG44 at comcast dot net (Just substitute the appropriate characters in the
address)

Life is like a roll of toilet paper; the closer to the end, the faster it goes.




  #11   Report Post  
Posted to alt.binaries.schematics.electronic
external usenet poster
 
Posts: 1,420
Default Digital step generator

On Sat, 31 Mar 2007 15:39:19 +0100, "john jardine"
wrote:


"John Larkin" wrote in message
.. .
[...]
Seems about 30% THD?.


Is that what you get with 16 amplitude levels spaced, presumably, at
16 even time intervals? I'd guess somewhat better than 30%; a square
wave is only 43. Possibly you could make a better sine wave if the
resistors weren't binary weighted. More math than I care to sign up
for!


I'd envisioned a clean triangle. (3rd harmonic at 1/3rd of primary).

We just did a homebrew 8-channel DDS waveform generator, with 16-bit
math and 14-bit dacs, 2048 point sine lookup table. Sinewaves look
pretty good.

John


Nice!.
Sounds like you've been disenchanted with the performance of the AD chips.


We wanted the flexibility to do other/arbitrary waveforms, pulses,
modulation, and channel-channel phase shifts on later versions. And to
program amplitude. And it was fun to roll our own DDS.

John



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
All I did was follow the Directions Step by Step Al Bundy Home Repair 0 February 7th 07 01:20 AM
All I did was follow the Directions Step by Step Edwin Pawlowski Home Repair 2 February 6th 07 07:24 PM
When is a digital/analogue phone not a digital/anaalogue phone? [email protected] UK diy 6 February 3rd 06 10:07 AM
Step-by-step how to correct grading near foundation? bryanska Home Ownership 1 July 13th 05 02:36 PM
Step By Step Instructions For A Free Photo IPOD Buck Electronics 1 December 21st 04 02:32 PM


All times are GMT +1. The time now is 07:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"