The dsPIC33C Totem Pole Demonstrator platform, based on Microchips dsPIC33C and Silicon Carbide (SiC) devices, supports rapid prototyping and code development for high voltage Single Phase PFC/Grid Tied Inverters(GTI). 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/GTI.
This readme aims to provide a quick start guide in controlling and running the PFC and GTI, once the hardware is setup and electrical connections are made.
Online Firmware Documentation of this Code Example
Hardware Documentation
Target Device Documentation
Please always check for the latest data sheets on the respective product websites:
Note that there are two MPLABx projects associated with this project, one for the primary core and one for the secondary core.
In this example ICD4 is being used, but any of the available debuggers/programmers can be used.
This Section will guide you on how to run and control the PFC or GTI application using power board visualizer, once the electrical connections are made.
Please refer to the operational manual on PFC hardware setup considerations. Ensure the correct load and source selection has been made. This readme does not cover the electrical setup for the Totem-Pole Application board.
To enable the CAN communication from the PC to Totem pole application board a USB to CAN dongle is needed. Note that the Power Board Visualizer can only work with PEAK System USB CAN-FD dongles. You can use a RS232 DB9 Straight Through cable to connect the totem-pole board to PEAK dongle.
Following software must be installed on your pc to control/communicate between Power Board Visualizer and dsPIC33CH.
Once the hardware setup is all done, Navigate to the power board visualizer xmls folder. Open the relevant project using Power Board Visualizer. Here PFC mode is taken as an example. Once the project is open you will be greeted by the following screen.
This button turns on and off the application. Each button corresponds to a message over CANFD. Click on Info tab for CAN message description.
This slider is used to set a output voltage/current reference for the PFC/GTI. Its important to press Set button underneath the slider to communicate the reference value to the microcontroller.
The "COM?" button lists all the available communication ports available to the PBV. If the Peak Dongle drivers are installed and the Peak USB dongle is connected to the system, then you will see the Peak USB dongle listed here as PCAN_USB:FD. Select the right port and then click enable. Power Board Visualizer will then open the Comm port.
This Status group lists the Line AC voltage Status word.
This controller status group communicates the current state of the system. More information on what each state does, and state-machine can be found in section Firmware Overview in detail.
This Status flag group lists the current mode, and high-level state of the system.
The status group lists the health and communication of SiC cards, as well as the auxiliary supplies.
After opening the right Power board Visualizer Project, following sequence of actions are to be taken to start the board