Skip to content

Main and Secondary core MPLABx projects for 11kW Totem Pole Demonstration Application Platform

License

Notifications You must be signed in to change notification settings

microchip-pic-avr-examples/dspic33ch-power-tppfc-dev-platform

Repository files navigation

image


dsPIC33C Totem Pole PFC Development Platform

dsPIC33CH Primary and Secondary Core Firmware

dsPIC33C Totem Pole PFC Development Platform

dsPIC33C Totem Pole PFC Development Board


Summary

The dsPIC33C Totem Pole Power Factor Correction (PFC) platform, based on Microchips dsPIC33C and Silicon Carbide (SiC) devices, supports rapid prototyping and code development. The primary target application is automotive On-board chargers (OBC), but it can be used for any other industrial or telecom application that requires high power PFC.

The PFC can be controlled by a dual core dsPIC (dsPIC33CH512MP506). This readme gives an overview of the firmware running on this device. Note that there are two MPLABx projects associated with this deployment, one for the primary core and one for the secondary core.

[back to top]


Highlights

  • Control 3 phases at 100kHz Fsw
  • Supports the following operating modes at both low voltage and high voltage
    • Single and three phase PFC
    • Single phase PFC with two legs interleaved
    • Single and three phase current (grid-tied) inverter
    • Single and three phase voltage inverter
    • Forward operation, current mode
  • CAN communication to PC running Power Board Visualizer GUI
  • SPI communication to Isolated Voltage Acquisition Board
  • I2C communication to PIC16 on main power board (for housekeeping)

For PFC operation, the input voltage can be AC or DC.

[back to top]


Related Documentation

Firmware documentation

  • TBD

Hardware Documentation

  • dsPIC33C Totem Pole PFC Development Board User's Guide
  • Isolated VoltageAcquisition Board User’s Guide
  • SiC FET Plug-In Module (SiC FET PIM) User’s Guide

Target Device Documentation

Please always check for the latest data sheets on the respective product websites:

[back to top]


Software Used

Hardware Used

  • dsPIC33C Totem Pole PFC Development Platform
    • Power Board
    • Isolated Voltage Acquisition Board
    • SiC FET PIM

[back to top]


MPLABx Project Setup Guide

Both the dsPIC33CH primary and secondary core projects are required. If you use the default directory structure, you can ignore this section.

Relative locations of primary and secondary core projects

The user can place both the primary core and secondary core MPLABx projects in whatever location they desire.

However, if you follow the structure proposed in this section, you will not need to change the project settings for the primary core project.

If you follow our scheme, what is important is the relative locations of the primary and secondary core projects. In some root folder, which is named "tppfc-temp-deploy" below, create one folder for the primary core project, and one for the secondary core project.

hmi-control


Directory structure for primary and secondary core projects on PC

Place the primary core project in one directory and the secondary in the other, as shown below.

hmi-control


Place primary core and secondary core projects in sub-folders under a "root" directory

Out of the box, the primary core project is linked to the secondary core project, if the relative location on both projects is as shown above.

If you wish to place the secondary core project in a different location, this is also okay; you just need to change the settings in the primary core MPLABx project. Open the primary project properties (right click on the project name in the project explorer, left click "properties"), open the "Secondaries" menu. See below for more details.

hmi-control


Add secondary project to primary core project

Compiler Version

Please use xc16 compiler version 1.70 for the primary and secondary core projects. Older versions of the xc16 compiler can be found here: MPLAB Ecosystem Archives.

[back to top]


Firmware Overview

See below for a top-level overview of the firmware running on each microcontroller on this development platform. More to follow on this...

hmi-control


Overview of microcontrollers in the system

[back to top]


© 2023, Microchip Technology Inc.