Turntable speed stabilty

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
There is a good reference thread on PinkFishMedia site:

Turntable speed analysis - Page 46 - pink fish media

Post #679 gives the formula for a demodulator. It also requires a Hilbert transformer and a differentiator, but it is all pretty well explained in the book listed in the thread: Understanding Digital Signal Processing (Third Edition) by Richard G. Lyons, starting on page 758. (You need the 3rd edition or later, earlier versions do not have a chapter on instantaneous frequency or phase computations.

Since this doesn't have to compute a solution in real time, processing power and speed should not be an issue. I was planning on visiting this as a winter project, but DSP is not my long suit. This would be an interesting exercise for the folks here who are fluent with DSP. I've already looked at the file formatting for .wav files, and it is very straight forward to extract the sampling data. I'm told Python has very good graphing capabilities for the output.
 
Member
Joined 2014
Paid Member
Although a real time analysis (well two rotations delayed) would be an awesome diagnostic tool and I'd be willing to chip in to a crowdsource to fund dev of such.

Having said that as I am (like many here) of an age where you left computers to chunk away at problems for hours on end I can plan accordingly :)
 
No, I said LD says it's there somewhere and it works. As a start there are several versions of Matlab code for doing the basic Hilbert transform method of extracting the instantaneous frequency on the web. I would take a data set and compare the two results, I suspect the standard method has more noise and/or sensitivity to AM, etc. than LD's trick. This is the kind of problem I love but don't have the time right now to totally immerse in the details.

I pays to keep in mind that this is a problem of narrow scope as opposed to the totally general approaches in the literature. Usually this leads to some tricks that work in the special case.
 
I am experimenting with a hardware engineers approach. I have made a LTSpiceXVIII simulation of a 3kHz centre PLL and use the test record 3kHz wav file as input. The demodulated output is looking good.
I can save that to a file and make a polar plot.
Using Audacity to cleanup the wav file first with a 2kHz 24dB HPF and 5kHz 24dB LPF makes the input wav look a lot cleaner
 
I am experimenting with a hardware engineers approach. I have made a LTSpiceXVIII simulation of a 3kHz centre PLL and use the test record 3kHz wav file as input. The demodulated output is looking good.
I can save that to a file and make a polar plot.
Using Audacity to cleanup the wav file first with a 2kHz 24dB HPF and 5kHz 24dB LPF makes the input wav look a lot cleaner

davidsrb,

Could you scale a version that can be switchable to use a 1kHz tone? Of all the test records I have, a 1kHz tone is much more common.

Ray K
 
This is a link to the LTSpice file
http://www.cix.co.uk/~dayojah/3kpll_LFtest.asc
Change the input file filename to suit on V1.
The output file name is set by the .wavefil declaration

No reason why it wouldn't work at 1kHz, just the filtering gets a bit tight between the 1kHz carrier and the cogging harmonics. Just change the MODULATOR mark and space to 1.1K and 0.9K
 
Last edited:
All good stuff, will be interesting to see how it performs as to AM rejection, broad spectrum noise and variation in carrier level. At least in spice one can build a perfect circuit in the sense it will perform as intended, and develop it.

I still haven't got round to doing the diligence on my SW demodulator/detector, just in case it's novel...... As pointed out, all required theory is disclosed in the text Scott linked, for example. Just a matter of whether anybody has previously combined factors in the way I came up with, and it does yield remarkable results. Potentially applicable to all manner of situations - imagine it upscaled in frequency......so it's probably already known, but hey one never knows and several standard methods definitely lack the extra step that makes all the difference.

Other polar plot SW solutions I've seen online seem to suffer from uncertain calibration, and relatively poor noise rejection IIRC. So I think it's worth focussing on those aspects.

Interesting to see how the spice hardware emulation performs against real data - if you can post a link to files I'll run calibration plots for comparison?

LD
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.