Cathode ray tube
The cathode ray tube (CRT) is a vacuum tube containing an electron gun (a source of electrons) and a fluorescent screen, with internal or external means to accelerate and deflect the electron beam, used to form images in the form of light emitted from the fluorescent screen. The image may represent electrical waveforms (oscilloscope), pictures (television, computer monitor), radar targets and others.
The single electron beam can be processed in such a way as to display moving pictures in natural colors.
The CRT uses an evacuated glass envelope which is large, deep, heavy, and relatively fragile. Display technologies without these disadvantages, such as flat plasma screens, liquid crystal displays, DLP, OLED displays have replaced CRTs in many applications and are becoming increasingly common as costs decline.
An  exception to the typical bowl-shaped CRT would be the flat CRTs used by Sony in their  Watchman series (the FD-210 was introduced in 1982). One of the last flat-CRT models was the FD-10A. The CRT in these units was flat with the electron gun located roughly at right angles below the display surface thus requiring sophisticated electronics to create an undistorted picture free from effects such as keystoning.

# General description
The earliest version of the CRT was invented by the German physicist Ferdinand Braun in 1897 and is also known as the 'Braun tube'. It was a cold-cathode diode, a modification of the Crookes tube with a phosphor-coated screen. The first version to use a hot cathode was developed by John B. Johnson (who gave his name to the term Johnson noise) and Harry Weiner Weinhart of Western Electric, and became a commercial product in 1922. 
The cathode rays are now known to be a beam of electrons emitted from a heated cathode inside a vacuum tube and accelerated by a potential difference between this cathode and an anode. The screen is covered with a phosphorescent coating (often transition metals or rare earth elements), which emits visible light when excited by high-energy electrons.  The beam is deflected either by a magnetic or an electric field to move the bright dot to the required position on the screen.
In television sets and computer monitors the entire front area of the tube is scanned systematically in a fixed pattern called a raster.  An image is produced by modulating the intensity of the electron beam with a received video signal (or another signal derived from it). In all CRT TV receivers except some very early models, the beam is deflected by magnetic deflection, a varying magnetic field generated by coils (the magnetic yoke), driven by electronic circuits, around the neck of the tube.
The source of the electron beam is the electron gun, which produces a stream of electrons through thermionic emission, and focuses it into a thin beam.  The gun is located in the narrow, cylindrical neck at the extreme rear of a CRT and has electrical connecting pins, usually arranged in a circular configuration, extending from its end.  These pins provide external connections to the cathode, to various grid elements in the gun used to focus and modulate the beam, and, in electrostatic deflection CRTs, to the deflection plates.  Since the CRT is a hot-cathode device, these pins also provide connections to one or more filament heaters within the electron gun.  When a CRT is operating, the heaters can often be seen glowing orange through the glass walls of the CRT neck.  The need for these heaters to 'warm up' causes a delay between the time that a CRT is first turned on, and the time that a display becomes visible.  In older tubes, this could take fifteen seconds or more; modern CRT displays have fast-starting circuits which produce an image within about two seconds, using either briefly increased heater current or elevated cathode voltage.  Once the CRT has warmed up, the heaters stay on continuously. The electrodes are often covered with a black layer, a patented process used by all major CRT manufacturers to improve electron density.
The electron gun accelerates not only electrons but also ions present in the imperfect vacuum (some of which result from outgassing of the internal tube components). The ions, being much heavier than electrons, are deflected much less by the magnetic or electrostatic fields used to position the electron beam. Ions striking the screen damage it; to prevent this the electron gun can be positioned slightly off the axis of the tube so that the ions strike the side of the CRT instead of the screen. Permanent magnets (the ion trap) deflect the lighter electrons so that they strike the screen.  Some very old TV sets without an ion trap show browning of the center of the screen, known as ion burn. The aluminium coating used in later CRTs reduced the need for an ion trap.
When electrons strike the poorly-conductive phosphor layer on the glass CRT, it becomes electrically charged, and tends to repel electrons, reducing brightness (this effect is known as "sticking"). To prevent this the interior side of the phosphor layer can be covered with a layer of aluminium connected to the conductive layer inside the tube, which disposes of this charge.  It has the additional advantages of increasing brightness by reflecting towards the viewer light emitted towards the back of the tube, and protecting the phosphor from ion bombardment.

