Method and device for determining zero position of motor

文档序号:1394974 发布日期:2020-02-28 浏览:8次 中文

阅读说明:本技术 电机零位的确定方法和装置 (Method and device for determining zero position of motor ) 是由 徐鲁辉 任少朋 李楠 于 2018-07-27 设计创作,主要内容包括:本公开涉及一种电机零位的确定方法和装置,该方法包括:通过利用拖动装置控制电机的转速分别达到至少一个预设转速,以获取电机的转速分别稳定在至少一个预设转速时电机转子的第一零位偏差角,其中至少一个预设转速的转速值不同;根据所述电机的转速分别稳定在至少一个预设转速时电机转子的第一零位偏差角,确定第二零位偏差角,结合第二零位偏差角和电机的出厂零位角度,确定电机的零位。通过将被测电机固定在测试台架上,再利用拖动装置实现对于电机的零位的测量,提高电机性能,简化测试操作并节约成本。(The present disclosure relates to a method and a device for determining a zero position of a motor, wherein the method comprises the following steps: the method comprises the steps that the rotating speed of a motor is controlled by a dragging device to reach at least one preset rotating speed respectively, so that a first zero offset angle of a motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively is obtained, wherein the rotating speed values of the at least one preset rotating speed are different; and determining a second zero-position deviation angle according to the first zero-position deviation angle of the motor rotor when the rotating speed of the motor is respectively stabilized at least one preset rotating speed, and determining the zero position of the motor by combining the second zero-position deviation angle and the factory zero-position angle of the motor. The tested motor is fixed on the test bench, and the zero position of the motor is measured by the aid of the dragging device, so that the performance of the motor is improved, test operation is simplified, and cost is saved.)

1. A method of determining a zero position of an electric motor, the method comprising:

controlling the rotating speed of the motor to reach at least one preset rotating speed respectively by using a dragging device so as to obtain a first zero offset angle of a rotor of the motor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively, wherein the rotating speed values of the at least one preset rotating speed are different;

determining a second zero offset angle according to the first zero offset angle of the motor rotor when the rotating speed of the motor is respectively stabilized at the at least one preset rotating speed;

and determining the zero position of the motor by combining the second zero offset angle and the factory zero position angle of the motor.

2. The method of claim 1, further comprising:

and after the second zero offset angle is obtained, controlling the rotating speed of the motor to be reduced to an initial rotating speed value.

3. The method according to claim 1, wherein the obtaining the first zero offset angle of the rotor of the motor when the rotation speed of the motor is respectively stabilized at least one preset rotation speed by controlling the rotation speed of the motor to respectively reach at least one preset rotation speed by using a dragging device comprises:

controlling the rotating speed of the motor to reach a first preset rotating speed by using a dragging device so as to obtain a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed;

repeatedly executing the step of controlling the rotating speed of the motor to reach a first preset rotating speed by using the dragging device so as to obtain a first zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed, so as to obtain the zero-position deviation angles of the motor rotor at a plurality of first preset rotating speeds;

wherein the rotation speed values of the plurality of first preset rotation speeds are different in each repeated execution.

4. The method of claim 3, wherein the controlling the rotation speed of the motor to reach a first preset rotation speed by using the dragging device to obtain a first zero offset angle of the rotor of the motor when the rotation speed of the motor is stabilized at the first preset rotation speed comprises:

controlling the rotating speed of the motor to reach the first preset rotating speed by using the dragging device;

when the rotating speed of the motor is stabilized at the first preset rotating speed, acquiring a first direct axis voltage and a first quadrature axis voltage of the motor;

determining a first null-offset angle according to the first direct-axis voltage and the first quadrature-axis voltage;

and writing the first zero offset angle into a control program of the motor.

5. The method of claim 4, wherein said repeatedly performing said step of controlling the rotational speed of the motor using the dragging device to a first preset rotational speed to obtain a first zero offset angle of the motor rotor when the rotational speed of the motor is stabilized at the first preset rotational speed to obtain a zero offset angle of the motor rotor at a plurality of the first preset rotational speeds comprises:

controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed;

controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed;

and controlling the rotating speed of the motor to reach the fourth preset rotating speed so as to obtain a fifth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the fourth preset rotating speed.

6. The method according to claim 5, wherein the first preset rotation speed is less than the second preset rotation speed, the second preset rotation speed is less than the third preset rotation speed, and the third preset rotation speed is less than the fourth preset rotation speed.

7. The method of claim 1, wherein determining a second null angle based on the first null angle of the rotor of the electric machine when the rotational speed of the electric machine is stabilized at the at least one preset rotational speed, respectively, comprises:

taking the average value of the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed as the second zero offset angle;

determining the zero position of the motor by combining the second zero offset angle and the factory zero position angle of the motor, wherein the determining the zero position of the motor comprises the following steps:

and taking the difference value between the factory zero position angle and the second zero position deviation angle as the zero position of the motor.

8. An apparatus for determining a zero position of an electric motor, the apparatus comprising:

the zero offset angle acquisition module is used for controlling the rotating speed of the motor to reach at least one preset rotating speed respectively by utilizing the dragging device so as to acquire a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively, wherein the rotating speed values of the at least one preset rotating speed are different;

the zero offset angle determining module is used for determining a second zero offset angle according to a first zero offset angle of the motor rotor when the rotating speed of the motor is respectively stabilized at the at least one preset rotating speed;

and the zero position determining module is used for determining the zero position of the motor by combining the second zero position deviation angle and the factory zero position angle of the motor.

9. The apparatus of claim 8, further comprising:

and the rotating speed control module is used for controlling the rotating speed of the motor to be reduced to an initial rotating speed value after the second zero-position deviation angle is obtained.

10. The apparatus of claim 8, wherein the null-offset angle acquisition module comprises:

the zero offset angle acquisition submodule is used for controlling the rotating speed of the motor to reach a first preset rotating speed by using a dragging device so as to acquire a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed;

the repeated execution submodule is used for repeatedly executing the step of controlling the rotating speed of the motor to reach a first preset rotating speed by using the dragging device so as to obtain a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed, so as to obtain the zero offset angles of the motor rotor at a plurality of first preset rotating speeds;

wherein the rotation speed values of the plurality of first preset rotation speeds are different in each repeated execution.

11. The apparatus of claim 10, wherein the null-offset angle acquisition submodule comprises:

the rotating speed control submodule is used for controlling the rotating speed of the motor to reach the first preset rotating speed by utilizing the dragging device;

the voltage acquisition submodule is used for acquiring a first direct-axis voltage and a first quadrature-axis voltage of the motor when the rotating speed of the motor is stabilized at the first preset rotating speed;

the angle determination submodule is used for determining a first zero offset angle according to the first direct-axis voltage and the first quadrature-axis voltage;

and the angle writing submodule is used for writing the first zero offset angle into a control program of the motor.

12. The apparatus of claim 10, wherein the repeat execution submodule is configured to:

controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed;

controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed;

and controlling the rotating speed of the motor to reach the fourth preset rotating speed so as to obtain a fifth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the fourth preset rotating speed.

13. The apparatus of claim 12, wherein the first predetermined rotational speed is less than the second predetermined rotational speed, the second predetermined rotational speed is less than the third predetermined rotational speed, and the third predetermined rotational speed is less than the fourth predetermined rotational speed.

14. The apparatus of claim 8, wherein the null-offset angle determination module is to:

taking the average value of the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed as the second zero offset angle;

the zero determination module is configured to:

and taking the difference value between the factory zero position angle and the second zero position deviation angle as the zero position of the motor.

Technical Field

The disclosure relates to the technical field of machinery, in particular to a method and a device for determining a zero position of a motor.

Background

