• AVR Freaks

Hot!MPLAB Starter Kit for Digital Power Package

Author
adrienc
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2019/06/27 08:03:20
  • Location: 0
  • Status: offline
2019/07/04 00:32:47 (permalink)
0

MPLAB Starter Kit for Digital Power Package

Hi,
 
My topic deals with digital loop, SMPS and more precisely the example "dsPIC33E MPLAB Starter Kit for Digital Power".
I'm trying to understand how they design the 2P2Z compensator and everything is find except the "POSTSCALAR" (file boost_dcdt.h (when you download the SourceCode of the example which is located in "DigitalPowerStarterKitDesignPackage3 => DSPK_2P2Z_PkCM_SW => DSPK_PkCM.X => dcdt => BOOST => dcdt_generated_code").
I don't have any idea how to calculate what they call "the BOOST_COMP_2P2Z_POSTSCALAR" ?
Any idea of how they calculate this coefficient ?
 
Thanks
#1

1 Reply Related Threads

    adrienc
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2019/06/27 08:03:20
    • Location: 0
    • Status: offline
    Re: MPLAB Starter Kit for Digital Power Package 2019/07/19 00:29:57 (permalink)
    0
    Hi again,
    I've just figured out how they do.
    The postscalar is just a coefficient they use to scale the coefficients of their Z-compensator between -1 and 1 and then convert into Q15 format.
    Topic solved on my own sorry
    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5