Motor control device

文档序号:790070 发布日期:2021-04-09 浏览:24次 中文

阅读说明:本技术 马达控制装置 (Motor control device ) 是由 高桥友哉 河村光 于 2019-08-29 设计创作,主要内容包括:本发明涉及马达控制装置。马达控制装置(10)具备:旋转控制部(163),通过供电使无刷马达(100)的转子(105)旋转;旋转方向判定部(164),判定伴随基于旋转控制部(163)的向无刷马达(100)的供电的转子(105)的旋转方向;以及磁极判别部(165),根据通过基于旋转控制部(163)的向无刷马达(100)的供电而流过各线圈(101)~(103)的电流的方向、和由旋转方向判定部(164)判定出的转子(105)的旋转方向,来判别转子(105)的磁极。(The present invention relates to a motor control device. A motor control device (10) is provided with: a rotation control unit (163) that rotates the rotor (105) of the brushless motor (100) by supplying power; a rotation direction determination unit (164) that determines the rotation direction of the rotor (105) that accompanies power supply to the brushless motor (100) by the rotation control unit (163); and a magnetic pole determination unit (165) that determines the magnetic pole of the rotor (105) on the basis of the direction of the current flowing through each of the coils (101) - (103) by the power supply to the brushless motor (100) by the rotation control unit (163) and the direction of rotation of the rotor (105) determined by the direction of rotation determination unit (164).)

1. A motor control device is provided with:

a rotation control unit configured to rotate a rotor of the brushless motor by supplying power;

a rotation direction determination unit configured to determine a rotation direction of the rotor in accordance with power supply to the brushless motor by the rotation control unit; and

and a magnetic pole determination unit configured to determine a magnetic pole of the rotor based on a direction of a current flowing through a coil of the brushless motor by power supply to the brushless motor by the rotation control unit and the rotation direction of the rotor determined by the rotation direction determination unit.

2. The motor control apparatus according to claim 1,

the motor control device is provided with an error determination unit,

when an axis estimated as the d-axis in the rotational coordinates of the vector control is set as the estimated d-axis,

the error determination unit determines whether or not an error between an actual d-axis direction of the rotational coordinate, that is, an actual d-axis direction and the estimated d-axis direction is included in a predetermined magnetic pole determination allowable range,

the rotation control portion rotates the rotor by supplying power to the brushless motor when a determination is made by the error determination portion that the error is included in the magnetic pole determination allowable range,

the magnetic pole determination unit determines the magnetic pole of the rotor based on a direction of a current flowing through the coil by the power supply to the brushless motor by the rotation control unit in a situation where the error determination unit makes a determination that the error is included in the magnetic pole determination allowable range, and the rotational direction of the rotor determined by the rotational direction determination unit.

3. The motor control device according to claim 1 or 2,

the motor control device is provided with a rotation coordinate setting part,

when an axis estimated as the d-axis in the rotational coordinates of the vector control is set as the estimated d-axis,

the rotational coordinate setting unit executes post-correction processing in which the direction of the estimated d-axis is corrected so that the direction of the estimated d-axis approaches an actual d-axis of the rotational coordinate, that is, the direction of the actual d-axis, after the rotor is rotated by the power supply to the brushless motor by the rotation control unit.

4. The motor control apparatus according to claim 3,

the rotation direction determination unit determines the rotation direction of the rotor based on information obtained by the post-correction process executed by the rotation coordinate setting unit.

5. The motor control device according to claim 3 or 4,

the rotation coordinate setting unit executes a pre-correction process in which the direction of the estimated d-axis is corrected so that the direction of the estimated d-axis approaches the direction of the actual d-axis before the rotor is rotated by the power supply to the brushless motor by the rotation control unit,

the rotation direction determination unit determines the rotation direction of the rotor based on information obtained by the rotational coordinate setting unit executing the pre-correction process and information obtained by the rotational coordinate setting unit executing the post-correction process.

6. The motor control device according to any one of claims 1 to 5,

when the amount of rotation of the rotor accompanying the power supply to the brushless motor is equal to or less than a predetermined amount, the rotation control unit supplies power to the brushless motor so as to rotate the rotor in the opposite direction, thereby rotating the rotor.

7. The motor control device according to any one of claims 1 to 6,

the rotation control unit rotates the rotor by increasing power supply to the brushless motor when a rotation amount of the rotor accompanying power supply to the brushless motor is a predetermined amount or less.

Technical Field

The present invention relates to a motor control device for controlling a brushless motor having saliency.

Background

Patent document 1 describes an example of a motor control device for determining magnetic poles of a rotor of a brushless motor having a salient polarity. In the control device, when an axis estimated as a d-axis in a rotation coordinate of the vector control is an estimated d-axis and an axis orthogonal to the estimated d-axis is an estimated q-axis, a voltage in a forward direction is applied in a direction of the estimated d-axis, and a first d-axis current component, which is a current component flowing in the direction of the estimated d-axis, is acquired. After the first d-axis current component is obtained, a negative voltage is applied in the estimated d-axis direction, and a second d-axis current component, which is a current component flowing in the estimated d-axis direction, is obtained. Then, the magnetic pole of the rotor is determined based on a comparison between the inductance in the estimated d-axis direction estimated from the magnitude of the first d-axis current component and the inductance in the estimated d-axis direction estimated from the magnitude of the second d-axis current component.

Patent document 1: japanese patent laid-open No. 2014-11822

