Digital Audio Master Word Clock
TheVig
Posts: 41
In your humble opinions, would it be possible to build a word clock using propeller?
These things from the way I understand it are just a 5V square wave transmitted on a 75ohm cable with BNC connectors that are selectable 44,100Hz, 48,000Hz, and 96,000Hz.
So why do pro models cost so much? Why couldn't I build one? I guess they are pretty accurate..but how accurate can a propeller be? I mean, like using a circuit to filter out noise...and stepping up the voltage to 5V from the propeller 3.3v....
Thanks!
Jim
These things from the way I understand it are just a 5V square wave transmitted on a 75ohm cable with BNC connectors that are selectable 44,100Hz, 48,000Hz, and 96,000Hz.
So why do pro models cost so much? Why couldn't I build one? I guess they are pretty accurate..but how accurate can a propeller be? I mean, like using a circuit to filter out noise...and stepping up the voltage to 5V from the propeller 3.3v....
Thanks!
Jim
Comments
I don't think you're going to be able to replace one of these with a Prop.
I'm also curious why those things are so expensive.
Sure, but you need more than only a Prop.
If you went to the cutting edge, you could generate anything you wanted out of something like this :
http://www.silabs.com/products/clocksoscillators/clocks/pages/synce.aspx
The Prob would do the control, and could also verify clock precisions against standards like GPS.
Cheaper, but lower spec, is a device like Si5351A-B-GT.
Then there is the Si504 - tiny, and MEMS based, and you simply feed it a IEEE 4 byte real number, with an optional 16b integer as fractional trim from there.
An ideal clock would be a perfect 5V square wave at the same frequency of the audio sampling rate.
1. The rise and fall from 0V to 5V is instantaneous
2. There is no deviation in the frequency.
"Jitter" is any deviation from the the ideal which can be caused by variations in timing, interference, or a slow charge/discharge of the circuit.
So in theory, if I plugged the BNC 75ohm cable from a perfect word clock into an oscilloscope, it would look like this:
So seems like specifications for comparing commercial products are up in the air, http://www.jitter.de/pdfextern/towards.pdf
Skimming the specifications does give me some idea of what I'd be looking for in the ideal circuit.
-Jim
http://www.archieli.com/design/clock-by-dougswordclock/
http://dougswordclock.com/
It would be easy to use the Propeller to create one of these.
2. Where could you buy just one?
3. How would it be implemented with a Propeller?
4. What would be a good, better, best circiut for creating a perfect square wave?
5. How would could the device have multiple outputs to feed several devices the same square wave?
-Jim
Digikey show SI5328C-C-GM (36QFN) in stock for for 1 : $12.83, or you can buy a Eval Board for $250
They also show SI5351A-B-GT (MSOP10) for 1 : $1.34
The Si504 are not showing in stock yet.
The SI5328C & SI5351A both need precision reference sources, so a (VC)TCXO is a good start.
Digikey have FOX924B, which are TCXO, affordable and easy to apply.
They also have a series like ASVTX-09, which adds Voltage Trim to the TCXO, so you can lock this to a global standard like GPS.
Or, you can go on eBay and chase down a Rubidium Oscillator....
A series of 5V 75 Ohm signals, would need multiple 75 ohm line drivers - this needs to drive 10V into 150 ohms. (75 ohm terminator + 75 ohm cable in series)
Examples & circuits :
http://www.analog.com/static/imported-files/seminars_webcasts/36888492358237Section2.pdf
Addit: Worth testing would be modern MOSFET gate drivers.
These will do 10V comfortably, and are pushing faster as SMPS move into MHz ranges.
It all seems very rediculous to me. So being able spec a clock that doesn't have a huge price tag and performs is the name of the game here.
-Jim
Of course, the Audiophile area is full of delusional fluff.
If you do not like the universal clocks I listed above, then there is a LCM for your 44,100Hz, 48,000Hz, and 96,000Hz that is within Prop range.
Just connect your 70.560MHz oscillator and the Prop SW does the rest.
Finding a 70.560MHz Osc is more of a challenge
- you could use 4.410MHz and x16 PLL, but now the PLL phase noise adds to the clock, and 4.410MHz Xtals also looks to be rare.
To avoid the Prop PLL, buying a programmed Osc, like Si590 (590CD-ADG) is probably best.
This specs 1 ps max jitter, and is still under $10 at Digikey.
When dealing with digital audio we are dealing with a sampled analogue original signal. The digital chain often has many many steps which act in series on a number of samples from different sources. Delay lines to equalise for delays in one part of the software are common. Jitter means that the samples we are dealing with are no longer related to the other samples.
Try it sometime. Draw a sine wave and sample it in a number of places equally spaced. Now phase shift those results by 180 degrees and add it in to the original. The result should be perfect cancellation.
Now randomise your sampling points and do the same sums. There is no longer perfect cancellation.
In an audio system there can be hundreds of sources each of which might have hundreds of mathematical operations performed on them. Jitter of the master sampling clock will soon have drastic effects on the output.
Now take a master clock with slow rise and fall times. As different logic gates it is fed to will have different logic switching levels you can't guarantee which gates will detect the change in logic state when. The result is yet another source of jitter.
So we need a word clock with both low jitter and fast edges.
If you dig around you can find several papers (the AES is probably a good source) which run through the maths to correlate jitter with distortion of the signal.