Grades 6–8 · Computing
Why does a computer’s working memory need refreshing?
A computer needs fast working space for the instructions and data it is using. Much of this space is DRAM, short for dynamic random-access memory. Its many addressed cells store bits. In a common cell design, one transistor controls access to one tiny capacitor. A capacitor has conducting surfaces separated by an insulator; separated charge on those surfaces provides a small electrical state that a circuit can sense.
In the diagramDRAM keeps bits in tiny, leaky capacitorsA transistor selects a cell; refresh restores its state.Bit lineAccesstransistorWord lineCapacitorSense + restoreWrite: charge 20Leak: charge 12Refresh: charge 20Shown state: refresh • same intended bit 1Invented relative charge units • refresh needs power
To write information, circuitry selects a row of cells and establishes charge states through wires called bit lines. During reading, sensing circuits detect small electrical changes and amplify them into usable signals. Accessing the stored charge disturbs it, so the circuits also restore the state. A capacitor is not a permanent container: its charge gradually leaks away.
Refresh keeps the information usable. The memory periodically senses and restores cells, even when a program is not asking to read those particular bits. The illustration uses invented relative charge amounts: a cell begins at 20 units, falls to 12 as charge leaks and is restored toward 20. The intended bit stays the same through this cycle. The numbers show the idea; they do not specify a real memory cell.
This maintenance requires power. When normal power and refresh stop, DRAM does not guarantee its stored information. Saving a document places its contents in persistent storage, which uses a different mechanism. Working memory and saved files therefore have different jobs, even though both hold encoded data.
About this explanation
Starting knowledge: Understand a capacitor as a charge store, a transistor as a controlled path and a bit as encoded information.
Sources
- Micron — DDR5 DRAM
- Micron — How DRAM changed the world
- Micron Educator Hub — How DRAM memory works