Abstract:
One aim of the present invention is to provide a new method, and related system, to implement the square root extraction operation, which grants a 32 bits precision, which has high execution speed and is able to process a decimal radicand. An aspect of the present invention relates to a method for controlling an electric machine (110), comprising the detection of the value of at least one electrical quantity (I1, V1, I2, V2, I3, V3) characterizing the machine operation and processing the detected value of said electrical quantity. The control method controls the machine operation on the basis of this processing. In particular the processing of the detected value of the electrical quantity comprises calculating (125) a square root (205) of a radicand value (210) related to the detected value of electrical quantities. The calculation of the square root includes: calculating (220, 225) an approximated value (215, 230) of the square root, having a first precision, and then calculating (200; 300) a corrective value (293; 397) and combining (235) said approximated value with said corrective value to obtain a square root value having a second precision greater than the first precision.