We propose and demonstrate a novel active stabilization scheme for wide and fast frequency chirps. The system measures the laser instantaneous frequency deviation from a perfectly linear chirp, thanks to a digital phase detection process, and provides an error signal that is used to servo-loop control the chirped laser. This way, the frequency errors affecting a laser scan over 10 GHz on the millisecond timescale are drastically reduced below 100 kHz. This active optoelectronic digital servo-loop control opens new and interesting perspectives in fields where rapidly chirped lasers are crucial.