An imaging system configured for grating-based DPCI, comprising: a rotating gantry rotatable around an examination region; a radiation source, supported by the rotating gantry, configured to emit radiation that traverses the examination region; a detector array, supported by the rotating gantry, configured to detect radiation that traverses the examination region; and an interferometer, supported by the rotating gantry, including: a source grating, a phase grating, and an absorber grating, wherein the phase grating and the absorber grating are configured to continuously translate in opposite directions with respect to the other during an integration period and the detector is configured to generate and output an electrical signal indicative of the detected radiation, wherein the electrical signal includes an absorption component, a coherence component and a phase component; a controller configured to employ a continuous control algorithm to control a motor to translate the phase grating and the absorber grating, wherein: (i) the controller is configured to control the motor to translate the absorber grating at an approximately constant speed and to store the angular gantry position for each sample interval and use it in a reconstruction to correct for variation of the speed of the absorber grating; or (ii) the controller is configured to adaptively control the phase coding speed of the absorber grating relative to a predefined integration interval or to the actual gantry position. a rotating gantry rotatable around an examination region; a radiation source, supported by the rotating gantry, configured to emit radiation that traverses the examination region; a detector array, supported by the rotating gantry, configured to detect radiation that traverses the examination region; and an interferometer, supported by the rotating gantry, including: a source grating, a phase grating, and an absorber grating, a source grating, a phase grating, and an absorber grating, wherein the phase grating and the absorber grating are configured to continuously translate in opposite directions with respect to the other during an integration period and the detector is configured to generate and output an electrical signal indicative of the detected radiation, wherein the electrical signal includes an absorption component, a coherence component and a phase component; a controller configured to employ a continuous control algorithm to control a motor to translate the phase grating and the absorber grating, wherein: (i) the controller is configured to control the motor to translate the absorber grating at an approximately constant speed and to store the angular gantry position for each sample interval and use it in a reconstruction to correct for variation of the speed of the absorber grating; or (ii) the controller is configured to adaptively control the phase coding speed of the absorber grating relative to a predefined integration interval or to the actual gantry position. (i) the controller is configured to control the motor to translate the absorber grating at an approximately constant speed and to store the angular gantry position for each sample interval and use it in a reconstruction to correct for variation of the speed of the absorber grating; or (ii) the controller is configured to adaptively control the phase coding speed of the absorber grating relative to a predefined integration interval or to the actual gantry position.