Simplest way to delay/retard a square wave? - diyAudio
Go Back   Home > Forums > General Interest > Everything Else

Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 23rd November 2007, 05:18 AM   #1
sss is offline sss  Israel
diyAudio Member
 
sss's Avatar
 
Join Date: Jul 2003
Location: Israel , haifa
Send a message via ICQ to sss
Default sipmlest way to delay/retard a square wave?

yup , as the title says , need the simplest sircuit to delay a pulsed wave with not constant freq.
any ideas?
__________________
if you are not living on the edge you are taking too much space
  Reply With Quote
Old 23rd November 2007, 06:05 AM   #2
diyAudio Member
 
I_Forgot's Avatar
 
Join Date: Jan 2005
Location: Phoenix, Az.
How long do you need to delay it? Do you need to delay rising edge, falling edge, or both? Voltage swing? Fanout/current source/sink capability?

I_F
  Reply With Quote
Old 23rd November 2007, 07:37 AM   #3
sss is offline sss  Israel
diyAudio Member
 
sss's Avatar
 
Join Date: Jul 2003
Location: Israel , haifa
Send a message via ICQ to sss
Quote:
Originally posted by I_Forgot
How long do you need to delay it? Do you need to delay rising edge, falling edge, or both? Voltage swing? Fanout/current source/sink capability?

I_F
i need to delay it in a millisec range ,something that can be controlled (increased or reduced)
need to delay the whole signal.
__________________
if you are not living on the edge you are taking too much space
  Reply With Quote
Old 23rd November 2007, 07:50 AM   #4
fizzard is offline fizzard  Canada
diyAudio Member
 
Join Date: Nov 2006
How much variation in frequency? Is the delay constant or fixed? How much resolution do you need?

I PLL might work, maybe a shift register with a clock.
  Reply With Quote
Old 23rd November 2007, 11:14 AM   #5
sss is offline sss  Israel
diyAudio Member
 
sss's Avatar
 
Join Date: Jul 2003
Location: Israel , haifa
Send a message via ICQ to sss
Quote:
Originally posted by fizzard
How much variation in frequency? Is the delay constant or fixed? How much resolution do you need?

I PLL might work, maybe a shift register with a clock.
hmm , audio freq range , the delay is constant , but i want to be able to change it with a pot or something.
thanx guys
__________________
if you are not living on the edge you are taking too much space
  Reply With Quote
Old 24th November 2007, 12:50 AM   #6
fizzard is offline fizzard  Canada
diyAudio Member
 
Join Date: Nov 2006
Are you trying to delay a digital audio signal, or a digital signal in the audio frequency range?

Is this a clock signal or digital data?

You could use a series of latches, and adjust the delay by changing where you tap the signal from. This won't be practical for long delays unless you have an FPGA.

You might want to look at a microcontroller (AVR, PIC, etc.). They have a built in analog to digital converter for a potentiometer input.
  Reply With Quote
Old 24th November 2007, 02:10 AM   #7
gootee is offline gootee  United States
diyAudio Member
 
Join Date: Nov 2006
Location: Indiana
Blog Entries: 1
If it is an "externally-produced" (i.e. not under your control) signal, then it seems like the easiest way to delay it would be to use a bunch of digital memory and make a buffer big enough to hold at least the maximum delay's-worth of signal.

Make the buffer "circular" and have two memory address "pointers", one for the write location and one for the read location, that both increment around the circular buffer, separated by your delay.

If the pulses are strictly binary information (i.e. just "a pulse" or "not a pulse"), then the hardware could be almost trivial.

But if you need to also keep the amplitude information, then you'll have to have an analog-to-digital converter for the input and a digital-to-analog converter for the output, and use bytes of memory for each sample instead of bits, and maybe sample much more often, and worry about some other stuff, too.

My lab partner and I did one just like that, for audio signals, in an EE lab course, back around 1976 or so. But my lab partner had just made his own microprocessor system from scratch (for fun), and I think he pretty-much "carried me" on that particular project. :-)

Good luck.

- Tom Gootee

http://www.fullnet.com/~tomg/index.html
  Reply With Quote
Old 24th November 2007, 07:39 PM   #8
sss is offline sss  Israel
diyAudio Member
 
sss's Avatar
 
Join Date: Jul 2003
Location: Israel , haifa
Send a message via ICQ to sss
oh , u guys make it sound complicated
its not a digital audio signal , got nothing to do with audio ...
its a simple square wave in audio freq range .
i dont want to use memory ,this makes it complicated.
what if i'll need to delay the rising edge only , can it be done without memory?
thanx again.
__________________
if you are not living on the edge you are taking too much space
  Reply With Quote
Old 24th November 2007, 07:49 PM   #9
dnsey is offline dnsey  United Kingdom
diyAudio Member
 
Join Date: Mar 2004
Location: Shropshire, England
Can you use the pulse to trigger a monostable, and take the output fro the other 'side'? (Would only work if the input frequency is constant or unimportant).
  Reply With Quote
Old 24th November 2007, 09:09 PM   #10
sss is offline sss  Israel
diyAudio Member
 
sss's Avatar
 
Join Date: Jul 2003
Location: Israel , haifa
Send a message via ICQ to sss
Quote:
Originally posted by dnsey
Can you use the pulse to trigger a monostable, and take the output fro the other 'side'? (Would only work if the input frequency is constant or unimportant).

imput freq is not constant
__________________
if you are not living on the edge you are taking too much space
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sine wave - Square & Triangle wave generator using Transistors / OP-Amps lineup Solid State 20 9th October 2006 12:15 AM
square wave in = square wave out rick57 Solid State 19 15th April 2003 11:45 AM
Microphone turns triangle wave into square wave? Circlotron Analogue Source 18 25th January 2003 06:44 AM


New To Site? Need Help?

All times are GMT. The time now is 01:12 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2