EMBEDDED CONTROL

- if a feedback control function is to be implemented in software the transfer function can be converted to a C subroutine.

- the method shown here is crude - more mature methods use the z-transforms

- consider the implementation of the following control function as a subroutine.

Figure 8.35 Converting Transfer Functions to C Code