The integration of electric automobile is a definite development direction, and more manufacturers integrate the relevant power spare part of electric drive together and form the electric drive bridge, comprises three key components of motor controller, motor and reduction gear promptly, and motor controller and motor combination form the matching together. The zero position of the motor is a critical factor for controlling synchronous motors, and is a critical point for the orientation of the magnetic field in motor control. There are many test schemes to the zero position of the motor among the prior art, including: the method comprises the following steps of testing zero crossing points of no-load back electromotive force of the motor, comparing motor parameters by presetting a data table, and testing the direct current of the tested motor. However, the test schemes need manual adjustment, so that the dependence on equipment and personnel is strong, large-batch zero position test is not easy to realize, and accurate test of the zero position of the motor system is not facilitated again after the motor parts are replaced.

Disclosure of Invention

The purpose of the present disclosure is to provide a method and an apparatus for determining a zero position of a motor, which can effectively determine the zero position of the motor by using a dragging device without depending on manual calibration.

According to a first aspect of the embodiments of the present disclosure, there is provided a method for determining a zero position of a motor, the method including:

controlling the rotating speed of the motor to reach at least one preset rotating speed respectively by using a dragging device so as to obtain a first zero offset angle of a rotor of the motor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively, wherein the rotating speed values of the at least one preset rotating speed are different;

determining a second zero offset angle according to the first zero offset angle of the motor rotor when the rotating speed of the motor is respectively stabilized at the preset rotating speed;

and determining the zero position of the motor by combining the second zero offset angle and the factory zero position angle of the motor.

Optionally, the method further includes:

and after the second zero offset angle is obtained, controlling the rotating speed of the motor to be reduced to an initial rotating speed value.

Optionally, the controlling, by using the dragging device, the rotation speeds of the motors respectively reach at least one preset rotation speed to obtain first zero offset angles of the motor rotors when the rotation speeds of the motors are respectively stabilized at the at least one preset rotation speed includes:

controlling the rotating speed of the motor to reach a first preset rotating speed by using a dragging device so as to obtain a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed;

repeatedly executing the step of controlling the rotating speed of the motor to reach a first preset rotating speed by using the dragging device so as to obtain a first zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed, so as to obtain the zero-position deviation angles of the motor rotor at a plurality of first preset rotating speeds;

wherein the rotation speed values of the first preset rotation speeds are different.

Optionally, the controlling, by the driving device, the rotation speed of the motor to reach a first preset rotation speed to obtain a first zero offset angle of the motor rotor when the rotation speed of the motor is stabilized at the first preset rotation speed includes:

controlling the rotating speed of the motor to reach the first preset rotating speed by using the dragging device;

when the rotating speed of the motor is stabilized at the first preset rotating speed, acquiring a first direct axis voltage and a first quadrature axis voltage of the motor;

determining a first null-offset angle according to the first direct-axis voltage and the first quadrature-axis voltage;

and writing the first zero offset angle into a control program of the motor.

Optionally, the repeatedly executing the step of controlling the rotation speed of the motor to reach a first preset rotation speed by using the dragging device to obtain a first zero-position deviation angle of the motor rotor when the rotation speed of the motor is stabilized at the first preset rotation speed to obtain zero-position deviation angles of the motor rotor at a plurality of first preset rotation speeds includes:

controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed;

controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed;

and controlling the rotating speed of the motor to reach the fourth preset rotating speed so as to obtain a fifth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the fourth preset rotating speed.

Optionally, the first preset rotating speed is less than the second preset rotating speed, the second preset rotating speed is less than the third preset rotating speed, and the third preset rotating speed is less than the fourth preset rotating speed.

Optionally, determining a second zero offset angle according to the first zero offset angle of the motor rotor when the rotation speed of the motor is respectively stabilized at the at least one preset rotation speed includes:

taking the average value of the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed as the second zero offset angle;

determining the zero position of the motor by combining the second zero offset angle and the factory zero position angle of the motor, wherein the determining the zero position of the motor comprises the following steps:

and taking the difference value between the factory zero position angle and the second zero position deviation angle as the zero position of the motor.

According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for determining a zero position of a motor, the apparatus including:

the zero offset angle acquisition module is used for controlling the rotating speed of the motor to reach at least one preset rotating speed respectively by utilizing the dragging device so as to acquire a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively, wherein the rotating speed values of the at least one preset rotating speed are different;