When the magnetic poles of the rotor are discriminated, it is required to shorten the time required for the discrimination.

Disclosure of Invention

The motor control device for solving the above problems includes: a rotation control unit configured to rotate a rotor of the brushless motor by supplying power; a rotation direction determination unit that determines a rotation direction of the rotor in accordance with power supply to the brushless motor by the rotation control unit; and a magnetic pole determination unit that determines the magnetic pole of the rotor based on the direction of the current flowing through the coil of the brushless motor by the power supply to the brushless motor by the rotation control unit and the rotation direction of the rotor determined by the rotation direction determination unit.

The relationship between the direction of the current flowing through the coil of the brushless motor and the rotational direction of the rotor accompanying the power supply to the brushless motor changes depending on the magnetic pole of the rotor. According to the above configuration, the rotor is rotated by supplying power to the brushless motor. The magnetic poles of the rotor are determined based on the direction of the current flowing through the coils of the brushless motor by the power supply and the result of determination of the rotational direction of the rotor in accordance with the power supply to the brushless motor. In the determination of the magnetic pole, after the current in one direction is caused to flow through the coil, the current in the other direction may not be caused to flow through the coil. Therefore, the time required for determining the magnetic poles of the rotor can be shortened.

Drawings

Fig. 1 is a schematic configuration diagram showing a motor control device according to an embodiment and a brushless motor controlled by the motor control device.

Fig. 2 is a graph showing transition of the estimated q-axis high-frequency current when the control axis is continuously changed on the rotational coordinates of the vector control.

Fig. 3 (a) is a graph showing the disturbance voltage signal, and (b) is a graph showing the pulse signal.

Fig. 4 is a flowchart illustrating a processing procedure executed when the magnetic pole of the rotor is discriminated.

Fig. 5 is a schematic diagram showing a case where the phase difference changes by execution of the rotation processing.

Fig. 6 is a block diagram showing an arithmetic circuit for calculating the estimated rotor speed.

Detailed Description

Hereinafter, an embodiment of the motor control device will be described with reference to fig. 1 to 5.

Fig. 1 illustrates a motor control device 10 according to the present embodiment and a brushless motor 100 controlled by the motor control device 10. The brushless motor 100 is used as a power source for discharging brake fluid in a vehicle-mounted brake device. The brushless motor 100 is a permanent magnet built-in type synchronous motor. The brushless motor 100 includes coils 101, 102, 103 of a plurality of phases (U-phase, V-phase, and W-phase) and a rotor 105 having a salient polarity. The rotor 105 may be, for example, a two-pole rotor in which the N-pole and S-pole are magnetized.

The motor control device 10 drives the brushless motor 100 by vector control. The motor control device 10 includes a command current calculation unit 11, a command voltage calculation unit 12, a two-phase/three-phase conversion unit 13, an inverter 14, a three-phase/two-phase conversion unit 15, and a rotor position estimation unit 16.

The command current calculation unit 11 calculates a d-axis command current Id and a q-axis command current Iq based on a required torque TR for the brushless motor 100. The d-axis command current Id is a command value of a current component in the d-axis direction in the rotation coordinate of the vector control. The q-axis command current Iq is a command value of a current component in the q-axis direction in the rotation coordinate. The d-axis and the q-axis are orthogonal to each other in the rotational coordinate.

The command voltage calculation unit 12 calculates the d-axis command voltage Vd by feedback control based on the d-axis command current Id and the d-axis current Id. The d-axis current Id is a value representing a current component in the direction of the estimated d-axis in a current vector generated on the rotation coordinate by supplying power to each of the coils 101 to 103 of the brushless motor 100. Further, the command voltage calculation unit 12 calculates the q-axis command voltage Vq by feedback control based on the q-axis command current Iq and the q-axis current Iq. The q-axis current Iq is a value representing a current component in the direction of the estimated q-axis in the current vector generated on the rotation coordinate by the power supply to each coil 101-103.

The estimated d-axis is an axis estimated as the d-axis from among control axes on the rotation coordinates of the vector control. The actual d-axis on the rotation coordinate is referred to as the actual d-axis. The actual q-axis on the rotation coordinate is referred to as an actual q-axis, and the axis estimated as the q-axis among the control axes on the rotation coordinate is referred to as an estimated q-axis.

Two-phase/three-phase converter 13 converts d-axis command voltage Vd and q-axis command voltage Vq into U-phase command voltage VU, V-phase command voltage VV, and W-phase command voltage VW, in accordance with the position (i.e., the rotation angle) of rotor 105, i.e., rotor rotation angle θ. The U-phase command voltage VU is a command value of a voltage applied to the U-phase coil 101. The V-phase command voltage VV is a command value of a voltage applied to the V-phase coil 102. W-phase command voltage VW is a command value of a voltage applied to W-phase coil 103.

The inverter 14 has a plurality of switching elements. Inverter 14 generates a U-phase signal by U-phase command voltage VU input from two-phase/three-phase converter 13 and the on/off operation of the switching elements. The inverter 14 generates a V-phase signal by the input V-phase command voltage VV and the on/off operation of the switching element. Inverter 14 generates a W-phase signal by the input W-phase command voltage VW and the on/off operation of the switching element. Then, the U-phase signal is input to the U-phase coil 101, the V-phase signal is input to the V-phase coil 102, and the W-phase signal is input to the W-phase coil 103 of the brushless motor 100.

