Position of brown piston determines compression ratio of violet piston cylinder. Low position makes volume of the combustion chamber small and the compression ratio high.
Green pinion and two small racks are for reducing the violet piston bending.
The structures for preventing the rotations of the violet and brown pistons are not shown.
This working principle is taken from Peugeot MCE-5 VCR-i car engine.