a zero-position deviation angle determining module, configured to determine a second zero-position deviation angle according to a first zero-position deviation angle of the motor rotor when the rotation speed of the motor is respectively stabilized at the at least one preset rotation speed

And the zero position determining module is used for determining the zero position of the motor by combining the second zero position deviation angle and the factory zero position angle of the motor.

Optionally, the apparatus further comprises:

and the rotating speed control module is used for controlling the rotating speed of the motor to be reduced to an initial rotating speed value after the second zero-position deviation angle is obtained.

Optionally, the null-deviation angle obtaining module includes:

the zero offset angle acquisition submodule is used for controlling the rotating speed of the motor to reach a first preset rotating speed by using a dragging device so as to acquire a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed;

the repeated execution submodule is used for repeatedly executing the step of controlling the rotating speed of the motor to reach a first preset rotating speed by using the dragging device so as to obtain a first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the first preset rotating speed, so as to obtain the zero offset angles of the motor rotor at a plurality of first preset rotating speeds;

wherein the rotation speed values of the plurality of first preset rotation speeds are different in each repeated execution.

Optionally, the null-offset-angle obtaining sub-module includes:

the rotating speed control submodule is used for controlling the rotating speed of the motor to reach the first preset rotating speed by utilizing the dragging device;

the voltage acquisition submodule is used for acquiring a first direct-axis voltage and a first quadrature-axis voltage of the motor when the rotating speed of the motor is stabilized at the first preset rotating speed;

the angle determination submodule is used for determining a first zero offset angle according to the first direct-axis voltage and the first quadrature-axis voltage;

and the angle writing submodule is used for writing the first zero offset angle into a control program of the motor.

Optionally, the repeated execution sub-module is configured to:

controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed;

controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed;

and controlling the rotating speed of the motor to reach the fourth preset rotating speed so as to obtain a fifth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the fourth preset rotating speed.

Optionally, the first preset rotating speed is less than the second preset rotating speed, the second preset rotating speed is less than the third preset rotating speed, and the third preset rotating speed is less than the fourth preset rotating speed.

Optionally, the null-offset angle determining module is configured to:

taking the average value of the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed as the second zero offset angle;

the zero determination module is configured to:

and taking the difference value between the factory zero position angle and the second zero position deviation angle as the zero position of the motor.

According to the technical scheme, the rotating speed of the motor is controlled to reach at least one preset rotating speed respectively by using the dragging device, so that the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the at least one preset rotating speed respectively is obtained, wherein the rotating speed values of the at least one preset rotating speed are different; determining a second zero offset angle according to a first zero offset angle of the motor rotor when the rotating speed of the motor is respectively stabilized at the at least one preset rotating speed, and determining a zero position of the motor by combining the second zero offset angle and a factory zero angle of the motor. The tested motor is fixed on the test bench, and the zero position of the motor is measured by the aid of the dragging device, so that the performance of the motor is improved, test operation is simplified, and cost is saved.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows.

Drawings

The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:

FIG. 1 is a schematic diagram of a measurement system for a zero position of an electric machine in accordance with an exemplary embodiment;

FIG. 2 is a flow chart illustrating a method of determining a zero position of a motor in accordance with an exemplary embodiment;

FIG. 3 is a flow chart illustrating another method of motor zero determination in accordance with an exemplary embodiment;

FIG. 4 is a flow chart illustrating yet another method of motor zero determination in accordance with an exemplary embodiment;

FIG. 5a is a flow chart illustrating yet another method of motor zero determination in accordance with an exemplary embodiment;

FIG. 5b is a rotational speed control schematic illustrating a method for motor zero determination in accordance with an exemplary embodiment;

FIG. 6 is a flow chart illustrating yet another method of motor zero determination in accordance with an exemplary embodiment;

FIG. 7 is a block diagram illustrating an apparatus for determining a zero position of a motor in accordance with an exemplary embodiment;

FIG. 8 is a block diagram illustrating another motor zero position determination arrangement in accordance with an exemplary embodiment;

FIG. 9 is a block diagram illustrating a null offset angle acquisition module in accordance with an exemplary embodiment;

FIG. 10 is a block diagram illustrating a zero offset angle acquisition sub-module in accordance with an exemplary embodiment.

Detailed Description

The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.

Before introducing the embodiments of the present disclosure, a scenario generated by the technical solution of the present disclosure is introduced, when an initial position of the motor is correct, and the motor is stably operated at a certain rotation speed in a steady state, a current command Id (direct axis current) is 0 and an Iq (quadrature axis current) is 0 is applied to the motor controller, and according to a voltage calculation formula of the motor, it can be determined that the quadrature axis voltage is a fixed value, and the direct axis voltage is zero Ud and is 0. However, when the zero position of the motor is inaccurate, for example, there is a zero offset angle theta, and the motor is stably operated at a certain rotation speed in a steady state, the current command Id is 0 and Iq is 0 are also applied to the motor controller, at this time, the quadrature axis voltage is not fixed any more, the direct axis voltage is not 0, and a function relation depending on theta exists between the direct axis voltage and the quadrature axis voltage, that is, the ratio of the direct axis voltage to the quadrature axis voltage is a tangent value of theta. The present disclosure provides a simple and easy technical scheme, which effectively tests the zero offset angle theta, and then controls and adjusts the motor to overcome the influence caused by the zero offset angle.

According to the method for determining the zero position of the motor, the motor in the electric drive bridge is used as a tested motor and is fixed on the test bench frame tool, the test bench frame motor is used as a dragging device to drag the tested motor to a preset rotating speed so as to acquire test parameters of the tested motor, and then the accurate zero position of the motor is determined.

FIG. 2 is a flow chart illustrating a method for determining a zero position of a motor, as shown in FIG. 2, according to an exemplary embodiment, the method comprising the steps of:

step 201, controlling the rotation speed of the motor to reach at least one preset rotation speed respectively by using the dragging device, so as to obtain a first zero offset angle of the motor rotor when the rotation speed of the motor is stabilized at the at least one preset rotation speed respectively.

The dragging device is, for example, a test bench motor on a test bench tool, and is connected with a tested motor through a shaft, as shown in fig. 1, the test bench motor drags the motor to a first preset rotating speed to measure a zero offset angle, and the first preset rotating speed can be set to be a turning rotating speed or slightly larger than the turning rotating speed according to test experience. Because the zero position is related to the ratio of the direct-axis voltage and the quadrature-axis voltage of the motor, the current zero position deviation angle can be calculated by acquiring the first direct-axis voltage and the first quadrature-axis voltage when the motor is stabilized at the first rotating speed, and the current zero position deviation angle can be written into a control program of the motor so as to be used in subsequent calculation.

In an example, the rotational speed values of at least one of the preset rotational speeds are different. That is to say, the technical solution described in this disclosure may perform the operation of step 201 once or may perform the operation many times, all of which belong to the scope of this disclosure, and when the rotation speed of the motor is respectively stabilized at a plurality of different preset rotation speeds, then obtain the zero offset angle of the corresponding motor rotor, and further improve the measurement accuracy.

Step 202, determining a second zero offset angle according to the first zero offset angle of the motor rotor when the rotation speed of the motor is respectively stabilized at least one preset rotation speed.

For example, the average value of the first null angle of the rotor of the electric motor when the rotation speed of the electric motor is stabilized at least one preset rotation speed is taken as the second null angle. When the zero-position deviation angles of the rotor motor at a plurality of preset rotation speeds are acquired according to step 201, an average value of the first zero-position deviation angles at the plurality of preset rotation speeds is calculated as a second zero-position deviation angle. Namely, the measurement of the zero offset angle is carried out for a plurality of times, the test precision is further improved, different preset rotating speeds are selected, and the influence on the final measurement result caused by the value of the preset rotating speed is avoided.

And step 203, determining the zero position of the motor by combining the second zero position deviation angle and the factory zero position angle of the motor.

For example, the difference between the factory zero angle and the second zero offset angle is used as the zero position of the motor. That is, the difference between the factory null angle and the average of the first null angle determined in step 202 is used as the null of the motor. Based on the factory zero position angle of the motor, accurate zero position can be obtained through correction of zero position deviation angles measured for multiple times.

