Re: How to design this circuit?

From: Sylvan Butler (ZsdbUse1+noZs_0501_at_Zbigfoot.Zcom.invalid)
Date: 01/17/05


Date: Mon, 17 Jan 2005 16:39:46 -0700

On Mon, 17 Jan 2005 22:38:14 +0000 (UTC), Tobias Weingartner <weingart@cs.ualberta.ca> wrote:
> I'm looking for some way to figure out a circuit that will lock onto
> a signal (0-5v, binary) in such a way that no matter what the current
> frequency of the input signal (ok, within reason, 720 p/s to 21600 p/s),
> the output signal would be 100 times the input frequency.
>
> In other words, I'd like to have 50 equally spaced pulses occur between
> consecutive transitions of the input signal?

How fast a lock (in terms of input cycles) before the output reflects
100x input?

How fast/often does the input frequency change?

If the answer to the first is >3 cycles, and the answer to the second is
not too often, then you could probably do it with a microcontroller.
720hz to 22khz is not very fast. Microcontroller could measure a cycle
or two of input, and start producing 100x output pulses. Some have
hardware that would help, but with speeds that slow, if the tolerance is
fairly low, should be no problem with modern microcontroller speeds even
entirely in software.

sdb

-- 
Wanted:  Omnibook 800 & accessories, cheap, working or not
sdbuse1 on mailhost bigfoot.com


Relevant Pages

  • RE: 4.7 vs 5.2.1 SMP/UP bridging performance
    ... Note that SMP should cost twice as much extra, ... > lock is contested. ... they don't lock the bus any more ... For example, with your test above, I see 212 cycles for the UP case on ...
    (freebsd-current)
  • Re: [PATCH] x86: let 32bit use apic_ops too
    ... |> Maciej, but if we eliminate LOCK# by using simple MOV there will not ... | then we can use a straight MOV as consecutive writes are not a concern ... since - HOLD is not recognized during LOCK cycles. ...
    (Linux-Kernel)
  • RE: 4.7 vs 5.2.1 SMP/UP bridging performance
    ... > lock is contested. ... > bus for the SMP case always costs about 20+ cycles, ... > resolution profiling is used, ... This means that on the Xeon, each lock instruction take 120 cycles! ...
    (freebsd-current)
  • Re: Mix LGR and Text?
    ... whatever) by polling, you can be sure that you can use of cycles before the next (vsync or whatever) arrives, so as long as you don't exceed this number of cycles you'll be still in time to lock to the next... ... vapor lock bytes again. ... Then, the exact amount of work you do is not important, as long as you are done in time to reacquire. ...
    (comp.sys.apple2)