Atmospheric processing is the process of extracting substances out of the Martian atmosphere and use them as raw material for further processing. Unlike surface and sub-surface mining, the atmospheric mining does not require the movement of large amounts of regolith or rock with heavy machinery, nor is expensive transport per rover or railroad necessary. The atmosphere can simply be sucked in through a pipe at every location, and the processing is done inside of buildings. Also, the maintenance of all the mining machinery is in-house, which is a major safety advantage.
Collection of atmosphere
A device similar to a vacuum pump collects Martian air. The gas is compressed to be able to liquefy carbon dioxide.
The atmosphere is cooled to remove water vapor as a condensate. As the gas continues to cool most of the rest of the water vapor is removed as frost. The dry gas is cooled further to remove carbon dioxide condensate. There will be more carbon dioxide than is needed for industrial purposes so some of it will be expanded to help power the compressors and to cool the incoming gas. Then excess CO2 will be discharged.
Buffer gas for breathing
Nitrogen and argon
The 0.03 % water vapor (H2O) is equivalent to about 10 % air humidity after adiabatic compression and cooling to around 1°C. A device similar to an air dehumidifier can be used to extract this water.