d/q Analysis (OPT-POWER-ADV)

This chapter describes the d/q analysis feature. The d/q analysis can be performed with a mechanical angle signal and sensorless without the need of an angle signal. The sensorless calculation requires specification of stator resistance and stator inductance The d/q analysis is designed for use with 3-phase synchronous machines.

The d/q transformation is also known as Park-Clarke transformation, often used in field orientated control to get steady state feedback of the machines current and flux. To perform the analysis with mechanical angle, any kind of angle signal (rotor position) must be provided.

Measured Angle

Following settings are for the d/q analysis with mechanical angle input.

Detail Settings in OXYGEN Power Group

Fig. 56 Detail Settings in OXYGEN Power Group

  1. Details Tab for Settings of the d/q analysis

  2. Enable/Disable d/q calculation

  3. Angle input selection, calculation with mechanical angle is selected

  4. Input field for mechanical angle channel (drag-n-drop), must provide an angle signal between 0-360 deg.

  5. Input field for number of pole-pairs

  6. Input field for offset of the mechanical angle to the electrical (deg)

  7. Button to detect the actual angle offset (use only without load)

  8. Channel Output Sample rate (100 Hz is default).

Estimated Angle

Following settings are for the d/q analysis without mechanical angle input.

Detail Settings in OXYGEN Power Group

Fig. 57 Detail Settings in OXYGEN Power Group

  1. Details Tab for Settings of the d/q analysis

  2. Enable/Disable d/q calculation

  3. Angle input selection, calculation without mechanical angle is selected

  4. Input field for stator resistance (Ohm)

  5. Input field for stator inductance (mH)

  6. Input field for offset of the electrical angle to exact d-axis alignment (deg). This is just a debug channel and can be kept at zero.

The sensorless d/q computes the rotor posistion by calculating the electromotoric force (EMF) of the synchronous machine under use of stator resistance and inductance. This calculation assumes electric and magnetic symmetry and uniformity in all orientations. Since EMF is bound to the change of the magnetic field an thus the speed of the machine, the accuracy of the sensorless calculation suffers at low speeds. Acceptable results are achieved for speeds above 5% of nominal speed (n> 5\% \, n_\mathrm n).

The calculated angle of the sensorless computation can be found in the “dq_angle” channel of the d/q analysis. Unlike the calculation with mechanical angle input the sensorless version does not have a fixed output rate. It calculates 100 samples per electrical period and is therefore inherently asychronous, just like the power group. The following quick start guide is intended for the d/q analysis with mechanical angle input.

Quick Start

The key to get accurate readings from the resulting d/q channels is a good alignment of the Rotor Axis to the angle measurement sensor. To support the user with this task, we implemented a semi-automatic workflow.

  1. Prepare the Typical power group settings for power analysis

  2. Enable the d/q analysis feature (only possible within 3-phase measurements)

  3. Assign the angle channel

  4. Edit the number of pole-pairs according to your engine

  5. Drive the DUT (device under test) with an auxiliary engine at constant speed (idle)

  6. Press the “Detect” Button

  7. Check the detected value

If there is no possibility to run the engine with an auxiliary drive, there are two other methods:

  • Use the moment of inertia and use the induced voltage during coast down

  • Drive your engine without any load at slow speed e.g. 100 rpm to reduce the effects of friction and ventilation

Angle Measurement

There are different methods available to measure the actual rotor position, these are necessary for the d/q analysis with mechanical angle:

Rotary Encoder

The rotary encoder is typically used in slow to medium speed drives. The signal of this encoders can be processed by the following Hardware inputs and transformed to an angle signal:

  • TRION-CNT

  • TRION-Base

  • TRION-Timing / VGPS

  • TRION-1802-dLV

One Pulse per Turn

In the case, where there no option to mount a rotary encoder, a single impulse (Z) can also be used as source for the angle measurement (with the same hardware listed above). The single pulse can be generated by a inductive or laser sensor.

SIN/COS Sensors

If your engine is equipped with an SIN/COS sensor (Magnetic field sensor, XMR-Sensor), use an analog input for these two signals. To calculate the correct angle, please create the following formula in OXYGEN: mech\_angle = mod((atan2('sin','cos')+2*pi)*180/pi,360)

Channel Reference

The channel reference reveals how the d/q analysis output channels are calculated. Note that the variant with mechanical angle input uses raw waveforms channels for voltage and current and the sensorless method uses the fundamental counterparts.

Table 15 Legend

Symbol

Equation

Description

\theta

mech\_angle\cdot \frac{pi}{180}

Actual rotor angle

SR

Samplerate of U/I Channels

red\_SR

Reduced Samplerate for Output

U_{iN}

Line-to-Neutral Voltage of Phase i

U_d

d-Axis Voltage, reduced with block-wise average to given output samplerate.

\begin{aligned}
U_d^* &= \frac{2}{3} \cdot \left(U_{1N} \cdot cos(\theta) +
                                U_{2N} \cdot cos(\theta - \frac{2 \pi}{3}) +
                                U_{3N} \cdot cos(\theta + \frac{2 \pi}{3}) \right) &  \\
U_d &= \frac{red\_SR}{SR} \cdot \sum_{i=0}^{\frac{SR}{red\_SR}} U_d^* & Unit: \mathbf{V}
\end{aligned}

U_q

q-Axis Voltage, reduced with block-wise average to given output samplerate.

\begin{aligned}
U_q^* &= \frac{2}{3} \cdot \left( - U_{1N} \cdot sin(\theta) -
U_{2N} \cdot sin(\theta - \frac{2 \pi}{3}) -
U_{3N} \cdot sin(\theta + \frac{2 \pi}{3}) \right) &  \\
U_q &= \frac{red\_SR}{SR} \cdot \sum_{i=0}^{\frac{SR}{red\_SR}} U_q^* & Unit: \mathbf{V}
\end{aligned}

I_d

d-Axis Current, reduced with block-wise average to given output samplerate.

\begin{aligned}
I_d^* &= \frac{2}{3} \cdot \left(I_1 \cdot cos(\theta) +
                                 I_2 \cdot cos(\theta - \frac{2 \pi}{3}) +
                                 I_3 \cdot cos(\theta + \frac{2 \pi}{3}) \right) &  \\
I_d &= \frac{red\_SR}{SR} \cdot \sum_{i=0}^{\frac{SR}{red\_SR}} I_d^* & Unit: \mathbf{A}
\end{aligned}

I_q

q-Axis Current, reduced with block-wise average to given output samplerate.

\begin{aligned}
I_q^* &= \frac{2}{3} \cdot \left( - I_1 \cdot sin(\theta) -
                                    I_2 \cdot sin(\theta - \frac{2 \pi}{3}) -
                                    I_3 \cdot sin(\theta + \frac{2 \pi}{3}) \right) &  \\
I_q &= \frac{red\_SR}{SR} \cdot \sum_{i=0}^{\frac{SR}{red\_SR}} I_q^* & Unit: \mathbf{A}
\end{aligned}