From: JosephKK on
On Mon, 08 Mar 2010 08:07:37 +0000, Tim Watts <tw(a)dionic.net> wrote:

>JosephKK <quiettechblue(a)yahoo.com>
> wibbled on Sunday 07 March 2010 23:22
>
>
>>>Look at the Atmel AVRs (Tiny for smallness or Mega for more
>>>pins/features/Memory). Cheap, programmable in C or ASM from a variety of
>>>platforms.
>>>
>>>I'm an embedded newbie and I have *no* trouble getting them to dance (in
>>>C, with which I am familiar), so I reckon anyone could ;->
>>
>> So just perzactly what kit did you use? Requiring minds want to know.
>
>STK500 for around 80 quid as I foresaw a lasting relationship between me and
>the DIP versions.
>
>But it can be done for less - there are lots of ISP to USB programmers
>available too that emulate the STK500 protocol.
>
>HTH
>
>Tim

My time experimenting instead of building standard stuff is easily worth
the purchase price indicated.
From: Chris on
On Mar 6, 5:02 am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
> On a sunny day (Fri, 5 Mar 2010 19:55:12 -0800 (PST)) it happened Chris
> <christopher.man...(a)gmail.com> wrote in
> <33f8f59c-4242-428f-8226-d0c6866ce...(a)a10g2000pri.googlegroups.com>:
>
>
>
> >> Something like this will be less then 300$:
> >>ftp://panteltje.com/pub/24_to_60Hz_PLL_img_1847.jpg
> >> the way this is supposed to work is:
> >> the camera contact produces a short pulse that opens the 4015 6swicth.
> >> That samples the 24 Hz and the system will stabilise so the camara pulse =
> >is centered
> >> around an edge of that 24 Hz waveform.
> >> The 4046 runs at 120 Hz, set for exactly 120 Hz with no camera active.
> >> The 7490 has a divide by 2 and a divide by 5, and makes 24 Hz and 60 Hz f=
> >rom the 120 Hz.
> >> Note the loop filter values.
> >> This is not your normal PLL system, but my own invention.
> >> Before you invest years in learning to program PICs,
> >> maybe you could try this first:-)
> >> I have not tried it for this, but at a slightly higher frequency with dif=
> >ferent dividers
> >> for in a data separator,
> >> Extremely stable over a wide range.
> >> Just a quick sketch too, not checked for errors.
>
> >I am interested since I already have the parts.  What do you think the
> >lock time would be?
>
> Some remarks to that diagram, I forgot a resistor, and the loop filter values are for 500 kHz.
>
>        \                          
> ------0 \------ R1 10k ----------------- pin9 4046
>      4016                  |          |
>                           === C1      |
>                            |          |
>                         ------        |                  +5V
>                        |      |       R3 1M               |
>                       ===C2   R2      |                   R4 100 Ohm
>                        |      |       |                   |
>                         ----------------------------------| +2.5V
>                                                           |
>                                                           R5 100 Ohm
>                                                           |
>                                                          ///
> R1 is 10k
> R2 is 2 k
> So, looking at the loop filter, for 24 Hz (say 25) versus 500 kHz the values need to be 20000x bigger,
> so that makes
> C1 20000 x 10 nF = 200 uF
> C2 20000 x 1nF   = 20 uF
>
> When the circuit starts up, without the camera running, or connected, the voltage divider formed by R3 R4
> will cause the VCO input of the 4046 to be at 2.5 V, and it should then run exactly at 120 Hz.
>
> The circuit that you call 'debounce', is not that.
>
> It is a one shot pulse generator, it generates a small positive pulse that opens the 4016 switch momentarily:
>                              +5V
>                               |                                         --  +4.3V
>                               R6 1k                                    |  |
>                               |          | |                           |  | pulse, length set by C3 R7
>   ------------------0--------------------| |--------------------     --    --------------- -0.7V
>  |                                       | |         |       |
>  |                                           C3      |       |
>  0                                                   |       |
> \                                                   ---      R7 10k
>  |camera switch                                     / \      |
>  |                                                  ---      |
>  |                                                   |       |
>   ------------------0---------                      ///     ///
>                               |
>                              ///
>
> This 4016 switch connects C1 to the 24 Hz square wave from the divide by 5 counter 7490.
> If the oscillator is slow, it will connect mostly during the high part, +5V, and C1 will charge fast for a moment.
> If the oscillator is too fast, it will connect mostly during the low part  (0V) and C1 will discharge fast.
> This assures very fast lock time (10k in 200 uF).
> This system *also* assures that when pulses are 'missing' the PLL does not veer of to all the way to a low frequency,
> but stays at the last frequency, slowly moving to its free-running frequency because of R3.
>
> One in lock the phase relationship is like this:
>
>               -----
>              |     |
>              |     |
> -------------       ------- sample pulse to 4016 switch
>
> ---------------                                                                           --------------
>                |                                                                         |
>                |                                                                         |
>                 ------------------------------------------------------------------------- 24 Hz from divide by 5
>
>              -
>             |  |
> ............|  |   ........ 0     charge current in R1 to C1
>                |  |
>                |  |
>                 --
> It is an exact phase lock.
>
>
>
> >My design is very similar but I need to re design
> >the loop filter.  I have a large C and small R, but I have seen
> >another design that has a a large R and small C.  The lock takes
> >several seconds tho with the large RC constant.  All the wile precious
> >film is burning through the camera.  If I use a smaller RC constant
> >then the jitter becomes unacceptable.
>
> >Another big problem is the loop is locking on the wrong frequency on
> >the camera.  It works fine when I simulate the camera with a
> >multivibe, but is locking strangely with the camera.  I tried a low
> >pass to filter bounces, it changed the lock frequency, but still not
> >correct.
>
> >The design requires a lock indication so that the operator will know
> >when the pilot tone is up to pitch so that the movie can be slated.
> >My fullcoat deck takes about 6 or 7 seconds for the fly wheel to get
> >up to speed.  The pitch is fine on this, but there is bad flutter
> >until the flywheel is at speed.
>
> I dunno. maybe you can use that other phase comparator in the 4046 as lock indicator?
>
> >I see that your design incorporates a debounce.  I am interested, but
> >I am having a little tough time reading the schematic.
>
> Hope the above helps.
> In the diagram the C1 can become negative, maybe use 2 caps in opposite direction in series?
> None of the components are critical, and I just calculated them using my neural net (brain).
> It is a small market, I think, especially these days, with all digital cameras and post processing...
> else I could make some for 300$ a piece:-)
>
> > Also, I might
> >suggest I higher frequency for the VCO, I found that it was more
> >stable at a higher frequency, and no big deal to divide down.  Divide
> >by 80 in the loop, and divide by 32 on the output.
>
> You can try ;-)
> The frequency cap is smaller, and probably has less tolerance, also versus temperature.
> But my experienced with the original 4046 and the 74HC4046 are really good any ways,
> I always keep some in stock for projects.
> Although these day PICs make big inroads :-)
> But it is hard to beat an analog PLL in some applications.
>
> >I am friends with a guy that deals with a lot of pros that shoot small
> >gauge film, and I might be able to incorporate this with some software
> >and a PCM recorder.  Right now, I am just trying to get my camera to
> >play with my full coat deck.
>
> >Chris

