When pre ignition/pinging occurs a maximum charge pressure is set on the basis of a mean value from each cylinders retarding of the ignition.
When the required charge pressure has finally been calculated it is converted to the PWM signal that controls the solenoid valve, The ECU then controls that the actual pressure (measured by the pressure sensor) corresponds with the required pressure.