The ideological and political construction of curriculum is a new requirement for the ideological and political work in colleges and universities in the current reform plan of higher education in China. The ideological and political teaching reform of professional courses is an important way to cultivate students' national feelings. This paper discusses the necessity of the ideological and political construction of the course through the teaching exploration of integrating the ideological and political key points into the course of control theory. Based on the basic knowledge of the course Mechanical Control Theory, this paper deals with the ideological and political points as the "interference" factors of the traditional closed-loop teaching mode, and proposes the feed-forward and feedback teaching mode. This teaching mode makes the ideological and political courses with disciplinary characteristics and provides new ideas for solving the practical problems of ideological and political courses; At the same time, the ideological and political elements contained in the knowledge points of mechanical control theory are deeply excavated to explore a feasible ideological and political teaching path of the course "Construction of Control Theory for Mechanical Engineering" based on the principle of feedforward and feedback control.