Magnetic media notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#addbodyclass:tag_tech}}
{{stub}}
{{stub}}
   
   
Line 102: Line 103:
The earliest attempt at recording applied the '''baseband''' input signal to the recording head, as it came in.  
The earliest attempt at recording applied the '''baseband''' input signal to the recording head, as it came in.  


Baseband here meaning 'put the actual audio on the head's transformer, as-is'.
Very roughly speaking, if you think of a waveform going around its average,
the result would be a magnetic field going one way and the other,
so one half of that wave would lead the tape to be magnetized in one direction, the other part of the wave magnetization the other way.


Baseband here meaning just that signal, as-is. Very roughly speaking, if you think of a waveform going around its average,
one half of the wave would lead the tape to be magnetized in one direction, the other part of the wave magnetization the other way.


This certainly works,
but it turns out the magnetic material isn't quite linear used every which way.
In particular, things don't quite do what you tell it around that middle of the wave, where you would ask for little to no magnetization on the tape
and the polarity flips. {{comment|(...for multiple reasons. In part because the magnetization you apply is weaker because when intended signal is weaker. This seems to be one of the reasons for a moderate [[hysteresis]] effect around there)}}


This certainly works, but it turns out the magnetic material has a moderate [[hysteresis]] effect.
If you e.g. tried to put a perfect sine wave on there, it would be close, but a little wibbly around its middle.
The magnetic response isn't very linear, in particular in the middle of the wave / flip of polarity,
for multiple reasons (e.g. in part because the magnetization you apply is weaker because when intended signal is weaker).
 
If you tried to put a perfect sine wave on there, it would be close, but a little wibbly around its middle.


This amounts to an uneven frequency response,  
This amounts to an uneven frequency response,  
and introduces distortion, in particular for lower frequencies.{{verify}}
and introduces some soft distortion, in particular for lower frequencies.{{verify}}


So it's certainly sound, but it's not ''quite'' right.




'''"If that zero crossing is part of the issue, why not shift it away from that zero point?"'''
'''"If that zero crossing is part of the issue, why not shift it away from that zero point?"'''


This is a simple idea, and the basis for '''DC bias'''.
This is a simple fix, yes.  It is the basis for '''DC bias'''.
Add a constant voltage to the signal you put on the head.
Add a constant voltage to the signal you put on the head.
As long as we can keep that waveform above zero, we never run into that flippy hysteresis,
As long as we can keep that waveform above zero, we never run into that flippy hysteresis,
and as long as we don't saturate the tape we don't run into ''that'' issue either.
and as long as we don't saturate the tape (=hit the point at which it will not retain ''more'' magnetization),
we don't run into ''that'' issue either.




This ''does'' give a much more linear response, and lessens the distortion from the around-zero non-linearity.
This ''does'' give a much more linear response, and lessens the distortion from the around-zero non-linearity.


It also means you can use less of the range of the magnetic medium, meaning less dynamic range and more noise.
It also means you can use less of the range of the magnetic medium, meaning less dynamic range and more noise
than you probably could get from that magnetiztion.


Also, it necessarily means net magnetization, which turns out to give some other issues (noisier? why?{{verify|why}}).
Also, it necessarily means net magnetization, which turns out to give some other issues (noisier? why?{{verify|why}}).
Line 136: Line 143:
'''"Okay, what else?"'''
'''"Okay, what else?"'''


We ended up primarily with '''AC bias'''.  
We ended up primarily with '''AC bias'''.
It turns out that adding a higher-than-audio frequency AC signal {{comment|(something between 25kHz..150kHz{{verify}}, apparently 40kHz..80kHz is ideal?, and at higher current than the recording current{{verify}})}} while recording. {{comment|(note that often, the same same oscillator is used for both erase head and bias signal, but with different currents)}}.
 
It turns out that adding a higher-than-audio-frequency signal while recording has an effect is not only a decent way of wiping the tape, it also leaves net-zero magnetization. So what if we add such an erase-like signal to the signal we record?


The placement of the waveform is still around zero,  
The placement of the waveform is still around zero,  
with polarization both ways as it was without any bias,
with polarization both ways as it was without any bias.
''yet'' gives it a physics-y reason to leave less hysteresis (and little net magnetization),
 
making for a response that is much more linear than using no bias, while also avoiding most downsides of DC bias.
But it turns out there are physicsy reasons that means that mean less hysteresis than just baseband, and with little net magnetization.
It ends up being a great tradeoff that avoids the biggest downsides of DC bias and of no bias.


