METHOD AND SYSTEM FOR CONTROLLING A BRUSHLESS ELECTRIC MOTOR
The present disclosure relates to a method and a system for closed-loop control of the velocity of a brushless d.c. motor that supplies a torque to a rotating mechanical member, comprising carrying out a control of an FOC (Field-Oriented Control) type that includes: obtaining from a triad of stator phase currents of the motor a pair of currents in a reference system of rotation of the motor; and obtaining from a corresponding pair of voltages in a reference system of rotation of the motor a triad of phase voltages of the motor, a quadrature voltage of said corresponding pair of voltages being obtained via a closed-loop control procedure that comprises measuring an orientation of the rotor, said control method including acquiring a reference angular velocity of the motor to be supplied to the FOC. In the field of robot systems, one of the components that have a greater effect on the global cost of a robot are the electromechanical actuators, in so far as usually motor reducers of a harmonic-drive type are adopted, which guarantee good efficiency and absence of mechanical backlash, with the disadvantage, however, of a high cost. A lower-cost solution for reducers of a robot is the one that envisages using reducers of the worm-gear type. These reducers are widely used in the industry because they are sturdy and inexpensive and provide high reduction ratios with a very small number of components, combined with considerable structural simplicity. Furthermore, worm-gear reducers are not reversible, and this renders them a good choice in many applications in which the parts must not move with the motors turned off (for example, for reasons of safety). However, worm-gear reducers are affected by some drawbacks such as mechanical backlash, high friction, and troublesome vibrations, typically vibrations with low frequency and considerable chatter, and this renders them far from attractive for use in robots. Chatter is a typical problem in non-reversible mechanical transmissions and is generated by the interaction between the backlash of the gears and the static and dynamic friction of the parts. There exist partial solutions to the problem of chatter, which are not always applicable, such as closing the oil-bath transmission, which, however, requires fluid tightness of the container, whilst the use of grease is ineffective because it is soon expelled by the moving parts in contact. Another approach consists in adding friction on the output of the transmission for damping the effects of backlash, but this entails a further reduction in the efficiency of the motor reducers, which is already low by its very nature. These traditional approaches do not function, unfortunately, for all applications. Since motor reducers, such as worm-gear reducers, are driven by motors, also the methods for controlling these motors tend to react to phenomena, such as chatter, in order to maintain the reference values set for the control, for example references of position or velocity of the motor. Here reference is, in particular, made to the case where the motor reducers are driven by brushless d.c. motors. One of the most advanced techniques for control of brushless motors is the FOC technique. The idea underlying this technique is to use the so-called Clarke-Park transforms, which enable transformation of the three-phase quantities into two-phase quantities (and vice versa via the inverse transform), in a control loop designed to generate electric currents in the three windings of the stator, which are such as to generate the torque required in order to follow a given velocity reference. From the standpoint of a rotating reference system fixed with respect to the rotor, the electrical equation of the brushless motor becomes identical to that of a d.c. motor. The general scheme of a velocity-control system based upon the FOC method is schematically represented in Hence, the adder 11 substantially represents the comparison node of the closed-loop control, which receives as reference set-point the reference angular velocity ω* of the motor and that supplies at output, as regulated quantity, the velocity ω of rotation of the motor, measured by differentiating with respect to time, the orientation of the rotor θ by means of the numeric-differentiation block 17. In the aforesaid loop, the difference between the reference angular velocity ω* of the rotor at a positive input thereof and the measured value of the angular velocity ω of the motor, i.e., a velocity error Ev, is sent to a proportional-integral controller 12, which produces a quadrature armature voltage Vq. The quadrature armature voltage Vq forms one of the two inputs, together with a direct armature voltage Vd, of a block 13 configured for carrying out the inverse Clarke-Park transform on the above inputs to obtain at output the three voltages Va, Vb, Vc of the stator windings of the motor 15. The measurements of the corresponding electric currents in the three stator windings Ia, Ib, and Ic that are such as to generate the torque required for following the reference are acquired from the motor 15 and supplied to a block 16 configured for carrying out the direct Clarke-Park transform to obtain a direct current Id and a quadrature current Iq. The direct current Id is fed back to a multiplication block 18, which multiplies the direct current Id by −1 to supply the inverse value of the current −Id to a second proportional-integral controller 19, which generates the direct voltage Vd supplied to the block 13 configured for carrying out the inverse Clarke-Park transform as a function of the direct voltage Vd and of the quadrature voltage Vq. It should be pointed out how in the above position-control system 10, it is envisaged to measure, for example via an encoder (not illustrated in The velocity control implemented by means of a classic FOC procedure is not able to compensate effectively oscillations in the torque value such as the ones that arise during the phenomenon of chatter, or vibration, in a mechanical reducer like a worm gear. In fact, when the resistant torque suddenly decreases, it is altogether the job of the control system to intervene by reducing the current in order to prevent chatter. The effectiveness of this reaction is hence limited by the passband of the control loop, which is typically insufficient in standard control systems to enable timely intervention and suppress the phenomenon of chatter as it arises. An object of one or more embodiments is to overcome the limitations inherent in the solutions that can be achieved by the prior art. According to one or more embodiments, this object is obtained thanks to a control method presenting the characteristics specified in claim 1. One or more embodiments may refer to a corresponding control system. The claims form an integral part of the technical teaching provided herein in relation to the various embodiments. According to the solution described herein, the method comprises operations of closed-loop control for brushless motors, which are able to suppress the phenomenon of chatter in motor-reducer systems affected by high static friction and mechanical backlash. The method described comprises a closed-loop control of the velocity of the rotor of a brushless d.c. motor that supplies a torque to a rotating mechanical member, in particular a rotational reducer, the method including carrying out a control of a FOC type, which comprises: obtaining, from a triad of stator phase currents of the motor, a pair of currents in a reference system of rotation of the motor; and obtaining, from a corresponding pair of voltages in a reference system of rotation of the motor, a triad of phase voltages of the motor, a quadrature voltage of said corresponding pair of voltages being obtained via a closed-loop control procedure comprising measuring an orientation of the rotor, said control method comprising acquiring a reference angular velocity of the motor to be supplied to the FOC, the closed-loop control procedure comprising regulating the orientation of the rotor to follow a reference orientation, which forms an angle of 90° with respect to a direction of a stator magnetic field, which rotates with an angular velocity equal to said reference angular velocity. In various embodiments, the above closed-loop control procedure that comprises regulating the orientation of the rotor to follow a reference orientation includes the following steps: carrying out an integration of said reference angular velocity to obtain the reference orientation; calculating an orientation error as the difference between said reference orientation and said measured orientation; using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action to yield at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. In various embodiments, it is envisaged to use the above orientation error as input variable of a proportional-integrative-derivative transfer function. In various embodiments, the method described envisages that the above operation of obtaining from a triad of stator phase currents of the motor a pair of currents in a reference system of rotation of the motor comprises applying to said pair of currents a Clarke-Park transform as a function of said reference orientation, and said operation of obtaining from a corresponding pair of voltages in a reference system of rotation of the motor a triad of phase voltages of the motor comprises applying an inverse Clarke-Park transform to said pair of voltages as a function of said reference orientation. In various embodiments, the method described comprises regulating a direct current of said pair of currents to the zero value via a module that implements a proportional-integral control transfer function that supplies at output a direct voltage of said pair of voltages. In various embodiments, the method described envisages that said operation of acquiring a reference angular velocity of the motor comprises acquiring said reference angular velocity from a control system of the apparatus in which the motor operates. In various embodiments, the method described envisages that said step of carrying out an integration of said reference angular velocity to obtain the reference orientation comprises carrying out a numeric integration of said reference angular velocity to obtain an instantaneous reference angular position such that the motor shaft will rotate at the reference velocity in order to follow said instantaneous reference angular position instant by instant. In various embodiments, the method described envisages that said operation of measuring an orientation of the rotor comprises making the measurement using a corresponding sensor, in particular an encoder operating on the rotor of the motor. In various embodiments, the method described envisages that said operation of using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action to yield at output the quadrature voltage to be applied to the motor expressed in the rotating reference system comprises: using the above orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action and that supplies at output a reference quadrature current; calculating a current error as the difference between the reference quadrature current and a quadrature current of said pair of currents; and using the above current error as input variable of a transfer function that applies at least one proportional action and one integrative action to yield at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. In various embodiments, the method described envisages that said rotating mechanical member is a rotational reducer, and, in further variant embodiments, it is envisaged that said rotational reducer is a worm gear. The solution described herein moreover regards a system for closed-loop control of the velocity of a brushless d.c. motor that supplies a torque to a rotating mechanical member, in particular a rotational reducer, the system including carrying out a control module of a FOC type comprising: a module configured for obtaining from a triad of stator phase currents of the motor a pair of currents in a reference system of rotation of the motor; a module configured for obtaining from a corresponding pair of voltages in a reference system of rotation of the motor a triad of phase voltages of the motor; and a closed-loop control chain configured for obtaining a quadrature voltage of said corresponding pair of voltages, said chain comprising means for measuring an orientation of the rotor; said system being configured for acquiring a reference angular velocity of the motor to be supplied to the FOC, the aforesaid closed-loop control chain being configured for regulating the orientation of the rotor to follow a reference orientation, which forms an angle of 90° with respect to a direction of a stator magnetic field, which rotates with an angular velocity equal to said reference angular velocity. In various embodiments the control system comprises a module configured for carrying out an integration of said reference angular velocity to obtain a reference orientation; the closed-loop control chain comprising: a module for calculating an orientation error as the difference between said reference orientation and said measured orientation; and a module that implements a proportional-integrative transfer function and that receives said orientation error as input variable and supplies at output said quadrature voltage to be applied to the motor, expressed in the rotating reference system. In various embodiments, the module that implements a transfer function that applies at least one proportional action and one integrative action is configured for using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action to yield at output a reference quadrature current, and comprises: a module for calculating a current error as the difference between the reference quadrature current and a quadrature current of said pair of currents, and a module that implements at least one proportional action and one integrative action, which receives the aforesaid current error as input variable and supplies at output said quadrature voltage to be applied to the motor, expressed in the rotating reference system. In various embodiments, the control system comprises a module that implements a transfer function of a proportional-integrative-derivative type. In various embodiments, the aforesaid rotating mechanical member is a rotational reducer, and in further variants the aforesaid motor and rotational reducer are comprised in a robot, and said rotational reducer is a worm gear. The embodiments will now be described, purely by way of non-limiting example, with reference to the annexed drawings, in which: The ensuing description illustrates various specific details in order to provide an in-depth understanding of the embodiments. The embodiments may be implemented without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known operations, materials, or structures are not illustrated or described in detail so that various aspects of the embodiments will not be obscured. Reference to “an embodiment” or “one embodiment” in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described with reference to the embodiment is comprised in at least one embodiment. Likewise, phrases such as “in an embodiment” or “in one embodiment” that may be present in various points of the present description do not necessarily refer precisely to one and the same embodiment. Furthermore, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments. The references used herein are provided merely for convenience and hence do not define the sphere of protection or scope of the embodiments. By way of introduction, there is here first illustrated a physical property of interaction between magnetic fields that makes it possible to introduce an intrinsic stability in the control law of the brushless motor. The solution described hereinafter avails itself of the aforesaid physical property. With reference to the diagram of Illustrated in The present applicant has moreover noted that in the physical phenomena that produce chatter, the phenomenon appears, to the best of the knowledge of the present applicant, as being originated by the rapid transition from a condition of static friction to a condition of dynamic friction in a short time interval of the order of a fraction of a second during which the load is free to move forwards thanks to the mechanical backlash between the parts. This time for the condition of free fall due to the mechanical backlash, amounting to a fraction of a second, depends upon various parameters, but by way of example, the torque may indicate a vibration with a frequency in the region of 10-20 Hz, which means that each transient phenomenon involved occurs in times of less than 0.05 s given the periodicity. Hence, the space due to backlash is recovered when the gear falls on the worm gear of the primary of the transmission, and the static friction reappears after contact. This interpretation also explains the fact that chatter is manifested only when the load and the torque have the same direction, and not when they are opposite. Hence, the acceleration of the rotor during the transition between static friction and dynamic friction appears to be the cause behind the phenomenon of chatter in control systems according to the prior art, where the controller forces the magnetic field B of the stator to move synchronously with the magnetic-dipole moment m of the rotor and hence to accelerate together with the rotor. Consequently, the method described herein operates so as to prevent the acceleration of the rotor of the brushless motor by rendering the rotation of the stator magnetic field B independent of the orientation of the rotor, i.e., of the magnetic-dipole moment m. The solution described hence regards in general a method for closed-loop control of the velocity of a brushless d.c. motor that supplies a torque to a rotational reducer, where, in order to suppress the phenomenon of chatter in motor-reducer systems affected by high static friction and mechanical backlash, a stator magnetic field B is imposed that rotates at a reference angular velocity ω*, which constitutes the input of the control procedure, independent of the velocity of the rotor. Unlike the known method of field-oriented control of brushless motors of In this way, when the resistant torque suddenly decreases on account of the interaction between static friction and mechanical backlash, it is not possible for the rotor to accelerate in an uncontrolled way because there does not exist a feedback law that forces the direction of the stator magnetic field to accelerate following the rotor. Furthermore, the method exploits the natural characteristic of the law of magnetic moment, where the torque is linked to the angle between the magnetic vector of the stator and the magnetic-dipole moment of the rotor, in a way proportional to the sine of the angle formed between them. Consequently, when the rotor starts to accelerate with respect to the stator rotating magnetic field, the angle φ comprised between the vectors of the stator magnetic field B and the magnetic-dipole moment m shifts from 90°, and the torque decreases immediately as a direct consequence of the physical law described with reference to The control system 20 in the first place comprises an integration block 21, which receives the angular-velocity reference value ω* of the motor at input and performs a numeric integration in time Σω*Δt, supplying at output an angular-position reference value, i.e., a reference orientation, θ*, for the rotor, which is then supplied to the adder 11 at the positive input thereof. The adder 11 then directly receives, at a negative input thereof, the measured value of the position, i.e., the orientation, θ of the rotor via a position sensor set on the motor 15, as discussed more fully in what follows. The difference between the reference orientation θ* at the positive input and the measured value of the orientation θ of the rotor at the negative input, i.e., a position error Eo, is sent to a proportional-integral-derivative control 22, which produces the quadrature armature voltage Vq. The quadrature armature voltage Vq forms one of the two inputs, together with a direct armature voltage Vd, of the block 13 configured for carrying out the inverse Clarke-Park transform on the aforesaid inputs to obtain at output the three phase voltages Va, Vb, Vc of the stator windings of the motor 15. The corresponding electric currents measured in the three windings of the stator Ia, Ib, and Ic such as to generate the torque of the motor 15, in particular the torque required for following the reference orientation θ*, are acquired from the motor 15 and supplied to a block 16 configured for carrying out the direct Clarke-Park transform to obtain a direct current Id and a quadrature current Iq. The direct current Id is fed back to the multiplication block 18, which multiplies it by −1 and supplies the negative value of the direct current −Id to the second proportional-integral controller 19, which generates the direct voltage Vd supplied to the block 13 configured for carrying out the inverse Clarke-Park transform. According to a main aspect of the solution described, in the aforesaid position-control system 10 it is envisaged to supply the reference orientation θ* to the inverse Clarke-Park transform block 13 and to the direct Clarke-Park transform block 16, unlike what is represent in the diagram of Since the set constituted by the inverse Clarke-Park transform block 13 and the direct Clarke-Park transform block 16 determines the phase voltages Va, Vb, Vc, which in turn determine the velocity of the stator, these phase voltages are calculated by the blocks 13, 16 in a way independent of the orientation of the rotor θ. As in the case of field-oriented control, the orientation of the rotor θ must be measured via a corresponding sensor, for example an optical encoder provided with a reset reference mark in a known position with respect to the magnetic-dipole vector (to have an absolute calibration reference). No type of additional or different hardware is necessary for implementing the FOC method here described as compared to the standard FOC method of The position-control system 20 is preferably implemented via an integrated control board comprising one or more microprocessors. Now, with reference to the control system 20 of Without this implying any loss of generality, the positive direction of rotation of the motor 15 is assumed as being counterclockwise. As illustrated in The oriented angle comprised between the quadrature axis q and the direction of 0° in the reference system of the stator is assumed as angular position θ of the rotor. The reference orientation is initialized with the orientation of the rotor measured at start-up. The control method 100 comprises: in a step 110, reading the reference angular velocity ω*, which is preferably supplied by a high-level control system, designated by 50, i.e., the control module of the apparatus, for example a robot, in which the motor 15 operates, which supplies the reference angular velocity ω* according to the requirements of the apparatus; in step 120, carrying out a numeric integration, in particular via the block 21, to obtain the reference instantaneous angular position θ* such that the motor shaft rotates at the reference velocity, following it instant by instant; in step 130, measuring the orientation θ of the rotor via a sensor 60, for example, as has been said, via an encoder; in step 140, calculating, in particular in the adder 11, the orientation error Eo as the difference between the reference orientation θ* and the orientation measured θ; in step 150, applying a proportional-integrative-derivative transfer function (PID controller 22) using the orientation error Eo as input; the output of the proportional-integrative-derivative transfer function is the quadrature voltage Vq to be applied to the motor 15, expressed in the rotating reference system; the result of applying the PID transfer function via the PID controller 22 within the control loop, which implements a closed-loop proportional-integrative-derivative control procedure, is to force the rotor of the motor 15 to align with the reference orientation θ*, thus generating a torque that will regulate the orientation error Eo to zero; in a step 160, measuring the three phase currents Ia, Ib, and Ic in the motor 15; in a step 170, applying the Clarke-Park transforms (module 16) to the phase currents Ia, Ib, and Ic to obtain the direct current Id; in a step 180, regulating the direct current Id to the zero value via a proportional-integral control 19; the input of the control is the direct current with opposite value −Id, and the output is the value of direct voltage Vd to be applied to the motor for suppressing the direct current Id, which does not contribute to the torque and is entirely dissipated in the form of heat; in a step 190, applying the inverse Clarke-Park transforms (module 13) to the pair of voltages Vd and Vq thus obtained and obtaining the three phase voltages Va, Vb, Vc to be applied to the motor 15. The operations 110-190 are repeated cyclically, as is the case in a closed-loop control, following the reference angular velocity ω* of the motor and its variations. As may be noted from the diagram of The diagram of In the graph it may be noted that both in the lifting movement and in the movement of release the phenomenon of chatter is absent. Likewise, in the diagram of Hence, the internal loop 11′, 19′ that uses the output of the PID controller 22′ as reference where the quadrature current Iq is picked up as feedback quantity, substantially corresponds to a variant of the aforesaid operation 150 of using the orientation error Eo as input variable of a transfer function that applies at least one proportional action and one integrative action, in particular a PID action, 22′, which supplies at output said quadrature voltage Vq to be applied to the motor 15, expressed in the rotating reference system, where it is envisaged to: use the aforesaid orientation error Eo as input variable of a transfer function that applies at least one proportional action and one integrative action that supplies at output a reference quadrature current; calculate a current error Ei as the difference between the reference quadrature current and the quadrature current Iq; and use the current error Ei as input variable of a transfer function that applies at least one proportional action and one integrative action 19′ that supplies at output the quadrature voltage Vq to be applied to the motor 15 expressed in the rotating reference system. The solution according to the various embodiments described herein affords the advantages listed in what follows. The method described is advantageously of a FOC type, hence maintaining all the advanced characteristics thereof in conditions of uniform rotation (with continuous resistant torque). The method described, by performing the open-loop calculation of the Clarke-Park transforms, enables generation of the stator rotating magnetic field to be rendered independent of the angular position of the rotor. When there is disturbance in the resistant torque and rapid transitions from static friction to dynamic friction (chattering), known FOC methods react to the sudden accelerations compatibly with the passband of the controller. In the case of chatter, typically this is not sufficient to wipe out the effects of disturbance. Consequently, the perturbations in the position of the rotor interfere with generation of the torque, because the rotor “pushes forward” the stator magnetic field, amplifying the disturbance generated by the resistant torque with a phenomenon of resonance that is at the origin of the chatter. Instead, in the solution described, an intrinsic stability is exploited that derives from the physical law that expresses the torque in a way proportional to the sine of the angle between the magnetic-dipole moment m of the rotor and the magnetic field B of the stator. Thus, when the rotor accelerates and the angle with the stator magnetic field decreases, the torque decreases immediately, without any intervention of the controller being necessary. Of course, without prejudice to the principles underlying the embodiments, the details of construction and the embodiments may vary widely with respect to what has been described and illustrated herein purely to way of example, without thereby departing from the scope of the present embodiments, as defined by the ensuing claims. The method described may be applied to reducers of a worm-gear type or other rotational motor-reducer systems, to reducers of an external-screw/internal-screw type or to direct-drive systems, where the torque is supplied by a brushless motor controlled by an electronic board. The solution described herein finds application in integrated mechatronic, in industrial robotics, and in the automotive field. In various embodiments, the motor and the reducer are comprised in a robot, and the rotational reducer is a worm gear or else some other rotational-reducer system compatible with the embodiment required by the robot. Suppression of chatter occurs irrespective of the mode used for following the reference that rotates in open loop; consequently, it is possible to use embodiments alternative to PID control, which will be compatible with the method as described and claimed. The PID control, with the derivative component improves precision, in particular since it has available a good measurement of velocity of the rotor and a reference that is already supplied as velocity. However, it is possible also to use a proportional-integral (PI) controller; in this case, the instantaneous error of velocity presents wider oscillations. In other words, the orientation error may be used as input variable of a transfer function that applies at least one proportional action and one integrative action, i.e., a PI controller, or else as input of a controller that adds to this the derivative action, i.e., a PID controller. Hence, the control module 22 and the control module 22′ may specifically be only proportional-integral control modules. By “motor-reducer systems affected by high levels of static friction and mechanical backlash” are typically meant non-reversible reducers, in which hence the efficiency is considerably lower than 50% on account of friction. For instance, for a worm gear the typical efficiency is approximately 30%. As regards mechanical backlash on the secondary, it is, for example, of 2°. The method described may be applied in general also to motors without motor-reduction, connected to rotating mechanical members that may or may not be affected by chatter. In the case where they are not affected by chatter, the performance is equivalent to that of a FOC control of a known type, whereas, in the case of rotating members affected by chatter, the method described presents the advantages referred to above. A method for closed-loop control of the velocity of a brushless d.c. motor that supplies a torque (τ) to a rotating mechanical member, including carrying out a control of a FOC (Field-Oriented Control) type (10, 20) comprising obtaining (16), from a triad of stator phase currents (Ia, Ib, Ic) of the motor, a pair of currents (Id, Iq) in a reference system (d, q) of rotation of the motor (15), and obtaining from a corresponding pair of voltages (Vq, Vd) in a reference system of rotation of the motor (15) a triad of phase voltages (Va, Vb, Vc) of the motor (15), a quadrature voltage (Vq) of said corresponding pair of voltages (Vq, Vd) being obtained via a closed-loop control procedure (140) comprising measuring (130) an orientation of the rotor (θ), said control method (100) comprising (110) acquiring a reference angular velocity (ω*) of the motor to be supplied to the control of a FOC type (10, 20); according to the invention, said closed-loop control procedure (140) comprises regulating the orientation of the rotor (θ ) to follow a reference orientation (θ*), which forms an angle of 90° with respect to a direction of a stator magnetic field (B), which rotates with an angular velocity equal to said reference angular velocity (ω*). 1. A method for closed-loop control of the velocity of a brushless d.c. motor, which supplies a torque to a rotating mechanical member, comprising carrying out a control of a FOC (Field-Oriented Control) type comprising:
obtaining, from a triad of stator phase currents of the motor, a pair of currents in a reference system of rotation of the motor; and obtaining, from a corresponding pair of voltages in a reference system of rotation of the motor, a triad of phase voltages of the motor, a quadrature voltage of said corresponding pair of voltages being obtained via a closed-loop control procedure comprising measuring an orientation of the rotor, said control method comprising acquiring a reference angular velocity of the motor to be supplied to the control of a FOC type, said method being characterized in that: said closed-loop control procedure comprises regulating the orientation of the rotor to follow a reference orientation, which forms an angle of 90° with respect to a direction of a stator magnetic field, which rotates with an angular velocity equal to said reference angular velocity. 2. The method according to carrying out an integration of said reference angular velocity to obtain the reference orientation; calculating an orientation error as the difference between said reference orientation and said measured orientation; and using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action and supplies at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. 3. The method according to 4. The method according to 5. The method according to 6. The method according to 7. The method according to 8. The method according to 9. The method according to said operation of using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action that supplies at output said quadrature voltage to be applied to the motor expressed in the rotating reference system comprises: using said orientation error as input variable of a transfer function that applies at least one proportional action and one integrative action that supplies at output a reference quadrature current; calculating a current error as the difference between the reference quadrature current and a quadrature current of said pair of currents; and using said current error as input variable of a transfer function that applies at least one proportional action and one integrative action that supplies at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. 10. The method according to 11. The method according to 12. A system for closed-loop control of the velocity of a brushless d.c. motor that supplies a torque to a rotating mechanical member, comprising carrying out a control module of a FOC type comprising:
a module configured for obtaining, from a triad of stator phase currents of the motor, a pair of currents in a reference system of rotation of the motor; a module configured for obtaining, from a corresponding pair of voltages in a reference system of rotation of the motor, a triad of phase voltages of the motor; and a closed-loop control chain configured for obtaining a quadrature voltage of said corresponding pair of voltages and comprising means for measuring an orientation of the rotor, said system being configured for acquiring a reference angular velocity of the motor to be supplied to the control of a FOC type, said system being characterized in that: said closed-loop control chain is configured for regulating the orientation of the rotor to follow a reference orientation, which forms an angle of 90° with respect to a direction of a stator magnetic field, which rotates with an angular velocity equal to said reference angular velocity. 13. The closed-loop control system according to a module configured for carrying out an integration of said reference angular velocity to obtain a reference orientation, and in that said closed-loop control chain comprises: a module configured for calculating an orientation error as the difference between said reference orientation and said measured orientation; and a module configured for implementing a transfer function that applies at least one proportional action and one integrative action and for receiving said orientation error as input variable and for supplying at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. 14. The system for closed-loop control according to a module configured for calculating a current error as the difference between the reference quadrature current and a quadrature current of said pair of currents; and a module configured for implementing at least one proportional action and one integrative action and for receiving said current error as input variable and for supplying at output said quadrature voltage to be applied to the motor expressed in the rotating reference system. 15. The system for closed-loop control according to 16. The system for closed-loop control according to 17. The system for closed-loop control according to TECHNICAL FIELD
DESCRIPTION OF THE PRIOR ART
OBJECT AND SUMMARY
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF THE EMBODIMENTS