1.1.0 • Published 12 months ago

@mchp-mcc/cmp-dac-driver v1.1.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
12 months ago

MCC Melody High Speed Analog Comparator With Slope Compensation DAC (CMP DAC Driver)

Overview

The high-speed analog comparator module provides a method to monitor voltage, current and other critical signals in a power conversion application that may be too fast for the CPU and ADC to capture.

The high-speed analog comparator module is comprised of a high-speed comparator, Pulse Density Modulation (PDM) DAC and a slope compensation unit. The slope compensation unit provides a user-defined slope which can be used to alter the DAC output. This feature is useful in applications, such as Peak Current mode control, where slope compensation is required to maintain the stability of the power supply

Features

  • The user can configure the DAC Mode based on their application needs.
  • There are four modes supported : DC-Mode, Slope Mode, Hysteretic Mode and Triangle Wave Mode.
  • The Clock and Divider settings can be configured in the PLIB dependency of the driver module.

DAC Modes

DC-Mode

The DC mode is the default mode of operation of the DAC. The other modes use slope generator to vary the DAC data value at a user-defined rate to reach a desired endpoint value. DC-Mode

Slope Mode

The slope generator function can be utilized in Peak Current mode control-based power supply applications, where slope compensation is required. The slope function modifies the non-slope PDM DAC value repeatedly, at a user-defined rate, until the DAC data value reaches its endpoint. Slope-Mode

Hysteretic Mode

Hysteretic mode control is sometimes called “Bang-Bang” control, where a signal within a power converter is controlled within an upper cutoff and a lower cutoff limit. The Hysteretic mode is used in power supply applications utilizing hysteretic control, such as LED drivers.

Hysteretic-Mode

Triangle Wave Mode

Triangle Wave mode generates an output voltage that rises and falls with a triangle wave pattern. Triangular-Mode

PIC24/dsPIC33 CMP Driver, PLIB and Device Package Version Compatibility Matrix

CMP_DAC DriverCMP_DAC PLIBPIC24/dsPIC devices
1.0.1>=1.1.0>=5.4.0
1.0.01.1.0<=5.4.0
1.0.0<=1.0.1<=5.3.0

Changelog

All notable changes to this project will be documented in this file.

1.1.0 - 2024-07-10

New Features

  • CC16SCRIP-9551 :- Updated link for API reference document
  • CC16SCRIP-7975 :- Added inline help for configuring Steady State Time and Transition Mode Time

1.0.5 - 2023-10-04

New Features

  • CC16SCRIP-7618 :- Updated notification for Slope-Mode, when a PWM generator is selected as trigger source

1.0.4 - 2023-06-30

Bug Fixes

  • CC16SCRIP-6615 :- Added notifications when SPGA1/2/3 is selected as Non inverting input

1.0.3 - 2023-01-11

Bug Fixes

  • CC16SCRIP-5331 :- Some Registers in generated code were not initialized to power-on reset values

1.0.2 - 2022-05-24

New Features

  • CC16SCRIP-2045 :- Dependency module names updated in builder view

1.0.1 - 2022-01-13

New Features

  • CC16SCRIP-3419 :- Dependency Selector label updated with PLIB name
  • CC16SCRIP-3324 :- Added notifications for the signal selections in Slope Mode