The ideal current to apply varies per [[#Tape medium type]]


Notes:
* {{comment|(something between 25kHz..150kHz{{verify}}, apparently 40kHz..80kHz is ideal?, and at higher current than the recording current{{verify}})}}
* {{comment|(note that often, the same same oscillator is used for both erase head and bias signal, but with different currents)}}.
* The ideal current to apply varies per [[#Tape medium type]], which is part of why tape medium is either a setting or detected (as in cassette tapes)




Line 574: Line 586:


===Linear===
===Linear===
[[Image:WikipediaTapeLinear.png|thumb|right]]
{{stub}}
{{stub}}


In most audio tape, information on the tape is in long lines, dragged past the heads.
In linear tape, information on the tape is in long lines, dragged past the heads.  
The strength of the stored magnetic field becomes the strength of the signal you get out.


Do an image search for {{imagesearch|magnetic view audio tape}} if you like visuals
In analog audio tape, the strength of the stored magnetic field becomes the strength of the signal you get out, without any added translation.


Do an image search for {{imagesearch|magnetic view audio tape}} if you like more visuals.


The most basic tape might use much of the width of the tape for a signal - for comparison, not entirely unlike a [https://www.youtube.com/watch?v=90ihiTwJPCc magnetic wire recorder], but we then figured that we don't need much width, and could store multiple tracks.


That said, if there are multiple tracks, most linear tape designs end up with a bunch of separation.
 
Yes, you could put things closer together - [[linear serpentine]] does exactly that, but it makes the tracks thinner and harder to find reliably.
The most basic tape might use much of the width of the tape for a single signal - for comparison, not entirely unlike a [https://www.youtube.com/watch?v=90ihiTwJPCc magnetic wire recorder], but we then figured that we don't need much width, and could store multiple tracks.
It's a lot easier to wider tracks, to avoid precision engineering which would make cheap gear unlikely.
 
 
That said, if there are multiple tracks, most linear tape designs end up with a bunch of separation - so that the tape doesn't have to be positioned too precisely. {{comment|(Yes, you could put things closer together - [[linear serpentine]] does exactly that, but it makes the tracks thinner and harder to find reliably. It's a lot easier to wider tracks, and works out as cheaper to make all parts involved.)}}


Which means we're not using all that much of the mangetically available area.
Which means we're not using all that much of the mangetically available area.
Line 592: Line 606:


It also turns out there is an upper limit to how well tape magnetizes a fast-changing signal.  
It also turns out there is an upper limit to how well tape magnetizes a fast-changing signal.  
Data rate / maximum represented audio frequency is eventually limited primarily by the tape's mechanical speed.
The rate in change (whether used for data or for the maximum audio frequency you can represent) is limited,
primarily by the tape's mechanical speed.


For audio, our demands work out at a mechanically ''reasonably'' low tape speed when you use it this way - consider that cassette or reel tape can easily store 60 minutes.
For audio, our demands work out at a mechanically ''reasonably'' low tape speed when you use it this way - consider that cassette or reel tape can easily store 60 minutes.




But we have things with much higher bandwidth requirements for a long time. In particular video.
But we have things with much higher bandwidth requirements for a long time.  


Sure, we could pull the tape past that much faster, but just ''how'' much faster you need for video is impractical,  
In particular video. Or data backup.
so people looked at other methods.
 
Sure, we could pull the tape past that much faster, but that becomes mechanically impractical for a few different reasons.
 
Just ''how'' much faster you need for, say, video is impractical, so people looked at other methods.




'''Multitracking'''  
'''Multitracking'''  


One is making it wider and adding more channels alongside each other.  
One is making it wider and adding more channels alongside each other.
 
In audio you could call them completely separate, some methods said you should consume all of them together ''somehow''.
Say, stereo cassette tapes were essentially four tracks: left and right one way, left and right the other way.
 
8-track has eight, one way.
 
Reel to reel tape exists in multitrack variants that give you amounts in the 4..24 range (the last only on chunky {{imagesearch|2" recording tape|2" tape}}), but the upper range is already pricy (and starts to approach the difficulties linear serpentine was aimed at).


This works fine, though it puts higher requirements on aligning the tape correctly.
This works fine up to a point, though it puts higher requirements on aligning the tape correctly.
If you don't, then in audio you lose quality, in data it just stops working before that.
If you don't, then in audio you lose quality, in data it just stops working before that.


Cassette tape (with stereo music) has four tracks, 8-track has eight, reel to reel tape exists in multitrack variants that give you amounts in the 4..24 range (the last only on chunky {{imagesearch|2" recording tape|2" tape}}), but the upper range is already pricy (and starts to approach the difficulties linear serpentine was aimed at).


Note that there are few systems that consume ''all'' tracks at once.


Note that most multitracking only records or reads a few tracks at a time.
most multitracking only records or reads a few tracks at a time.


E.g. 8-track players physically shift the head sideways onto another track, cassette tape has to be turned around to put the other tracks onto the head correctly, multitracking has similar tricks.
E.g. 8-track players physically shift the head sideways onto another track, cassette tape has to be turned around to put the other tracks onto the head correctly, multitracking has similar tricks.




In a way, most of these are a manual variant of linear serpentine system - you ''can't'' read everything at the same time (and you don't want to).  
If you squint, these are sort of a manual variant of linear serpentine system - you ''can't'' read everything at the same time (and you don't want to).  
: An 8-track can read two of the 8 tracks at a time,
: An 8-track can read two of the 8 tracks at a time,
: A cassette tape deck (with a stereo recording) reads two tracks at a time; you get the other two by turning it over.
: A cassette tape deck (with a stereo recording) reads two tracks at a time; you get the other two by turning it over.
Line 624: Line 649:


===Helical scan===
===Helical scan===
[[Image:WikipediaTapeHelical.png|thumb|right]]


Another way is '''helical scan''', as used e.g. in most video tape, and in [[DAT]]/DDS. These systems place tracks on diagonal strips. This doesn't increase the density much over many-track, and is more complex head construction {{comment|(angled head, requires tracking, head spins faster to get more ''effective'' speed than the tape's mechanical speed)}} but what comes out is a single high-rate thing (a factor ~150 over audio tape, and still a few factors over most many-channel{{verify}}) and you wouldn't have to separate and reassemble your signal because that's the head's job.
Another way is '''helical scan''', as used e.g. in most video tape, and in [[DAT]]/DDS. These systems place tracks on diagonal strips. This doesn't increase the density much over many-track, and is more complex head construction {{comment|(angled head, requires tracking, head spins faster to get more ''effective'' speed than the tape's mechanical speed)}} but what comes out is a single high-rate thing (a factor ~150 over audio tape, and still a few factors over most many-channel{{verify}}) and you wouldn't have to separate and reassemble your signal because that's the head's job.
Line 634: Line 661:


