Control of the EGR valve or actuator