The three-phase/two-phase converter 15 receives a U-phase current IU, which is a current flowing through the U-phase coil 101 of the brushless motor 100, a V-phase current IV, which is a current flowing through the V-phase coil 102, and a W-phase current IW, which is a current flowing through the W-phase coil 103. Then, the three-phase/two-phase converter 15 converts the U-phase current IU, the V-phase current IV, and the W-phase current IW into a d-axis current component, i.e., a d-axis current Id, and a q-axis current Iq, i.e., a q-axis current Iq, in accordance with the rotor rotation angle θ.

The rotor position estimating unit 16 estimates a rotor rotation angle θ. The rotor position estimating unit 16 includes, as functional units, an ac voltage generating unit 161, a control axis correcting unit 162, a rotation control unit 163, a rotation direction determining unit 164, and a magnetic pole determining unit 165.

When the estimated d-axis direction is brought closer to the actual d-axis direction, the ac voltage generating unit 161 generates the disturbance voltage signal Vdh that oscillates a voltage at a high frequency, as shown in fig. 3 (a), and executes disturbance output processing for outputting the disturbance voltage signal Vdh to the first adder 17. When the disturbance output process is executed by the ac voltage generation unit 161, the disturbance voltage signal Vdh is added to the d-axis command voltage Vd calculated by the command voltage calculation unit 12, and the added d-axis command voltage Vd is input to the two-phase/three-phase conversion unit 13.

Returning to fig. 1, when the ac voltage generating unit 161 executes the disturbance output process, the control axis correcting unit 162 executes a process for correcting the direction of the estimated d-axis so that the direction of the estimated d-axis substantially coincides with the direction of the actual d-axis. The control axis correcting unit 162 includes a rotational coordinate setting unit 162a and an error determining unit 162 b.

The rotational coordinate setting unit 162a executes correction processing for correcting the estimated d-axis direction and bringing the estimated d-axis direction close to the actual d-axis direction. That is, the rotational coordinate setting unit 162a detects a high-frequency component of the q-axis current Iq, that is, the estimated q-axis high-frequency current Iqh by passing the q-axis current Iq input from the three-phase/two-phase conversion unit 15 through a band-pass filter in the correction process. The control axis correcting unit 162 corrects the direction of the control axis, that is, the direction of the estimated d axis and the direction of the estimated q axis, using the detected estimated q axis high-frequency current Iqh in the correction process.

An example of the correction process will be described with reference to fig. 2. The solid line in fig. 2 is a transition of the estimated q-axis high-frequency current Iqh when the direction of the control axis is continuously changed. When the disturbance output process is executed, a voltage vector based on the disturbance voltage signal Vdh is generated on the estimated d-axis. Accordingly, since the rotor 105 of the brushless motor 100 has a saliency, a current vector deviating from the direction of the estimated d-axis toward the actual d-axis side is generated in the rotation coordinate. The current component in the estimated q-axis direction in the current vector corresponds to the estimated q-axis high-frequency current Iqh. Therefore, the estimated q-axis high-frequency current Iqh can be said to be a value obtained by digitizing a current vector in the direction of the estimated q-axis. That is, the absolute value of the estimated q-axis high-frequency current Iqh corresponds to the magnitude of the current component in the direction of the estimated q-axis. The positive and negative of the estimated q-axis high-frequency current Iqh indicate the direction of the current component flowing in the estimated q-axis direction, that is, the positive direction or the negative direction. In the present embodiment, when the q-axis high-frequency current Iqh is estimated to be a positive value, the direction of the current component in the direction of the d-axis is estimated to be the forward direction. On the other hand, when the q-axis high-frequency current Iqh is estimated to be a negative value, the direction of the current component in the direction of the d-axis is estimated to be a negative direction.

In fig. 2, the phase difference Δ θ is a phase difference between the actual d-axis direction and the estimated d-axis direction. Specifically, a value obtained by subtracting the actual d-axis direction from the estimated d-axis direction becomes the phase difference Δ θ.

As shown in fig. 2, in the correction process, when the detected estimated q-axis high-frequency current Iqh is a positive value, the rotational coordinate setting unit 162a corrects the direction of the estimated d-axis to a direction that advances the direction of the estimated d-axis, that is, the first direction C1 in the drawing, because the current component in the direction of the estimated d-axis is a positive direction. On the other hand, in the correction process, when the detected estimated q-axis high-frequency current Iqh has a negative value, the rotational coordinate setting unit 162a corrects the estimated d-axis direction to a direction that lags behind the estimated d-axis direction, i.e., the second direction C2 in the drawing, because the current component in the estimated d-axis direction is negative.

When the error between the actual d-axis direction and the estimated d-axis direction is defined as a d-axis error, the error determination unit 162b determines whether or not the d-axis error is included in a predetermined magnetic pole determination allowable range. For example, when the absolute value of the estimated q-axis high-frequency current Iqh is greater than the predetermined threshold IqhTh, the error determination unit 162b does not make a determination that the d-axis error is included in the magnetic pole determination allowable range because it can be determined that the magnitude of the current component in the estimated q-axis direction in the current vector generated on the rotation coordinate is greater than the threshold IqhTh. On the other hand, when the absolute value of the estimated q-axis high-frequency current Iqh is equal to or less than the threshold IqhTh, the error determination unit 162b can determine that the magnitude of the current component in the estimated q-axis direction in the current vector generated on the rotational coordinates is equal to or less than the threshold IqhTh, and therefore determines that the d-axis error is included in the magnetic pole determination allowable range. When a determination is made that the d-axis error is included in the magnetic pole determination allowable range, the phase difference Δ θ is a value close to "0 °" or a value close to "180 °".