===Linear serpentine===
===Linear serpentine===
[[Image:WikipediaTapeLinearSerpentine.png|thumb|right]]
With that wowed introduction of helical scan, you might assume linear is dumb, helical is best,
and e.g. the LTO backup tape that is still in use must be using helical.


With that introduction of helical scan, you might assume helical scan is best, and e.g. LTO backup tape must also be using that.


Actually, LTO uses '''linear serpentine''', which is a fancy way of saying  
Actually, LTO uses '''linear serpentine''', which is a fancy way of saying:
: it uses so many tracks that it has more tracks than it has heads  
: it uses so many tracks that it has more tracks than it has heads  
: it has way to move the heads to specific tracks (with precision - the width of tracks is on the order of dozens of ''micro''meters), and automatically
: it has a way to move the heads to specific tracks (with precision - the width of tracks is on the order of dozens of ''micro''meters)


It's a lot more engineering, and you need to feed the tape past the head ''multiple times'' to even get to all of the data,
The engineering is a lot more precise than in classical linear tape,  
but if you care about the most density per tape, this is better than helical scan, and ''much'' better than linear.
and you need to feed the tape past the head ''multiple times'' to even read, or write, all of its data,
but if you care about the most density per tape, this works out better than helical scan (and ''much'' better than linear).




Line 651: Line 682:
Yes, that means writing a tape to capacity actually requires, depending on the LTO version, something between fourty and a hundred-fifty passes of the tape's length.
Yes, that means writing a tape to capacity actually requires, depending on the LTO version, something between fourty and a hundred-fifty passes of the tape's length.


