i make the chips that sit on the drives
I did the preamps ( the read/write amplifier that sits on the arm with the heads ) for about 2 years. Then moved on to the controller.
Drives are incredibly complex these days in terms of 'trickery' to cram more data on the platters ( and retrieving it... storing it is easy... finding it is another matter )
To give you an idea of some the 'weird stuff' going on in drives :
- The write amplifier manages to send a 4GHz signal with 300mA of RMS current through the write coil. That is a serious RF amplifier .. especially since the little chip is barely 4 square millimeter...
- the read amplifier is gain programmable from 20db to 80dB in steps of 1 dB. The thing is gain-flat and phase constant over its full range.
- the read/write chip connects to all heads and has an on-board multiplexer. the chip is 'naked'. there is no packaging for two reasons : any bondwire or packaging 'slows down the electrical signal' due to inductive and capacitive parasites. the chip is non-traditional in the sense that it also has connections in the middle of the chip ( as opposed to only at the edge ). No packaging means lighter in weight which means the mass of the headstack is lighter which means faster seek times possible... Silicon-germanium technology.
- The reading element is a magnetoresistive element. The resistance of this element changes in function of the applied magnetic field.
- Head flying-height is tuned using a heating element. Writing causes the head to heat up. the 'lift' is subject to bernouilli's law. one of the factors is temperature. the flowing air
molecules dragged along by the spinning plattes cool the head. depending on reading or writing we change heater settings to tune the height for maximum field strength.
- The heads are so sensitive to static discharge that they contain a built in fuse to short the terminals. Once the heads are mounted on the arms , and the arms have been mated with the control chip a special command is sent to the read/write chip to blow the fuses. A verification process makes sure all electrical connections are ok and then the fuses are blown. after that a calibration step checks out the performance of each individual head and stores the optimum bias current for the reading and writing elemnts in a table for the firmware to use.
- the equivalent flying height ( scaled up ) is a Boeing 747 flying at cruise speed 1 inch off the tarmac ...
- The recording layer is not at the surface but buried under a diamond-like carbon coating.
- The platters are lubricated with a fine coating of an oil like substance. the drive platters are one of the smoothest surfaces created by man.
- While 'writing' the drive is essentially blind. The controller knows where he is , verifies the current track/sector by reading a servo wedge and confirming the positional data in it. it then moves to the next sector ( where writing will take place ) , syncs up with the servo wedge by listening an phase aligning to the pilot signal , skips the servo data block and turns on the writer. there is no feedback at this point. data is written 'blind'. writing needs to terminate on time or you corrupt the next servo wedge rendering a sector/track bad. there is A 'gap' at the end of the data block before the next servo wedge begins. the smaller the gap , the more data area you have. the smaller the gap the greater the accuracy needs to be, especially the control loops and the jitter in the servo's are important here.
A 1 terabyte harddisk contains roughly 80 gigabyte of 'lookup tables'. these tables are used by the driveware to find the optimum jump locations for the next block operation. the number of sectors changes from track to track. ( inner tracks contain fewer sectors than outer tracks ). sectors are not stored sequentially but staggered across tracks. this speeds up seek operation. Seeking is also a 'blind' operation. we know where we are ( track wise ) , calculate how far we need to travel left-right and slingshot the head there ( acceleration/decelration of the head follows a curve ) when the movement stops the entire system is tuned so that , in the time the head traveled left-right , the platter has rotated to exactly the spot where we need to be. if the process fails we need to wait a full spin of the platter to get the block to pass again. so the velocity curve of the slingshot is adapted that we arrive just in time to catch the wedge now passing .
The drive software consists of 3 things :
-the firmware: this spins up the drive, loads the heads and does all the mechatronical work. Once up to speed the firmware goes off and finds the 'driveware' and loads it.
-the driveware : this is the program runnig on the drive controller that does all sector translations and host interface. This driveware is stored in 3 to 5 locations. Should one load fail the firmware will switch to the alternate and attempt loading that.
- the drive tables : a bulk of data written during manufacturing with the optimized jump tables for the particular drive. this is specific per platter. no two drives are alike.
- a 'virgin' drive requires half a day of initialisation ( some people call this the low-level format , but this is even lower than the low level format .. without this there is no formating as there are no tracks written yet. This is a mechanical contraption that positions the heads. If you look at drive you wil see silvery sticker on the side, about the position of the center of the platters, that covers an oval or rounded rectangular hole. If you remove the pcb you will find another one that looks like an angled or curved slit just outide of the platters and relatively close to the pivot poit of the arm. These are the openings where the drive formatter grips the headstack and inserts it's head to record the sync track. A second head is inserted during anufacturing that writes a synchro track on the outer perimeter of one of the platters. Once written this clock track is then continuously read and the info used to control the writing of the servobursts. Once the servoburst are written the mechanical interface lets go and the software takes over. It tracks the servoburst and writes the track/sector number. Servoburst+track+sector becomes the servo wedge. Writing the track+sector is the real low-level format. Writing the servoburst is below that and cannot be done using software. It is purely mechanical.
And we haven't even touched how your byte of info you want to store is mashed up , scrambled so the overal magnetic field is zero , and retrieved...
All this for 80$ per terabyte ...
and we are moving into an exciting new era of magnetical recording. SSD doesn't have a chance. it may beat us on speed , but it cannot win on density or cost.
Patterned media and HAMR open the door to drives that can store tens of terabyte per platter. There is a prototype of a laptop drive ( 2 1/2 inch ) that hits 1 Terabit per square inch of data. ... pack 3 platters in the strack and you have a laptop disk that can store 3 terabyte of user data. This was a lab-design by Fujitsu in 2007. And this is 5 years ago... you imagine where the 'lab protoypes' are today ... the drives in production today top out at 1 terabyte. because we have not begun to deploy petterned media or HAMR yet. They are the stick behind the door to beat SSD into oblivion should they impede too much.
SSD cannot overtake magnetic recording. they can't make structures small enough to pack them as close as magnetic data. even if they use mulitlevel ( more bits per cell as you store an 'analog' voltage per cell ) they are an order of magnitude away.
And there is another thing at play that people don't realise : the cloud and streaming are disruptive.
We saw a continuous decline of flash prices as the demand for size went up. around the 8 Gigabyte per chip suddenly a disruptive element entered the maket : the ipad/iphone and the concept of storing stuff in the cloud and retrieving on the fly. there is no more need for larger 'local' storage , so there is no demand for larger flash chips... so there is no development of larger flash chips.. only price erosion...
local storage is on its way out . sure there will be local flash drives of 64 to 128 gigabyte . to hold the operating system , applications and stuff that needs to be on-hand. but price will always remain high as beyond that there is no demand. people are moving away from computers with local storage. only the essenitals are locally stored . the rest is in the cloud. and that is magnetically stored.
a second effect is that this cloud is distributed. where your pictures were stored once on a drive in your computer and maybe one other drive for backup , they now reside on mulitple independent datacenters. each of your pictures is stored not in duplicate ( 1 original + 1 backup ) but acros 20 or 30 copies in 20 or 30 datacenters ... so you need 20 or 30 drives where you had only 1 before. so the worldwide demand of harddisks is actually exploding due to this storage model. flash will shrink in size to become bootup + app storage oly. the rest will live in the cloud.