# Oscilloscope tubes
For use in an oscilloscope, the design is somewhat different.  Rather than tracing out a raster, the electron beam is directly steered along an arbitrary path, while its intensity is kept constant. Usually the beam is deflected horizontally (X) by a varying potential difference between a pair of plates to its left and right, and vertically (Y) by plates above and below, although magnetic deflection is possible. The instantaneous position of the beam will depend upon the X and Y voltages. It is most useful for the horizontal voltage, repeatedly, to increase linearly with time until the beam reaches the edge of the screen, then jump back to its starting value (sawtooth waveform, generated by a timebase). This causes the display to trace out the Y voltage as a function of time. Many oscilloscopes only function in this mode. However it can be useful to display, say, the voltage versus the current in an inductive component with an oscilloscope that allows X-Y input, without using the timebase.
The electron gun is always centered in the tube neck; the problem of ion production is either ignored or mitigated by using an aluminized screen.
The beam can be moved much more rapidly, and it is easier to make the beam deflection accurately proportional to the applied signal, by using electrostatic deflection as described above instead of magnetic deflection. Magnetic deflection is achieved by passing currents through coils external to the tube; it allows the construction of much shorter tubes for a given screen size. Circuit arrangements are required to approximately linearize the beam position as a function of signal current, and the very wide deflection angles require arrangements to keep the beam focused (dynamic focusing).
In principle either type of deflection can be used for any purpose; but electrostatic deflection is best for oscilloscopes with relatively small screens and high performance requirements, while a television receiver with a large screen and electrostatic deflection would be many meters deep.
Some issues must be resolved when using electrostatic deflection.  Simple deflection plates appear as a fairly large capacitive load to the deflection amplifiers, requiring large current flows to charge and discharge this capacitance rapidly. Another, more subtle, problem is that when the electrostatic charge switches, electrons which are already part of the way through the deflection plate region will only be partially deflected. This results in the trace on the screen lagging behind a rapid change in signal.
Extremely high performance oscilloscopes avoid these problems by subdividing the vertical (and sometimes horizontal) deflection plates into a series of plates along the length of the "deflection" region of the CRT, and electrically joined by a delay line terminated in its characteristic impedance; the timing of the delay line is set to match the velocity of the electrons through the deflection region. In this way, a change of charge "flows along" the deflection plate along with the electrons that it should affect, almost negating its effect on those electrons which are already partially through the region.  Consequently the beam as seen on the screen slews almost instantly from the old point to the new point. In addition, because the entire deflection system operates as a matched-impedance load, the problem of driving a large capacitive load is mitigated.
It is very common for oscilloscopes to have amplifiers which rapidly chop or swap the beam, blanking the display while switching. This allows the single beam to show as two or more traces, each representing a different input signal. These are properly called multiple-trace (dual trace, quadruple trace, etc.) oscilloscopes.
Much rarer is the true dual beam oscilloscope, whose tube contains an electron gun that produces two independent electron beams. Usually, but not always, both beams are deflected horizontally by a single shared pair of plates, while each beam has its own vertical deflection plates. This allows a time-domain display to show two signals simultaneously.
Many modern oscilloscope tubes pass the electron beam through an expansion mesh. This mesh acts like a lens for electrons and has the effect of roughly doubling the deflection of the electron beam, allowing the use of a larger faceplate for the same length of tube envelope. The expansion mesh also tends to increase the "spot size" on the screen, but this trade off is usually acceptable.
When displaying one-shot fast events the electron beam must deflect very quickly, with few electrons impinging on the screen, leading to a faint or invisible display. A simple improvement can be attained by fitting a hood on the screen against which the observer presses his face, excluding extraneous light, but oscilloscope CRTs designed for very fast signals give a brighter display by passing the electron beam through a micro-channel plate just before it reaches the screen. Through the phenomenon of secondary emission this plate multiplies the number of electrons reaching the phosphor screen, giving a brighter display, possibly with a slightly larger spot.
The phosphors used in the screens of oscilloscope tubes are different from those used in the screens of other display tubes. Phosphors used for displaying moving pictures should produce an image which fades very rapidly to avoid smearing of new information by the remains of the previous picture; i.e., they should have short persistence. An oscilloscope will often display a trace which repeats unchanged, so longer persistence is not a problem; but it is a definite advantage when viewing a single-shot event, so longer-persistence phosphors are used.
An oscilloscope trace can be any color without loss of information, so a phosphor with maximum effective luminosity is usually used. The eye is most sensitive to green: for visual and general-purpose use the P31 phosphor gives a visually bright trace, and also photographs well and is reasonably resistant to burning by the electron beam. For displays meant to be photographed rather than viewed, the blue trace of P11 phosphor gives higher photographic brightness; for extremely slow displays, very-long-persistence phosphors such as P7, which produce a blue trace followed by a longer-lasting amber or yellow afterimage, are used.
The phosphor screen of most oscilloscope tubes contains a permanently-marked internal graticule, dividing the screen using Cartesian coordinates. This internal graticule allows for the easy measurement of signals with no worries about parallax error. Less expensive oscilloscope tubes may instead have an external graticule of glass or acrylic plastic. Most graticule can be side-illuminated for use in a darkened room.
Oscilloscope tubes almost never contain integrated implosion protection (see below). External implosion protection must always be provided, either in the form of an external graticule or, for tubes with an internal graticule, a plain sheet of glass or plastic. The implosion protection shield is often colored to match the light emitted by the phosphor screen; this improves the contrast as seen by the user.

