Field of the Invention The present invention relates to a control device for an exhaust gas sensor of internal-combustion engine, and more particularly to a control device suitable for controlling an exhaust gas sensor that is equipped with a sensor element having a function for pumping oxygen in a gas. 2.