Motor controller, and motor control method

The motor control device uses a counter to update phase voltage values and restart counting at specific times to enhance rotor position detection precision in brushless motors, overcoming sensor-related inaccuracies.

JP2024169834AInactive Publication Date: 2024-12-06MITSUBA CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023086615
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing rotor position detection circuits in brushless motors suffer from detection errors due to inaccuracies in the filter time constant of low-pass filters.

Method used

A motor control device that employs a counter to update maximum phase voltage values, track differences, and restart counting at predetermined times to accurately detect the rotational position of the rotor, eliminating the need for additional sensors.

Benefits of technology

Enables precise detection of the rotor's rotational position, allowing for accurate control of the brushless motor without sensor-related inaccuracies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024169834000001_ABST
    Figure 2024169834000001_ABST
Patent Text Reader

Abstract

To provide a motor controller and so forth each capable of detecting a rotational position of a rotor with high accuracy, and of using a detection result thereof for controlling a brushless motor.SOLUTION: A motor controller for controlling a brushless motor comprises a counter for counting time, and a counter control part for controlling the counter. The counter control part executes first processing of updating a maximum value of an absolute value of a phase voltage value, second processing of updating a maximum value of an absolute value of a difference between a phase voltage value when the maximum value is updated last in the first processing and a current phase voltage value, third processing of restarting the counter each time when the maximum value of the absolute value of the difference is updated in the second processing, and fourth processing of acquiring timing when a count value of the counter exceeds a predetermined value.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a motor control device and a motor control method. [Background technology]

[0002] Patent Document 1 discloses a rotor position detection circuit that detects the rotational position of the rotor based on the detection result of the induced voltage. This rotor position detection circuit uses a low-pass filter to filter the detection signal of the induced voltage, and detects the rotational position of the rotor by comparing the output signal of the low-pass filter with a reference voltage. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2008-17575 Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the rotor position detection circuit disclosed in Patent Document 1, errors in detection of the rotational position of the rotor occur due to errors in the filter time constant for each phase of the low-pass filter, etc.

[0005] The present invention has been made to solve the above problems, and has as its object to provide a motor control device or the like that can detect the rotational position of a rotor with high accuracy and that can utilize the detection results in controlling a brushless motor. [Means for solving the problem]

[0006] In order to solve the above problem, one aspect of the present invention is to A motor control device for controlling a brushless motor, A counter that counts time; a counter control unit that controls the counter; Equipped with The counter control unit a first process of updating the maximum absolute value of the phase voltage values; a second process for updating the maximum value of the absolute value of the difference between the phase voltage value when the maximum value was last updated in the first process and the current phase voltage value; a third process of restarting the counter every time the maximum value of the absolute values ​​of the differences is updated by the second process; a fourth process of acquiring the timing when the count value of the counter exceeds a predetermined value; A motor control device is provided that performs the above. [Effects of the Invention]

[0007] According to the present invention, it is possible to provide a motor control device or the like that can detect the rotational position of a rotor with high accuracy and that can utilize the detection results in controlling a brushless motor. [Brief explanation of the drawings]

[0008] [Figure 1] 1 is a diagram showing the configuration of a motor device including a motor control device according to an embodiment of the present invention; [Figure 2] 10 is a flowchart showing a main process. [Figure 3] 10 is a flowchart showing an upward counter control process. [Figure 4] 10 is a flowchart showing a downward counter control process. [Figure 5] FIG. 10 is a diagram showing an example of a phase voltage waveform when driven by a square wave. [Figure 6] 10 is a timing chart showing an upward counter control process. [Figure 7] FIG. 10 is a diagram showing an example of a phase voltage waveform when driven by a square wave. [Figure 8] 10 is a timing chart showing an upward counter control process. [Figure 9] FIG. 10 is a diagram showing an example of a phase voltage waveform when driven by a square wave. [Figure 10]10 is a timing chart showing a downward counter control process. [Figure 11] FIG. 10 is a diagram showing an example of a phase voltage waveform when driven by a square wave. [Figure 12] 10 is a timing chart showing a downward counter control process. [Figure 13] 10 is a diagram illustrating an example of the detection accuracy of the induced voltage zero cross position in this embodiment. FIG. DETAILED DESCRIPTION OF THE INVENTION

[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0010] FIG. 1 is a diagram showing the configuration of a motor device including a motor control device according to this embodiment.

