Electronics-Related.com
Forums

Pinging 74HC4046 Users

Started by Jim Thompson October 15, 2012
On 10/15/2012 07:59 PM, Jim Thompson wrote:
> Finally zeroing in on modeling the 74HC4046 after finding a > unpublished AppNote that gave more details on the innards. This is > what a fixed frequency looks like, simulation-wise... > > http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf > > Comments? Scalings? (This is based on AppNote and Datasheets > claiming trip at VDD/2). > > First release will be VCO only and will be in LTspice format. Once > you approve that, the PFD is virtually all logic. > > ...Jim Thompson
Different manufacturers give you a wide variety of ridiculously nonlinear tuning curves for the VCO--the tuning sensitivity varies like 3:1, and the oscillator quits below about 0.7-1.1V (@VDD=5) depending on the device. Which did you pick? ;) (The metal gate 4046-style oscillators all stink on ice--HC4046, HC7046, HC9046, all makers, all horrible. PD2 is nice if you stay out of the dead zone.) Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On 10/15/2012 09:40 PM, Jim Thompson wrote:
> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs > <pcdhSpamMeSenseless@electrooptical.net> wrote: > >> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>> wrote: >>> >>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>> unpublished AppNote that gave more details on the innards. This is >>>> what a fixed frequency looks like, simulation-wise... >>>> >>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>> >>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>> claiming trip at VDD/2). >>>> >>>> First release will be VCO only and will be in LTspice format. Once >>>> you approve that, the PFD is virtually all logic. >>> >>> Funny. I put a HC7046 into a design recently. Unfortunately there are >>> no design tools for calculating the loop filter components. So how >>> about modeling the HC7046? It is much more interesting because of the >>> lock detect output which can be used as a reset. >>> >> I investigated all the HC versions (HC4046 from several vendors, HC7046, >> HC9046) about a year back, iirc, and their oscillators are all junk >> compared with the ancient metal-gate 4046. They're horribly nonlinear, >> all in different ways, which makes it really hard to build a good PLL. >> What's worse, their oscillators quit when their control voltages are >> within a volt or so of ground (the actual threshold for misbehaviour >> varies from device to device). >> >> The 7046 is enough more expensive that I'd be much happier spending the >> dough on a better oscillator, and using the back end of a normal HC4046 >>from a good vendor. >> >> >> Cheers >> >> Phil Hobs > > It occurs to me that the variable current input quits at about 1*VTH. > So you were trying to get to zero frequency ?:-) > > Add some offset current and it won't quit oscillating. > > ...Jim Thompson
The metal gate version works over about 1000:1 range, and is very respectably linear--a few percent IIRC, which is much better than good enough for inside a PLL. It's really quite pretty in a small way. The HC parts' nonlinearity is all over the map depending on the vendor, and that messes up the loop dynamics really badly. Spicing the HC4046 oscillator will definitely be "a trap for young players", as Dave Jones says. With the loop gain varying 3:1 with control voltage, and the centre frequency being a very poorly controlled function of the RC, you have to make HC4046 loops ridiculously overdamped in the normal case to avoid loop instability. If you're using lead-lag compensation, you have to put the zero a factor of at least 5 below the nominal unity gain cross, whereas with a well-behaved VCO, you can put it right at the unity gain cross and have 45 degrees' phase margin. I'd far rather use an OTA integrator/Schmitt trigger oscillator or something like that, with the 4046 PDII. The HC4046 has its uses, but not nearly as many as if it were really a faster CD4046. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On Tue, 16 Oct 2012 06:11:46 -0700, George Herold wrote:

> On Oct 15, 7:59&nbsp;pm, Jim Thompson <To-Email-Use-The-Envelope-I...@On-My- > Web-Site.com> wrote:
<<< snip >>>
> (I never used the metal can version so don&rsquo;t know what I&rsquo;m missing.)
Phil said metal _gate_ version, i.e. a plain ol' 4046. -- Tim Wescott Control system and signal processing consulting www.wescottdesign.com
On Tue, 16 Oct 2012 11:45:09 -0400, Phil Hobbs wrote:

