Machinekit Documentation
HAL Component — CLARKE3
INSTANTIABLE COMPONENTS — General
All instantiable components can be loaded in two manners
Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)
NAME
clarke3 — Clarke (3 phase to cartesian) transform
SYNOPSIS
clarke3
USAGE SYNOPSIS
loadrt clarke3
OR
newinst clarke3 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]
( args in [ ] denote possible args and parameters, may not be used in all components )
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.
FUNCTIONS
clarke3.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )
PINS
clarke3.N.a float in ( OR <newinstname>.a float in )
clarke3.N.b float in ( OR <newinstname>.b float in )
clarke3.N.c float in ( OR <newinstname>.c float in ) - three phase input vector
clarke3.N.x float out ( OR <newinstname>.x float out )
clarke3.N.y float out ( OR <newinstname>.y float out ) - cartesian components of output
clarke3.N.h float out ( OR <newinstname>.h float out ) - homopolar component of output
SEE ALSO
\fBclarke2\fR for the 'a+b+c=0' case, \fBclarkeinv\fR for the inverse transform.
LICENCE
GPL