# Computer displays
Graphical displays for early computers used vector monitors, a type of CRT similar to the oscilloscope but typically using magnetic, rather than electrostatic, deflection. Magnetic deflection  allows the construction of much shorter tubes for a given viewable image size. Here, the beam traces straight lines between arbitrary points, repeatedly refreshing the display as quickly as possible. Vector monitors were also used by some late-1970s to mid-1980s arcade games such as Asteroids. Vector displays for computers did not noticeably suffer from the display artifacts of Aliasing and pixelation, but were limited in that they could display only a shape's outline (advanced vector systems could provide a limited amount of shading), and only a limited amount of crudely-drawn text (the number of shapes and/or textual characters drawn was severely limited, because the speed of refresh was roughly inversely proportional to how many vectors needed to be drawn).  Some vector monitors are capable of displaying multiple colors, using either a typical tri-color CRT, or two phosphor layers (so-called "penetration color"). In these dual-layer tubes, by controlling the strength of the electron beam, electrons could be made to reach (and illuminate) either or both phosphor layers, typically producing a choice of green, orange, or red.
Other graphical displays used 'storage tubes', including Direct View Bistable Storage Tubes (DVBSTs). These CRTs inherently stored the image, and did not require periodic refreshing.
Some displays for early computers (those that needed to display more text than was practical using vectors, or that required high speed for photographic output) used Charactron CRTs.  These incorporate a perforated metal character mask (stencil), which shapes a wide electron beam to form a character on the screen.  The system selects a character on the mask using one set of deflection circuits, and selects the position to draw the character at using a second set.  The beam is activated briefly to draw the character at that position.  Graphics could be drawn by selecting the position on the mask corresponding to the code for a space (in practice, they were simply not drawn), which had a small round hole in the center; this effectively disabled the character mask, and the system reverted to regular vector behavior.
Many of the early computer displays used "slow", or long-persistence, phosphors to reduce flicker for the operator.  While it reduces eyestrain for relatively static displays, the drawback of long-persistence phosphor is that when the display is changed, it produces a visible afterimage that can take up to several seconds to fade.  This makes it inappropriate for animation, or for real-time dynamic information displays.
Color tubes use three different phosphors which emit red, green, and blue light respectively.  They are packed together in strips (as in aperture grille designs) or clusters called "triads" (as in shadow mask CRTs).  Color CRTs have three electron guns, one for each primary color, arranged either in a straight line or in a triangular configuration (the guns are usually constructed as a single unit).  Each gun's beam reaches the dots of exactly one color; a grille or mask absorbs those electrons that would otherwise hit the wrong phosphor. Since each beam starts at a slightly different location within the tube, and all three beams are perturbed in essentially the same way, a particular deflection charge will cause the beams to hit a slightly different location on the screen (called a 'sub pixel').  Color CRTs with the guns arranged in a triangular configuration are known as delta-gun CRTs, because the triangular formation resembles the shape of the Greek letter delta.
Dot pitch defines the "native resolution" of the display. On delta-gun CRTs, as the scanned resolution approaches the dot pitch resolution, moire (a kind of soft-edged banding) appears, due to interference patterns between the mask structure and the grid-like pattern of pixels drawn.  Aperture grille monitors do not suffer from vertical moire, however, because the phosphor strips have no vertical detail.