When the error determination unit 162b determines that the d-axis error is included in the magnetic pole determination allowable range, the rotational coordinate setting unit 162a ends the correction process.

The correction processing executed in the present embodiment is processing using the saliency of the rotor 105, and the direction of the magnetic pole of the rotor 105 cannot be determined. Therefore, at the end of the correction process, the direction of the N pole of the rotor 105 may be shifted by "180 °.

Returning to fig. 1, the rotation control unit 163 executes a rotation process of rotating the rotor 105 by the power supply. That is, in the rotation process, the rotation control unit 163 outputs a pulse signal Iq'. indicated in fig. 3 (b) to the second adder 18 so as to generate a current vector in the direction of the estimated q-axis. When the rotation control unit 163 executes the rotation processing, the pulse signal Iq' is added to the q-axis command current Iq calculated by the command current calculation unit 11, and the added q-axis command current Iq is input to the command voltage calculation unit 12. As a result, by performing the rotation processing, the rotor 105 rotates in a direction corresponding to the direction of the current vector generated in the direction of the estimated q-axis.

In the rotation processing in the present embodiment, the rotor 105 is rotated by adding the pulse signal Iq 'to the q-axis command current Iq'. However, the present invention is not limited to this, and the rotation process may be performed by adding a signal to the required torque TR or the q-axis command voltage Vq instead of the q-axis command current Iq to rotate the rotor 105.

Returning to fig. 1, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 accompanying the rotation process performed by the rotation control unit 163, that is, the power supply to the brushless motor 100 by the rotation control unit 163.

The magnetic pole determination unit 165 performs a magnetic pole determination process for determining the magnetic pole of the rotor 105 based on the direction of the current of the pulse signal Iq' generated by the rotation control unit 163 performing the rotation process and the rotation direction of the rotor 105 determined by the rotation direction determination unit 164. There is a correlation between the direction (i.e., positive or negative) of the current of the pulse signal Iq' generated by the rotation processing and the direction of the current flowing through the coils 101 to 103 of the brushless motor 100 by the power supply to the brushless motor 100 by the rotation control section 163. Therefore, it can be said that the magnetic pole determination process is a process executed based on the direction of the current flowing through the coils 101 to 103 by the power supply to the brushless motor 100 by the rotation control unit 163 and the rotation direction of the rotor 105 determined by the rotation direction determination unit 164.

Next, a processing program executed by the rotor position estimating unit 16 will be described with reference to fig. 4 and 5. The present processing routine is executed when the brushless motor 100 starts to be driven.

In the present processing routine, first, in step S11, a prior correction process, which is one of the correction processes, is executed. The pre-correction process is a correction process performed before the rotor 105 is rotated by the power supply to the brushless motor 100 in association with the rotation process performed by the rotation control unit 163. Specifically, the rotational coordinate setting unit 162a instructs the ac voltage generator 161 to execute the disturbance output process before the start of the prior correction process. When the disturbance output process is started by this instruction and the disturbance voltage signal Vdh is input to the first adder 17, the rotational coordinate setting unit 162a starts the pre-correction process. When the error determination unit 162b determines that the d-axis error is included in the magnetic pole determination allowable range, the rotational coordinate setting unit 162a ends the pre-rotation process and instructs the ac voltage generation unit 161 to stop the disturbance output process. The voltage disturbing signals Vdh are not input to the first adder 17, and the process proceeds to the next step S12.

In step S12, the rotation control unit 163 executes a first rotation process, which is one of the rotation processes. That is, in the first rotation process, the rotation control unit 163 generates the pulse signal Iq 'in which the direction of the current is the positive direction, and outputs the pulse signal Iq' to the second adder 18, thereby rotating the rotor 105.

Next, in step S13, post correction processing, which is one of the correction processing, is executed. The post correction processing is a correction processing executed after the rotor 105 is rotated by the power supply to the brushless motor 100 in association with the rotation processing executed by the rotation control unit 163. That is, the rotational coordinate setting unit 162a instructs the ac voltage generator 161 to execute the disturbance output process before the post-correction process is started. When the disturbance output process is started by this instruction and the disturbance voltage signal Vdh is input to the first adder 17, the rotational coordinate setting unit 162a starts the post correction process. When the error determination unit 162b determines that the d-axis error is included in the magnetic pole determination allowable range, the rotational coordinate setting unit 162a ends the post correction process and instructs the ac voltage generation unit 161 to stop the disturbance output process. The voltage disturbing signals Vdh are not input to the first adder 17, and the process proceeds to the next step S14.

In step S14, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 and calculates the rotation amount Rmt of the rotor 105, which are associated with the execution of the first rotation process. That is, before the first rotation process is performed, as shown by the blank squares in fig. 5, when the phase difference Δ θ is substantially "0 °", the direction of the actual d-axis changes to the advance angle side by the rotation of the rotor 105 when the first rotation process is performed. As a result, the phase difference Δ θ becomes smaller as shown by the black squares in fig. 5. In this case, when the post correction processing is executed, it is estimated that the q-axis high-frequency current Iqh changes from a positive value to "0". That is, at the start of the post-correction process, it is estimated that the direction of the current component in the direction of the d-axis is the forward direction.

