MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15246
Loc: BoomTown
Send PM
Xtal compensation theory 101: Part 1
07/03/12 05:45 AM Attachment: AT_cut-good.png 36 KB (0 downloads)


> > > For me, the clock was running a wee bit too fast, so...
> > > I told it that there were 500012 microseconds in half a second! Problem solved!
> >
> >
> > Problem solved at that specific temperature. Mess with your thermostat in the
> > slightest and you might have just made things worse.
> >
> > What you said isnt untrue, as long as ambeint is not a variable. I have some nice
> > temp vs frequency charts I can post later, if you would like.
>
> I'd like to see them.
> How bad is the problem, really? If it's not too bad, then (since the clock has a
> calendar) I could use a lookup table based on the month of the year. Assume 65
> degrees F in February, 75 degrees F in August, that sort of thing, as the clock is
> for indoor use.


It isn't that simple, not even in a really good looking crystal as shown.

Below is a pretty decent looking and fairly well compensated AT cut crystal, @ 10MHz. The plot you see is the frequency deviation from nominal (10Mhz), shown in ppm (Parts per million). In this case that equates to about .07ppm total deviation(70 parts per billion) over the temp range of -45C to 80C (+/-32ppb would be the appropriate tagging). That would make for one rocking timepiece, but you'd be paying $30 - $70 for just the oscillator.

To put that in perspective, your average uncompensated quartz clock oscillator is listed around 10ppm. That'll get you to +/- one second a DAY.

The crystal below is compensated as an "oven oscillator". They actually put the crystal in a little sealed container, and using a PID or similar control circuit keep the "oven" at a specific single temperature just above the highest rated use temperature. By this method they remove temperature as variable and can, as you put it, "tell the clock to run a little faster" (or slower). Even with aging, drift, and jitter, you'd end up with a very accurate clock. That is the nature of an oven oscillator, your error follows a smooth and predictable curve. The drawbacks here are expense, power required to run the oven, and space. You'd end up with a clock control circuit that would chew through a few AA batteries in a week, cost $100 itself without any of the clock parts, and take up an inordinate amount of real estate. Not your hot seller, IMO. Now, on to part 2 and why this won't work in other situations...

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment







Entire thread
Subject Posted by Posted on
* What time is it? (rant) amused 07/02/12 12:46 PM
. * Did an elephant sit on your fence? GatKongModerator  07/02/12 09:51 PM
. * For reasons I can't explain, I love this thread. *nt* StilettoAdministrator  07/02/12 05:51 PM
. * Re: What time is it? (rant) Gor  07/02/12 04:21 PM
. * Re: What time is it? (rant) amused  07/02/12 05:05 PM
. * Re: What time is it? (rant) Gor  07/02/12 06:45 PM
. * Re: What time is it? (rant) JWJr  07/02/12 05:25 PM
. * Re: What time is it? (rant) amused  07/02/12 07:18 PM
. * Re: What time is it? (rant) italieAdministrator  07/02/12 07:30 PM
. * Re: What time is it? (rant) amused  07/02/12 07:36 PM
. * Re: What time is it? (rant) italieAdministrator  07/02/12 07:48 PM
. * Re: What time is it? (rant) amused  07/03/12 03:45 AM
. * Xtal compensation theory 101: Part 1 italieAdministrator  07/03/12 05:45 AM
. * Xtal compensation theory 101: Part 2 italieAdministrator  07/03/12 06:23 AM
. * Re: Xtal compensation theory 101: Part 2 amused  07/03/12 11:04 AM
. * Re: Xtal compensation theory 101: Part 2 italieAdministrator  07/03/12 01:42 PM
. * Re: Xtal compensation theory 101: Part 2 amused  07/03/12 04:24 PM
. * Re: Xtal compensation theory 101: Part 2 italieAdministrator  07/03/12 05:29 PM
. * Re: Xtal compensation theory 101: Part 2 Bekki Doll  07/07/12 12:05 AM
. * Re: Xtal compensation theory 101: Part 2 Vas Crabb  07/03/12 04:27 PM
. * Re: Xtal compensation theory 101: Part 2 Gor  07/03/12 05:20 PM
. * Xtal compensation theory 101: Part 3 italieAdministrator  07/03/12 07:25 AM
. * Re: What time is it? (rant) lharms  07/02/12 10:01 PM
. * Re: What time is it? (rant) amused  07/03/12 03:50 AM
. * Just one question (yes, only one) italieAdministrator  07/02/12 02:02 PM
. * Re: Just one question (yes, only one) amused  07/02/12 02:40 PM
. * Re: Just one question (yes, only one) Tomu Breidah  07/02/12 03:52 PM
. * Re: Just one question (yes, only one) italieAdministrator  07/02/12 03:47 PM
. * Re: Just one question (yes, only one) amused  07/02/12 04:02 PM
. * Re: Just one question (yes, only one) italieAdministrator  07/02/12 04:22 PM
. * Re: Just one question (yes, only one) amused  07/02/12 05:07 PM
. * Re: Just one question (yes, only one) italieAdministrator  07/02/12 07:51 PM
. * Re: Just one question (yes, only one) TriggerFin  07/02/12 08:36 PM
. * Re: Just one question (yes, only one) italieAdministrator  07/02/12 09:07 PM

Extra information Permissions
Moderator:  GatKong 
0 registered and 225 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2819