In summary, in the method for determining the zero position of the motor provided by the present disclosure, the rotation speed of the motor is controlled by the dragging device to reach at least one preset rotation speed, so as to obtain the first zero position deviation angle of the rotor of the motor when the rotation speed of the motor is stabilized at the at least one preset rotation speed, where the rotation speed values of the at least one preset rotation speed are different; determining a second zero-position deviation angle according to a first zero-position deviation angle of a motor rotor when the rotating speed of the motor is stabilized at least one preset rotating speed, and determining the zero position of the motor by combining the second zero-position deviation angle and a factory zero-position angle of the motor. The tested motor is fixed on the test bench, and the zero position of the motor is measured by the aid of the dragging device, so that the performance of the motor is improved, test operation is simplified, and cost is saved.

FIG. 3 is a flow chart illustrating another method of determining a zero position of a motor in accordance with an exemplary embodiment, as shown in FIG. 3, the method further comprising:

and 204, after the second zero offset angle is obtained, controlling the rotation speed of the motor to be reduced to an initial rotation speed value.

For example, after the second zero offset angle is obtained after the multiple measurements are completed, the motor needs to be initialized, that is, the rotation speed of the motor is reset to zero and reduced to the initial rotation speed value of 0, so that normal starting and operation can be performed later.

Fig. 4 is a flowchart illustrating a method for determining a zero position of a motor according to an exemplary embodiment, where, as shown in fig. 4, the step 201 is to obtain a first zero offset angle of a rotor of the motor when a rotation speed of the motor is stabilized at least one preset rotation speed by controlling the rotation speed of the motor to reach at least one preset rotation speed respectively by using a dragging device, and includes the following steps:

in step 2011, the dragging device is used to control the rotation speed of the motor to reach a first preset rotation speed, so as to obtain a first zero offset angle of the motor rotor when the rotation speed of the motor is stabilized at the first preset rotation speed.

Illustratively, the step of measuring the first null angle is shown in FIG. 5a, which includes:

step 20111, the rotation speed of the motor is controlled to reach a first preset rotation speed by using the dragging device.

For example, the motor is in a zero current state at the moment, the motor is driven by the test bench motor and is dragged by the test bench motor, so that a certain time is needed for the rotation speed of the motor to rise, and the zero position needs to be determined according to the acquired data when the rotation speed of the motor is stabilized at a preset first preset rotation speed, so that the measurement accuracy is improved.

In the phase 0-t1 shown in fig. 5b, the rotation speed of the motor is increased to the first preset rotation speed.

Step 20112, when the rotation speed of the motor is stabilized at the first preset rotation speed, a first direct axis voltage and a first quadrature axis voltage of the motor are obtained.

For example, the direct-axis voltage and the quadrature-axis voltage may be obtained by obtaining, by using the motor controller, a position sensor of the motor, such as an angle of a resolver, and obtaining a first direct-axis voltage and a first quadrature-axis voltage that are stable at a first rotation speed by performing a decoupling process on the voltages, because the current direct-axis voltage and the current quadrature-axis voltage of the motor (the motor to be measured) cannot be directly obtained when the motor is in a zero-current state.

And in the period t1-t2 shown in fig. 5b, the rotating speed is continuously stabilized at the first preset rotating speed so as to obtain the current direct-axis voltage and quadrature-axis voltage.

Step 20113, a first null-offset angle is determined according to the first direct-axis voltage and the first quadrature-axis voltage.

In the measurement process, in order to make the measurement result have higher accuracy, multiple measurements under the same condition are taken to obtain statistical correctness, that is, the sampled data are enough, so that multiple groups of data are filtered to screen out more effective data, and then arc tangent processing is performed. As described above, when the initial position of the motor is incorrect, the ratio of the direct-axis voltage to the quadrature-axis voltage is known to be the tangent value of the zero position according to the voltage calculation formula of the motor, and therefore the first zero offset angle can be obtained by performing the arctangent processing on the ratio of the first direct-axis voltage and the first quadrature-axis voltage after the filtering processing.