@ Jan

I have the schematic taken from your drawing with the corrections that
you indicate. I cannot read the ascii drawings my newsgroup reader
does not use a fixed width font, so they are mangled on this end.
Here is a link to my copy of your schematic. I am missing a couple of
component values.

http://chrismaness.com/backend/spice_simulation/IMG_3009.jpg

Thanks,
Chris Maness
From: Chris on
On Mar 6, 5:02 am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
> On a sunny day (Fri, 5 Mar 2010 19:55:12 -0800 (PST)) it happened Chris
> <christopher.man...(a)gmail.com> wrote in
> <33f8f59c-4242-428f-8226-d0c6866ce...(a)a10g2000pri.googlegroups.com>:
>
>
>
> >> Something like this will be less then 300$:
> >>ftp://panteltje.com/pub/24_to_60Hz_PLL_img_1847.jpg
> >> the way this is supposed to work is:
> >> the camera contact produces a short pulse that opens the 4015 6swicth.
> >> That samples the 24 Hz and the system will stabilise so the camara pulse =
> >is centered
> >> around an edge of that 24 Hz waveform.
> >> The 4046 runs at 120 Hz, set for exactly 120 Hz with no camera active.
> >> The 7490 has a divide by 2 and a divide by 5, and makes 24 Hz and 60 Hz f=
> >rom the 120 Hz.
> >> Note the loop filter values.
> >> This is not your normal PLL system, but my own invention.
> >> Before you invest years in learning to program PICs,
> >> maybe you could try this first:-)
> >> I have not tried it for this, but at a slightly higher frequency with dif=
> >ferent dividers
> >> for in a data separator,
> >> Extremely stable over a wide range.
> >> Just a quick sketch too, not checked for errors.
>
> >I am interested since I already have the parts.  What do you think the
> >lock time would be?
>
> Some remarks to that diagram, I forgot a resistor, and the loop filter values are for 500 kHz.
>
>        \                          
> ------0 \------ R1 10k ----------------- pin9 4046
>      4016                  |          |
>                           === C1      |
>                            |          |
>                         ------        |                  +5V
>                        |      |       R3 1M               |
>                       ===C2   R2      |                   R4 100 Ohm
>                        |      |       |                   |
>                         ----------------------------------| +2.5V
>                                                           |
>                                                           R5 100 Ohm
>                                                           |
>                                                          ///
> R1 is 10k
> R2 is 2 k
> So, looking at the loop filter, for 24 Hz (say 25) versus 500 kHz the values need to be 20000x bigger,
> so that makes
> C1 20000 x 10 nF = 200 uF
> C2 20000 x 1nF   = 20 uF
>
> When the circuit starts up, without the camera running, or connected, the voltage divider formed by R3 R4
> will cause the VCO input of the 4046 to be at 2.5 V, and it should then run exactly at 120 Hz.
>
> The circuit that you call 'debounce', is not that.
>
> It is a one shot pulse generator, it generates a small positive pulse that opens the 4016 switch momentarily:
>                              +5V
>                               |                                         --  +4.3V
>                               R6 1k                                    |  |
>                               |          | |                           |  | pulse, length set by C3 R7
>   ------------------0--------------------| |--------------------     --    --------------- -0.7V
>  |                                       | |         |       |
>  |                                           C3      |       |
>  0                                                   |       |
> \                                                   ---      R7 10k
>  |camera switch                                     / \      |
>  |                                                  ---      |
>  |                                                   |       |
>   ------------------0---------                      ///     ///
>                               |
>                              ///
>
> This 4016 switch connects C1 to the 24 Hz square wave from the divide by 5 counter 7490.
> If the oscillator is slow, it will connect mostly during the high part, +5V, and C1 will charge fast for a moment.
> If the oscillator is too fast, it will connect mostly during the low part  (0V) and C1 will discharge fast.
> This assures very fast lock time (10k in 200 uF).
> This system *also* assures that when pulses are 'missing' the PLL does not veer of to all the way to a low frequency,
> but stays at the last frequency, slowly moving to its free-running frequency because of R3.
>
> One in lock the phase relationship is like this:
>
>               -----
>              |     |
>              |     |
> -------------       ------- sample pulse to 4016 switch
>
> ---------------                                                                           --------------
>                |                                                                         |
>                |                                                                         |
>                 ------------------------------------------------------------------------- 24 Hz from divide by 5
>
>              -
>             |  |
> ............|  |   ........ 0     charge current in R1 to C1
>                |  |
>                |  |
>                 --
> It is an exact phase lock.
>
>
>
> >My design is very similar but I need to re design
> >the loop filter.  I have a large C and small R, but I have seen
> >another design that has a a large R and small C.  The lock takes
> >several seconds tho with the large RC constant.  All the wile precious
> >film is burning through the camera.  If I use a smaller RC constant
> >then the jitter becomes unacceptable.
>
> >Another big problem is the loop is locking on the wrong frequency on
> >the camera.  It works fine when I simulate the camera with a
> >multivibe, but is locking strangely with the camera.  I tried a low
> >pass to filter bounces, it changed the lock frequency, but still not
> >correct.
>
> >The design requires a lock indication so that the operator will know
> >when the pilot tone is up to pitch so that the movie can be slated.
> >My fullcoat deck takes about 6 or 7 seconds for the fly wheel to get
> >up to speed.  The pitch is fine on this, but there is bad flutter
> >until the flywheel is at speed.
>
> I dunno. maybe you can use that other phase comparator in the 4046 as lock indicator?
>
> >I see that your design incorporates a debounce.  I am interested, but
> >I am having a little tough time reading the schematic.
>
> Hope the above helps.
> In the diagram the C1 can become negative, maybe use 2 caps in opposite direction in series?
> None of the components are critical, and I just calculated them using my neural net (brain).
> It is a small market, I think, especially these days, with all digital cameras and post processing...
> else I could make some for 300$ a piece:-)
>
> > Also, I might
> >suggest I higher frequency for the VCO, I found that it was more
> >stable at a higher frequency, and no big deal to divide down.  Divide
> >by 80 in the loop, and divide by 32 on the output.
>
> You can try ;-)
> The frequency cap is smaller, and probably has less tolerance, also versus temperature.
> But my experienced with the original 4046 and the 74HC4046 are really good any ways,
> I always keep some in stock for projects.
> Although these day PICs make big inroads :-)
> But it is hard to beat an analog PLL in some applications.
>
> >I am friends with a guy that deals with a lot of pros that shoot small
> >gauge film, and I might be able to incorporate this with some software
> >and a PCM recorder.  Right now, I am just trying to get my camera to
> >play with my full coat deck.
>
> >Chris