[0011] 1, the motor device includes a motor control device 10 of this embodiment, a drive circuit 20 that receives a drive signal from the motor control device 10, and a three-phase (U-phase, V-phase, W-phase) brushless motor M connected to the drive circuit 20. In this embodiment, the power supply voltage (power supply voltage) supplied to the drive circuit 20 is 3V.

[0012] 1, motor control device 10 includes counter 11 that counts time and counter control unit 12 that restarts counter 11. Three-phase phase voltage values ​​(corresponding to phase voltage value V0 described below) of brushless motor M are input to counter control unit 12.

[0013] Counter control unit 12 is also provided with the current rotation speed of brushless motor M. This rotation speed may be a rotation speed grasped by motor control device 10, or may be a rotation speed command value provided to motor control device 10. Alternatively, this rotation speed may be a value acquired via a sensor.

[0014] Next, the operation of the counter control unit 12 will be described.

[0015] The counter control unit 12 executes the first to fifth processes.

[0016] In the first process, the counter control unit 12 updates the maximum absolute value of the input phase voltage values.

[0017] In the second process, the counter control unit 12 updates the maximum value of the absolute value of the difference between the phase voltage value when the maximum value was last updated in the first process and the current phase voltage value.

[0018] In the third process, the counter control unit 12 restarts the counter 11 every time the maximum absolute value of the difference is updated in the second process.

[0019] In the fourth process, the counter control unit 12 acquires the timing when the count value of the counter 11 exceeds a predetermined value.

[0020] In the fifth process, the counter control unit 12 restarts the counter 11 when the phase voltage value passes through the zero point.

[0021] FIG. 2 is a flowchart showing the main processing.

[0022] 2, in the main processing, the counter control unit 12 alternately repeats an upward counter control processing (step S100) and a downward counter control processing (step S200). The main processing is executed for each phase based on the value of the phase voltage of each of the U, V, and W phases (phase voltage value V0).

[0023] The counter control unit 12 may execute the upward counter control process (step S100) and the downward counter control process (step S200) in parallel. Alternatively, the counter control unit 12 may execute the upward counter control process (step S100) or the downward counter control process (step S200) depending on the value of a current pseudo Hall sensor signal (described later).

[0024] FIG. 3 is a flowchart showing the upward counter control process.

[0025] 3, the counter control unit 12 sets the maximum value MAX to zero and the maximum difference value Δmax to 1.5 V. The counter control unit 12 also resets the counter 11.

[0026] In step S104, the counter control unit 12 acquires the current phase voltage value V0.

[0027] In step S106, the counter control unit 12 determines whether the phase voltage value V0 has passed the zero point, and if the determination is affirmative, the process proceeds to step S118, and if the determination is negative, the process proceeds to step S108. Here, for example, the counter control unit 12 makes the above determination by comparing the previously acquired phase voltage value V0 with the current phase voltage value V0.

[0028] In step S108, the counter control unit 12 determines whether the phase voltage value V0 acquired in step S106 has exceeded the maximum value MAX, and if the determination is affirmative, the process proceeds to step S112, and if the determination is negative, the process proceeds to step S110.

[0029] In step S110, the counter control unit 12 calculates a difference value Δ by subtracting the phase voltage value V0 from the maximum value MAX.

[0030] In step S112, the counter control unit 12 updates the maximum value MAX to the phase voltage value V0.

[0031] In step S114, the counter control unit 12 determines whether the difference value Δ exceeds the maximum difference value Δmax, and if the determination is affirmative, the process proceeds to step S116, and if the determination is negative, the process proceeds to step S120.

[0032] In step S116, the counter control unit 12 updates the maximum difference value Δmax to the difference value Δ.

[0033] In step S118, the counter control unit 12 resets the counter 11, starts counting time by the counter 11, and proceeds to step S104.

[0034] In step S120, counter control unit 12 determines whether the time count of counter 11 has exceeded a predetermined time T. If the determination is affirmative, the process proceeds to step S122, and if the determination is negative, the process proceeds to step S104. This predetermined time T is set to a time corresponding to the current rotation speed of brushless motor M given to counter control unit 12. In this embodiment, the predetermined time T is set to a time corresponding to an electrical angle of 30° in brushless motor M.

[0035] In step S122, the counter control unit 12 switches the value of the pseudo Hall sensor signal and returns. In response to the switching of the value of the pseudo Hall sensor signal, the motor control device 10 performs energization switching.

[0036] In the upward direction counter control process (step S100), the first process corresponds to step S112, the second process corresponds to step S116, the third process corresponds to step S114 and step S118, the fourth process corresponds to step S120, and the fifth process corresponds to step S106 and step S118.

