Model-based Design for Solar Power Control with TI Hardware

Solar inverter demo with maximum power point tracking (MPPT) control deployed to a Texas Instruments C2000 Piccolo™ MCU
63 Downloads
Updated 2 Apr 2024

Model-based Design for Solar Power Control with Hardware

This demo shows how you can quickly design a new power control system using Simulink® and Embedded Coder® from MathWorks® and the C2000™ platform of microcontrollers from Texas Instruments®. We walk through a solar inverter demo, where we design and simulate a maximum power point tracking (MPPT) control in Simulink, and then deploy the control with Embedded Coder to a Texas Instruments C2000 Piccolo™ MCU.

Solar Explorer Development Board

Hardware kit is available from TI: https://www.digikey.com/en/products/detail/texas-instruments/TMDSSOLARPEXPKIT/3028945

Getting Started

To get started, clone this repository to directory:

  1. Install the Texas Instruments Hardware Support Package and complete the Setup Process - https://www.mathworks.com/matlabcentral/fileexchange/43096?download=true
  2. Plug-in USB to C2000 and ensure power cord jumpers are installed to connect the PV emulator, the DC-DC Boost converter, and the Single-Phase Inverter.
    • PV to DC-DC: Vpv -> Vin-b
    • DC-DC to Inverter: Vo-b -> V-Inv
  3. Open "PV_MPPT_C2000_Algorithm.slx" and "PV_MPPT_C2000_Host.slx". Algorithm is deployed to the C2000 and the Host model allows for data visualization from the Development Board
  4. Build and Deploy the "PV_MPPT_C2000_Algorithm.slx" model to the C2000
  5. Run the Host Model (you might need to change the Serial COM port to match the development board serial) to interact with the solar inverter hardware

Recording

A recording of this demo can be found in the "Developing Solar Inverter Control with Simulink" video series: https://www.mathworks.com/videos/series/developing-solar-inverter-control-with-simulink.html

A modified version of this demo is available in the shipping TI Support Package Documentation now which can be used for further reference: https://www.mathworks.com/help/releases/R2020a/supportpkg/texasinstrumentsc2000/ug/photovoltaic-inverter-mppt-solar-explorer-kit.html"# Solar-Inverter-TI-Hardware"

Cite As

Jonathan LeSage (2024). Model-based Design for Solar Power Control with TI Hardware (https://github.com/jonlesage/Solar-Inverter-TI-Hardware), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.