Forward

Description of the Forward converter component in Schematic Editor

Component Not Supported: This component is not currently supported in TyphoonSim. Adding this component to your model will prevent you from being able to run your model in TyphoonSim. Please disable or remove this component from your model before attempting to run your model in TyphoonSim mode.

A schematic block diagram of the forward switching block is given in Figure 1.

Weight of a Forward component for real-time simulation is 1.

Figure 1. Schematic block diagram of a forward switching block with corresponding switch naming

Control

Selecting Digital inputs as the Control parameter enables you to assign gate drive inputs to any of the digital input pins. For example, if S1 is assigned to 1, the digital input pin 1 will be routed to the S1 switch gate drive. In addition, the S1_logic parameter is set to either active high (i.e. high-level input voltage VIH turns on the switch), or active low (i.e. low-level input voltage VIL turns on the switch) gate drive logic, depending on the design of the external controller. In TyphoonSim, digital signals are read from the internal virtual IO bus. Hence, if some signal is sent to digital ouput 1, it will appear on digital input 1.

Selecting Internal modulator as the Control parameter enables you to use the internal PWM modulator for driving the S1 switch instead of the digital input pins. In this configuration, two additional component inputs will be present. The En input is used to enable/disable PWM modulator control, while In is used as the reference signal input for the internal PWM modulator.

Selecting Model as the Control parameter enables you to set the IGBT gate drive signal directly from the signal processing model. The input pin gate appears on the component. It is a one element input which controls the S1 switch gate. When controlled from the model, logic is always active high.

Digital Alias

If a converter is controlled by digital inputs, an alias for every digital input used by the converter will be created. Digital input aliases will be available under the Digital inputs list alongside existing Digital input signals. The alias will be shown as Converter_name.Switch_name, where Converter_name is name of the converter component and Switch_name is name of the controllable switch in the converter.

Ports

  • IN+ (electrical)
    • DC input + port
  • IN- (electrical)
    • DC input - port
  • OUT+ (electrical)
    • DC output + port
  • OUT- (electrical)
    • DC output - port
  • gates (in)
    • Available if model control is selected
    • 1-element (scalar) input gate signal for switch
  • En (in)
    • Available if Internal modulator control is selected
    • Used to enable/disable internal modulator
  • In (in)
    • Available if Internal modulator control is selected
    • Used to specify modulation signal value for internal modulator
  • Freq (in)
    • Available if Internal modulator control is selected and Variable carrier frequency is selected as the modulator's operation mode
    • Used to specify modulator's carrier frequency

General (Tab)

  • Control
    • Specifies how switches are controled. It is possible to choose between: Digital inputs, Internal modulator, and Model
    • More details about each type of control can be found in the Control section
  • If Digital inputs is selected as Control, the following properties can be used:
    • S1
      • Digital input that is used to control S1 switch
    • S1_logic
      • Logic that will be applied to control signal for S1
      • Active high or active low
    • Gate control enabling
      • If enabled, gives a possibility to control if changes in the gate control signal are applied or not
    • Sen
      • Available if Gate control enabling is enabled
      • Digital input that enables/disables switching
    • Sen_logic
      • Available if Gate control enabling is enabled
      • Logic that will be applied to Sen signal
  • If Model is selected as Control, the following properties can be used:
    • Execution rate
      • Defines the period between two updates of gate signals for the component. Gate signals are provided as a signal processing input to component
  • If Internal modulator is selected as Control, the following properties can be used:
    • Operation mode
      • Specifies the source of the internal modulator carrier frequency
      • If Operation mode is Fixed carrier frequency, then the frequency can be specified on the component properties
      • If Operation mode is Variable carrier frequency, then the frequency can be specified using a signal processing port
    • Carrier frequency (Hz)
      • Available if the Operation mode is a Fixed carrier frequency
      • Specifies the internal modulator's carrier frequency
    • Carrier phase offset
      • Specifies the internal modulator's carrier phase offset in degrees.
    • Dead time
      • Specifies dead time for the internal modulator in seconds
    • Reference signal [min, max]
      • Specifies carrier signal minimal and maximal value
      • Vector containing two values: the minimal carrier signal value, followed by the maximal carrier signal value
    • Load mode
      • Specifies on which event the new value of the modulation signal will be applied in the internal modulator
        • If on min is selected, new value will be applied when carrier reaches minimal value
        • If on max is selected, new value will be applied when carrier reaches maximal value
        • If on either is selected, new value will be applied when carrier reaches minimal or maximal value

Transofmer (Tab)

  • n1
    • Specifies number of turns on the primary winding
  • n2
    • Specifies number of turns on the secondary winding
  • L1
    • Specifies leakage inductance of the primary side
  • I1
    • Specifies initial current of the primary side
  • L2
    • Specifies leakage inductance of the secondary side
  • I2
    • Specifies initial current of the secondary side
  • L3
    • Specifies leakage inductance of the reset winding
  • I3
    • Specifies initial current of the reset winding
  • Lm
    • Specifies magnetization inductance
  • R1
    • Specifies primary winding resistance
  • R2
    • Specifies secondary winding resistance
  • R3
    • Specifies reset winding resistance
  • Rm
    • Specifies equivalent resistance representing the iron core losses

Extras (Tab)

The Extras tab gives you the opportunity to set Signal Access Management for the component.
Signal visibility is calculated based on the 'signal_access' property and whether or not a parent component in its hierarchy is locked or not. Components that are not contained within locked components expose their signals regardless of the 'signal_access' property. The 'signal_access' property can have one of three values:
  • Public - Components marked as public expose their signals on all levels.
  • Protected - Components marked as protected will hide their signals to components outside of their first locked parent component.
  • Inherit - Components marked as inherit will take the nearest parent 'signal_access' property value that is set to a value other than inherit.