A diaphragm compressor is a variant of the classic reciprocating compressor with backup and piston rings and rod seal. The compression of gas occurs by means of a flexible membrane, instead of an intake element. The back and forth moving membrane is driven by a rod and a crankshaft mechanism. Only the membrane and the compressor box come in touch with pumped gas. For this reason this construction is the best suited for pumping toxic and explosive gases. The membrane has to be reliable enough to take the strain of pumped gas. It must also have adequate chemical properties and sufficient temperature resistance.