PWM and SS Control V3

Idea

  1. This IP Core allows to get a Duty Cycle or direct switching states (SS) and outputs the final SS

  2. The idea is, to have one IP Core, which enables during operation, to decide if:

    1. A Duty Cycles are received over the AXI interface

    2. A Duty Cycles are received directly from inside the FPGA

    3. The switching states are received directly from inside the FPGA

Basics

  1. Asymmetrical Regular Sampling is used regarding to Grahame Holmes.

../../_images/pwm0.png
  1. The PWM frequency must be between 100 Hz and 100 kHz, otherwise the counter end values must be extended/checked.

  1. An up-down-counter is used.

  2. A flag for 1 cycle is active at the counter maximum and minimum value for triggering subsequent blocks or interrupts.

  3. TriState flags can be used to set both switches of one phase-leg to an off-state.

Designed by

Sebastian Wendel (THN) in 08/2018