Howard Goldstein wrote:
>
> On 22 Jul 2003 01:09:25 -0700, solmaz <> wrote:
> : Remaining part is to decode the F2F
> : waveform and get the clock+data output. I somehow figured out how to
> : get data output but I still havent found a way to obtain clock output.
> : any little suggestion will work.
>
> You can't have data without the clock, so you're mostly there already.
> Use the time between pulses during the leading 0s to establish the bit
> clock period. Thereafter, a pulse around the middle of that time
> period indicates a 1. No pule and it was a 0. A little DPLL could go
> a long way here.
As so often happens, this problem is far more complex than it sounds.
Card velocity often varies radically throughout the swipe so picking a
fixed sampling interval is a recipe for failure. Flexing the card while
swiping introduces various kinds of bias which show up as differences in
pulse position and amplitude. Head magnetization causes skews in pulse
size (e.g. wide "highs" and narrow "lows"). All these things need to be
dealt with in order to get reliable reads under all conditions.
--
Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer
Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems
Vancouver, BC, Canada . . . . . . . . . . .
http://www.marmot-eng.com