> On 10/15/2012 09:40 PM, Jim Thompson wrote: >> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs >> <pcdhSpamMeSenseless@electrooptical.net> wrote: >> >>> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>>> wrote: >>>> >>>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>>> unpublished AppNote that gave more details on the innards. This is >>>>> what a fixed frequency looks like, simulation-wise... >>>>> >>>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>>> >>>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>>> claiming trip at VDD/2). >>>>> >>>>> First release will be VCO only and will be in LTspice format. Once >>>>> you approve that, the PFD is virtually all logic. >>>> >>>> Funny. I put a HC7046 into a design recently. Unfortunately there are >>>> no design tools for calculating the loop filter components. So how >>>> about modeling the HC7046? It is much more interesting because of the >>>> lock detect output which can be used as a reset. >>>> >>> I investigated all the HC versions (HC4046 from several vendors, >>> HC7046, >>> HC9046) about a year back, iirc, and their oscillators are all junk >>> compared with the ancient metal-gate 4046. They're horribly >>> nonlinear, all in different ways, which makes it really hard to build >>> a good PLL. What's worse, their oscillators quit when their control >>> voltages are within a volt or so of ground (the actual threshold for >>> misbehaviour varies from device to device). >>> >>> The 7046 is enough more expensive that I'd be much happier spending >>> the dough on a better oscillator, and using the back end of a normal >>> HC4046 >>>from a good vendor. >>> >>> >>> Cheers >>> >>> Phil Hobs >> >> It occurs to me that the variable current input quits at about 1*VTH. >> So you were trying to get to zero frequency ?:-) >> >> Add some offset current and it won't quit oscillating. >> >> ...Jim Thompson > > The metal gate version works over about 1000:1 range, and is very > respectably linear--a few percent IIRC, which is much better than good > enough for inside a PLL. It's really quite pretty in a small way. > > The HC parts' nonlinearity is all over the map depending on the vendor, > and that messes up the loop dynamics really badly. Spicing the HC4046 > oscillator will definitely be "a trap for young players", as Dave Jones > says. > > With the loop gain varying 3:1 with control voltage, and the centre > frequency being a very poorly controlled function of the RC, you have > to make HC4046 loops ridiculously overdamped in the normal case to avoid > loop instability. If you're using lead-lag compensation, you have to > put the zero a factor of at least 5 below the nominal unity gain cross, > whereas with a well-behaved VCO, you can put it right at the unity gain > cross and have 45 degrees' phase margin. > > I'd far rather use an OTA integrator/Schmitt trigger oscillator or > something like that, with the 4046 PDII. > > The HC4046 has its uses, but not nearly as many as if it were really a > faster CD4046. > > Cheers > > Phil Hobbs
Oh, I should know -- OTA Integrator? I wish someone would take the 3-state phase detector from the 4046 and put it into a 6-pin SOT and call it TinyLogic or whatever. It would save ever so much board space. -- Tim Wescott Control system and signal processing consulting www.wescottdesign.com
On Tue, 16 Oct 2012 11:25:52 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>On 10/15/2012 07:59 PM, Jim Thompson wrote: >> Finally zeroing in on modeling the 74HC4046 after finding a >> unpublished AppNote that gave more details on the innards. This is >> what a fixed frequency looks like, simulation-wise... >> >> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >> >> Comments? Scalings? (This is based on AppNote and Datasheets >> claiming trip at VDD/2). >> >> First release will be VCO only and will be in LTspice format. Once >> you approve that, the PFD is virtually all logic. >> >> ...Jim Thompson > >Different manufacturers give you a wide variety of ridiculously >nonlinear tuning curves for the VCO--the tuning sensitivity varies like >3:1,
I don't think most users fret over the incremental slope. The "follower" variation is trivial to fix by adding an OpAmp. Sinking one end of the capacitor into the substrate diode every half cycle is something you have to live with if you like 4046's. I'm doing this for fun (and requests from this group)... I wouldn't use one myself. Get my MC4024 if you want better linearity. I think there's also a PECL copy, but I don't remember the part number off the top of my head. Or use a V-to-F chip.
>and the oscillator quits below about 0.7-1.1V (@VDD=5) depending on >the device.
That's noted on the data sheet. Why does that give you such heartburn? Do you really need zero frequency?
> >Which did you pick? ;)
I have the most complete data on the TI 'HC4046, but I was aiming sort of average ;-) since I'm building it from behavioral blocks. I would guess that you're one of the few people in the world that would need a flat-ass accurate fit to one particular version.
> >(The metal gate 4046-style oscillators all stink on ice--HC4046, HC7046, >HC9046, all makers, all horrible. PD2 is nice if you stay out of the >dead zone.) > >Cheers > >Phil Hobbs
What do you really need? An accurate V-to-F? ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Tue, 16 Oct 2012 10:54:01 -0500, Tim Wescott
<tim@seemywebsite.please> wrote:

