Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the System Explorer window configuration tree, expand the Power Electronics Add-On custom device, then Circuit Model >> SPWM Generators to display the following subsections and custom device channels.  Assign values to the channels to configure the SPWM Generators. The value of an input channel can be modified dynamically at execution time.


SPWM Carrier

Channel NameType

Units

Default Value

Description


Carrier Frequency

InputHz5000 HzFrequency of the Carrier signal.

Modulation IndexInput
1Amplitude of the Modulation signal.
SPWM Frequency Generators

Channel NameType

Units

Default Value

Description


SPWM Frequency Engine X

InputHz60 HzFrequency of the Modulation signal.
SPWM Generator X

Channel NameType

Units

Default Value

Description


Dead TimeInputSeconds0 s

Time during which both the SPWM signal and its complementary are held in an inactive state, immediately before the SPWM signal goes active.

Frequency EngineInput
0

Index of the SPWM Frequency Engine used to generate the PWM signal.

Setting a value of 2 will connect SPWM Frequency Engine 2 to the SPWM generator. Use the same SPWM Frequency Engine with multiple different SPWM generators to ensure that they stay phase locked in time.

PhaseInputDegrees0Phase offset of the generated SPWM signal relative to the other SPWM signals using the same frequency engine.

...