.\"******************************************************************* .\" .\" This file was extracted from hal/components/clarke3.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH CLARKE3 "9" "2023-02-10" "LinuxCNC Documentation" "HAL Component" .SH NAME clarke3 \- Clarke (3 phase to cartesian) transform .SH SYNOPSIS .HP .B loadrt clarke3 [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH DESCRIPTION The Clarke transform can be used to translate a vector quantity from a three phase system (three components 120 degrees apart) to a two phase Cartesian system (plus a homopolar component if the three phases don't sum to zero). .P \fBclarke3\fR implements the general case of the transform, using all three phases. If the three phases are known to sum to zero, see \fBclarke2\fR for a simpler version. .SH FUNCTIONS .TP \fBclarke3.\fIN\fB\fR (requires a floating-point thread) .SH PINS .TP .B clarke3.\fIN\fB.a\fR float in \fR .br .ns .TP .B clarke3.\fIN\fB.b\fR float in \fR .br .ns .TP .B clarke3.\fIN\fB.c\fR float in \fR three phase input vector .TP .B clarke3.\fIN\fB.x\fR float out \fR .br .ns .TP .B clarke3.\fIN\fB.y\fR float out \fR cartesian components of output .TP .B clarke3.\fIN\fB.h\fR float out \fR homopolar component of output .SH SEE ALSO \fBclarke2\fR(9) for the 'a+b+c=0' case, \fBclarkeinv\fR(9) for the inverse transform. .SH AUTHOR John Kasunich .SH LICENSE GPL