>On Tue, 16 Oct 2012 11:45:09 -0400, Phil Hobbs wrote: > >> On 10/15/2012 09:40 PM, Jim Thompson wrote: >>> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs >>> <pcdhSpamMeSenseless@electrooptical.net> wrote: >>> >>>> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>>>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>>>> wrote: >>>>> >>>>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>>>> unpublished AppNote that gave more details on the innards. This is >>>>>> what a fixed frequency looks like, simulation-wise... >>>>>> >>>>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>>>> >>>>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>>>> claiming trip at VDD/2). >>>>>> >>>>>> First release will be VCO only and will be in LTspice format. Once >>>>>> you approve that, the PFD is virtually all logic. >>>>> >>>>> Funny. I put a HC7046 into a design recently. Unfortunately there are >>>>> no design tools for calculating the loop filter components. So how >>>>> about modeling the HC7046? It is much more interesting because of the >>>>> lock detect output which can be used as a reset. >>>>> >>>> I investigated all the HC versions (HC4046 from several vendors, >>>> HC7046, >>>> HC9046) about a year back, iirc, and their oscillators are all junk >>>> compared with the ancient metal-gate 4046. They're horribly >>>> nonlinear, all in different ways, which makes it really hard to build >>>> a good PLL. What's worse, their oscillators quit when their control >>>> voltages are within a volt or so of ground (the actual threshold for >>>> misbehaviour varies from device to device). >>>> >>>> The 7046 is enough more expensive that I'd be much happier spending >>>> the dough on a better oscillator, and using the back end of a normal >>>> HC4046 >>>>from a good vendor. >>>> >>>> >>>> Cheers >>>> >>>> Phil Hobs >>> >>> It occurs to me that the variable current input quits at about 1*VTH. >>> So you were trying to get to zero frequency ?:-) >>> >>> Add some offset current and it won't quit oscillating. >>> >>> ...Jim Thompson >> >> The metal gate version works over about 1000:1 range, and is very >> respectably linear--a few percent IIRC, which is much better than good >> enough for inside a PLL. It's really quite pretty in a small way. >> >> The HC parts' nonlinearity is all over the map depending on the vendor, >> and that messes up the loop dynamics really badly. Spicing the HC4046 >> oscillator will definitely be "a trap for young players", as Dave Jones >> says. >> >> With the loop gain varying 3:1 with control voltage, and the centre >> frequency being a very poorly controlled function of the RC, you have >> to make HC4046 loops ridiculously overdamped in the normal case to avoid >> loop instability. If you're using lead-lag compensation, you have to >> put the zero a factor of at least 5 below the nominal unity gain cross, >> whereas with a well-behaved VCO, you can put it right at the unity gain >> cross and have 45 degrees' phase margin. >> >> I'd far rather use an OTA integrator/Schmitt trigger oscillator or >> something like that, with the 4046 PDII. >> >> The HC4046 has its uses, but not nearly as many as if it were really a >> faster CD4046. >> >> Cheers >> >> Phil Hobbs > >Oh, I should know -- OTA Integrator? > >I wish someone would take the 3-state phase detector from the 4046 and >put it into a 6-pin SOT and call it TinyLogic or whatever. It would save >ever so much board space.
W/O the charge pump, it's just a dual-D plus a quad 2-in-NAND. ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Oct 16, 11:51=A0am, Tim Wescott <t...@seemywebsite.please> wrote:
> On Tue, 16 Oct 2012 06:11:46 -0700, George Herold wrote: > > On Oct 15, 7:59=A0pm, Jim Thompson <To-Email-Use-The-Envelope-I...@On-M=
y-
> > Web-Site.com> wrote: > > <<< snip >>> > > > (I never used the metal can version so don=92t know what I=92m missing.=
)
> > Phil said metal _gate_ version, i.e. a plain ol' 4046. > > -- > Tim Wescott > Control system and signal processing consultingwww.wescottdesign.com
Ahh thanks Tim, the CD4046? I guess I should order some. OTA =3D transconductance amplifier? (not sure what O is.) George H.
On Tue, 16 Oct 2012 08:59:19 -0700, Jim Thompson wrote:

> On Tue, 16 Oct 2012 10:54:01 -0500, Tim Wescott > <tim@seemywebsite.please> wrote: > >>On Tue, 16 Oct 2012 11:45:09 -0400, Phil Hobbs wrote: >> >>> On 10/15/2012 09:40 PM, Jim Thompson wrote: >>>> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs >>>> <pcdhSpamMeSenseless@electrooptical.net> wrote: >>>> >>>>> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>>>>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>>>>> wrote: >>>>>> >>>>>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>>>>> unpublished AppNote that gave more details on the innards. This >>>>>>> is what a fixed frequency looks like, simulation-wise... >>>>>>> >>>>>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>>>>> >>>>>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>>>>> claiming trip at VDD/2). >>>>>>> >>>>>>> First release will be VCO only and will be in LTspice format. >>>>>>> Once you approve that, the PFD is virtually all logic. >>>>>> >>>>>> Funny. I put a HC7046 into a design recently. Unfortunately there >>>>>> are no design tools for calculating the loop filter components. So >>>>>> how about modeling the HC7046? It is much more interesting because >>>>>> of the lock detect output which can be used as a reset. >>>>>> >>>>> I investigated all the HC versions (HC4046 from several vendors, >>>>> HC7046, >>>>> HC9046) about a year back, iirc, and their oscillators are all junk >>>>> compared with the ancient metal-gate 4046. They're horribly >>>>> nonlinear, all in different ways, which makes it really hard to >>>>> build a good PLL. What's worse, their oscillators quit when their >>>>> control voltages are within a volt or so of ground (the actual >>>>> threshold for misbehaviour varies from device to device). >>>>> >>>>> The 7046 is enough more expensive that I'd be much happier spending >>>>> the dough on a better oscillator, and using the back end of a normal >>>>> HC4046 >>>>>from a good vendor. >>>>> >>>>> >>>>> Cheers >>>>> >>>>> Phil Hobs >>>> >>>> It occurs to me that the variable current input quits at about 1*VTH. >>>> So you were trying to get to zero frequency ?:-) >>>> >>>> Add some offset current and it won't quit oscillating. >>>> >>>> ...Jim Thompson >>> >>> The metal gate version works over about 1000:1 range, and is very >>> respectably linear--a few percent IIRC, which is much better than good >>> enough for inside a PLL. It's really quite pretty in a small way. >>> >>> The HC parts' nonlinearity is all over the map depending on the >>> vendor, and that messes up the loop dynamics really badly. Spicing >>> the HC4046 oscillator will definitely be "a trap for young players", >>> as Dave Jones says. >>> >>> With the loop gain varying 3:1 with control voltage, and the centre >>> frequency being a very poorly controlled function of the RC, you have >>> to make HC4046 loops ridiculously overdamped in the normal case to >>> avoid loop instability. If you're using lead-lag compensation, you >>> have to put the zero a factor of at least 5 below the nominal unity >>> gain cross, whereas with a well-behaved VCO, you can put it right at >>> the unity gain cross and have 45 degrees' phase margin. >>> >>> I'd far rather use an OTA integrator/Schmitt trigger oscillator or >>> something like that, with the 4046 PDII. >>> >>> The HC4046 has its uses, but not nearly as many as if it were really a >>> faster CD4046. >>> >>> Cheers >>> >>> Phil Hobbs >> >>Oh, I should know -- OTA Integrator? >> >>I wish someone would take the 3-state phase detector from the 4046 and >>put it into a 6-pin SOT and call it TinyLogic or whatever. It would >>save ever so much board space. > > W/O the charge pump, it's just a dual-D plus a quad 2-in-NAND. > > ...Jim Thompson
That's a lot more board space than a SOT-23. -- Tim Wescott Control system and signal processing consulting www.wescottdesign.com
On Tue, 16 Oct 2012 11:37:30 -0500, Tim Wescott
<tim@seemywebsite.please> wrote:

>On Tue, 16 Oct 2012 08:59:19 -0700, Jim Thompson wrote: > >> On Tue, 16 Oct 2012 10:54:01 -0500, Tim Wescott >> <tim@seemywebsite.please> wrote: >> >>>On Tue, 16 Oct 2012 11:45:09 -0400, Phil Hobbs wrote: >>> >>>> On 10/15/2012 09:40 PM, Jim Thompson wrote: >>>>> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs >>>>> <pcdhSpamMeSenseless@electrooptical.net> wrote: >>>>> >>>>>> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>>>>>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>>>>>> unpublished AppNote that gave more details on the innards. This >>>>>>>> is what a fixed frequency looks like, simulation-wise... >>>>>>>> >>>>>>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>>>>>> >>>>>>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>>>>>> claiming trip at VDD/2). >>>>>>>> >>>>>>>> First release will be VCO only and will be in LTspice format. >>>>>>>> Once you approve that, the PFD is virtually all logic. >>>>>>> >>>>>>> Funny. I put a HC7046 into a design recently. Unfortunately there >>>>>>> are no design tools for calculating the loop filter components. So >>>>>>> how about modeling the HC7046? It is much more interesting because >>>>>>> of the lock detect output which can be used as a reset. >>>>>>> >>>>>> I investigated all the HC versions (HC4046 from several vendors, >>>>>> HC7046, >>>>>> HC9046) about a year back, iirc, and their oscillators are all junk >>>>>> compared with the ancient metal-gate 4046. They're horribly >>>>>> nonlinear, all in different ways, which makes it really hard to >>>>>> build a good PLL. What's worse, their oscillators quit when their >>>>>> control voltages are within a volt or so of ground (the actual >>>>>> threshold for misbehaviour varies from device to device). >>>>>> >>>>>> The 7046 is enough more expensive that I'd be much happier spending >>>>>> the dough on a better oscillator, and using the back end of a normal >>>>>> HC4046 >>>>>>from a good vendor. >>>>>> >>>>>> >>>>>> Cheers >>>>>> >>>>>> Phil Hobs >>>>> >>>>> It occurs to me that the variable current input quits at about 1*VTH. >>>>> So you were trying to get to zero frequency ?:-) >>>>> >>>>> Add some offset current and it won't quit oscillating. >>>>> >>>>> ...Jim Thompson >>>> >>>> The metal gate version works over about 1000:1 range, and is very >>>> respectably linear--a few percent IIRC, which is much better than good >>>> enough for inside a PLL. It's really quite pretty in a small way. >>>> >>>> The HC parts' nonlinearity is all over the map depending on the >>>> vendor, and that messes up the loop dynamics really badly. Spicing >>>> the HC4046 oscillator will definitely be "a trap for young players", >>>> as Dave Jones says. >>>> >>>> With the loop gain varying 3:1 with control voltage, and the centre >>>> frequency being a very poorly controlled function of the RC, you have >>>> to make HC4046 loops ridiculously overdamped in the normal case to >>>> avoid loop instability. If you're using lead-lag compensation, you >>>> have to put the zero a factor of at least 5 below the nominal unity >>>> gain cross, whereas with a well-behaved VCO, you can put it right at >>>> the unity gain cross and have 45 degrees' phase margin. >>>> >>>> I'd far rather use an OTA integrator/Schmitt trigger oscillator or >>>> something like that, with the 4046 PDII. >>>> >>>> The HC4046 has its uses, but not nearly as many as if it were really a >>>> faster CD4046. >>>> >>>> Cheers >>>> >>>> Phil Hobbs >>> >>>Oh, I should know -- OTA Integrator? >>> >>>I wish someone would take the 3-state phase detector from the 4046 and >>>put it into a 6-pin SOT and call it TinyLogic or whatever. It would >>>save ever so much board space. >> >> W/O the charge pump, it's just a dual-D plus a quad 2-in-NAND. >> >> ...Jim Thompson > >That's a lot more board space than a SOT-23.
If you can round up some customers who would pay for it, I'll design and fab it. Unfortunately today's average customer wants the whole world on that one chip, NOT just a building block. ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On 10/16/2012 11:54 AM, Tim Wescott wrote:
> On Tue, 16 Oct 2012 11:45:09 -0400, Phil Hobbs wrote: > >> On 10/15/2012 09:40 PM, Jim Thompson wrote: >>> On Mon, 15 Oct 2012 21:22:04 -0400, Phil Hobbs >>> <pcdhSpamMeSenseless@electrooptical.net> wrote: >>> >>>> On 10/15/2012 9:16 PM, Nico Coesel wrote: >>>>> Jim Thompson<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> >>>>> wrote: >>>>> >>>>>> Finally zeroing in on modeling the 74HC4046 after finding a >>>>>> unpublished AppNote that gave more details on the innards. This is >>>>>> what a fixed frequency looks like, simulation-wise... >>>>>> >>>>>> http://www.analog-innovations.com/SED/HC4046_VCO_2_SIM.pdf >>>>>> >>>>>> Comments? Scalings? (This is based on AppNote and Datasheets >>>>>> claiming trip at VDD/2). >>>>>> >>>>>> First release will be VCO only and will be in LTspice format. Once >>>>>> you approve that, the PFD is virtually all logic. >>>>> >>>>> Funny. I put a HC7046 into a design recently. Unfortunately there are >>>>> no design tools for calculating the loop filter components. So how >>>>> about modeling the HC7046? It is much more interesting because of the >>>>> lock detect output which can be used as a reset. >>>>> >>>> I investigated all the HC versions (HC4046 from several vendors, >>>> HC7046, >>>> HC9046) about a year back, iirc, and their oscillators are all junk >>>> compared with the ancient metal-gate 4046. They're horribly >>>> nonlinear, all in different ways, which makes it really hard to build >>>> a good PLL. What's worse, their oscillators quit when their control >>>> voltages are within a volt or so of ground (the actual threshold for >>>> misbehaviour varies from device to device). >>>> >>>> The 7046 is enough more expensive that I'd be much happier spending >>>> the dough on a better oscillator, and using the back end of a normal >>>> HC4046 >>> >from a good vendor. >>>> >>>> >>>> Cheers >>>> >>>> Phil Hobs >>> >>> It occurs to me that the variable current input quits at about 1*VTH. >>> So you were trying to get to zero frequency ?:-) >>> >>> Add some offset current and it won't quit oscillating. >>> >>> ...Jim Thompson >> >> The metal gate version works over about 1000:1 range, and is very >> respectably linear--a few percent IIRC, which is much better than good >> enough for inside a PLL. It's really quite pretty in a small way. >> >> The HC parts' nonlinearity is all over the map depending on the vendor, >> and that messes up the loop dynamics really badly. Spicing the HC4046 >> oscillator will definitely be "a trap for young players", as Dave Jones >> says. >> >> With the loop gain varying 3:1 with control voltage, and the centre >> frequency being a very poorly controlled function of the RC, you have >> to make HC4046 loops ridiculously overdamped in the normal case to avoid >> loop instability. If you're using lead-lag compensation, you have to >> put the zero a factor of at least 5 below the nominal unity gain cross, >> whereas with a well-behaved VCO, you can put it right at the unity gain >> cross and have 45 degrees' phase margin. >> >> I'd far rather use an OTA integrator/Schmitt trigger oscillator or >> something like that, with the 4046 PDII. >> >> The HC4046 has its uses, but not nearly as many as if it were really a >> faster CD4046. >> >> Cheers >> >> Phil Hobbs > > Oh, I should know -- OTA Integrator?
Operational transconductance amplifier, e.g. an LM13700--basically a bunch of current mirrors, controlled by a diff pair so that you can set the tail current of the pair and the output is a current source equal to delta I_C, which pulls almost to the rails. You hang a cap on the output, buffer it with the built-in Darlington, and feed that into a Schmitt trigger, which can be made from the other half of the LM13700 in a pinch. The Schmitt switches the diff pair of the integrator stage, so you get a reasonably decent triangle wave with a slope proportional to the current you program the OTA integrator with. Works well at low speed, over a wide range, and the component count is lowish.
> > I wish someone would take the 3-state phase detector from the 4046 and > put it into a 6-pin SOT and call it TinyLogic or whatever. It would save > ever so much board space.
Agreed. But it would cost a bunch more, because the 4046 is the jellybean. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net