On the other hand, before the first rotation process is performed, if the first rotation process is performed when the phase difference Δ θ is substantially "180 °" as shown by a blank circle in fig. 5, the actual d-axis direction is rotated to the retard side by the rotation of the rotor 105. As a result, the phase difference Δ θ becomes large as indicated by the black circles in fig. 5. In this case, when the post-correction processing is executed, it is estimated that the q-axis high-frequency current Iqh changes from a negative value toward "0". That is, at the start of the post-correction processing, the direction of the current component in the direction of the estimated d-axis is negative.

Therefore, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 associated with the execution of the first rotation process based on the correction direction of the control axis associated with the execution of the post-correction process. Specifically, when the correction direction of the control axis in accordance with the execution of the post-correction process is the second direction C2, which is the direction in which the phase difference Δ θ is reduced, the rotational direction determination unit 164 determines that the rotational direction of the rotor 105 in accordance with the execution of the first rotation process is the negative rotational direction. On the other hand, when the correction direction of the control axis accompanying the execution of the post correction process is the first direction C1, which is the direction in which the phase difference Δ θ increases, the rotational direction determination unit 164 determines that the rotational direction of the rotor 105 accompanying the execution of the first rotation process is the positive rotational direction. The positive rotational direction is the opposite direction of the negative rotational direction of the rotor 105. That is, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 based on the information obtained by the execution of the post-correction process, that is, the estimated change direction of the q-axis high-frequency current Iqh.

The rotation direction determination unit 164 calculates the rotation amount Rmt of the rotor 105 associated with the execution of the first rotation process, based on the absolute value of the estimated q-axis high-frequency current Iqh at the start of the post-correction process, that is, the magnitude of the current component in the estimated q-axis direction. Before the first rotation process is started, the q-axis high-frequency current Iqh is estimated to be substantially "0". When the rotor 105 is rotated by executing the first rotation processing from this state, the absolute value of the estimated q-axis high-frequency current Iqh gradually increases. That is, there is a correlation between the estimated q-axis high-frequency current Iqh after the post correction processing is started and the rotation amount Rmt of the rotor 105 accompanying the execution of the first rotation processing. Therefore, the rotation direction determination unit 164 calculates the rotation amount Rmt such that the larger the absolute value of the estimated q-axis high-frequency current Iqh at the time of starting the post-correction process, the larger the rotation amount Rmt of the rotor 105.

Then, in the next step S15, it is determined whether or not the calculated rotation amount Rmt is equal to or less than a predetermined amount RmtTh. The predetermined amount rmth is set to a value that can determine whether or not the rotation amount Rmt is small to determine the magnetic pole of the rotor 105. If it is determined that the rotation amount Rmt is equal to or less than the predetermined amount RmtTh (no in S15), it can be determined that the rotor 105 has been sufficiently rotated by executing the first rotation process, and the process proceeds to step S19, which will be described later. On the other hand, in the case where a determination is made that the rotation amount Rmt is the predetermined amount RmtTh or less (S15: yes), the process moves to the next step S16.

In step S16, the rotation control unit 163 executes a second rotation process, which is one of the rotation processes. The second rotation process is a process of rotating the rotor 105 in the direction opposite to the direction in which the first rotation process is performed. That is, in the second rotation process, the rotation control unit 163 generates the pulse signal Iq 'in which the direction of the current is negative, and outputs the pulse signal Iq' to the second adder 18, thereby rotating the rotor 105. In the present embodiment, when rotation amount Rmt of rotor 105 accompanying execution of the first rotation process is equal to or less than predetermined amount RmtTh, rotation control unit 163 supplies power to brushless motor 100 to rotate rotor 105 in the opposite direction, that is, executes the second rotation process, thereby rotating rotor 105.

Next, in step S17, the post correction processing is executed in the same manner as in step S13. Then, a determination is made that the d-axis error is included in the magnetic pole determination allowable range, the post-rotation processing is ended, and the voltage disturbance signal Vdh is not input to the first adder 17, and the processing proceeds to the next step S18.

In step S18, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 in accordance with the execution of the second rotation process. That is, when the second rotation process is executed before the second rotation process is performed and the phase difference Δ θ is substantially "0 °", the actual d-axis direction rotates to the retard side. As a result, the phase difference Δ θ becomes large. In this case, when the post-correction processing is executed, it is estimated that the q-axis high-frequency current Iqh changes from a negative value toward "0". That is, at the start of the post-correction process, the direction of the current in the direction of the estimated q-axis is negative.

On the other hand, when the second rotation process is executed before the second rotation process is executed, if the phase difference Δ θ is substantially "180 °, the actual d-axis direction is rotated to the advance side. As a result, the phase difference Δ θ becomes small. In this case, when the post correction processing is executed, it is estimated that the q-axis high-frequency current Iqh changes from a positive value to "0". That is, when the post correction process is started, the direction of the current in the direction of the d-axis is estimated to be the forward direction.

Therefore, the rotation direction determination unit 164 determines the rotation direction of the rotor 105 associated with the execution of the second rotation process based on the correction direction of the control axis associated with the execution of the post-correction process. Specifically, when the correction direction of the control axis accompanying the execution of the post-correction process is the first direction C1 in which the phase difference Δ θ increases, the rotational direction determination unit 164 determines that the rotational direction of the rotor 105 accompanying the execution of the second rotation process is the positive rotational direction. On the other hand, when the correction direction of the control axis accompanying the execution of the post-correction process is the second direction C2 in which the phase difference Δ θ is reduced, the rotational direction determination unit 164 determines that the rotational direction of the rotor 105 accompanying the execution of the second rotation process is the negative rotational direction. When the determination of the rotation direction of the rotor 105 is completed, the process proceeds to the next step S19.

