Embedded Control Systems in C/C++: An Introduction for Software Developers Using MATLAB

After reading this chapter, you should be able to
describe why discrete-time modeling is necessary for embedded controller development,
describe why fixed-point algorithm implementation is often needed for embedded controllers,
select an appropriate sampling period for a discrete-time implementation of a given continuous control system,
choose an appropriate discretization method for converting the continuous-time model to discrete time,
convert a MATLAB state-space system to floating-point C or C++ source code that produces essentially identical results to the MATLAB version, and
convert a MATLAB state-space system to fixed-point C or C++ source code suitable for implementation on a microprocessor with stringent limitations on processor speed and memory use.