Part 14 · Electronics and Computing
Smartphones
A pocket computer joined to a radio, a camera, a touch screen and a dozen sensors, running for a day on a small battery. What each part inside does and how it is made — processor, memory, radios and antennas, camera, microphone and speaker, motion sensors, satellite positioning, battery and screen — how a call and a data connection travel through the network, and the realistic stepping stones from a two-way radio to the real thing.
- Difficulty
- ●●●●●
- Time
- Days to take one apart and understand it; years to build the stepping stones; a whole world economy to make one
- Steps from zero
- 83 prerequisites →
You need first
Satellites, Mobile Phones and GPS (Overview)Microprocessors and Personal ComputersLithium BatteriesFlat Screens: LCD and LED DisplaysThis unlocks
—The full path from nothing — 83 steps before this one
- Fire
- Cordage and Rope
- Stone Tools
- Finding and Preparing Clay
- Finding and Identifying Ores
- Sulfur
- Writing and Numbers
- Hunting and Trapping
- Basic Woodworking
- Charcoal
- Pottery
- The Kiln
- Arithmetic and Fractions
- Hides and Leather
- Lime
- Bricks
- Salt
- Mercury
- Fermentation
- Lye and Potash
- The Wheel and Axle
- Logic and Binary
- Glass
- Firebrick and Refractories
- Bellows
- Saltpeter
- The Lathe
- Gears
- Glass Fibre and Glass Wool
- Copper Smelting
- Iron (the Bloomery)
- Lead
- Laboratory Glassware
- Sulfuric Acid
- Pumps
- The Waterwheel
- Lenses
- Blacksmithing
- Gold and Silver
- The Blast Furnace and Cast Iron
- Bronze
- Hydrochloric Acid
- The Battery
- The Vacuum Pump
- Magnets
- Optical Glass and Achromatic Lenses
- Steel
- Chimneys, Stoves and Heating
- Bearings and Lubrication
- The Steam Engine
- Copper Wire
- The Light Bulb
- Electrolysis
- The Rechargeable Battery
- Photography
- Polarised Light
- Hydrogen, Oxygen and Gases
- Centrifugal Pumps and Fans
- Machine Tools
- The Electromagnet
- The Generator
- Lithium Batteries
- The Vacuum Tube
- The Electric Arc Furnace
- Ammonia
- The Induction Coil
- The Telegraph
- Ice and Refrigeration
- The Telephone
- Pure Silicon
- Ventilation and Air Conditioning
- Radio
- Semiconductors and the Transistor
- Clean Rooms
- Integrated Circuits
- Cathode Rays and Television
- Satellites, Mobile Phones and GPS (Overview)
- Making Microchips
- The Computer
- Programming
- Displays, Printers and Data Storage
- Microprocessors and Personal Computers
- Flat Screens: LCD and LED Displays
- Smartphones
Do them roughly in this order. See it on the tech tree →
Why it matters
A smartphone is a personal computer, a The Telephone, a Radio, a camera, a The Compass, a satellite navigator, a recorder, a torch and a library, in a slab of glass and metal weighing 150–230 g that runs for a day on a battery. It joined most of the people on Earth to The Internet within about fifteen years of 2007.
It is also the clearest example in this book of a thing no small community can make. Its main chip comes from a factory costing tens of billions of dollars (Making Microchips), and it holds around sixty chemical elements: silicon from quartz; glass from sand; tin solder from cassiterite; gold on contacts; tantalum, from the heavy black mineral tantalite, in its tiny capacitors; rare-earth metals from monazite in its magnets; lithium (from lepidolite and brines) and cobalt in its battery; indium from zinc ores in its screen. This chapter explains what every part does and how it is made, so that a rebuilding society understands the goal, can repair and reuse phones it finds, and can build the stepping stones that give much of the same usefulness long before the real thing.
What is inside
| Part | What it does | Made of | Size |
|---|---|---|---|
| Cover glass | Protects the screen | Toughened aluminosilicate glass | 0.5–0.8 mm thick |
| Screen and touch layer | Shows pictures, feels fingers | OLED or LCD on transistor glass (Flat Screens: LCD and LED Displays) | 15–17 cm across the diagonal |
| Main board | Carries everything electronic | 10–12 layers of copper and glass-fibre resin | About the size of a playing card, folded or stacked |
| Processor ("system on a chip") | Computer, graphics, picture processing | Silicon, 10–20 billion transistors | About 1 cm square |
| Memory | Working memory and storage | Silicon: 4–16 GB DRAM, 64 GB–1 TB flash | Stacked chips |
| Radios | Phone network, Wi-Fi, Bluetooth, satellite positioning, contactless payment | Silicon, gallium arsenide, acoustic filters | A dozen chips |
| Antennas | Send and catch radio waves | Parts of the metal frame; printed copper | 3–10 cm long pieces |
| Battery | Stores energy | Lithium-ion pouch cell (Lithium Batteries) | 12–19 watt-hours |
| Cameras | Take pictures | Silicon sensor, plastic lenses, a tiny motor | Modules 6–10 mm square |
| Microphones (2–4), speakers (2), vibration motor | Sound in and out, buzzing | Silicon membranes; magnets and coils | A few millimetres |
| Sensors | Motion, direction, height, light, nearness | Silicon micromachines | 2–3 mm chips |
How each part works
Processor and memory
The system on a chip puts on one piece of silicon everything that filled a desk in 1990: six to eight processor cores (some fast, some slow and frugal, switched as needed), a graphics processor, a picture processor for the camera, a unit for speech and image recognition, and controllers for memory, screen and storage. It runs at 1–3.5 billion cycles a second and uses from a hundredth of a watt idle to 5–10 watts flat out, when it heats up and slows itself down. It is made at the very top of the ladder in Making Microchips.
The working memory (DRAM) is a separate chip mounted directly on top of the processor, so their connections are millimetres long. The storage is flash memory (Microprocessors and Personal Computers) in which the cells are stacked in more than a hundred layers, each cell holding three or four bits as different amounts of trapped charge.
Radios
A phone holds several complete Radio transmitters and receivers:
| Radio | Frequencies | Range |
|---|---|---|
| Phone network (4G, 5G) | 0.6–6 GHz, some up to 40 GHz | Several kilometres to a mast |
| Wi-Fi | 2.4, 5 and 6 GHz | Tens of metres |
| Bluetooth | 2.4 GHz | About 10 m |
| Satellite positioning | 1.2 and 1.6 GHz, receive only | Satellites 20,000 km up |
| Contactless (NFC) | 13.56 MHz | A few centimetres |
Each has the same parts as a home-built radio, shrunk onto chips: an oscillator locked to a quartz crystal (around 20–40 MHz) and multiplied up to the channel frequency; a mixer; filters; an amplifier. The transmitter's power amplifier gives at most about 0.2 W, because the mast is never far away. Dozens of tiny acoustic filters — slabs of piezoelectric crystal on which the signal travels as a sound wave, like a quartz crystal (Quartz Crystals and Frequency Control) — keep each band clean.
The data are carried by splitting the signal over hundreds of narrow sub-channels at once (15 kHz apart in 4G), each changed in strength and timing many thousands of times a second to carry bits. Several antennas send and receive different streams at the same time on the same frequency, which multiplies the speed.
Antennas must be roughly a quarter of a wavelength long: about 8 cm at 900 MHz, 3 cm at 2.4 GHz. Phones use the metal frame itself, cut by thin plastic-filled slots into separate pieces, each acting as an antenna; electronic switches retune them as frequencies change and when a hand covers them.
How a call and a data connection travel
- Switching on. The phone listens on the network's frequencies, finds the strongest base station (a mast with antennas and radios — Satellites, Mobile Phones and GPS (Overview)), reads its broadcast messages, and asks to join.
- Proving who it is. The SIM — a tiny chip on a card or built into the phone — holds a secret number that is also stored in the network's computers but never sent over the air. The network sends a random number; the SIM scrambles it with the secret and sends back the answer; the network compares it with its own calculation. If they match, the phone is admitted and a fresh scrambling key for the conversation is made from the same calculation.
- Being found. The network records which group of cells the phone is in. When a call or message comes, it pages the phone in those cells.
- The radio link. The base station shares out tiny slices of time and frequency — thousandths of a second, a few sub-channels each — among all phones in its cell, many times a second.
- Back to the core. From the mast, the traffic travels by fibre or microwave link to the network's core: computers that track phones, check accounts and route traffic (The Automatic Telephone Exchange, Networks and the Internet).
- Voice is turned into numbers (about 13,000–24,000 bits a second, squeezed by a speech-compression program), sent in packets every 20 milliseconds, and handed to the other person's network, which pages their phone and delivers it the same way. Data goes to a gateway that gives the phone an address on The Internet and passes its packets out. The delay from phone to internet and back is typically 20–50 milliseconds.
- Moving. As the phone travels, the network hands it from cell to cell without a break.
The phone camera module
What it is: a complete camera about 8 mm square and 5–9 mm deep. Phones carry two to five of them, front and back.
The sensor is a chip covered in pixels, each a tiny photodiode that collects electrons when light falls on it, with three or four transistors beside it to reset it and read it out — row by row, like the Cathode Rays and Television scan. A typical main sensor has 12–50 million pixels, each 0.7–2.4 micrometres (μm) across. On top of every pixel sits a colour filter — red, green or blue, in a repeating pattern of two green to one red and one blue, because the eye is most sensitive to green — and a microlens that funnels light onto the photodiode. Software works out the full colour at each pixel from its neighbours. In the best sensors the chip is made, then turned over, bonded to a second chip and ground down to about 3 μm thick, so light enters from the back where no wiring is in the way.
The lens is a stack of five to seven elements of moulded clear plastic, with strongly curved non-spherical surfaces that a few glass Lenses could not match in so little depth. Focal length is typically 4–9 mm and aperture f/1.5–2.4 (Photography). The moulds are cut on diamond-tipped lathes accurate to tens of nanometres; the lenses are injection-moulded by the million.
Focus is set by a voice-coil motor: the lens barrel hangs on fine springs inside a coil, between magnets, exactly like a loudspeaker; current moves it a fraction of a millimetre. More current, different focus. The same principle, sideways, steadies the picture against hand shake.
An infrared filter — a glass plate with many thin coatings — blocks the near infrared that silicon sees but eyes do not.
Assembly: a machine moves the lens while the sensor watches a test chart, and glues it with a flash of ultraviolet light where the picture is sharpest.
Good or bad: a good module gives a sharp picture to the corners, focuses from about 10 cm to infinity, shows no coloured fringes at high-contrast edges, and no dark spots (dust on the sensor) on a plain white wall.
Workshop version: with a 10 μm chip line, make a grid of 32 × 32 or 64 × 64 photodiodes, each with one switching transistor, read one row at a time by a microprocessor. Behind a single glass lens of 10–20 mm focal length, it gives a small, grey, but real digital picture. Before that, a single photocell scanned across the image by two moving mirrors does the same, slowly, as early fax machines did.
Microphones, speakers and the buzzer
- Microphones: a MEMS ("micro-electro-mechanical system") microphone is a membrane of silicon about 1 mm across and 1 μm thick, a few micrometres in front of a stiff plate full of holes, all etched from one chip. Sound flexes the membrane; the capacitance between it and the plate changes; a second chip amplifies it and turns it into numbers. Several microphones let the phone cancel background noise by comparing them. The older electret microphone is the same idea larger, with a permanently charged plastic film (Loudspeakers, Microphones and Headphones).
- Speakers: tiny moving-coil loudspeakers (Loudspeakers, Microphones and Headphones) with magnets of neodymium–iron–boron, whose rare-earth metal comes from monazite sands (Permanent Magnets). A few watts at most.
- Vibration: a small mass on a spring, shaken at its natural frequency of about 150–250 cycles a second by a coil and magnet.
The MEMS accelerometer
What it does: measures acceleration — including the steady pull of gravity, which tells the phone which way is down, so the screen turns when the phone does. It counts steps, detects falls, and with the gyroscope steadies the camera and guides games and maps.
How it works: a proof mass of silicon, perhaps half a millimetre long, hangs on thin folded springs. Rows of thin fingers stick out from it, each between two fixed fingers a couple of micrometres away, forming pairs of tiny capacitors. When the phone accelerates, the mass lags behind and moves — about 10 nanometres per g (one g is the acceleration of gravity, 9.8 m/s²) — so one capacitor of each pair grows and the other shrinks. The change is a few thousandths of a millionth of a millionth of a farad, measured by a circuit on a companion chip. Three such sensors at right angles give all three directions. Typical ranges are ±2 to ±16 g.
How it is made (surface micromachining, built on the methods of Making Microchips):
- On a silicon wafer, deposit a sacrificial layer of glass about 2 μm thick and open small holes in it where the structure must be anchored.
- Deposit a thick structural layer of polysilicon (2–30 μm), which fills the holes and grips the wafer.
- Print and etch the pattern of mass, springs and fingers straight down through the polysilicon with a plasma etch.
- Release: dissolve the sacrificial glass in hydrofluoric acid. It disappears from under the structures, leaving the mass and springs floating, held only at their anchors.
- Dry without letting the surface tension of the last drop of water pull the parts down and glue them to the wafer ("stiction") — by drying through a vapour or with a thin water-repelling coating.
- Seal a cap wafer over each sensor to keep out dust and damp, and pair it with its measuring chip.
The gyroscope (a vibrating cousin of the spinning Gyroscopes and Inertial Guidance) is built the same way, but its mass is kept vibrating at tens of thousands of cycles a second; when the phone turns, the turning pushes the vibrating mass sideways (the Coriolis effect), which the fingers detect.
Workshop version: the same principle a thousand times larger.
- A brass or lead mass of about 10 g, on a thin strip of spring steel or phosphor bronze clamped at one end, inside a closed box (to keep out draughts).
- Two flat brass plates about 2 cm², one on each side of the mass, each 0.5 mm from it. Each forms a capacitor of about 3.5 picofarads with the mass.
- Choose the spring so that the mass droops about 0.2 mm when the box is turned on its side (1 g), well short of the 0.5 mm gap. Its natural frequency is then about 35 cycles a second.
- Measure each capacitor by letting it set the frequency of an oscillator (Amplifiers and Oscillators), or connect them as two arms of an alternating-current bridge. The difference between the two tells you how far, and which way, the mass has moved.
- Add a drop of oil or a vane in oil to damp the swinging.
Calibrate it by turning it slowly through a full circle: the reading should follow a smooth wave from +1 g to −1 g. It will measure tilt, vibration of machines and earth tremors. A strain gauge glued to the spring (Photocells and Sensors) is a simpler alternative to the capacitor plates.
Good or bad: reads zero when level and exactly 1 g on its side; returns to the same reading after a shake; reads the same today as last week.
Other sensors
- Compass: three sensors of magnetic field (Hall Sensors and Magnetometers), using the Hall effect (a magnetic field pushes the current in a thin semiconductor sideways, giving a tiny voltage) or thin magnetic films whose resistance changes with field. The Earth's field is weak, so the phone must be calibrated against the iron and magnets inside itself — the figure-of-eight wave apps ask for.
- Barometer: a sealed silicon membrane that bulges with air pressure (The Barometer); sensitive enough to tell which floor of a building you are on (about 12 pascals per metre of height).
- Light and nearness: a photodiode sets screen brightness; an infrared LED and photodiode by the earpiece switch the screen off against your cheek.
- Satellite positioning: a receiver hears four or more navigation satellites (Satellites, Mobile Phones and GPS (Overview)). Their signals arrive far weaker than the background noise; the receiver finds them by multiplying what it hears with copies of each satellite's known code at every possible delay and frequency until one matches. Alone this can take half a minute or more; with satellite positions supplied over the phone network ("assisted" positioning), a few seconds.
Battery, power and glass
The battery is a flat lithium-ion pouch cell (Lithium Batteries), 3.0–4.4 V. Beside it, a protection chip cuts it off if it is over-charged, over-discharged or shorted, and a power-management chip turns its voltage into a dozen supplies, from about 0.5 V for the processor cores to 20 V for the screen, switching each off when not needed. Charging follows the constant-current, then constant-voltage pattern.
Toughened cover glass is a workshop-reachable part. Ordinary glass breaks from tiny scratches on its surface that open under tension. Soak the finished glass in molten saltpeter (potassium nitrate, Saltpeter) at about 400–450 °C for 8–24 hours: larger potassium atoms from the salt swap places with smaller sodium atoms in the glass surface, wedging it into compression to a depth of some tens of micrometres. Cracks cannot open until that squeeze is overcome. Phone glass is a special aluminosilicate that swaps faster and deeper, but ordinary soda-lime Window Glass treated this way becomes noticeably stronger. Cool it slowly, and do all cutting and drilling before the treatment.
How phones are made
- Chips from a dozen factories in several countries (Making Microchips).
- The board: 10–12 thin layers of copper and glass-fibre resin pressed together, joined by holes drilled by laser 0.1 mm across (Building Circuits: Boards, Connectors and Cables).
- Placing: solder paste is printed through a stencil; machines pick parts as small as 0.4 × 0.2 mm from reels and place them, tens of thousands an hour; the board passes through an oven that melts the solder (Soldering and Brazing).
- Testing: every radio is calibrated by machine; every board is tested before assembly.
- Assembly: screen, board, battery, cameras and frame are put together, mostly by hand, on long lines.
The realistic road
| Step | What you build | What it needs | When the world did it |
|---|---|---|---|
| 1 | Two-way radios, hilltop repeaters (Satellites, Mobile Phones and GPS (Overview)) | Tubes or transistors | 1930s–40s |
| 2 | Radio-telephone through the The Automatic Telephone Exchange | Step 1 plus switching | 1946 |
| 3 | Pocket terminal: a small computer with keyboard and LCD, sending text by packet radio through repeaters (Networks and the Internet) | 10 μm chips, segment or dot LCDs, rechargeable cells | 1980s |
| 4 | Cellular network of many low-power masts with computer switching and handover; analogue FM handsets | Microprocessors, frequency synthesisers, a computer exchange | 1979–83 |
| 5 | Digital phones and text messages | Signal-processing chips at about 1 μm, small batteries | 1991 |
| 6 | Smartphone | The whole modern chip, screen and battery industry | 2007 |
Step 3 is the one to aim for. A pocket terminal that sends and receives text messages, holds a library of manuals, shows maps stored in memory and computes, linked by repeaters across a region, gives a rebuilding society much of what a smartphone is used for — and every part of it can be made with the 10 μm chips of Making Microchips.
Salvaged phones are worth keeping. Good or bad: the battery must be flat, not swollen (a puffed case or lifted screen means a swollen cell — remove and dispose of it safely); it should charge and hold charge for a day; the screen should respond everywhere. Even without a network, a working phone is a camera, a computer, a recorder, a compass, a satellite position finder and a library.
How to tell it worked
- Accelerometer: smooth reading through a full turn; zero when level.
- Camera module: sharp, evenly bright pictures of a printed page at 30 cm.
- Toughened glass: drop a steel ball from a measured height onto treated and untreated pieces of the same glass; the treated piece survives a drop at least two or three times higher.
- Pocket terminal: messages sent across the repeater network arrive complete, with checksums correct (Networks and the Internet).
Note Troubleshooting. Workshop accelerometer drifts → temperature changing the spring or plates; enclose it and keep it at an even temperature. Readings swing and will not settle → too little damping; add oil. Glass cracked in the salt bath → heated or cooled too fast, or had edge chips; grind edges smooth and raise temperature slowly. Salvaged phone will not charge → dirty port (clean with a wooden pick), worn cable, or a dead cell. Phone camera blurred → greasy lens; or a damaged focus motor after a drop (it may still focus at one distance).
Dangers
Danger Lithium-ion batteries burn fiercely if punctured, crushed, overheated or overcharged, and re-ignite after they seem out. Never pierce, bend or heat a phone battery; never charge one that is swollen. A burning cell gives off poisonous fumes. Smother it with sand or put it outdoors in a metal bucket of sand; see Lithium Batteries.
Danger Molten saltpeter at 450 °C is a strong oxidiser: it makes wood, oil, cloth or charcoal burst into flame and explodes with powdered metals. Use an iron pot, keep everything organic away, add the glass dry and warm, and never let water fall into it (Saltpeter).
- Hydrofluoric acid in MEMS release passes through skin and attacks bone and heart: see Integrated Circuits and Fluorspar and Fluorine Compounds for handling and first aid.
- Recovering metals from old boards by burning them releases poisonous smoke; dissolving gold with mercury or cyanide poisons people and rivers. Recover gold only by the careful acid methods of Gold and Silver, in a proper workshop.
What this unlocks
- The Internet in every pocket: news, teaching, medicine at a distance, trade.
- Cheap sensors (MEMS accelerometers, gyroscopes, microphones) for robots, drones, vehicles and instruments.
- Cameras small and cheap enough for every machine to see.
How it was first done
The Bell System began mobile telephone service in St. Louis in 1946, with car sets weighing tens of kilograms. On 3 April 1973 Martin Cooper of Motorola made the first call from a hand-held mobile phone; Japan opened a cellular network in 1979 and the United States in 1983, when Motorola's DynaTAC handset weighed about 800 g and cost about 4,000 dollars. The first digital (GSM) call was made in Finland in 1991, and the first text message was sent in 1992. IBM's Simon (1994) combined a phone with a touch screen and simple programs, Sharp sold a camera phone in Japan in 2000, and Apple's iPhone (2007) and the first Android phone (2008) set the pattern for today. The MEMS accelerometer entered mass production in 1991 with Analog Devices' ADXL50, made to fire car airbags; Eric Fossum's team at NASA's Jet Propulsion Laboratory developed the modern camera-chip pixel in the early 1990s; and Corning's chemically toughened glass, first made in the 1960s, was revived for phone screens in 2007.
Source: content/entries/electronics/smartphones.md