[0037] Furthermore, in the upward counter control process (step S100), the initial value of the maximum difference value Δmax is set to 1.5 V in step S102. Therefore, the second process and the third process can be executed only when the maximum difference value Δmax exceeds 1.5 V, i.e., half the power supply voltage (3 V) supplied to the drive circuit 20. This prevents erroneous detection of the induced voltage zero-cross position.

[0038] FIG. 4 is a flowchart showing the downward counter control process.

[0039] 4, the counter control unit 12 sets the minimum value MIN to zero and the maximum difference value Δmax to 1.5 V. The counter control unit 12 also resets the counter 11.

[0040] In step S204, the counter control unit 12 acquires the current phase voltage value V0.

[0041] In step S206, the counter control unit 12 determines whether the phase voltage value V0 has passed the zero point, and if the determination is affirmative, the process proceeds to step S218, whereas if the determination is negative, the process proceeds to step S208. Here, for example, the counter control unit 12 makes the above determination by comparing the previously acquired phase voltage value V0 with the current phase voltage value V0.

[0042] In step S208, the counter control unit 12 determines whether the phase voltage value V0 acquired in step S206 is smaller than the minimum value MIN, and if the determination is affirmative, the process proceeds to step S212, and if the determination is negative, the process proceeds to step S210.

[0043] In step S210, the counter control unit 12 calculates a difference value Δ by subtracting the minimum value MIN from the phase voltage value V0.

[0044] In step S212, the counter control unit 12 updates the minimum value MIN to the phase voltage value V0.

[0045] In step S214, the counter control unit 12 determines whether the difference value Δ exceeds the maximum difference value Δmax, and if the determination is affirmative, the process proceeds to step S216, and if the determination is negative, the process proceeds to step S220.

[0046] In step S216, the counter control unit 12 updates the maximum difference value Δmax to the difference value Δ.

[0047] In step S218, the counter control unit 12 resets the counter 11, starts counting time with the counter 11, and the process proceeds to step S204.

[0048] In step S220, counter control unit 12 determines whether the time count of counter 11 has exceeded a predetermined time T. If the determination is affirmative, the process proceeds to step S222, and if the determination is negative, the process proceeds to step S204.

[0049] In step S222, the counter control unit 12 switches the value of the pseudo Hall sensor signal and returns. In response to the switching of the value of the pseudo Hall sensor signal, the motor control device 10 performs energization switching.

[0050] In the downward counter control process (step S200), the first process corresponds to step S212, the second process corresponds to step S216, the third process corresponds to step S214 and step S218, the fourth process corresponds to step S220, and the fifth process corresponds to step S206 and step S218.

[0051] Furthermore, in the downward counter control process (step S200), the initial value of the maximum difference value Δmax is set to 1.5 V in step S202. Therefore, the second process and the third process can be executed only when the maximum difference value Δmax exceeds 1.5 V, i.e., half the power supply voltage (3 V) supplied to the drive circuit 20. This prevents erroneous detection of the induced voltage zero-cross position.

[0052] Next, the up counter control process and the down counter control process will be described with reference to examples of phase voltage waveforms.

[0053] Fig. 5 shows an example of a phase voltage waveform when driven with a square wave, and Fig. 6 is a timing chart showing the timing of the upward counter control process. For ease of explanation, Fig. 6 shows the execution cycle (e.g., the period from time t1 to t2) of the upward counter control process (step S100) as being longer than it actually is. The same applies to Fig. 8 (upward counter control process (step S100)), Fig. 10, and Fig. 12 (downward counter control process (step S200)).

[0054] As shown in FIG. 5, the phase voltage waveform 51 when the brushless motor M is driven by a rectangular wave is not a sinusoidal waveform like the induced voltage when the brushless motor M is driven externally (when driven by an external force), but is a distorted waveform due to the influence of voltage application and reflux.

[0055] FIG. 6 illustrates an example of detecting the induced voltage zero cross position in region 51A of phase voltage waveform 51 shown in FIG.

[0056] 6, the determination in step S114 is affirmative at times t1 and t2, the counter 11 is reset, and counting is restarted (step S118). Also, the determination in step S106 is affirmative at times t3 and t4, the counter 11 is reset, and counting is restarted (step S118).

[0057] As a result, the value of the pseudo Hall sensor signal is switched at time t4, i.e., when a predetermined time T has elapsed since the last time the phase voltage value passed through the zero point (step S122). In other words, time t4 can be correctly detected as the back electromotive force zero cross point. Furthermore, the energization switching can be performed at the correct position that is 30° electrical angle ahead of the back electromotive force zero cross point.

