Author Topic: Programmable Delay Circuit  (Read 977 times)

0 Members and 1 Guest are viewing this topic.

Offline Md_AslamTopic starter

  • Contributor
  • Posts: 24
  • Country: in
Programmable Delay Circuit
« on: August 17, 2022, 06:58:32 am »
In one of my projects, I need a circuit or EVM board that can provide me the customizable delay. Here customised delay means that I will connect my input to this ckt/board then according to the feedback(command) it should add the delay in my input signal and will give it on the output port.
Suppose I am measuring the delay of two 1PPS signals and the output is 100ms, then that board should add the delay in the stop/start signal to down the delay from 100ms to say 100us and it should maintain this delay.

So please suggest any Circuit/IC/EVM board which can do this task.
 

Offline MegaVolt

  • Frequent Contributor
  • **
  • Posts: 917
  • Country: by
Re: Programmable Delay Circuit
« Reply #1 on: August 17, 2022, 09:47:47 am »
Accuracy of 100mks without problems should be provided even by a microcontroller. Those. any one you know will do. Microcontroller or FPGA. I think even arduino can be made to perform this task.
 

Offline Md_AslamTopic starter

  • Contributor
  • Posts: 24
  • Country: in
Re: Programmable Delay Circuit
« Reply #2 on: August 18, 2022, 07:17:08 am »
Accuracy of 100mks without problems should be provided even by a microcontroller. Those. any one you know will do. Microcontroller or FPGA. I think even arduino can be made to perform this task.

I want a stable delay and in microcontrollers like Arduino, the clock is not stable enough as it drifts more over the span of time. I think FPGA is a good idea but I Was looking for some already made evaluation boards or modules.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: Programmable Delay Circuit
« Reply #3 on: August 18, 2022, 08:19:51 am »
Arduinos are known for their crappy system oscillator accuracy - many of the older ones don't even have a crystal but use a ceramic resonator, and some use the internal oscillator, which is barely good enough to meet the lax requirements for baud rate accuracy for serial comms.

Given an appropriate clean and stable clock source, MCUs and FPGAs will have very similar timing accuracy and stability.  PLLing up an external clock to get a faster system clock uses similar silicon no matter whether its on a MCU die or a FPGA die, and the I/O drivers are remarkably similar.

Grab any MCU you are familiar with and have the toolchain for that's fast enough that one cycle of it's max. I/O clock is fine enough granularity for your delay adjustment,  clock it with a *GOOD* clock signal e.g. 10MHz from a GPSDO and if your code is correctly written, and the input clock signal is within spec. the output edge timing will be accurate to a small fraction of the input clock signal with the extra timing drift and jitter it contributes an order of magnitude smaller.     
« Last Edit: August 18, 2022, 08:31:36 am by Ian.M »
 

Offline MrYakimovYA

  • Regular Contributor
  • *
  • Posts: 73
  • Country: ru
Re: Programmable Delay Circuit
« Reply #4 on: August 18, 2022, 08:23:55 am »
I want a stable delay and in microcontrollers like Arduino, the clock is not stable enough as it drifts more over the span of time. I think FPGA is a good idea but I Was looking for some already made evaluation boards or modules.
How does the clock drift relate to microcontoller? Take a stable OXCO/TXCO generator then.
FPGA doesn't provides a stable clock by itself. If you take an ordinary crystall oscillator then you will have the same drift as with microcontoroller.
 

Offline MegaVolt

  • Frequent Contributor
  • **
  • Posts: 917
  • Country: by
Re: Programmable Delay Circuit
« Reply #5 on: August 18, 2022, 08:26:58 am »
Timers in microcontrollers are very stable.

But FPGA is also possible. In my opinion, almost any modern FPGA will do.

If the old software suits, then Spartan 6
https://aliexpress.com/item/32890953742.html

If new software is important then Artix 7 will be a bit more expensive.
https://aliexpress.com/item/32691533741.html
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf