logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

clarke2 - Two input version of Clarke transform

Author

       John Kasunich

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.

       clarke2 implements a special case of the Clarke transform, which  only  needs  two  of  the  three  input
       phases.   In a three wire three phase system, the sum of the three phase currents or voltages must always
       be zero.  As a result only two of the three are needed to  completely  define  the  current  or  voltage.
       clarke2  assumes  that  the  sum  is  zero,  so  it  only  uses phases A and B of the input.  Since the H
       (homopolar) output will always be zero in this case, it is not generated.

Functions

clarke2.N (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-06-19                                         CLARKE2(9)

Name

       clarke2 - Two input version of Clarke transform

Pins

clarke2.N.a float in
       clarke2.N.b float in
              first two phases of three phase input

       clarke2.N.x float out
       clarke2.N.y float out
              cartesian components of output

See Also

clarke3(9) for the general case, clarkeinv(9) for the inverse transform.

Synopsis

loadrtclarke2[count=N|names=name1[,name2...]]

See Also