[0058] FIG. 7 is a diagram showing an example of a phase voltage waveform when driven with a square wave, and FIG. 8 is a timing chart showing the timing of the upward counter control process.

[0059] FIG. 8 illustrates an example of detecting the induced voltage zero cross position in the region 52A of the phase voltage waveform 52 shown in FIG.

[0060] In the example shown in FIG. 8, the determination in step S114 is affirmative at time t11, time t12, time t13, and time t14, and the counter 11 is reset and restarts counting (step S118).

[0061] As a result, at time t14, i.e., when a predetermined time T has elapsed since the maximum difference value Δmax was last updated, the value of the pseudo Hall sensor signal is switched (step S122). In the example of FIG. 8, unlike the example of FIG. 6, the phase voltage value V0 does not pass through the zero point. However, even in this case, time t14 can be correctly detected as the back electromotive force zero-cross point. Furthermore, energization switching can be performed at the correct position that is 30° electrical angle ahead of the back electromotive force zero-cross point.

[0062] FIG. 9 is a diagram showing an example of a phase voltage waveform when driven with a square wave, and FIG. 10 is a timing chart showing the timing of the downward counter control process.

[0063] FIG. 10 illustrates an example of detecting the induced voltage zero cross position in region 51B of phase voltage waveform 51 shown in FIG.

[0064] 10, the determination in step S214 is affirmative at time t21 and time t22, the counter 11 is reset, and counting is restarted (step S218). Also, the determination in step S206 is affirmative at time t23 and time t24, the counter 11 is reset, and counting is restarted (step S218).

[0065] As a result, the value of the pseudo Hall sensor signal is switched at time t24, i.e., when a predetermined time T has elapsed since the last time the phase voltage value passed through the zero point (step S222). In other words, time t24 can be correctly detected as the back electromotive force zero cross point. Furthermore, the energization switching can be performed at the correct position that is 30° electrical angle ahead of the back electromotive force zero cross point.

[0066] FIG. 11 is a diagram showing an example of a phase voltage waveform when driven with a square wave, and FIG. 12 is a timing chart showing the timing of the downward counter control process.

[0067] FIG. 12 illustrates an example of detecting the induced voltage zero cross position in region 52B of phase voltage waveform 52 shown in FIG.

[0068] In the example shown in FIG. 12, the determination in step S214 is affirmative at time t31, time t32, time t33, and time t34, and the counter 11 is reset and restarts counting (step S218).

[0069] As a result, at time t34, i.e., when a predetermined time T has elapsed since the maximum difference value Δmax was last updated, the value of the pseudo Hall sensor signal is switched (step S222). In the example of Fig. 12, unlike the example of Fig. 10, the phase voltage value V0 does not pass through the zero point. However, even in this case, time t34 can be correctly detected as the back electromotive force zero-cross point. Furthermore, energization switching can be performed at the correct position that is 30° electrical angle ahead of the back electromotive force zero-cross point.

[0070] FIG. 13 is a diagram illustrating the detection accuracy of the induced voltage zero cross position in this embodiment.

[0071] 13, circular dots indicate positions where the phase voltage value V0 passes through the zero point, rectangular dots indicate the zero-cross positions of the induced voltage in this embodiment, and the detected angle indicates the electrical angle corresponding to the detected zero-cross positions of the induced voltage.

[0072] 13, according to this embodiment, the induced voltage zero cross positions can be detected more accurately and stably compared with the positions where the phase voltage value V0 passes through the zero point. That is, while the positions where the phase voltage value V0 passes through the zero point vary widely within an electrical angle range of approximately 56° to 71°, in this embodiment, the detected positions of the induced voltage zero crosses converge to a range of approximately 57° to 61° electrical angle.

[0073] As described above, according to this embodiment, the rotational position of the rotor of the brushless motor M can be detected with high accuracy, and the detection result can be used to control the brushless motor M.

[0074] Furthermore, according to this embodiment, a sensor for detecting the rotor angle is not required, which prevents a decrease in the detection accuracy of the rotor rotational position due to the sensor installation accuracy or the like.

[0075] Although an embodiment of the present invention has been described above in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and includes designs within the scope of the gist of the present invention.

[0076] The following additional notes are provided regarding the above-described embodiments of the present invention.

