Hi,
i want to ask if anyone of you know how to design a circuit which takes in a digital input squarewave with 50%duty cycle with frequency f,and output a square wave with 2 times the input frequency but half the voltage with 50%duty cycle as well.
Please help.Thanks.
It possible to do it with pure logic even with autotune when freq change . You will need much high clock (more - better resolution). The one counter measures half period another is preload abd sub type gets couted pulses div by 2 (skip MSB bit from first counter) from the first counter. The both sum of insig rise fall and sub counter output mixed goes to d trigger to get 50 due .
Another approach is analog - input freq get multiplied by 2 (non strict 50 percent due ) and sawtooth is generated , then comparator with auto adjustable (adjusted to due rate) threshold will get 50 due cycle square.