@ Jan

I have the schematic taken from your drawing with the corrections that
you indicate. I cannot read the ascii drawings my newsgroup reader
does not use a fixed width font, so they are mangled on this end.
Here is a link to my copy of your schematic. I am missing a couple of
component values.

http://chrismaness.com/backend/spice_simulation/IMG_3009.jpg

Thanks,
Chris Maness
From: JosephKK on
On Tue, 9 Mar 2010 16:07:57 -0800 (PST), Chris <christopher.maness(a)gmail.com> wrote:

>On Mar 6, 5:02 am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
>> On a sunny day (Fri, 5 Mar 2010 19:55:12 -0800 (PST)) it happened Chris
>> <christopher.man...(a)gmail.com> wrote in
>> <33f8f59c-4242-428f-8226-d0c6866ce...(a)a10g2000pri.googlegroups.com>:
>>
>>
>>
>> >> Something like this will be less then 300$:
>> >>ftp://panteltje.com/pub/24_to_60Hz_PLL_img_1847.jpg
>> >> the way this is supposed to work is:
>> >> the camera contact produces a short pulse that opens the 4015 6swicth.
>> >> That samples the 24 Hz and the system will stabilise so the camara pulse =
>> >is centered
>> >> around an edge of that 24 Hz waveform.
>> >> The 4046 runs at 120 Hz, set for exactly 120 Hz with no camera active.
>> >> The 7490 has a divide by 2 and a divide by 5, and makes 24 Hz and 60 Hz f=
>> >rom the 120 Hz.
>> >> Note the loop filter values.
>> >> This is not your normal PLL system, but my own invention.
>> >> Before you invest years in learning to program PICs,
>> >> maybe you could try this first:-)
>> >> I have not tried it for this, but at a slightly higher frequency with dif=
>> >ferent dividers
>> >> for in a data separator,
>> >> Extremely stable over a wide range.
>> >> Just a quick sketch too, not checked for errors.
>>
>> >I am interested since I already have the parts.  What do you think the
>> >lock time would be?
>>
>> Some remarks to that diagram, I forgot a resistor, and the loop filter values are for 500 kHz.
>>
>>        \                          
>> ------0 \------ R1 10k ----------------- pin9 4046
>>      4016                  |          |
>>                           === C1      |
>>                            |          |
>>                         ------        |                  +5V
>>                        |      |       R3 1M               |
>>                       ===C2   R2      |                   R4 100 Ohm
>>                        |      |       |                   |
>>                         ----------------------------------| +2.5V
>>                                                           |
>>                                                           R5 100 Ohm
>>                                                           |
>>                                                          ///
>> R1 is 10k
>> R2 is 2 k
>> So, looking at the loop filter, for 24 Hz (say 25) versus 500 kHz the values need to be 20000x bigger,
>> so that makes
>> C1 20000 x 10 nF = 200 uF
>> C2 20000 x 1nF   = 20 uF
>>
>> When the circuit starts up, without the camera running, or connected, the voltage divider formed by R3 R4
>> will cause the VCO input of the 4046 to be at 2.5 V, and it should then run exactly at 120 Hz.
>>
>> The circuit that you call 'debounce', is not that.
>>
>> It is a one shot pulse generator, it generates a small positive pulse that opens the 4016 switch momentarily:
>>                              +5V
>>                               |                                         --  +4.3V
>>                               R6 1k                                    |  |
>>                               |          | |                           |  | pulse, length set by C3 R7
>>   ------------------0--------------------| |--------------------     --    --------------- -0.7V
>>  |                                       | |         |       |
>>  |                                           C3      |       |
>>  0                                                   |       |
>> \                                                   ---      R7 10k
>>  |camera switch                                     / \      |
>>  |                                                  ---      |
>>  |                                                   |       |
>>   ------------------0---------                      ///     ///
>>                               |
>>                              ///
>>
>> This 4016 switch connects C1 to the 24 Hz square wave from the divide by 5 counter 7490.
>> If the oscillator is slow, it will connect mostly during the high part, +5V, and C1 will charge fast for a moment.
>> If the oscillator is too fast, it will connect mostly during the low part  (0V) and C1 will discharge fast.
>> This assures very fast lock time (10k in 200 uF).
>> This system *also* assures that when pulses are 'missing' the PLL does not veer of to all the way to a low frequency,
>> but stays at the last frequency, slowly moving to its free-running frequency because of R3.
>>
>> One in lock the phase relationship is like this:
>>
>>               -----
>>              |     |
>>              |     |
>> -------------       ------- sample pulse to 4016 switch
>>
>> ---------------                                                                           --------------
>>                |                                                                         |
>>                |                                                                         |
>>                 ------------------------------------------------------------------------- 24 Hz from divide by 5
>>
>>              -
>>             |  |
>> ............|  |   ........ 0     charge current in R1 to C1
>>                |  |
>>                |  |
>>                 --
>> It is an exact phase lock.
>>
>>
>>
>> >My design is very similar but I need to re design
>> >the loop filter.  I have a large C and small R, but I have seen
>> >another design that has a a large R and small C.  The lock takes
>> >several seconds tho with the large RC constant.  All the wile precious
>> >film is burning through the camera.  If I use a smaller RC constant
>> >then the jitter becomes unacceptable.
>>
>> >Another big problem is the loop is locking on the wrong frequency on
>> >the camera.  It works fine when I simulate the camera with a
>> >multivibe, but is locking strangely with the camera.  I tried a low
>> >pass to filter bounces, it changed the lock frequency, but still not
>> >correct.
>>
>> >The design requires a lock indication so that the operator will know
>> >when the pilot tone is up to pitch so that the movie can be slated.
>> >My fullcoat deck takes about 6 or 7 seconds for the fly wheel to get
>> >up to speed.  The pitch is fine on this, but there is bad flutter
>> >until the flywheel is at speed.
>>
>> I dunno. maybe you can use that other phase comparator in the 4046 as lock indicator?
>>
>> >I see that your design incorporates a debounce.  I am interested, but
>> >I am having a little tough time reading the schematic.
>>
>> Hope the above helps.
>> In the diagram the C1 can become negative, maybe use 2 caps in opposite direction in series?
>> None of the components are critical, and I just calculated them using my neural net (brain).
>> It is a small market, I think, especially these days, with all digital cameras and post processing...
>> else I could make some for 300$ a piece:-)
>>
>> > Also, I might
>> >suggest I higher frequency for the VCO, I found that it was more
>> >stable at a higher frequency, and no big deal to divide down.  Divide
>> >by 80 in the loop, and divide by 32 on the output.
>>
>> You can try ;-)
>> The frequency cap is smaller, and probably has less tolerance, also versus temperature.
>> But my experienced with the original 4046 and the 74HC4046 are really good any ways,
>> I always keep some in stock for projects.
>> Although these day PICs make big inroads :-)
>> But it is hard to beat an analog PLL in some applications.
>>
>> >I am friends with a guy that deals with a lot of pros that shoot small
>> >gauge film, and I might be able to incorporate this with some software
>> >and a PCM recorder.  Right now, I am just trying to get my camera to
>> >play with my full coat deck.
>>
>> >Chris
>
>@ Jan
>
>I have the schematic taken from your drawing with the corrections that
>you indicate. I cannot read the ascii drawings my newsgroup reader
>does not use a fixed width font, so they are mangled on this end.
>Here is a link to my copy of your schematic. I am missing a couple of
>component values.
>
>http://chrismaness.com/backend/spice_simulation/IMG_3009.jpg
>
>Thanks,
>Chris Maness

