কলা
সৌন্দর্য এবং সুস্থতা
ক্রাফট
সংস্কৃতি ও ইতিহাস
বিনোদন
পরিবেশ
খাদ্য ও পানীয়
রিভার্স ইঞ্জিনিয়ারিং
বিজ্ঞান
খেলাধুলা
টেকনোলজি
পরিধানযোগ্য

FM and MFM: Making the Data Clock Itself
A read head is a differentiator. It produces a voltage proportional to the RATE OF CHANGE of flux, which means a stretch of uniform magnetisation produces exactly nothing no matter how long it is. Record a thousand zeros and the head is silent; record a million and it is equally silent. The drive cannot tell them apart.
It could count them with a clock, but it has no clock worth trusting. The spindle wanders by a percent or two with temperature and supply voltage, the disc was probably written in a different drive on a different day, and a percent of error accumulated over a few hundred bits puts everything in the wrong place.
So the clock is built into the data. Frequency Modulation recording puts a transition at every cell boundary as a clock, plus one in the middle of the cell for a 1 — self-clocking, completely reliable, and it spends half of every transition on saying nothing. Modified FM noticed that the clock transition is only NEEDED between two consecutive zeros, dropped it everywhere else, and doubled the density of every floppy disk in the world without touching the head or the medium. That is what the labels single density and double density meant.
FULLY BUILDABLE, and the exercise is the point: encode, decode, then walk the clock error up until the decoder fails. The error at which it breaks IS the detection window, and that number governs everything about how dense a drive can be.
মধ্যবর্তী
4 hours
নির্দেশ
1
1
Do it once by hand
Do it once by hand
Take the byte 10100011 and write out its FM cell stream on paper: for each data bit, a clock cell that is always 1, then a data cell equal to the bit. Sixteen cells.
Now MFM the same byte. Same layout, but the clock cell is 1 only when the PREVIOUS data bit and this one are both 0. Count the 1s in each stream — those are flux reversals, and they are what actually gets written.
Then draw both as waveforms, flipping the line up or down at every 1. Two pictures of the same byte. The MFM one has fewer corners in it, and that difference is a doubling of the capacity of every floppy disk ever sold.
আবশ্যক উপকরণ:
Notebook and Pencil2
2
Encode, decode, and break it
Encode, decode, and break it
Flash the sketch and open the serial monitor at 115200. It encodes five bytes to MFM, turns the cell stream into transition TIMES, applies a deliberate clock error, and recovers the data with a software phase-locked loop.
It then walks the error from 0 to 30 percent and prints where the decode fails. Watch what happens around the failure point: it does not degrade gently, it goes from perfect to garbage within a percent or two. A run of zeros is where it breaks first, which is exactly why the maximum run length matters.
Put an LED and a 330 ohm resistor on GPIO19 so each recovered transition blinks, and a second on GPIO18 for the raw flux waveform. At a slow data rate you can watch the code working before you ever reach for the scope.
Change the message to all 0x00 and re-run. MFM's clock cells save it. Then disable the clock cells in `encodeMFM` and re-run: it fails immediately, at zero error.
mfm_codec.inocpp
এই ধাপের উপকরণ:
LED Assortment1 টুকরা
Resistor Kit (1/4W, E12 Series)1 টুকরাআবশ্যক উপকরণ:
ESP32 Development Board
Desktop Computer
Digital Oscilloscope
Jumper Wire Set
Breadboard - Classic3
3
Density ratio, and the drift budget
Density ratio, and the drift budget
Loading Jupyter Notebook...
আবশ্যক উপকরণ:
Desktop Computer4
4
Compendium: three constraints, one code
Compendium: three constraints, one code
DC BALANCE, WHICH MFM IGNORES. A read channel is AC-coupled, because the head makes no DC. A code that allows long stretches at one polarity makes the baseline wander and the detector's threshold with it. EFM on the compact disc spends three merging bits per symbol almost entirely on this; MFM does not bother, and floppy drives paid for it with finicky read amplifiers.
THE SIBLING, ANNOUNCED. RLL(2,7) is blueprint 7: same rate 1/2, minimum run raised from 1 to 2, density ratio 1.0 to 1.5. The whole difference is what the decoder must remember.
AGAINST PARITY. The parity blueprint adds redundancy to DETECT an error. A channel code adds redundancy so the signal can be READ at all. Different jobs, and they stack — real drives do both.
আবশ্যক উপকরণ:
Notebook and Pencilসামগ্রী
2- LED Assortment10% কমীশন1 টুকরাপ্লেসহোল্ডর
- প্লেসহোল্ডর
আবশ্যক উপকরণ
6- Notebook and Pencil10% কমীশনপ্লেসহোল্ডর
- ESP32 Development Board10% কমীশনপ্লেসহোল্ডর
- Desktop Computer100% কমীশনপ্লেসহোল্ডর
- প্লেসহোল্ডর
- Jumper Wire Set10% কমীশনপ্লেসহোল্ডর
- Breadboard - Classic10% কমীশন$10.00
সম্পর্কিত ব্লুপ্রিন্ট
এই ব্লুপ্রিন্টগুলি জ্ঞান ভাগ করে — কৌশল, উপকরণ বা নীতি
CC0 পব্লিক ডোমেন
এই ব্লুপ্রিন্ট CC0-এর অধীনে প্রকাশিত। আপনি অনুমতি ছাড়াই যেকোনো উদ্দেশ্যে এটি অনুলিপি, পরিবর্তন, বিতরণ ও ব্যবহার করতে পারেন।
মেকারের ব্লুপ্রিন্টের মাধ্যমে পণ্য কিনে তাঁকে সমর্থন করুন, যেখানে তিনি আয় করেন মেকর কমীশন বিক্রেতাদের নির্ধারিত, অথবা এই ব্লুপ্রিন্টের একটি নতুন সংস্করণ তৈরি করে নিজের ব্লুপ্রিন্টে সংযোগ হিসেবে যুক্ত করে আয় ভাগ করুন।