[0077] [Appendix 1] A motor control device (10) for controlling a brushless motor (M), A counter (11) for counting time; a counter control unit (12) for controlling the counter; Equipped with The counter control unit a first process of updating the maximum absolute value of the phase voltage values; a second process for updating the maximum value of the absolute value of the difference between the phase voltage value when the maximum value was last updated in the first process and the current phase voltage value; a third process of restarting the counter every time the maximum value of the absolute values ​​of the differences is updated by the second process; a fourth process of acquiring the timing when the count value of the counter exceeds a predetermined value; A motor control device that performs the above.

[0078] According to the configuration described in Supplementary Note 1, the operation of the counter is controlled based on the first to fourth processes, and the rotational position of the rotor of the brushless motor M is detected based on the count value of the counter. Therefore, the rotational position of the rotor of the brushless motor M can be detected with high accuracy, and the detection result can be used to control the brushless motor M.

[0079] [Appendix 2] 2. The motor control device according to claim 1, wherein the counter control unit further executes a fifth process of restarting the counter when the phase voltage value passes through a zero point.

[0080] According to the configuration described in Supplementary Note 2, the timing when the phase voltage value passes through the zero point can be used to detect the rotational position of the rotor of the brushless motor M.

[0081] [Appendix 3] 3. The motor control device according to claim 1, wherein the counter control unit switches energization at the timing acquired in the fourth process.

[0082] According to the configuration described in Supplementary Note 3, the energization switching can be performed at an accurate timing.

[0083] [Appendix 4] 4. The motor control device according to claim 3, wherein the predetermined value is changed in accordance with the rotation speed of the brushless motor.

[0084] According to the configuration described in Supplementary Note 4, the energization switching can be performed at accurate timing regardless of the rotation speed of the brushless motor.

[0085] [Appendix 5] 2. The motor control device according to claim 1, wherein the third process is executed only when the maximum absolute value of the phase voltage value is equal to or greater than half of a power supply voltage.

[0086] According to the configuration described in Supplementary Note 5, when the maximum absolute value of the phase voltage value is less than half the power supply voltage, the third process is not executed, thereby preventing erroneous detection of the induced voltage zero cross position.

[0087] [Appendix 6] A motor control method for controlling a brushless motor, comprising: a first process of updating the maximum absolute value of the phase voltage values; a second process for updating an absolute value of a difference between the phase voltage value when the maximum value was last updated in the first process and the current phase voltage value; a third process of restarting a counter that counts time every time the maximum value of the absolute values ​​of the differences is updated by the second process; a fourth process of executing a predetermined process when the count value of the counter exceeds a predetermined value; A motor control method for performing

[0088] According to the configuration described in Supplementary Note 6, the operation of the counter is controlled based on the first to fourth processes, and the rotational position of the rotor of the brushless motor M is detected based on the count value of the counter. Therefore, the rotational position of the rotor of the brushless motor M can be detected with high accuracy, and the detection result can be used to control the brushless motor M. [Explanation of symbols]

[0089] 10 Motor control device 11 Counter 12 Counter control section 20 Drive circuit M brushless motor

Claims

1. A motor control device for controlling a brushless motor, A counter for counting time; A counter control unit that controls the counter; Equipped with The counter control unit is a first process of updating a maximum value of the absolute values ​​of the phase voltage values; a second process for updating a maximum value of an absolute value of a difference between the phase voltage value when the maximum value was last updated in the first process and a current phase voltage value; a third process of restarting the counter every time the maximum value of the absolute values ​​of the differences is updated by the second process; a fourth process of acquiring a timing when the count value of the counter exceeds a predetermined value; A motor control device that performs the above.

2. The motor control device according to claim 1 , wherein the counter control unit further executes a fifth process of restarting the counter when the phase voltage value passes through a zero point.

3. The motor control device according to claim 1 , wherein the counter control unit executes energization switching at the timing acquired in the fourth process.

4. The motor control device according to claim 3 , wherein the predetermined value is changed in accordance with a rotation speed of the brushless motor.

5. The motor control device according to claim 1 , wherein the third process is executed only when the maximum absolute value of the phase voltage values ​​is equal to or greater than half of a power supply voltage.

6. A motor control method for controlling a brushless motor, comprising: a first process of updating a maximum value of the absolute values ​​of the phase voltage values; a second process for updating an absolute value of a difference between the phase voltage value when the maximum value was last updated in the first process and a current phase voltage value; a third process of restarting a counter that counts time every time the maximum value of the absolute values ​​of the differences is updated by the second process; a fourth process of executing a predetermined process when the count value of the counter exceeds a predetermined value; The motor control method includes:

Citation Information

Patent Citations

  • Rotor position detecting circuit and motor driver

    JP2008017575A