It is not fun and it has to be done each time, but Google groups can be made to behave.
From: linnix on
On Mar 9, 4:07 pm, Chris <christopher.man...(a)gmail.com> wrote:
> On Mar 6, 5:02 am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
>
>
>
> > On a sunny day (Fri, 5 Mar 2010 19:55:12 -0800 (PST)) it happened Chris
> > <christopher.man...(a)gmail.com> wrote in
> > <33f8f59c-4242-428f-8226-d0c6866ce...(a)a10g2000pri.googlegroups.com>:
>
> > >> Something like this will be less then 300$:
> > >>ftp://panteltje.com/pub/24_to_60Hz_PLL_img_1847.jpg
> > >> the way this is supposed to work is:
> > >> the camera contact produces a short pulse that opens the 4015 6swicth.
> > >> That samples the 24 Hz and the system will stabilise so the camara pulse =
> > >is centered
> > >> around an edge of that 24 Hz waveform.
> > >> The 4046 runs at 120 Hz, set for exactly 120 Hz with no camera active.
> > >> The 7490 has a divide by 2 and a divide by 5, and makes 24 Hz and 60 Hz f=
> > >rom the 120 Hz.
> > >> Note the loop filter values.
> > >> This is not your normal PLL system, but my own invention.
> > >> Before you invest years in learning to program PICs,
> > >> maybe you could try this first:-)
> > >> I have not tried it for this, but at a slightly higher frequency with dif=
> > >ferent dividers
> > >> for in a data separator,
> > >> Extremely stable over a wide range.
> > >> Just a quick sketch too, not checked for errors.
>
> > >I am interested since I already have the parts.  What do you think the
> > >lock time would be?
>
> > Some remarks to that diagram, I forgot a resistor, and the loop filter values are for 500 kHz.
>
> >        \                          
> > ------0 \------ R1 10k ----------------- pin9 4046
> >      4016                  |          |
> >                           === C1      |
> >                            |          |
> >                         ------        |                  +5V
> >                        |      |       R3 1M               |
> >                       ===C2   R2      |                   R4 100 Ohm
> >                        |      |       |                   |
> >                         ----------------------------------| +2.5V
> >                                                           |
> >                                                           R5 100 Ohm
> >                                                           |
> >                                                          ///
> > R1 is 10k
> > R2 is 2 k
> > So, looking at the loop filter, for 24 Hz (say 25) versus 500 kHz the values need to be 20000x bigger,
> > so that makes
> > C1 20000 x 10 nF = 200 uF
> > C2 20000 x 1nF   = 20 uF
>
> > When the circuit starts up, without the camera running, or connected, the voltage divider formed by R3 R4
> > will cause the VCO input of the 4046 to be at 2.5 V, and it should then run exactly at 120 Hz.
>
> > The circuit that you call 'debounce', is not that.
>
> > It is a one shot pulse generator, it generates a small positive pulse that opens the 4016 switch momentarily:
> >                              +5V
> >                               |                                         --  +4.3V
> >                               R6 1k                                    |  |
> >                               |          | |                           |  | pulse, length set by C3 R7
> >   ------------------0--------------------| |--------------------     --    --------------- -0.7V
> >  |                                       | |         |       |
> >  |                                           C3      |       |
> >  0                                                   |       |
> > \                                                   ---      R7 10k
> >  |camera switch                                     / \      |
> >  |                                                  ---      |
> >  |                                                   |       |
> >   ------------------0---------                      ///     ///
> >                               |
> >                              ///
>
> > This 4016 switch connects C1 to the 24 Hz square wave from the divide by 5 counter 7490.
> > If the oscillator is slow, it will connect mostly during the high part, +5V, and C1 will charge fast for a moment.
> > If the oscillator is too fast, it will connect mostly during the low part  (0V) and C1 will discharge fast.
> > This assures very fast lock time (10k in 200 uF).
> > This system *also* assures that when pulses are 'missing' the PLL does not veer of to all the way to a low frequency,
> > but stays at the last frequency, slowly moving to its free-running frequency because of R3.
>
> > One in lock the phase relationship is like this:
>
> >               -----
> >              |     |
> >              |     |
> > -------------       ------- sample pulse to 4016 switch
>
> > ---------------                                                                           --------------
> >                |                                                                         |
> >                |                                                                         |
> >                 ------------------------------------------------------------------------- 24 Hz from divide by 5
>
> >              -
> >             |  |
> > ............|  |   ........ 0     charge current in R1 to C1
> >                |  |
> >                |  |
> >                 --
> > It is an exact phase lock.
>
> > >My design is very similar but I need to re design
> > >the loop filter.  I have a large C and small R, but I have seen
> > >another design that has a a large R and small C.  The lock takes
> > >several seconds tho with the large RC constant.  All the wile precious
> > >film is burning through the camera.  If I use a smaller RC constant
> > >then the jitter becomes unacceptable.
>
> > >Another big problem is the loop is locking on the wrong frequency on
> > >the camera.  It works fine when I simulate the camera with a
> > >multivibe, but is locking strangely with the camera.  I tried a low
> > >pass to filter bounces, it changed the lock frequency, but still not
> > >correct.
>
> > >The design requires a lock indication so that the operator will know
> > >when the pilot tone is up to pitch so that the movie can be slated.
> > >My fullcoat deck takes about 6 or 7 seconds for the fly wheel to get
> > >up to speed.  The pitch is fine on this, but there is bad flutter
> > >until the flywheel is at speed.
>
> > I dunno. maybe you can use that other phase comparator in the 4046 as lock indicator?
>
> > >I see that your design incorporates a debounce.  I am interested, but
> > >I am having a little tough time reading the schematic.
>
> > Hope the above helps.
> > In the diagram the C1 can become negative, maybe use 2 caps in opposite direction in series?
> > None of the components are critical, and I just calculated them using my neural net (brain).
> > It is a small market, I think, especially these days, with all digital cameras and post processing...
> > else I could make some for 300$ a piece:-)
>
> > > Also, I might
> > >suggest I higher frequency for the VCO, I found that it was more
> > >stable at a higher frequency, and no big deal to divide down.  Divide
> > >by 80 in the loop, and divide by 32 on the output.
>
> > You can try ;-)
> > The frequency cap is smaller, and probably has less tolerance, also versus temperature.
> > But my experienced with the original 4046 and the 74HC4046 are really good any ways,
> > I always keep some in stock for projects.
> > Although these day PICs make big inroads :-)
> > But it is hard to beat an analog PLL in some applications.
>
> > >I am friends with a guy that deals with a lot of pros that shoot small
> > >gauge film, and I might be able to incorporate this with some software
> > >and a PCM recorder.  Right now, I am just trying to get my camera to
> > >play with my full coat deck.
>
> > >Chris
>
> @ Jan
>
> I have the schematic taken from your drawing with the corrections that
> you indicate.  I cannot read the ascii drawings my newsgroup reader
> does not use a fixed width font, so they are mangled on this end.
> Here is a link to my copy of your schematic.  I am missing a couple of
> component values.
>
> http://chrismaness.com/backend/spice_simulation/IMG_3009.jpg
>
> Thanks,
> Chris Maness

I am not sure how exactly that would work, but just some common
senses. Take for example, your 2M resistor and 200uF capacitor will
have a time constant of the order 400 seconds. How would that affect
your 24Hz PLL?