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.