Since the rapid development of the digital controller, such as Micro-Controllers (MC)
and Digital Signal Processor (DSP), to replace the traditional analogue controller, their
applications in the power system control are growing in fast pace. Several algorithms
have been developed to achieve the best utilization of the digital controller. This is
considered a major barrier facing the power engineers. Auto coding is a term used to
express the translation of the high level model, which power engineer are familiar with,
to a low level assembly code targeting a specific controller. In this paper, the authors
present their experience dealing with the auto coding tools from MatLab targeting
Digital Signal Processor (C2000 Family). Moreover, this paper walks through the steps
and the most famous mistakes for converting the power system MatLab model to an
assembly code for the DSP-C2000. The paper is using an induction motor controller as
an example along with the practical laboratory results. |