In step 20114, the first null angle is written into the control program of the motor.

For example, the determined first null angle is written to the control program for the motor (i.e., to the motor controller) for later recall in calculations.

Step 2012, repeatedly executing the operation of step 2011 to obtain zero deviation angles of the motor rotor at a plurality of first preset rotation speeds;

wherein, the rotating speed values of the first preset rotating speeds are different when repeatedly executing each time.

Illustratively, fig. 6 is a flowchart illustrating a method for determining a zero position of a motor according to an exemplary embodiment, where as shown in fig. 6, step 2011 is repeatedly executed to obtain zero offset angles of a rotor of the motor at a plurality of first preset speeds, including the steps of:

step 20121, controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed.

In the stage t2-t4 shown in fig. 5b, the rotation speed of the motor is first increased to a second preset rotation speed (t2-t3), and then is stabilized at the second preset rotation speed, and a third zero offset angle (t3-t4) is obtained.

Step 20122, controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero-position deviation angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed.

In the stage t4-t6 shown in fig. 5b, the rotation speed of the motor is first increased to a third preset rotation speed (t4-t5), and then is stabilized at the third preset rotation speed, and a fourth zero offset angle (t5-t6) is obtained.

Step 20123, controlling the rotation speed of the motor to reach a fourth preset rotation speed, so as to obtain a fifth zero-position deviation angle of the motor rotor when the rotation speed of the motor is stabilized at the fourth preset rotation speed.

In the stage t6-t8 shown in fig. 5b, the rotation speed of the motor is first increased to a fourth preset rotation speed (t6-t7), and then is stabilized at the fourth preset rotation speed, and a fifth zero offset angle (t7-t8) is obtained.

For example, the first preset rotation speed is less than the second preset rotation speed, the second preset rotation speed is less than the third preset rotation speed, and the third preset rotation speed is less than the fourth preset rotation speed.

Illustratively, the operation of step 201 is repeated to obtain a plurality of null deviation angles of the rotor of the motor, and the preset rotation speed is gradually increased each time the operation is repeatedly performed, so as to simplify the measurement process and further improve the measurement accuracy through multiple measurements. Through the operations of step 201 and step 202, a total of 4 null-position deviation angles are obtained, then the four null-position deviation angles are averaged by 3, and the difference value between the factory-leaving null-position angle and the average value is obtained in step 204 and is used as an initial null-position deviation angle, so that the zero position of the motor is corrected.

It should be noted that the operation of repeating step 20113 times adopted in the present embodiment is an optimized number of times that can balance the cost and the measurement accuracy, which is determined according to experimental data. For the measurement with higher accuracy requirement, the number of measurements may be further increased, and the disclosure is not limited.

In summary, in the method for determining the zero position of the motor provided by the present disclosure, the rotation speed of the motor is controlled by the dragging device to reach at least one preset rotation speed, so as to obtain the first zero position deviation angle of the rotor of the motor when the rotation speed of the motor is stabilized at the at least one preset rotation speed, where the rotation speed values of the at least one preset rotation speed are different; determining a second zero-position deviation angle according to a first zero-position deviation angle of a motor rotor when the rotating speed of the motor is stabilized at least one preset rotating speed, and determining the zero position of the motor by combining the second zero-position deviation angle and a factory zero-position angle of the motor. The tested motor is fixed on the test bench, and the zero position of the motor is measured by the aid of the dragging device, so that the performance of the motor is improved, test operation is simplified, and cost is saved.

FIG. 7 is a block diagram illustrating an apparatus for determining a zero position of a motor in accordance with an exemplary embodiment. Referring to fig. 7, for implementing the embodiment described in any of fig. 2-6, the apparatus 700 includes:

the zero-position deviation angle obtaining module 710 obtains first zero-position deviation angles of the rotor of the motor when the rotation speeds of the motor are respectively stabilized at least one preset rotation speed by controlling the rotation speeds of the motor to respectively reach at least one preset rotation speed by using the dragging device, wherein the rotation speeds of at least one preset rotation speed are different.

