CLARKE3(9)
π NAME π
okay so bestie, welcome to clarke3 β it's the Clarke transform, aka the glow-up that turns 3 phase into cartesian. the manual calls it a "Clarke (3 phase to cartesian) transform" and honestly? iconic. π
it lives in the 9 section of the LinuxCNC docs and it's a HAL Component, so you load it like a real one. π
β¨ SYNOPSIS β¨
loadrt clarke3 [count=N|names=name1[,name2...]]
that's the whole vibe. loadrt, name it, and optionally tell it how many copies you want with count=N or name them individually with names=name1[,name2...]. pick your fighter. π
πΈ DESCRIPTION πΈ
so the Clarke transform's whole thing is translating a vector quantity from a three phase system (three components sitting 120 degrees apart, the classic trio) over into a two phase Cartesian system. and if your three phases don't sum to zero? you also get a homopolar component riding along, so that's three outputs, not two. surprise bonus output, she's generous. π¦
clarke3 implements the general case of the transform β the full version, using all three phases, no skipping. main character energy fr fr.
but wait, bestie: if your three phases are known to sum to zero, don't bother with this one β go see clarke2 for the simpler version. iykyk. π
π₯ FUNCTIONS π₯
clarke3.Nβ requires a floating-point thread. no float thread, no function. periodt. β¨
π PINS π
clarke3.N.afloat in β three phase input vectorclarke3.N.bfloat in β three phase input vectorclarke3.N.cfloat in β three phase input vectorclarke3.N.xfloat out β cartesian components of outputclarke3.N.yfloat out β cartesian components of outputclarke3.N.hfloat out β homopolar component of output
so a, b, c are your three phase inputs (the trio, 120 degrees apart, you know the drill), x and y come out as the cartesian components of the output, and h is the homopolar component of the output. in goes the phase squad, out comes the cartesian. slay. π
π SEE ALSO π
clarke2(9) β for thea+b+c=0case, the simpler oneclarkeinv(9) β for the inverse transform, if you wanna go backwards
π AUTHOR π
John Kasunich
π LICENSE π
GPL
and that's the whole page, bestie!! π«Ά this lil doc is part of the LinuxCNC Documentation, dated 2026-03-17, and you found it in the HAL Component corner of the man pages β under the name CLARKE3(9), obviously. go forth and transform. πβ¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms