Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2019 Jan 14;21(1):65.
doi: 10.3390/e21010065.

A Programmable Mechanical Maxwell's Demon

Affiliations

A Programmable Mechanical Maxwell's Demon

Zhiyue Lu et al. Entropy (Basel). .

Abstract

We introduce and investigate a simple and explicitly mechanical model of Maxwell's demon-a device that interacts with a memory register (a stream of bits), a thermal reservoir (an ideal gas) and a work reservoir (a mass that can be lifted or lowered). Our device is similar to one that we have briefly described elsewhere, but it has the additional feature that it can be programmed to recognize a chosen reference sequence, for instance, the binary representation of π . If the bits in the memory register match those of the reference sequence, then the device extracts heat from the thermal reservoir and converts it into work to lift a small mass. Conversely, the device can operate as a generalized Landauer's eraser (or copier), harnessing the energy of a dropping mass to write the chosen reference sequence onto the memory register, replacing whatever information may previously have been stored there. Our model can be interpreted either as a machine that autonomously performs a conversion between information and energy, or else as a feedback-controlled device that is operated by an external agent. We derive generalized second laws of thermodynamics for both pictures. We illustrate our model with numerical simulations, as well as analytical calculations in a particular, exactly solvable limit.

Keywords: Landauer’s principle; Maxwell’s demon; Shannon entropy; Szilard engine; information engine; second law of thermodynamics.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
In our schematic conception of a programmable, autonomous Maxwell’s demon, a fixed set of binary gates defines a reference sequence. As the demon interacts one bit at a time with an incoming sequence of memory bits, it is able to lift a small mass against gravity if the incoming bit sequence matches the reference sequence. As the demon writes information onto the memory bits, the outgoing sequence becomes less correlated with the reference sequence. To highlight the correlation between each bit–gate pair, we use blue when the pair are in the same state and red when the pair are in the opposite state. Conversely, if the mass is large and falls against gravity, then this energy can be used to copy the reference sequence to the memory bits.
Figure 2
Figure 2
Alternatively, our model can illustrate a non-autonomous device operated via feedback control by an external agent. (a) In the engine mode, which resembles Szilard’s thought experiment [35], the agent measures each incoming memory bit and switches a gate accordingly. When these measurements are accurate, the procedure induces a bias toward counter-clockwise rotation that can be harnessed to lift a small mass against gravity; (b) If the mass is large and falls against gravity, the energy that is released can be used to write a sequence chosen by the agent, onto the outgoing bit stream. In this mode, the agent does not measure the incoming bits, but rather manipulates the gate to encode the desired sequence.
Figure 3
Figure 3
Snapshot of our programmable demon. A series of green paddles move down frictionlessly along the central axle. The paddles are separated by the red bars into binary states, left (0) and right (1)—see inset. Each bit passes by the rotational ring (the blue ring with two inward blades) for the same finite amount of time, during which it can change states. We claim that if the incoming bits (000101) are in agreement with the programmed gates (0¯0¯0¯1¯0¯1¯), then the ring favors CCW motion, which can be used to lift an external load. A top view of the system is shown in the inset. A video clip illustrating the dynamics of our demon is found at https://youtu.be/LkYljJ__-Cs.
Figure 4
Figure 4
Engine Mode. The ring prefers CCW rotation when the bit starts with the state that is in agreement with its corresponding gate. The blue dots represent the programmed gates.
Figure 5
Figure 5
The phase diagram of the programmable Maxwell’s demon in the limit τint. Here, the behavior of the ring depends only on the sequence cleanness, δ, and the external torque scaled by bath temperature, βΓ. For finite values of τint, the behavior of the ring depends separately on three quantities β, Γ and δ.
Figure 6
Figure 6
Eraser (Copier) Mode. Under a strong external load, CW rotation occurs until the bit becomes pinched between the engaging gate (shown as a blue dot situated on the gray dashed line) and a blade of the ring. The binary state of the memory bit then matches that of the reference bit.
Figure 7
Figure 7
Trajectories of the ring’s angular orientation for different values of δ at fixed load Γ=0.05 kBT, with a bit renewal rate of 1 bit per 20 s (τint=20). For δ=1 and δ=0.8, the ring performs work against the clockwise external torque, while for the other values of δ, the external load dominates and work is dissipated into the heat bath. The cleanness of the outgoing bits for each trajectory, from δ=1 to δ=1, is δ=0.1094, 0.1144, 0.1054, 0.1244, 0.1154, 0.0854, 0.1154, 0.0864, 0.0814, 0.1064, 0.0754.
Figure 8
Figure 8
Trajectories of the ring’s angular orientation for different values of CW external torque Γ, at fixed δ=0.2. For each trajectory, the ring rotates in the CW direction and thus the energy of the falling mass is dissipated into the heat bath. With increasing external torque (Γ = 0.1kBT, 0.15kBT, 0.2kBT, 0.25kBT), the cleanness of the outgoing sequence of bits increases as well: δ=0.1884, 0.2694, 0.4062, 0.4742. For Γ0.15kBT, we obtained δ>0.2, hence the ring acts as an eraser, removing randomness from the incoming sequence.
Figure 9
Figure 9
The configuration space of the ring and interacting bit. The tilted lines at θDθB=nπ depict hard boundaries associated with a collision between the interacting bit paddle and either blade of the ring. The vertical solid lines correspond to the location of the engaging gate that blocks the paddle. This gate is located: at θ=0=2π when the reference bit is set to 0¯ (a); or at θ=π when the reference bit is set to 1¯ (b); The dashed lines in (b) represent periodic boundary conditions. The hard wall boundaries partition the configuration space into parallelogram-shaped cells, which are numbered as shown, with cell #0 shaded in each panel.
Figure 10
Figure 10
The shaded regions indicate the distribution of the composite system right after renewal, for the case when the memory bit is correctly matched with the reference bit. For purpose of illustration, we assume that just before the renewal the system was found in either one of the shaded cells shown in Figure 9, both corresponding to #0: (a) the new memory and reference bits are in the combined state (00¯); and (b) the new memory and reference bits are in the combined state (11¯). The marginal probability distribution of the ring’s angle, pDeq(θD), is unaffected by the renewal mapping.
Figure 11
Figure 11
Efficiency plot of the programmable demon, obtained analytically in the limit τint. Since efficiency is defined only for the eraser and engine modes, the dud region is left blank.
Figure 12
Figure 12
A non-autonomous version of our model. The snapshot is taken right at the time of bit renewal. The agent observes the state of the new bit (state 1) and simultaneously sets the gate 1¯ to be effective. Thus, the new bit can switch state only through the unblocked gate 0¯. In this illustration, the agent’s measurement is faithful and thus the ring is able to work in the engine mode.

References

    1. Maxwell J.C. The Scientific Letters and Papers of James Clerk Maxwell. Volume 2. Cambridge University Press; Cambridge, UK: 1995. pp. 1862–1873.
    1. Smoluchowski M. Experimentell nachweisbare, der üblichen Thermodynamik widersprechende Molekularphänomene [Experimentally verifiable phenomena of molecules contradicting usual thermodynamics] Physikalische Zeitschrift. 1912;13:1069–1080. (In German)
    1. Feynman R.P., Leighton R.B., Sands M. The Feynman Lectures on Physics. Addison-Wesley; Reading, MA, USA: 1966.
    1. Landauer R. Irreversibility and Heat Generation in the Computing Process. IBM J. Res. Dev. 1961;5:183–191. doi: 10.1147/rd.53.0183. - DOI
    1. Penrose O. Foundations of Statistical Mechanics. Volume 42 Pergamon Press; Oxford, UK: 1970.