The zero offset angle determining module 720 is configured to determine a second zero offset angle according to a first zero offset angle of the motor rotor when the rotation speed of the motor is respectively stabilized at a preset rotation speed.

And a zero position determining module 730, configured to determine a zero position of the motor by combining the second zero position deviation angle and the factory zero position angle of the motor.

FIG. 8 is a block diagram illustrating another motor zero position determination arrangement in accordance with an exemplary embodiment. Referring to fig. 8, the apparatus 700 further includes:

and the rotation speed control module 740 is configured to control the rotation speed of the motor to decrease to the initial rotation speed value after the second zero-position deviation angle is obtained.

FIG. 9 is a block diagram illustrating a null offset angle acquisition module in accordance with an exemplary embodiment. Referring to fig. 9, the null-offset-angle acquisition module 710 includes:

the zero-position deviation angle obtaining submodule 711 is configured to control the rotation speed of the motor to reach a first preset rotation speed by using the dragging device, so as to obtain a first zero-position deviation angle of the rotor of the motor when the rotation speed of the motor is stabilized at the first preset rotation speed.

And a repeated execution submodule 712, configured to repeatedly execute the step of controlling the rotation speed of the motor to reach the first preset rotation speed by using the dragging device, so as to obtain the first zero-position deviation angle of the motor rotor when the rotation speed of the motor is stabilized at the first preset rotation speed, so as to obtain the zero-position deviation angles of the motor rotor at multiple first preset rotation speeds.

Wherein, the rotating speed values of the first preset rotating speeds are different when repeatedly executing each time.

FIG. 10 is a block diagram illustrating a zero offset angle acquisition sub-module in accordance with an exemplary embodiment. Referring to fig. 10, the null-offset-angle acquisition submodule 711 includes:

and the rotating speed control submodule 7111 is used for controlling the rotating speed of the motor to reach a first preset rotating speed by using the dragging device.

And the voltage obtaining submodule 7112 is used for obtaining a first direct-axis voltage and a first quadrature-axis voltage of the motor when the rotating speed of the motor is stabilized at a first preset rotating speed.

And an angle determining submodule 7113, configured to determine a first null-offset angle according to the first direct-axis voltage and the first quadrature-axis voltage.

An angle writing submodule 7114 is used to write the first null angle into the control program for the motor.

Optionally, the sub-module 712 is repeatedly executed to:

controlling the rotating speed of the motor to reach a second preset rotating speed so as to obtain a third zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the second preset rotating speed;

controlling the rotating speed of the motor to reach a third preset rotating speed so as to obtain a fourth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the third preset rotating speed;

and controlling the rotating speed of the motor to reach a fourth preset rotating speed so as to obtain a fifth zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at the fourth preset rotating speed.

Optionally, the first preset rotation speed is less than the second preset rotation speed, the second preset rotation speed is less than the third preset rotation speed, and the third preset rotation speed is less than the fourth preset rotation speed.

Optionally, the null-offset angle determination module 720 is configured to:

taking the average value of the first zero offset angle of the motor rotor when the rotating speed of the motor is stabilized at a preset rotating speed respectively as a second zero offset angle;

a zero determination module 730 configured to:

and taking the difference value of the factory zero position angle and the second zero position deviation angle as the zero position of the motor.

In summary, the device for determining the zero position of the motor provided by the present disclosure obtains the first zero offset angle of the rotor of the motor when the rotation speed of the motor is respectively stabilized at the at least one preset rotation speed by controlling the rotation speed of the motor to respectively reach the at least one preset rotation speed by using the dragging device, where the rotation speed values of the at least one preset rotation speed are different; determining a second zero-position deviation angle according to a first zero-position deviation angle of a motor rotor when the rotating speed of the motor is stabilized at least one preset rotating speed, and determining the zero position of the motor by combining the second zero-position deviation angle and a factory zero-position angle of the motor. The tested motor is fixed on the test bench, and the zero position of the motor is measured by the aid of the dragging device, so that the performance of the motor is improved, test operation is simplified, and cost is saved.

With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.

It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.

In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种行程限位控制电路及一种减速机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!