| |
Flavioweb
Registered: Nov 2011 Posts: 466 |
1541 Quartz speed on real device.
With the help of Ready. we measured the quartz frequency of a 1541 directly on the motherboard, with the drive running, to make a precise test by evaluating the values in a condition of real operation.
This is the quartz mounted on the drive we have tested:

The test lasted about 2h and 30 mins, during which the electronics were covered to simulate the presence of the top of the chassis.
The maximum temperature reached by the quartz was about 45c if covered and about 39 if uncovered.

For the whole duration of the test a frequency value oscillating between 16.000 and 16.0001 mhz was detected. No values higher or lower than these.

In the quartz tech specs we found a maximum drift of +/- 50ppm, which means:
50 * 16 = 800 = 16.000.800 / 15.999.200hz in the worst case.
During our test, instead, we found, in the worst case, a drift of 100hz, therefore 1/8 of the theoretical one found in specs, ie 50/8 = 6.25ppm.
Making a few calculations just to relate ppm to rpm, we have:
6.25 / 5 = 1.25 (ppm / (1mhz / hz per revolution)) = drift per revolution
1.25 / 200,000 = 0.00000625
300 * 0.00000625 = 0.001875 rpm calculation error due to the quartz drift in the worst case.
We do not know exactly, during the whole period of normal operation of the drive, what is the precise value of ppm of deviation, but we know with certainty that it is a number between 16,000,000 and 16,000,100 hertz, so 100/16 = 6.25ppm in the worst case. |
|
... 16 posts hidden. Click here to view all posts.... |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quoting ready.I used Rigol DS1054Z oscilloscope to measure the frequency. I relayed on the hardware frequency counter feature to measure the 1541 crystal frequency. Accuracy for this measurement should be less than 10ppm according to the tests I found here: http://nerdralph.blogspot.com/2015/07/rigol-ds1054z-frequency-c..
Very well done. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11523 |
Quote:Why don't you do the right thing and take all the drive code from 1541 speed test and just call it from the test app?
It *is* equivalent code. |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1424 |
This is fascinating. I wonder if the c64 crystal is as accurate? |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quoting ChristopherJamThis is fascinating. I wonder if the c64 crystal is as accurate?
Hmmm... we could measure it using the crystal in the drive, but I think it's just the same crystal.
Maybe I am wrong. |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1424 |
Nah, crystal in a PAL c64 is nominally 17.734475MHz, which is divided by 18 to give a CPU clock of around 985kHz.
But yes, you could measure it against a drive crystal, which is exactly what RPM Test 1.0 does :) |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quoting ChristopherJamNah, crystal in a PAL c64 is nominally 17.734475MHz, which is divided by 18 to give a CPU clock of around 985kHz.
I know that.
By "same crystal" I meant same inaccuracy of about 6ppm. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11523 |
Just don't make the mistake of misinterpreting those two measurements into the general case - generally we still have to assume what the datasheet is true, more or less. Because if the manufacturer would have been able to guarantee ~6ppm deviation, you can be very sure he would have not written 50ppm into the datasheet :) Right now those measurements can be taken as anecdotal - no more no less. |
| |
Zibri Account closed
Registered: May 2020 Posts: 304 |
Quoting GroepazJust don't make the mistake of misinterpreting those two measurements into the general case - generally we still have to assume what the datasheet is true, more or less. Because if the manufacturer would have been able to guarantee ~6ppm deviation, you can be very sure he would have not written 50ppm into the datasheet :) Right now those measurements can be taken as anecdotal - no more no less.
Wrong:
the manufacturer can't guarantee weather conditions or ambient temperatures.
The ppm is hence calculated, so probably at the north pole in the cold it will go slower than in the middle of the deser at 1 pm.
But in most cases the quarts will be in a 18-38 degrees environment.
Also it may happen that some "unlucky" quartz are bad but still within the 50ppm "specs" so they will be safe from legal actions about mislabeling. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11523 |
All you can actually rely on are the specs in the datasheet, under the conditions listed in the datasheet. Not doing so is amateurish tinkering. There are no "unlucky" components, there are only components that operate within the specs, and components that do not.
And no, not wrong. If they could guarantee certain things within certain more narrow conditions - they'd write it in the datasheet. |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1424 |
Quoting Zibrithe manufacturer can't guarantee weather conditions or ambient temperatures.
Of course not. But what they do do, is specify a range of ambient conditions under which they will guarantee the clock speed is within a given tolerance. |
Previous - 1 | 2 | 3 - Next |