Integration of C2000 Microcontrollers with MATLAB Simulink Embedded Coder: A Real-Time Control Application

Mohammad Abidur Rahman, Ali A. Abushaiba, Akrem Mohamed Elrajoubi · 2024

C2000 ${ }^{\text {TM }}$ 32-bit microcontrollers excel in real-time control, optimizing closed-loop performance for various applications such as industrial motor drives, solar inverters, digital power systems, and sensing. The lineup offers Premium and Entry-performance microcontroller units (MCUs). This paper explores the integration process of Texas Instruments ${ }^{\text {TM }}$ (TI) C2000 microcontroller units with MATLAB and Simulink using Code Composer Studio (CCS) and Embedded Coder (EC) support package for C2000 microcontrollers. It shows how to set up Simulink to program the Digital Signal Processor (DSP) microcontroller unit and the communication between the host computer and the C2000 target hardware using the LAUNCHXLF28379D launchpad. Basic functions such as Pulse Width Modulation, Analog Digital Conversion, and Proportional-Integral controllers are explained. Finally, a closed-loop control model for a C2000 Digital Power Buck Converter BoosterPack is implemented, showcasing the effective integration of TI C2000 microcontroller units with MATLAB, Simulink, and related tools for real-time control in the power system context.

Read the paper · More papers on PaperTik