Trigger¶
Appearance¶

Description¶
Operation of the trigger¶
Trigger is a part that updates the main period or a sub period by the input voltage, and operates as follows.
When it is not registered to a sub frequency¶
Trigger updates the main period, and is always in the off state at the start of the main period.
When the input differential voltage changes from negative to positive between the main period and Trigger Time, Trigger enters the on state.
When Trigger enters the on state, the main period is updated regardless of the main period that is set, and it moves to the next main period.
However, the time within 5% of Trigger Time is a dead band, and Trigger does not turn on.
Also, even if the input differential voltage changes from positive to negative, Trigger does not turn on.
If Trigger does not turn on by Trigger Time, the main period is updated at Trigger Time, and in this case the main period becomes Trigger Time.
By turning Active off, you can keep Trigger always in the off state and disable it. In this case, it performs the normal operation with the main frequency set in the main circuit.
When it is registered to a sub frequency¶
When you register Trigger to a Sub frequency, it performs the same operation as in 1. for the sub period instead of the main period.
For the actual operation of Trigger, please also refer to Sample circuit: PFC circuit (boundary conduction mode).
About setting the trigger time and the minimum time¶
The setting parameters of the trigger time [Tmax] and the minimum time [Tmin] of Trigger are applied as follows.
- If the trigger does not turn on by
Tmax, the period is updated atTmax. - Where
ton(<Tmax) is the time at which the trigger turned on,
ifton<Tmin, the period is updated atTmin.
Ifton>=Tmin, the period is updated atton.
Points to keep in mind when using Trigger¶
Setting the main frequency¶
When using the trigger part, set the main frequency to the highest switching frequency expected. If the main frequency is extremely low, the calculation resolution may be insufficient.
Points to note when using it together with the saw tooth generator [Saw Tooth]¶
The saw tooth generator generates the saw tooth wave by calculating the charge and discharge balance of the capacitor
from the next operating period.
Therefore, when it is used together with the trigger, because the period switches partway through,
the charge and discharge balance does not match and an offset is added to the saw tooth wave.
Because of the specification above, using the saw tooth generator and the trigger together is basically not recommended.
If you do use them, please check the behavior of each part and the operation you want to realize before using them.
Points to note when digital control by a script and Trigger coexist¶
Warning
When you perform periodic digital control with a script or an SLC script, if it coexists with Trigger, these periods are changed by Trigger and unexpected behavior such as a change of the sampling timing may occur.
Points to keep in mind when updating the maximum trigger time from a script¶
The maximum trigger time (Trigger Time) can be changed from a script at any timing during the analysis. However, the timing at which it is actually changed is at the end of the trigger operating period (the main period or a sub period) immediately after the change.
Therefore, we recommend setting the control frequency of the script that updates Trigger Time (with Post checked) to the same operating period as the trigger part to be changed.
Spec¶
| Parameter | Description | Parameter name |
|---|---|---|
| Trigger Time | Trigger time | Tmax |
| Active | Enable/disable the trigger | - |
| Minimum Trigger Time | Minimum time | Tmin |
Output variables¶
| Parameter | Description | Output argument |
|---|---|---|
| Input Volutage | Input differential voltage | symbol name.Vi |