摘要

In this paper, we consider a class of optimal PID control problems subject to continuous inequality constraints and terminal equality constraint. By applying the constraint transcription method and a local smoothing technique to these continuous inequality constraint functions, we construct the corresponding smooth approximate functions. We use the concept of the penalty function to append these smooth approximate functions to the cost function, forming a new cost function. Then, the constrained optimal PID control problem is approximated by a sequence of optimal parameter selection problems subject to only terminal equality constraint. Each of these optimal parameter selection problems can be viewed and hence solved as a nonlinear optimization problem. The gradient formulas of the new appended cost function and the terminal equality constraint function are derived, and a reliable computation algorithm is given. The method proposed is used to solve a ship steering control problem.