# The glass envelope
The outer glass allows the light generated by the phosphor out of the monitor, but (for color tubes) it must block dangerous X-rays generated by high energy electrons impacting the inside of the CRT face.  For this reason, the glass is leaded.  Color tubes require significantly higher anode voltages than monochrome tubes (as high as 32,000 volts in large tubes), partly to compensate for the blockage of some electrons by the aperture mask or grille; the amount of X-rays produced increases with voltage.  Because of leaded glass, other shielding, and protective circuits designed to prevent the anode voltage from rising too high in case of malfunction, the X-ray emission of modern CRTs is well within approved safety limits.
CRTs have a pronounced triode characteristic, which results in significant gamma (a nonlinear relationship between beam current and light intensity).  In early televisions, screen gamma was an advantage because it acted to compress the screen contrast.  However in systems where linear response is required (such as when desktop publishing), gamma correction is applied.  The gamma characteristic exists today in all digital video systems.
CRT displays accumulate a static electrical charge on the screen, unless preventive measures are taken.  This charge does not pose a safety hazard, but can lead to significant degradation of image quality through attraction of dust particles to the surface of the screen.  Unless the display is regularly cleaned with a dry cloth or special cleaning tissue (using ordinary household cleaners may damage anti-glare protective layer on the screen), after a few months the brightness and clarity of the image drops significantly.
The high voltage (EHT) used for accelerating the electrons is provided by a transformer.  For CRTs used in televisions, this is usually a flyback transformer that steps up the line (horizontal) deflection supply to as much as 32,000 volts for a color tube, although monochrome tubes and specialty CRTs may operate at much lower voltages.  The output of the transformer is rectified and the pulsating output voltage is smoothed by a capacitor formed by the tube itself (the accelerating anode being one plate, the glass being the dielectric, and the grounded (earthed) Aquadag coating on the outside of the tube being the other plate).  Before all-glass tubes, the structure between the screen and the electron gun was made from a heavy metal cone which served as the accelerating anode.  Smoothing of the EHT was then done with a high voltage capacitor, external to the tube itself.  In the earliest televisions, before the invention of the flyback transformer design, a linear high-voltage supply was used; because these supplies were capable of delivering much more current at their high voltage than flyback high voltage systems  in the case of an accident they proved extremely dangerous.  The flyback circuit design addressed this: in the case of a fault, the flyback system delivers relatively little current, improving a person's chance of surviving a direct shock from the high voltage anode.