In step S19, the magnetic pole determination unit 165 executes magnetic pole determination processing. That is, in the magnetic pole determination process, when it is determined that the rotation direction of the rotor 105 accompanying the execution of the first rotation process is the positive rotation direction, the phase difference Δ θ is substantially "0 °", and the magnetic pole determination unit 165 determines that the estimated position of the N pole of the rotor 105 matches the actual position of the N pole. On the other hand, in the magnetic pole determination process, when it is determined that the rotation direction of the rotor 105 accompanying the execution of the first rotation process is the negative rotation direction, the phase difference Δ θ is substantially "180 °, and the magnetic pole determination unit 165 determines that the estimated position of the N pole of the rotor 105 is opposite to the actual position of the N pole.

In the magnetic pole determination process, when it is determined that the rotation direction of the rotor 105 accompanying the execution of the second rotation process is the negative rotation direction, the phase difference Δ θ is substantially "0 °", and the magnetic pole determination unit 165 determines that the estimated position of the N pole of the rotor 105 matches the actual position of the N pole. On the other hand, in the magnetic pole determination process, when it is determined that the rotation direction of the rotor 105 accompanying the execution of the second rotation process is the positive rotation direction, the phase difference Δ θ is substantially "180 °, and the magnetic pole determination unit 165 determines that the estimated position of the N pole of the rotor 105 is opposite to the actual position of the N pole.

When the execution of the magnetic pole determination process is finished, the present processing routine is finished.

Next, the operation and effect of the present embodiment will be described.

When the start of driving brushless motor 100 is instructed, the advance correction process is executed, and phase difference Δ θ between the actual d-axis direction and the estimated d-axis direction is substantially "0 °" or substantially "180 °". Then, since a determination is made that the d-axis error is included in the magnetic pole determination allowable range, the first rotation process is performed. That is, the brushless motor 100 is supplied with power so that a forward current vector is generated in the direction of the estimated q-axis. Then, the rotor 105 rotates in a direction corresponding to the phase difference Δ θ at that time and the forward voltage.

As shown by the blank squares in fig. 5, when the first rotation process is executed in the case where the phase difference Δ θ becomes substantially "0 °" by the prior correction process, the phase difference Δ θ becomes small by the rotation of the rotor 105. That is, it is estimated that the q-axis high-frequency current Iqh changes to the positive side. On the other hand, as indicated by the blank circles in fig. 5, when the first rotation process is executed in the case where the phase difference Δ θ becomes substantially "180 ° by the prior correction process, the phase difference Δ θ becomes large by the rotation of the rotor 105. That is, the q-axis high-frequency current Iqh is estimated to change to the negative side.

That is, when the rotor 105 is rotated by executing the first rotation process, the rotation direction thereof corresponds to the phase difference Δ θ before the first rotation process is executed.

Then, when the first rotation process is finished, the post correction process is executed. When the phase difference Δ θ becomes substantially "0 °" by the pre-correction processing, the direction of the estimated d-axis is corrected so that the phase difference Δ θ approaches "0 °" by performing the post-correction processing. At this time, the estimated q-axis high-frequency current Iqh changes from a positive value toward "0". On the other hand, when the phase difference Δ θ becomes substantially "180 °" by the pre-correction processing, the direction of the estimated d-axis is corrected so that the phase difference Δ θ approaches "180 °" by performing the post-correction processing. At this time, it is estimated that the q-axis high-frequency current Iqh changes from a negative value toward "0".

During execution of the post-correction process, the direction of the current component in the direction of the estimated d-axis until the estimated q-axis high-frequency current Iqh becomes "0" is correlated with the rotation direction of the rotor 105 accompanying execution of the first rotation process. Therefore, in the present embodiment, the change in the estimated q-axis high-frequency current Iqh during execution of the post-correction process is monitored, whereby the rotation direction of the rotor 105 based on execution of the first rotation process can be determined.

Therefore, in the present embodiment, the magnetic poles of the rotor 105 are determined based on the direction of the current flowing through the coils 101 to 103 by the first rotation processing, that is, the direction of the current of the pulse signal Iq'. based on the first rotation processing, and the rotation direction of the rotor 105 based on the first rotation processing.

If the rotor 105 can be sufficiently rotated when the positive pulse signal Iq 'is caused to flow in the direction of the estimated q-axis, the magnetic pole of the rotor 105 can be determined without causing the negative pulse signal Iq' to flow in the direction of the estimated q-axis. That is, when the rotation amount Rmt of the rotor 105 accompanying the execution of the first rotation process is larger than the predetermined amount RmtTh, the magnetic pole of the rotor 105 can be determined without executing the second rotation process. Therefore, the time required for determining the magnetic poles of the rotor 105 can be shortened.