No, this is '''not at all'' a random-access system, has rather high latency.
So noo, this is ''not at all'' a random-access system, and has rather high latency.
Yet for most backup and archival uses, that's rarely an issue, the price is hard to argue with, and it's also engineered to last longer than at least other common storage media.
Yet for most backup and archival uses, that's rarely an issue, the price is hard to argue with, and it's also engineered to last longer than at many other common storage media.


==Floppy heads==
==Floppy heads==
Line 701: Line 732:
Making a table of all possible combinations's resistance (just because they're different lengths of wire) typically helps find which is which, though you'll be thrown by there possibly being a diode and resistor in there.
Making a table of all possible combinations's resistance (just because they're different lengths of wire) typically helps find which is which, though you'll be thrown by there possibly being a diode and resistor in there.


The best explanation on how writing bits works that I've found sits in {{search|SA400 Minifloppy service manual.pdf|a Shugart service manual}}.
The best explanation on how writing bits works that I've found sits in {{search|SA400 Minifloppy service manual.pdf|a Shugart service manual (SA400)}}.




Line 765: Line 796:




-->
==Floppy formats and interfaces==
<!--
A lot of the time, only part of the design decisions were made in the hardware,
and the rest are up to the controller,
and usually ''relatively'' few decisions were left to the software that used it.
The floppies a lot of us dealt with are a certain lineage (which you could vaguely approximate with a bunch of acronyms like Shugart, PC, IBM, MFM),
but there were a bunch more.
There were in face a lot of different, incompatible interfaces,
but on the PC-side, things converged into a [[de facto standard]] for 8-inch, 5.25-inch, and 3.5-inch floppy drives.
This is interesting in that "just get the data off" is not a simple question.
Some systems were more or less cross-compatible, others were not.
One example is the Amiga. They used the same drive hardware as early PC Dual Density drives.
But their controller was their own thing, they squeezed more sectors onto each track (compared to that PC-ish standard).
And the Amiga could also be told to read PC disks, because actually the choices weren't that different.
The Commodore 64 5.25" floppies use a completely different format, though.
You won't be reading those floppies in a 5.25" PC drive. You can connect the 1541 drive to a PC,
because you're just talking to a serial port, its controller is integrated (the disk drive is half as complex as an entire C64).
Also Apple did its own thing
However, if you can read off what is happening magnetically, without interpretation, then you can always do that later.
This is really interesting for historical archiving
Shugart-interface PC drives get you fairly low level access. Not for everything -- that probably doesn't exist -- but for a good set of things beyond just PC.
-->
<!--
A lot of drives in PCs go for a specific standard -- PC once came with more letters attached that was basically some specific pushes to get somewhat more (oversimplified, I know).
Any 'gives you the content only' image of a floppy will have been read according to such a standard -- and be able to tell you nothing about what was actually happening on disk.
...which may be incorrect if some specific trickery was used (e.g. some copy protection).
The lower-level bitstream will follow a specific standard - the way the coding is done, the way any error correction is done, the way sectors work or ''can'' work, are often related to the.
Differences lie on a gliding scale.
For example, Amiga 3.5" drives were physically the same as PC Dual Density drives,
but the on-medium format was different - mostly squeezing 11 512-byte sectors into each track instead of just 8,
largely because because they always write an entire track, so they don't need gaps/markers of sectors between sectors.
The Amiga ''drive'' was the same but the Amiga ''controller'' was its own thing.
Each controller will typically just be expecting its own type of thing, and not be dealing with others.
(...though in this case, Amigas, could be made to read PC format and more -- provided it was still of lowish enough density that the drive supported, and the coding work was put in)
As such, floppy compatibility lies in
* hardware choices
* controller firmware
* on-disk choices
Say, what's the difference between a Shugart interface and IBM/PC interface?
Shugart (specifically its SA400 single sided drive?) seems to have originated the format,
IBM and 'PC' just took it. They're the same on the drive end, it's the same pinout.
In fact, you're not talking to a controller but to the analog hardware - this is why
different computers could easily use the same drives differently, write different formats,
and why you still can.
For example, the [https://github.com/keirf/greaseweazle greaseweazle] ''can'' actually be used to make a flux-level copy of using a standard PC drive with Shugart interface (...because that interface ''allows'' lower level reading than that PC controllers usually used it for), which you can ''later'' analyse for 'how what data encoded, what kind of disk it is.
This is why, why it was aimed at Amiga, it's also great to make PC images for PC disks, and easily another dozen distinct formats.
That's also why it can make some copy correction specifically violated the specs, and the point was that these floppies were written in a way that standard interfaces ''could not normally write that way''.
Archival copying may wish to make images at magnetic level,
and there are some intermediate choices.
* SCP/Flux - basically a record of the flux changes on the surface
: larger to store
: not actually data before it is analysed
* HFE - preserves various unusual things, but isn't flux level{{verify}}
* Various other formats store sector data ''plus'' some extra things that were found during copying, which might be enough for some copy protection.
* And then just sector data.
There were a ''lot'' of different drive designs,
and nothing is going to be universal - there are too many things that are so much easier to assume / get a specific drive for,
than to deal with being variable.
In particular some hardware details.
CAV versus CLV
: Constant angular velocity (motor always spins at the same speed; density is lower in outer tracks) versus
:: 300rpm is common, there are a handful of others
: Constant linear velocity (speed under head is always the same -- implying that it angular speed will be slower when looking at the outer tracks)
::
A CAV drive will not read a CLV disk -- although a flux-level copy ''might'' be analysed if you try hard enough.
GCR versus MFM
: group coded recording https://en.wikipedia.org/wiki/Group_coded_recording
: Modified frequency modulation (MFM https://en.wikipedia.org/wiki/Modified_frequency_modulation
https://stardot.org.uk/forums/viewtopic.php?t=20586
https://torlus.com/floppy/forum/viewtopic.php?t=4272
https://en.wikipedia.org/wiki/List_of_floppy_disk_formats
https://wiki.archiveteam.org/index.php/Rescuing_Floppy_Disks
'''Tracks'''
Other differences are harder to support.
A lot of formats, including PC and Amiga, use 80 cylinders per side.
If someone comes in with 77, then depending on how they are located, different drives might not even be able to ''find'' them.
'''Sectors per track'''
Again, a choice.
Do you stick a fixed number of, even though its density changes and cold take more on one end?
Or do you skip that efficiency and go for a somewhat cheaper to engineer drive?
This disk has a few portions 8 on the inside, and goes to 9, 10, 11 (the rest seems unwritten)
This disk is lot harder to see. It has 8 on the inside, 10 before it's unwritten,
but it did not use a write hole or such so each track
This disk was presumably also written all in one go (the pattern would probably not be this neat otheriise?)
though I'm not ruling out me doing it wrong for this one.
'''Finding tracks'''
'''Finding the start of a track (or not)'''
This is ''mostly'' just important for how the controller does its thing
[[Image:floppyscp.png|thumb|right|400px|Visualization of magnetic capture of a 3.5" double sided floppy that indicates how sector layout might work. This clearly from a system that uses an index hole to time how to write the entire track{{verify}}]]
The '''index hole''' is mentioned to "find the first sector". It's a light-and-optical sensor way of detecting a time in the rotation.
Think of each track (=single circle around the disk) as an independent circle around the disk - in part so that even at low level we can just think of it as a bunch of tape (or rather a tape loop) under a tape head, none of this circle stuff to think about.
It would not be strictly necessary, but quite useful, to get an idea of where each loop starts (rotation-wise). We ''can'' then choose to figure out where to put each sector by timing, because we ought to know how fast we turn.
Early flopies might have a hole for each sector (sometimes called "hard-sectored").
Later and more common was a single hole to mark a rotation, usually also the position of the first.
Writing might just use timing.  Reading would sense a specific "this is the start of a track hello" that most disk formats used.
Or no hole, which would read ''only'' rely on those sector markers. Writing would then probably be whole-track-at-a-time{{verify}}
'''Sides'''
'''Flippy disk problem'''
Back in the single-sided floppy days, 'single sided' used to be a thing:
a head on one side, a disk used on one side.
If you had a double-sided floppy, you would need to physically flip it.
In most people's experience, particular 5.25" drives with a single read.
Some home computers did this. They also did not have an index hole.
Double-headed drives then became common, where you would never flip the floppy again.
One detail this introduces is that double-head drives would not read the result of a flipped write
For one, the track's positions might be somewhat different (double-sided drives do not put their heads/tracks in the same position; the second is offset from the first).
Also, the "side B" is effectively recorded in reverse from the way a two-headed drive would do it.
Okay, so you flip it, right?
Yes but no so maybe.
Double-sided drives, due to never being flipped, expect the index hole to be in the same place.
It now is not.
Single Density - Iron Oxide coating, FM coding
Double Density - Iron Oxide coating, MFM coding
High Density  - Cobalt coating,    MFM{{verify}}
So apparently there was no ''physical'' difference between SD and DD
3.5" floppies had two holes. One was write protect. The other marked it as HD, or not.
The density isn't about the track thickness per se.
But yes, Yes, 48 TPI is often DD, 96 TPI often means HD,
HD was about the cobalt medium and the current needed to write it (versus iron oxide on the DD and SD)
That said, taking a floppy that previously had 48 TPI written to it, putting it into a 96 TPI drive and writing 96TPI,
it will write fine, but the old wider tracks will be there between your new tracks,
and will have an effect on reading.
https://en.wikipedia.org/wiki/Disk_density
https://learn.adafruit.com/flippy-floppy-drive-modification/overview
-->
-->



Latest revision as of 16:11, 26 April 2024

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Linear tape heads

Heads and tracks

A lot of tape uses multiple tracks side by side, which are format-specific conventions of splitting the width of the magnetic material.


For example, cassette tape typically has four separate channels: stereo, and two sides. Stereo cassette players heads typically have two coils, for both tracks of one side. This is also why they're to one side rather than in the middle of the head, and why you physically flip the cassette in the other way: it puts the other two tracks on the active side of the head.


Eight-track has, well, eight tracks. Typically used as eight mono tracks (though there are variations), and only goes in one direction.


Reel-to-reel tape had more variations, and is a separate discussion.


Gaps and fancy versions

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Heads are conceptually a ring of conductive material used as an electromagnet - with a (very small) gap in that ring.


Driving current into this creates a magnetic field that fringes out at the gap, and will change the magnetization of magnetic materials.

Similarly, playback is induction into that gap.


The gap is small in part because it functionally only really does anything at its edge, and a smaller gap lets you control the magnetic field more precisely: the smaller the gap and and the closer the medium, the better the frequency response can be (for a combination of reasons, but one roughly analogous to sample rate).

While the workings of a head means you could DIY one in theory, good audio response means you want a gap on the order of micrometers, which is impractical to make yourself.


The record head and playback heads are the same principle.

Yet their workings involve different currents, so different ideal impedances, and involve somewhat different circuits. The details of the gap size also differ.


So while you could use one head/gap for both reading and writing purposes, and it works decently enough that simpler, cheaper machines do this, for practical reasons it works better to have separate and record heads.


There is a discussion whether you care to have a separate record and playback head.

The central point is that if you use the same gap for both record and play, that's necessarily a compromise in gap size, and separating them avoids that compromise.

With one head being erase (see below), this is often referred to as 3-head (erase, write, read) versus 2-head (erase, write+read) setups. But that's confusing naming, because of the two-gap read+write heads, which are basically the same quality audio, and less aligning bother.

Note that one side effect of actual 3-head is that it may have a switch to let you listen to to what you are recording (useful as a quality check during copies, also lets you make a tape delay machine of it), while this doesn't seem to be an option on two-gap heads (presumably it'd magnetically couple so not be useful this way)(verify).

https://www.mwit.ac.th/~physicslab/hbase/audio/tape.html




Erasing

If you wrote audio to a tape that already had audio, it would blend the signals, sort of like double-exposing a photograph (would probably vary a little with the kind of bias used(verify)).

When you overdub that's the point, but in general you want it to either always wipe as it's writing, or you want the choice.


In any case, units that can record also have an erase head which, roughly speaking, randomizes the magnetization of the tape, by using an above-audio rate signal, fairly strongly.

Erase heads are separate in part because they act more widely than the write, they work better with larger gaps and at higher current (and frequently have two gaps, basically for thoroughness).


Simpler erase heads, that are essentially just a permanent magnet, are seen in cheap units (likely to also be DC bias, not AC bias), but this saturates the tape one way and is less ideal for the same reasons DC bias is.



Bias

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.


The earliest attempt at recording applied the baseband input signal to the recording head, as it came in.

Baseband here meaning 'put the actual audio on the head's transformer, as-is'.

Very roughly speaking, if you think of a waveform going around its average, the result would be a magnetic field going one way and the other, so one half of that wave would lead the tape to be magnetized in one direction, the other part of the wave magnetization the other way.


This certainly works, but it turns out the magnetic material isn't quite linear used every which way. In particular, things don't quite do what you tell it around that middle of the wave, where you would ask for little to no magnetization on the tape and the polarity flips. (...for multiple reasons. In part because the magnetization you apply is weaker because when intended signal is weaker. This seems to be one of the reasons for a moderate hysteresis effect around there)

If you e.g. tried to put a perfect sine wave on there, it would be close, but a little wibbly around its middle.

This amounts to an uneven frequency response, and introduces some soft distortion, in particular for lower frequencies.(verify)

So it's certainly sound, but it's not quite right.


"If that zero crossing is part of the issue, why not shift it away from that zero point?"

This is a simple fix, yes. It is the basis for DC bias. Add a constant voltage to the signal you put on the head. As long as we can keep that waveform above zero, we never run into that flippy hysteresis, and as long as we don't saturate the tape (=hit the point at which it will not retain more magnetization), we don't run into that issue either.


This does give a much more linear response, and lessens the distortion from the around-zero non-linearity.

It also means you can use less of the range of the magnetic medium, meaning less dynamic range and more noise than you probably could get from that magnetiztion.

Also, it necessarily means net magnetization, which turns out to give some other issues (noisier? why?(verify)).


"Okay, what else?"

We ended up primarily with AC bias.

It turns out that adding a higher-than-audio-frequency signal while recording has an effect is not only a decent way of wiping the tape, it also leaves net-zero magnetization. So what if we add such an erase-like signal to the signal we record?

The placement of the waveform is still around zero, with polarization both ways as it was without any bias.

But it turns out there are physicsy reasons that means that mean less hysteresis than just baseband, and with little net magnetization. It ends up being a great tradeoff that avoids the biggest downsides of DC bias and of no bias.


Notes:

  • (something between 25kHz..150kHz(verify), apparently 40kHz..80kHz is ideal?, and at higher current than the recording current(verify))
  • (note that often, the same same oscillator is used for both erase head and bias signal, but with different currents).
  • The ideal current to apply varies per #Tape medium type, which is part of why tape medium is either a setting or detected (as in cassette tapes)


Most systems use AC bias because it works better, though some recent cheap models re-adopted DC bias to save a few bucks.


See also:


Tape medium type

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.
Cassette tape notches for
Type I (ferric / normal)
Type II (chrome, but often pseudochrome)
Type IV (metal)
The breakable tabs are for write protection - prevents recording once removed.


Has effect on

  • bias (e.g. metal types need more energy)
  • EQ


The notches on the cassette can make players/recorders detect this, though it's also frequently still a switch.


Some fancy recorders also let you fiddle with the amount of applied AC bias, because too little makes for more distortion, and too much means less high-frequency response(verify)


On azimuth

The positioning of the head relative to the tape matters, in all directions.


When mounted in a machine, most directions (distance to tape, roll along tape) of a head are fixed and/or well controlled.

Azimuth ends up being the main one you may need to fiddle with.


Basically there is one screw that pushes one side of the head across the tape.

the larger effect is that the head can be to the side of the tracks, sideways across the tape
when it's mostly right it also matters slightly in that if it's particularly rotated, you get a very small delay between tracks, which if mixed works out as comb filtering in the high frequencies


For combined-R-and-W heads, misalignment means general tapes will sound worse here, and tapes recorded on it will sound worse elsewhere, but tapes used within this one systems will seem to mostly perfect.

For separated R and W heads you have different combinations of reads fine, records poorly, "other person's recordings work differently".


You can always adjust your head for a specific tape, and if you have a factory-recorded tape, for tapes in general. You can e.g. count the screw-turns it takes to go from equally bad to either side, and then aim for the middle.

This works decently, though isn't overly precise.

There is a more precise method if you can forcibly mix the channels to mono, as the phase effect difference creates the comb-filtering-like in the higher frequencies, which gives a narrower optimal position where it audibly sounds better. So basically find any factory-recorded tape (see e.g. second hand stores). (Metal tapes are slightly better for this purpose due to better high-frequency response(verify)).

The tiniest drop of locktite may be a good idea to fix it in place for longer.

http://www.endino.com/archive/cassettes.html

For the electronic fiddlers

Playback is a magnetic field carrying baseband audio, so you can play with this pretty easily, and for low-fi it doesn't have to be precision engineered either, see e.g. https://www.youtube.com/watch?v=MMD-d-1erk4

But you may care to do it a little better than that.


The minimal circuit for playback is mostly an op amp, both for the voltage gain to line level, and as a buffer.

Playback amplification may well also equalize, in which case you'ld like to add a filter via a few more resistors and capacitors. Look for tape head pre amplifier circuits', and know there are ICs to help. https://www.youtube.com/watch?v=wn772K9cm9E


Recording is more complex.

The recording head's inductance matters (affects frequency response, you basically have to adjust for that) and recording current matter, as does the bias current, as does keeping the bias away from the source. (you can, alternately, mix the bias in with the signal before amplification, though this needs better amplifier specs)



See also:

Reel to reel tape decks

dcc

https://en.wikipedia.org/wiki/Digital_Compact_Cassette

DAT

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.
DAT tape (alongside a compact casette case for some size reference)

DAT (Digital Audio Tape) was one of the first digital audio recording products, introduced in 1987.

It recorded audio onto magnetic tape with a helical head (like video recorders), for more data density.

Digital audio recording wasn't unique at the time (there were some niche systems at the time that recorded digital audio e.g. onto video tapes), but DAT was originally intended for more general use. ...which it never did, probably for a good part due to legal action from the RIAA, but also in part because it was expensive.


For some historic context, audio CD was released a year or two before DAT was; Where CD seemed poised to replace vinyl, DAT (and/or minidisc) was perhaps intended to do the same for analog compact cassette tapes.


DAT never took off at home or to sell albums, though. Lobbying and legal threats from the RIAA probably had a lot to do with that - RIAA was afraid that an easy recordable format would kill their sales. That, and the setup was fairly pricy.

So DAT ended up mainly used as a tool within radio and the recording industry, and that use went away when recording studios moved to more convenient formats - like solid state recorders, and computers. It was an seemingly still is used in more professional film/video recording, presumably in part because you can write out the same timecode you used on video, and avoid a lot of searching later.



Technically

helical scan head
also implying the tape is always on the head, and could always be read during seeking
and you can listen while seeking (though that sounds like a garbled version, not a high-pitched version like in analog tape).
and players could assist finding pieces of silence/audio
timecode - which made it practical to record distinct fragments in a somewhat non-linear way


The on-tape format is not something most of us ever deal with, or want to.

At best we care about the digital input and output, which due to the year was typically AES/EBU on earlier devices (not the SPDIF(verify) we now know, but the two are closely related).


close, close; close, open, close: write protect disabled. 90-meter (so DDS)

On the back of the tape are a bunch of holes-or-not.

One of them (also a door on the front, often white plastic?(verify)) is write protect (When the door and hole is open, it is write protected)
The one beside it and the cluster of three on the other side mark the length (and implicitly some part of the type) of DAT/DDS.
The two nearer the center seem to be alignment.


DAT metadata

SCMS

DDS

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

Digital Data Storage (DDS) is DAT tape extended to be used for computer backups.


The first generation of DDS tapes were basically just regular 60-meter DAT tapes, had the same roughly-1.3GB worth of storage on that tape, and DDS hardware was mechanically quite close to DAT.

Later DDS variants increased length, and density, eventually up to 160GB.

There are 7 generations of DDS, and there are backwards compatibility details to consider.

(This (and other backup tape formats) have mostly been replaced by LTO, which has been around for a while but is still very much relevant, because the price-for-capacity is better than platter or flash.)


Is DAT and DDS the same tape?

The 60m DAT tape versus first generation of DDS, 60m DDS tape? Basically yes.

It's the same mechanism, and it's just data, the use of the tape is basically the same. Though the interpretation of that data is different, you could use them for either.

Some DDS drives were capable of reading audio off DAT, though it seems few people ever did that.


Note that the tapes are used a little differently. DAT is often used accessed in a mostly-linear way (long recording, long playback)

DDS seek around more frequently, using it more intensely. Which wears out tape a little faster, which seems to be why people say DDS must surely be built to a higher standard. I'm not how true that is, and how much of it is still confirmation bias and such. But it is a reason to consider avoiding used DDS tapes for DAT.


So can I use DDS tapes in my DAT machine?

tl;dr: If you stick to 60m (1.3GB) DDS-1, yes. Longer isn't guaranteed - 90m might work, longer may not.


You can get into backwards compatibility and pitch and other specs, but probably me main reason is mechanical: DAT's motors only have the torque to deal with DAT's 60m of length (DAT never changed(verify), DDS did).

Professional decks may have more leeway here when they're a little overspecced, and because of DAT's history, many decks are relatively professional, so YMMV and you may be fine with 90m DDS-1, DDS-2 and maybe DDS-3 - but you should really expect DDS-3 and later are out.

Like in reel-to-reels, a good test is to rewind and forward it completely - because fast forward (unlike playback) is constant rotational speed so this makes the highest demand on the motor torque. If feeding it through like that doesn't struggle throughout the tape, then it's probably fine.

Strategies of using tape

Linear

This article/section is a stub — some half-sorted notes, not necessarily checked, not necessarily correct. Feel free to ignore, or tell me about it.

In linear tape, information on the tape is in long lines, dragged past the heads.

In analog audio tape, the strength of the stored magnetic field becomes the strength of the signal you get out, without any added translation.

Do an image search for magnetic view audio tape if you like more visuals.


The most basic tape might use much of the width of the tape for a single signal - for comparison, not entirely unlike a magnetic wire recorder, but we then figured that we don't need much width, and could store multiple tracks.


That said, if there are multiple tracks, most linear tape designs end up with a bunch of separation - so that the tape doesn't have to be positioned too precisely. (Yes, you could put things closer together - linear serpentine does exactly that, but it makes the tracks thinner and harder to find reliably. It's a lot easier to wider tracks, and works out as cheaper to make all parts involved.)

Which means we're not using all that much of the mangetically available area.


It also turns out there is an upper limit to how well tape magnetizes a fast-changing signal. The rate in change (whether used for data or for the maximum audio frequency you can represent) is limited, primarily by the tape's mechanical speed.

For audio, our demands work out at a mechanically reasonably low tape speed when you use it this way - consider that cassette or reel tape can easily store 60 minutes.


But we have things with much higher bandwidth requirements for a long time.

In particular video. Or data backup.

Sure, we could pull the tape past that much faster, but that becomes mechanically impractical for a few different reasons.

Just how much faster you need for, say, video is impractical, so people looked at other methods.


Multitracking

One is making it wider and adding more channels alongside each other.

In audio you could call them completely separate, some methods said you should consume all of them together somehow. Say, stereo cassette tapes were essentially four tracks: left and right one way, left and right the other way.

8-track has eight, one way.

Reel to reel tape exists in multitrack variants that give you amounts in the 4..24 range (the last only on chunky 2" tape), but the upper range is already pricy (and starts to approach the difficulties linear serpentine was aimed at).

This works fine up to a point, though it puts higher requirements on aligning the tape correctly. If you don't, then in audio you lose quality, in data it just stops working before that.


Note that there are few systems that consume all tracks at once.

most multitracking only records or reads a few tracks at a time.

E.g. 8-track players physically shift the head sideways onto another track, cassette tape has to be turned around to put the other tracks onto the head correctly, multitracking has similar tricks.


If you squint, these are sort of a manual variant of linear serpentine system - you can't read everything at the same time (and you don't want to).

An 8-track can read two of the 8 tracks at a time,
A cassette tape deck (with a stereo recording) reads two tracks at a time; you get the other two by turning it over.
Reel to reel has had more variants over time, but the most popular(verify) seems to be the same as cassette tape: four tracks, two at a time and flipped over.

Helical scan


Another way is helical scan, as used e.g. in most video tape, and in DAT/DDS. These systems place tracks on diagonal strips. This doesn't increase the density much over many-track, and is more complex head construction (angled head, requires tracking, head spins faster to get more effective speed than the tape's mechanical speed) but what comes out is a single high-rate thing (a factor ~150 over audio tape, and still a few factors over most many-channel(verify)) and you wouldn't have to separate and reassemble your signal because that's the head's job.

https://en.wikipedia.org/wiki/Helical_scan


Tapes for data backup, practical things like physical size of the archive matters. Both helical and linear are now roughly at their engineering limits and unsurprisingly their density is similar, and the reasons to choose one over the other for e.g. backup are largely pragmatic ones - while for other uses (VCR, DAT, analog audio) they are mostly historical.

Linear serpentine

With that wowed introduction of helical scan, you might assume linear is dumb, helical is best, and e.g. the LTO backup tape that is still in use must be using helical.


Actually, LTO uses linear serpentine, which is a fancy way of saying:

it uses so many tracks that it has more tracks than it has heads
it has a way to move the heads to specific tracks (with precision - the width of tracks is on the order of dozens of micrometers)

The engineering is a lot more precise than in classical linear tape, and you need to feed the tape past the head multiple times to even read, or write, all of its data, but if you care about the most density per tape, this works out better than helical scan (and much better than linear).


For some reference,

LTO-1 was 8 heads and 384 tracks
LTO-8 is at 32 heads and 6656 tracks

Yes, that means writing a tape to capacity actually requires, depending on the LTO version, something between fourty and a hundred-fifty passes of the tape's length.

So noo, this is not at all a random-access system, and has rather high latency. Yet for most backup and archival uses, that's rarely an issue, the price is hard to argue with, and it's also engineered to last longer than at many other common storage media.

Floppy heads

Floppy heads are conceptually quite similar to tape heads.

Roughly compatible, even. this neat audio-floppy hack wires the floppy head to a cassette tape device.

This whole thing is ~4mm wide, the black stripe ~0.4mm, the three slits ~0.1mm each
Note the read/write slit leads the two erase slots to the side


There are differences, primarily in the way it deals with tracks.

It seems typical floppy heads:

on the track: read-write gap
to the sides: tunnel-erase gaps (well, typically tunnel style. There also seems to be a straddle type, which is alongside rather than behind, and requires slightly different timing)
these tunnel heads are not strictly required, but were practically quite useful:
wipes the spillover that may appear between tracks. Makes for more stability. Also helped interoperability a bit - without this, reuse of disks in different standards would be likely to react to off-track magnetization that was old data but would work as noise (and could not be altered in that other-type drive because it's off-track)

Note that where tape erase and write at the same time, floppies do this in two passes:

erase the sector (stronger amplification on the R/W head)
write the sector (regular R/W amplification)


Perpendicular recording existed, but was never very common (used e.g. in 2.8MB (4MB raw) floppies). This required the magnetic medium to have higher coercivity, and apparently implied a pre-erase gap leading the read/write gap (like how erasing works in tape. Not sure whether this was necessary or just a design decision).


It seems the R/W heads are typically a center-tapped coil (i.e. coil pair on one core).

I'm guessing this is because bit values 0 and 1 are magnetized in one direction or the other, and it's slightly easier/cheaper to drive this way. (verify)

A read is probably across the pair, because stronger signal. (TODO: read up, this must be moderately common knowledge)

Opening a head and seeing two coils is usually the RW part, and the erase part(verify) (the center tapping of the former is hard to see)


As such, you typically have 5 wires and they'll be:

  • shield - grounded, and not connected to other parts at the head size (other than large bits of metal around it - also making it easier to find this one with a multimeter)
  • common between all coils
  • R/W 1
  • R/W 2
  • Erase

Making a table of all possible combinations's resistance (just because they're different lengths of wire) typically helps find which is which, though you'll be thrown by there possibly being a diode and resistor in there.

The best explanation on how writing bits works that I've found sits in a Shugart service manual (SA400).


See also:

http://ohlandl.ipv7.net/floppy/floppy.html
http://ohlandl.ipv7.net/floppy/DS011332.pdf
http://www.osiweb.org/manuals/MPI_B51-B52_Product_Manual.pdf
https://nfggames.com/X68000/Documentation/Floppy%20Drives/Shugart/SA400%20Minifloppy%20service%20manual.pdf
http://www.retrotechnology.com/herbs_stuff/drive.html
http://jlgconsult.pagesperso-orange.fr/Atari/diskette/diskette_en.htm
https://cdn.hackaday.io/files/20185863595040/NEC%20FD1036%20Floppy%201985.unlocked.pdf
  • restoration/DIY (has some practical notes)
https://www.retrohax.net/commodore-1541-floppy-drive-fixing-chaos/
http://deramp.com/downloads/altair/hardware/8_inch_floppy/Drive%20Restoration%20Drive1.pdf




Floppy formats and interfaces

Loading data from tape