# The future of CRT technology
CRT screens have much deeper cabinets compared to LCD screens for a given screen size. Some LCDs have inferior color rendition due to the fluorescent lights that can be used as backlights, even though they can be brighter overall. CRTs can be useful for displaying photos with a high pixels per unit area and correct color balance. The end of most high-end CRT production in the mid 2000s (including high-end Sony, and Mitsubishi product lines) means an erosion of the CRT's capability. Samsung did not introduce any CRT models for the 2008 model year at the 2008 Consumer Electronics Show and on February 4, 2008 Samsung removed their 30" wide screen CRTs from their North American website and has not replaced them with new models.
In general, rear-projection displays and LCDs require less power per display area, but plasma displays consume as much as or more than CRTs. However, CRTs still find adherents in computer gaming because of higher resolution per initial cost and small response time. CRTs are often used in psychological research that requires precise recording of reaction times.  CRTs are also still popular in the printing and broadcasting industries as well as in the professional video, photography, and graphics fields due to their greater color fidelity and contrast, better resolution when displaying moving images, and better view from angles, although improvements in LCD technology increasingly alleviate these concerns. The demand for CRT screens is falling rapidly, and producers are responding to this trend. For example, in 2005 Sony announced that they would stop the production of CRT computer displays.  Similarly, German manufacturer Loewe ceased production of CRT TVs in December 2005. It has been common to replace CRT-based televisions and monitors in as little as 56 years, although they generally are capable of satisfactory performance for a much longer time.
In the United Kingdom, the largest retailer of domestic electronic equipment, DSG (Dixons) reported that CRT models made up 8090% of the volume of televisions sold at Christmas 2004 and 1520% a year later, and that they were expected to be less than 5% at the end of 2006. Dixons have announced that they will cease selling CRT televisions in 2007. DisplaySearch has reported that in the 4Q of 2007 LCDs surpassed CRTs in worldwide sales though CRTs than outsold LCDs in the 1Q of 2008.  

# Magnets
Magnets should never be put next to a color CRT, as they may cause magnetization of the shadow mask, and in severe cases can permanently distort it mechanically, which will cause incorrect colors to appear in the magnetized area.  This is called a "purity" problem, because it affects the purity of one of the primary colors, with the residual magnetism causing the undesired deflection of electrons from one gun to the wrong color's phosphor patch. This can be expensive to have corrected, although it may correct itself over a few days or weeks.  Most modern television sets and nearly all newer computer monitors have a built-in degaussing coil, which upon power-up creates a brief, alternating magnetic field which decays in strength over the course of a few seconds.  The coil's interaction with the shadow mask, screen band and chassis components is the reason for the characteristic 'hum' associated with turning on many CRT-equipped displays. This degaussing field is strong enough to remove most cases of shadow mask magnetization.
It is possible to purchase or build an external degaussing coil, which can aid in demagnetizing older sets, or in cases where the built-in coil is ineffective.
A transformer, which produces a large alternating magnetic field (one can typically be found in soldering guns, though not soldering irons), may also be used to degauss a monitor, by holding it up to the center of the monitor, activating it, and slowly moving the transformer in ever wider concentric circles past the edge of the monitor until the shimmering colors can no longer be seen (if a soldering gun is being used, ensure that the hot tip is facing away from the glass).  To see the shimmering colors clearly, you may need to display a white or light-colored screen.  This process may need to be repeated several times to fully remove severe magnetization.
In extreme cases, very strong magnets such as the neodymium iron boron, or NIB magnets, can actually deform (and likely, permanently bend) the shadow mask. This will create an area of impure color rendition on the screen and if the shadow mask has been bent, such damage usually can't be repaired. Subjecting an old black and white television or monochrome (green or amber screen) computer monitor to magnets is generally harmless; this can be used as an effective demonstration tool for seeing the immediate and dramatic effect of a magnetic field on moving charged particles.

# Health concerns

## Electromagnetic
It has been claimed that the electromagnetic fields emitted by CRT monitors constitute a health hazard, and can affect the functioning of living cells.  Exposure to these fields diminishes considerably  at distances of 85 cm or farther according to the inverse cube law, which describes the propagation of all magnetic radiation.
As the coils in a CRT monitor are extremely inefficient antennas, there is no broadcast electromagnetic field.