The method for determining the magnetic poles of the rotor 105 described in "japanese patent application laid-open No. 2014-11822" is used as the determination method of the comparative example. In the case where the magnetic pole of the rotor 105 is determined based on the comparison between the estimated inductance in the positive direction of the d-axis and the estimated inductance in the negative direction of the d-axis as in the determination method of the comparative example, it is necessary to flow a large current through each of the coils 101 to 103 in order to clarify the magnitude relationship of each inductance. In this respect, in the present embodiment, the magnetic poles of the rotor 105 are determined by passing a current through each of the coils 101 to 103 to such an extent that the rotor 105 can be rotated. In this case, the magnitude of the current flowing through each of the coils 101 to 103 can be smaller than in the case of the discrimination method of the comparative example. Therefore, compared to the case where the magnetic poles of the rotor 105 are determined by the determination method of the comparative example, the power consumption required for the determination can be reduced.

In addition, in the present embodiment, the following effects can be further obtained.

(1) It is assumed that the rotation process is performed without performing the prior correction process. In this case, the rotation process may be executed in a state where the phase difference Δ θ is "90 °" or in a state where the phase difference Δ θ is "-90 °. In this case, even if the pulse signal Iq' is input in the direction of the estimated q axis, the rotor 105 cannot be rotated. If the rotor 105 cannot be rotated in this way, the magnetic poles of the rotor 105 cannot be determined. In this regard, in the present embodiment, the rotation process is executed after the advance correction process is executed. As a result, the rotation process can be executed in a state where the phase difference Δ θ is substantially "0 °" or in a state where the phase difference Δ θ is substantially "180 °. Therefore, the occurrence of a phenomenon in which the rotor 105 does not rotate when the rotation process is performed can be suppressed.

In order to improve the accuracy of determining the magnetic poles of the rotor 105, it is preferable that the rotation amount Rmt of the rotor 105 be larger than the predetermined amount RmtTh. When the d-axis error is a value outside the magnetic pole determination allowable range, a relatively large pulse signal Iq' needs to be input in the direction of the estimated q-axis in order to increase the rotation amount Rmt more than the predetermined amount rmttth. In this respect, in the present embodiment, the rotation process is performed after the d-axis error is set to a value within the magnetic pole determination allowable range by performing the prior correction process. When the d-axis error is included in the magnetic pole determination allowable range, the q-axis error, which is an error between the estimated q-axis direction and the actual q-axis direction, is included in a predetermined range. That is, it can be determined that the q-axis error is small. Therefore, the rotor 105 can be rotated with a relatively small current. The q-axis error described here is the same value as the d-axis error.

(2) After the rotation processing is executed, the direction of the estimated d-axis is corrected by executing post correction processing so that the estimated q-axis high-frequency current Iqh becomes substantially "0". Therefore, the motor control can be performed later with the phase difference Δ θ as small as possible.

(3) Even if power is supplied to brushless motor 100 to rotate rotor 105 in one of the positive rotation direction and the negative rotation direction, rotor 105 may not be substantially rotated if a load applied to brushless motor 100 is large at this time. That is, even if the first rotation process is executed, if the load applied to brushless motor 100 is large, rotation amount Rmt of rotor 105 may not be larger than predetermined amount RmtTh. In this case, when the rotational direction of the rotor 105 is determined based on the information obtained by executing the first rotation process, the determination accuracy is low, and the magnetic poles of the rotor 105 may not be accurately determined.

In this respect, in the present embodiment, the second rotation process is executed when the rotation amount Rmt of the rotor 105 is not more than the predetermined amount RmtTh even if the first rotation process is executed. In the second rotation process, power is supplied to the brushless motor 100 to rotate the rotor 105 in the other of the positive rotation direction and the negative rotation direction. When the rotation amount Rmt of the rotor 105 accompanying the execution of the second rotation process is greater than the predetermined amount RmtTh, it can be determined that the determination accuracy of the rotation direction of the rotor 105 can be sufficiently ensured. Therefore, at the time of the second rotation process, the magnetic pole of the rotor 105 is determined from the positive and negative directions of the pulse signal Iq' ″ input to the estimated q-axis direction and the rotation direction of the rotor 105 based on the execution of the second rotation process. This can suppress a decrease in the determination accuracy of the magnetic pole.

(4) In the present embodiment, the rotational direction of the rotor 105 is determined based on information obtained during execution of the post-correction process. Therefore, the process for determining the rotational direction of the rotor 105 may not be provided separately from the post correction process, and the time required for determining the magnetic poles of the rotor 105 can be suppressed from increasing.

The above embodiment can be modified and implemented as follows. The above-described embodiment and the following modifications can be combined with each other within a range not technically contradictory to the technology.

In the processing routine shown in fig. 4, when the rotation amount Rmt of the rotor 105 accompanying the execution of the first rotation process is equal to or less than the predetermined amount RmtTh (S15: yes), the second rotation process may be executed after the pre-correction process is executed again.

Even if the rotation amount Rmt of the rotor 105 accompanying the execution of the first rotation process is equal to or less than the predetermined amount RmtTh, the second rotation process may not be executed. In this case, for example, the first rotation process may be repeated a plurality of times. Specifically, when the rotation amount Rmt of the rotor 105 is equal to or less than the predetermined amount RmtTh even when the first rotation process is executed for the first time, the pulse signal Iq 'having a current level larger than the pulse signal Iq' at the time of executing the first rotation process for the second time may be input in the direction of the estimated q axis. When the rotation amount Rmt of the rotor 105 accompanying the execution of the second first rotation process is greater than the predetermined amount RmtTh, the magnetic pole determination process is executed. On the other hand, when the rotation amount Rmt of the rotor 105 accompanying the execution of the second first rotation process is equal to or less than the predetermined amount RmtTh, the third first rotation process is executed. In the third rotation processing, a pulse signal Iq 'having a current level larger than that of the pulse signal Iq' at the time of execution of the second rotation processing is input to the estimated q-axis direction.

