Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Three-Phase Sine Source (sine3)

Outputs a balanced three-phase sine set on three pins.

sine3

Component reference · 繁體中文

Group: Control · Kind: {"block":"sine3","kind":"control"}

When to use it

Use it for three-phase voltage references or test currents. Use dq to abc Transform when you start from dq values, and Sine Source for one phase.

Pins

Pin Domain Meaning
a signal Phase a sine wave
b signal Phase b, 120 degrees behind a
c signal Phase c, 120 degrees ahead of a

Common parameters

  • amp: Height of the wave peak (Default: 1)
  • freq: Frequency (Default: required)
  • phase: Where the wave starts in its cycle (Default: 0)
  • offset: Fixed amount added to the wave (Default: 0)

Parameters

Key Unit Default Typical range Description
amp — 1 Height of the wave peak
freq Hz required Frequency
phase ° 0 Where the wave starts in its cycle
offset — 0 Fixed amount added to the wave

Parameter descriptions are in English in both languages.

Model

With w = 2pifreqt + phase, the outputs are a = offset + ampsin(w), b = offset + ampsin(w - 120 deg) and c = offset + ampsin(w + 120 deg). The sequence is positive (a, b, c). The phase setting is in degrees and applies to phase a. The three outputs add up to 3*offset.

Common mistakes

  • The transform blocks treat phase a as a cosine, but this wave is a sine. Set phase to 90 to get d = amp and q = 0, because phase 0 gives d = 0 and q = -amp.
  • Keep the maximum step at or below one fiftieth of the period. As duty references for Three-Phase PWM, all three outputs must stay between 0 and 1, so use offset 0.5 and amp of at most 0.5.

Problems rules: step.too_large, duty.out_of_range

Datasheet and sources

No datasheet applies. The value of freq is the electrical frequency you want, amp is the phase peak (at most the DC-link voltage divided by the square root of 3 for Space-Vector Modulator), and offset is normally 0.

Example

Open the example with the command file.openExample and the name demo:sine3.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.