## Ionizing radiation
CRTs can emit a small amount of X-ray radiation as a result of the electron beam's bombardment of the shadow mask/aperture grille and phosphors.  The amount of radiation escaping the front of the monitor is widely considered unharmful. The Food and Drug Administration regulations in Template:CodeFedReg are used to strictly limit, for instance, television receivers to 0.5 milliroentgens per hour (mR/h) (0.13 C/(kgh) or 36 pA/kg) at a distance of 5 cm from any external surface; since 2007, most CRTs have emissions that fall well below this limit.   This is one of the reasons CRT equipment sold in the United States is required to have the month and year of manufacture stamped on the back of the set.
Early color television receivers (many of which are now highly collectible, see CT-100) were especially vulnerable due to primitive high-voltage regulation systems. X-ray production is generally negligible in black-and-white sets (due to low acceleration voltage and beam current), and in virtually every color display since the late 1960s, when systems were added to shut down the horizontal deflection system (and therefore high voltage supply) should regulation of the acceleration voltage fail.
All television receivers and CRT displays equipped with a vacuum tube based high-voltage rectifier or high-voltage regulator tube also generate X-rays in these stages.  These stages are universally housed in a metal enclosure called the "high-voltage cage" made from sheet metal to substantially reduce (and effectively eliminate) exposure.  For both X-ray and electrical safety reasons, the set should never be operated with the cover of the high voltage cage opened. Many sets incorporated some type of interlock system to prevent operation with the high voltage cage open.

## Toxicity
CRTs may contain toxic phosphors within the glass envelope.  The glass envelopes of modern CRTs may be made from heavily leaded glass, which represent an environmental hazard. Indirectly heated vacuum tubes (including CRTs) use barium compounds and other reactive materials in the construction of the cathode and getter assemblies; normally this material will be converted into oxides upon exposure to the air, but care should be taken to avoid contact with the inside of all broken tubes.
In some jurisdictions, discarded CRTs are regarded as toxic waste.  
In October 2001, the United States Environmental Protection Agency created rules stating that CRTs must be brought to special recycling places. In November 2002, the EPA began fining companies that disposed of CRTs through landfills or incineration. Regulatory agencies, local and statewide, monitor the disposal of CRTs and other computer equipment.
In Europe, disposal of CRT televisions and monitors is covered by the WEEE Directive.

## Flicker
The constant refreshing of a CRT can cause headaches and seizures in epileptics.  Screen filters are available to reduce these effects.  A high refresh rate (above 72 Hz) also helps to negate these effects.

## High voltage
CRTs operate at very high voltages, which can persist long after the device containing the CRT has been switched off and/or unplugged. Residual charges of hundreds of volts can also remain in large capacitors in the power supply circuits of the device containing the CRT; these charges may persist. Modern circuits contain bleeder resistors, to ensure that the high-voltage supply is discharged to safe levels within a couple of minutes at most. These discharge devices can fail even on a modern unit and leave these high voltage charges present.  The final anode connector on the bulb of the tube carries this high voltage.

## Implosion
A high vacuum exists within all CRT monitors. If the outer glass envelope is damaged, a dangerous implosion may occur. Due to the power of the implosion, glass may explode outwards. This shrapnel can travel at dangerous and potentially fatal velocities. While modern CRT used in televisions and computer displays have  epoxy-bonded face-plates or other measures to prevent shattering of the envelope, CRTs removed from equipment must be handled carefully to avoid personal injury.
Early TV receivers had safety glass in front of their CRTs for protection. Modern CRTs have exposed faceplates; they have tension bands around the widest part of the glass envelope, at the edge of the faceplate, to keep the faceplate's glass under considerable compression, greatly enhancing resistance to impact. The tension in the band is on the order of a ton or more.