Skip to content
KinPilot™Learn & Explore
Menu

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.

D48 visual explanationA DRAM cell contains an access transistor and a capacitor. The word line selects the transistor, connecting the capacitor to a bit line and sensing circuitry. Invented capacitance is 20 fF. State refresh has 1 V, giving 20 fC by Q=CV and representing bit 1. The three boxes show a write–leak–refresh cycle; they are not three cells. Without power, regular sensing and restoration stop and the stored information is not guaranteed.DRAM 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

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

The access transistor selects the capacitor; the three boxes show an illustrative write, leakage and restoration of the same bit.

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
← Grades 6–8 topics