When the rotation amount Rmt of the rotor 105 accompanying the execution of the second rotation process is equal to or less than the predetermined amount RmtTh, the second rotation process may be executed again in which the pulse signal Iq 'having a current level greater than that of the pulse signal Iq' at the execution of the second rotation process is input to the estimated q-axis direction. In this way, when the second rotation process is executed again and the rotation amount Rmt of the rotor 105 is larger than the predetermined amount RmtTh, the rotation direction of the rotor 105 accompanying the execution of the second rotation process may be determined using information at that time.

In the above-described embodiment, the change direction of the estimated q-axis high-frequency current Iqh based on the execution of the post-correction process is acquired as information obtained by executing the post-correction process, and the rotation direction of the rotor 105 accompanying the execution of the rotation process is determined based on the information. The rotation direction of the rotor 105 may be determined based on other information. For example, the direction of the current component in the estimated d-axis direction at the start of the post-correction process, that is, the positive or negative of the estimated q-axis high-frequency current Iqh at the start of the post-correction process may be acquired as information obtained by executing the post-correction process, and the rotation direction of the rotor 105 in accordance with the execution of the rotation process may be determined based on the information.

The rotation direction determination unit 164 may determine the rotation direction of the rotor 105 based on information obtained by performing the pre-correction process and information obtained by performing the post-correction process. For example, the first estimated q-axis high-frequency current, which is the estimated q-axis high-frequency current Iqh at the end time of the prior correction processing, is acquired as information obtained by executing the prior correction processing. Further, the second estimated q-axis high-frequency current, which is the estimated q-axis high-frequency current Iqh at the start time of the post correction process, is acquired as information obtained by executing the post correction process. In this case, the rotation direction of the rotor 105 is determined based on the second estimated q-axis high-frequency current and the first estimated q-axis high-frequency current.

As another method, a first estimated rotor position, which is the position of the rotor 105 at the time of the end of the pre-correction process, may be acquired as information obtained by executing the pre-correction process, and a second estimated rotor position, which is the position of the rotor 105 at the time of the end of the post-correction process, may be acquired as information obtained by executing the post-correction process. In this case, the rotation direction of the rotor 105 can be determined by comparing the first estimated rotor position with the second estimated rotor position. As shown in fig. 6, the first arithmetic unit 31 can calculate the estimated rotor speed ω dc by proportional-integral arithmetic of the estimated q-axis high-frequency current Iqh, and the second arithmetic unit 32 can further calculate the estimated rotor position θ dc by integrating the estimated rotor speed ω dc.

The direction of change of the estimated q-axis high-frequency current Iqh during execution of the rotation process may be acquired, and the rotation direction of the rotor 105 accompanying execution of the rotation process may be determined based on the acquired direction of change. For example, when the estimated q-axis high-frequency current Iqh changes in a direction in which the estimated q-axis high-frequency current Iqh decreases during execution of the rotation process, it is determined that the rotor 105 is rotated in the normal rotation direction by execution of the rotation process. On the other hand, when the estimated q-axis high-frequency current Iqh changes in the direction in which the estimated q-axis high-frequency current Iqh increases during the execution of the rotation process, it is determined that the rotor 105 is rotated in the negative rotation direction by the execution of the rotation process.

The post-correction process may be a process having a different content from that described in the above embodiment as long as the estimated d-axis direction can be made closer to the actual d-axis direction.

The pre-correction process may be a process having a different content from that described in the above embodiment as long as the estimated d-axis direction can be made closer to the actual d-axis direction.

Before the rotation process is executed, the disturbance voltage signal Vdh is caused to flow in the direction of the estimated d-axis, and the estimated q-axis high-frequency current Iqh before the execution of the rotation process can be acquired as the estimated q-axis high-frequency current before the start. After the rotation process is executed, the disturbance voltage signal Vdh is caused to flow in the direction of the estimated d-axis, and the estimated q-axis high-frequency current Iqh after the execution of the rotation process can be acquired as the estimated q-axis high-frequency current after the end. Then, by comparing the estimated q-axis high-frequency current after the end with the estimated q-axis high-frequency current before the start, the rotation direction of the rotor 105 accompanying the execution of the rotation process can be determined. Therefore, when the rotational direction of the rotor 105 is determined by such a method, the execution of the prior correction process may be omitted.

A process for determining the rotation direction of the rotor may be newly provided between the rotation process and the post correction process.

The motor control device 10 may be configured as one or more dedicated hardware circuits such as one or more processors operating in accordance with a computer program (software), dedicated hardware (application specific integrated circuit: ASIC) for executing at least a part of various processes, or a circuit including a combination of these circuits. The processor includes a CPU and memories such as a RAM and a ROM, and the memories store program codes or instructions configured to cause the CPU to execute processing. Memory, i.e., storage media, includes all available media that can be accessed by a general purpose or special purpose computer.

The rotor 105 applied to the brushless motor 100 may be a four-pole rotor instead of a two-pole rotor.

The brushless motor to which the motor control device 10 is applied may be a power source of an actuator different from a brake device mounted on a vehicle.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电机控制方法、装置、可移动平台和存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!