Microchip Technology DM330017 Data Sheet
DIGITAL POWER STARTER KIT
USER’S GUIDE
2012 Microchip Technology Inc.
DS52078A-page 27
Chapter 3. Demonstration Program Operation
The dsPIC33FJ09GS302 Digital Power Starter Kit is preprogrammed with a
demonstration application that illustrates simultaneous Proportional-Integral-Derivative
(PID) control of the output voltage for the two DC/DC converter circuits on board the
Digital Power Starter Kit. This code can be downloaded from the Microchip web site
(
demonstration application that illustrates simultaneous Proportional-Integral-Derivative
(PID) control of the output voltage for the two DC/DC converter circuits on board the
Digital Power Starter Kit. This code can be downloaded from the Microchip web site
(
www.microchip.com
).
This section covers the following topics:
•
•
•
3.1
PROGRAM DEMONSTRATION
The demonstration program provides simultaneous closed-loop control of the output
voltage for both DC/DC converter stages of the Digital Power Starter Kit.
voltage for both DC/DC converter stages of the Digital Power Starter Kit.
One PID loop controls the Buck converter output voltage (BUCK_Out) at 3.3V. The
other PID loop controls the Boost converter output voltage (BOOST_Out) at 15V.
other PID loop controls the Boost converter output voltage (BOOST_Out) at 15V.
The PID control scheme consists of the following parameters:
• Proportional Error Gain (P-Gain) – This parameter produces a correction factor
that is proportional to the magnitude of the output voltage error.
• Integral Error Gain (I-Gain) – This parameter uses the cumulative voltage error to
generate a correction factor that eliminates any residual error due to limitations in
offset voltages and measurement resolution.
offset voltages and measurement resolution.
• Derivative Error Gain (D-Gain) – This parameter produces a correction factor that
is proportional to the rate of change of the output error voltage, which helps the
system respond quickly to changes in system conditions.
system respond quickly to changes in system conditions.
The demonstration program requires no manual preparation except to connect 9V
power to the J2 connector.
power to the J2 connector.