Controller for a curing fridge - PID for DO's

So i guess i am trying to find a way to pulse my bang-bang controller in the right intervals.