# Inverse Clarke Transform (`invClarke`)

> Turns alpha and beta back into three phase quantities.

![invClarke](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/invClarke.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/control/invClarke/)

**Group:** Control · **Kind:** `{"block":"invClarke","kind":"control"}`

## When to use it

Use it to make three-phase references from a vector in the fixed frame. Use dq to abc Transform when the command is in the rotating frame.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `alpha` | signal | Component along the axis of phase a |
| `beta` | signal | Component 90 degrees ahead of alpha |
| `zero` | signal | Optional zero-sequence input added to every phase; unwired it is 0. |
| `a` | signal | Phase a output, same as alpha |
| `b` | signal | Phase b output |
| `c` | signal | Phase c output |

## Model

The outputs are `a = alpha`, `b = -alpha/2 + (sqrt(3)/2)*beta` and `c = -alpha/2 - (sqrt(3)/2)*beta`. The `zero` input is added to every phase; unwired it is 0, and then `a + b + c` = 0 always. Fed with the `zero` output of `clarke` it is the exact inverse of `clarke` for any input.

## Common mistakes

- If the references go to Space-Vector Modulator, that block adds the zero-sequence part itself, so do not add one here.
- The outputs are voltage or current references, not duties. Feeding them straight to Three-Phase PWM pushes the duty outside 0 to 1, so go through Space-Vector Modulator set to duty.

Problems rules: `duty.out_of_range`

## Datasheet and sources

No datasheet applies. The inputs are commands in the fixed frame from your controller, in V or A, and the three outputs keep that unit.

## Example

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

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