Ok, I done it, but output is almost 200Hz!!!
Hello again,
I am afraid you will have to explain a little better. You said that you have 'done it', but my suggestion was many fold in nature suggesting several different things such as a range for R1 and also a simple test with the present set up and component values.
So from here on you have to specify what component values you have used and what circuit you use if you change that too. So far i havent suggested changing anything other than R1, R2, and C1. So you need to specify what values you used and what test you did.
The simplest test is to try to lock, period. We want to see it lock. To see this you need to use a frequency like 1Hz (as you have been doing) and assuming you have the correct divide ratio set with the counter (128) we expect to see 128Hz output and as you change frequency of the input BY A SMALL AMOUNT we see the output frequency change to follow that input change. So for now just go from 1Hz to 2Hz, but you could also try 2Hz to 3Hz, as a separate test. Of course 3Hz to 4Hz too, just to see if any of these ranges allows a lock.
To get it to lock we have to have the VCO frequency set right. Unfortunately the data sheets vary a little on what the proper resistor values are to be, so we have to experiment a little (for now). I've now located a better set of data (as per the other thread with the CD4046) but i have to go over that and come up with a model of the VCO before i can use that, so it's going to take a little time to accomplish this task.
But in the mean time you can take note that if you change R1 you should be able to change the VCO center frequency (that's with the input to the VCO equal to 2.5v in a 5v system) So if you set the input to the VCO to 2.5v you should be able to adjust the output frequency using R1 to get it to be (say) 128Hz, and this should allow locking on a 1Hz input signal.
You should also realize that there is a little more to this than some other electronic circuits so it may take little time to experiment and get the right values. However, it may not be possible to lock on such a large range like you seem to want (1Hz to 1000Hz input) as unclejed pointed out. If it does work, it will require changing the input frequency SLOWLY to allow the output filter time to keep up with the changing signal.
I should also point out that i've never worked with a PLL that had to lock in with that big of a range. Typically you see 10 or 20 percent deviation from the nominal input frequency. So with a 100Hz nominal input you may see 80Hz to 120Hz or something like that. But it should be interesting to see how far we can take this.
So what you should do next is set the VCO input to 2.5v with perhaps a voltage divider, then change R1 until you get a 128Hz frequency output, then remove the 2.5v source and hook the circuit back up normally, then input 1Hz and see if you can SLOWLY change to 2Hz and see the output frequency go up SLOWLY a little at a time, like from 1Hz to 1.2Hz, see the output go up a little, then 1.2Hz to 1.3Hz, etc., watching the output.
Let us know how this test goes, and if it doesnt work, try those new values i posted.
Also, be sure to specify exactly what values you used and what you did and what happened.