Motor drive control device and motor drive control method
The motor drive control device uses a learning model to determine an optimal advance angle for motor operation, addressing individual motor differences and ensuring high efficiency by minimizing drive voltage variations.
Patent Information
- Application Number
- JP2023056352
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional motor drive control methods struggle to account for individual differences in coil inductance components and mechanical positional deviations between position sensors and coils, leading to inefficiencies in motor operation.
A motor drive control device and method that utilizes a learning model to determine an optimal advance angle for motor operation, adjusting the drive voltage based on reinforcement learning to minimize individual motor differences and maintain high efficiency without requiring initial user correction.
The solution allows for efficient motor operation by automatically compensating for individual motor variations, reducing the need for user intervention and optimizing drive voltage to achieve high efficiency.
Smart Images

Figure 2024143591000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor drive control device and a motor drive control method. [Background technology]
[0002] For example, in a motor with a three-phase coil, the inductance component of the coil causes the phase of the current (hereinafter simply referred to as "coil current") flowing through the coil to lag behind the phase of the voltage (hereinafter simply referred to as "applied voltage") applied to the coil, reducing the efficiency of the motor. Therefore, advance angle control has been conventionally performed to improve the efficiency of the motor by advancing the phase of the applied voltage by the amount of the phase lag of the coil current. Patent Documents 1 and 2 are examples of this advance angle control. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-066913 [Patent Document 2] JP 2015-062329 A Summary of the Invention [Problem to be solved by the invention]
[0004] Since the phase delay of the coil current varies depending on the rotational speed of the motor, Patent Document 1 discloses a motor drive control device that calculates an appropriate advance angle amount depending on the rotational speed of the rotor and controls the drive of the motor based on the calculated advance angle amount.
[0005] Specifically, first, in step 1, the motor drive control device acquires a target rotation speed of the rotor from a higher-level device. Next, in step 2, the motor drive control device acquires the rotation angle of the rotor based on a signal from the motor's position sensor (Hall element). Next, in step 3, the motor drive control device acquires the rotation speed of the rotor based on the rotation angle of the rotor acquired in step 2. Furthermore, in step 4, the motor drive control device acquires the drive current value of each coil.
[0006] Next, in step 5, the motor drive control device calculates a q-axis current value in a dq rotating coordinate system based on the rotor rotation angle acquired in step 2 and the drive current values of each coil acquired in step 4. Next, in step 6, the motor drive control device calculates a q-axis current command value so as to reduce the difference between the rotor target rotation speed acquired in step 1 and the rotor rotation speed acquired in step 3. Next, in step 7, the motor drive control device calculates a voltage command value in the dq rotating coordinate system so as to reduce the difference between the q-axis current command value calculated in step 6 and the q-axis current value calculated in step 5.
[0007] Next, in step 8, the motor drive control device calculates a lead angle value at which the d-axis current value becomes zero, based on the q-axis current value calculated in step 5 and the rotor rotation speed acquired in step 3. Next, in step 9, the motor drive control device generates a drive control signal based on the angle obtained by adding the lead angle value calculated in step 8 and the rotor rotation angle acquired in step 2, and the voltage command value calculated in step 7. The motor drive control device then controls the drive of the motor based on the drive control signal generated in step 9.
[0008] However, since the coil inductance component varies from motor to motor, that is, the coil inductance component differs for each motor, it is difficult to further optimize the lead angle using the method of calculating the lead angle as in the motor drive control device of Patent Document 1.
[0009] On the other hand, Patent Document 2 discloses a semiconductor circuit device that detects the phase of a coil current and the phase of an induced voltage in a coil, and controls the driving of a motor so that these coincide with each other.
[0010] Such a semiconductor circuit device has a comparator that outputs a comparison result signal corresponding to the polarity of the coil current, a judgment circuit that judges the polarity of the coil current based on the comparison result signal and outputs a judgment signal according to the result, a phase adjustment circuit that outputs a phase adjustment signal that adjusts the phase of the drive voltage so that the phase of the coil current and the phase of the induced voltage match based on a position detection signal output from the motor's position sensor and synchronized with the phase of the induced voltage of the coil and the judgment signal, an energization signal circuit that outputs an energization signal for controlling energization of the motor based on the phase adjustment signal, the position detection signal, and a command signal from a microcomputer, a drive circuit that outputs a PWM control signal in response to the energization signal, and a bridge circuit that supplies a drive voltage to the motor in response to the PWM control signal.
[0011] In this way, by detecting the phase of the coil current and the phase of the induced voltage and adjusting the phase of the drive voltage so that they match, the motor can be driven with high efficiency without being affected by differences in the coil inductance components due to individual differences in the motor.
[0012] However, in this case, depending on the manufacturing precision of the motor, mechanical positional deviation (deviation from the designed position) between the position sensor and the coil may occur. In that case, in order to realize highly efficient driving, for example, the user must perform initial correction to cancel the positional deviation.
[0013] As described above, with conventional technology, it is difficult to realize a motor drive control device and a motor drive control method that can absorb individual differences in motors and automatically cancel those individual differences to achieve highly efficient motor drive.
[0014] The present invention has been made in consideration of the above-mentioned points, and has as its object to provide a motor drive control device and a motor drive control method that can absorb the individual differences of motors and automatically cancel those individual differences to achieve highly efficient motor drive. [Means for solving the problem]
[0015] Such an object can be achieved by the present invention as described below in (1) and (2).
[0016] (1) a lead angle calculation unit having a learning model for determining a lead angle of a motor; a motor control unit that applies a drive voltage to the motor and drives the motor with the lead angle amount determined by the lead angle calculation unit, the motor control unit changes the advance angle amount according to a strategy of the learning model while maintaining a constant rotation speed of the motor; the lead-angle calculation unit determines an optimal solution for the lead-angle amount based on the drive voltage at each lead-angle amount, A motor drive control device, characterized in that the motor control unit drives the motor with the optimal solution.
[0017] (2) a lead angle calculation unit having a learning model for determining a lead angle of a motor; a motor control unit that applies a drive voltage to the motor and drives the motor with the lead angle amount determined by the lead angle calculation unit, the motor control unit changes the advance angle amount according to a strategy of the learning model while maintaining a constant rotation speed of the motor; the lead-angle calculation unit determines an optimal solution for the lead-angle amount based on the drive voltage at each lead-angle amount, A motor drive control method comprising driving the motor with the optimal solution. Effect of the Invention
[0018] In the motor drive control device and motor drive control method of the present invention, an optimal solution for the amount of lead angle is found based on the drive voltage applied to the motor, and the motor is driven with the found optimal solution. Since the drive voltage when the motor rotation speed is kept constant is also an indication of the individual differences of the motor, the individual differences can be automatically cancelled by finding the optimal solution for the amount of lead angle based on the drive voltage. This eliminates the need for initial correction by the user. Furthermore, by finding the optimal solution for the amount of lead angle that minimizes the drive voltage, the motor can be driven with high efficiency. Therefore, according to the motor drive control device and motor drive control method of the present invention, the individual differences of the motor are absorbed and the individual differences are automatically cancelled, thereby enabling the motor to be driven with high efficiency. [Brief description of the drawings]
[0019] [Figure 1] 1 is a block diagram of a motor drive control device according to a first embodiment. [Diagram 2] FIG. 4 is a schematic diagram illustrating an advance angle amount. [Diagram 3] 4 is a graph showing a phase difference between an applied voltage and a coil current. [Figure 4] FIG. 4 is a schematic diagram illustrating an advance angle amount. [Diagram 5] 10 is a flowchart showing a method for finding an optimal solution for the advance angle amount based on a strategy of a learning model. [Figure 6] 11 is a table showing a method for obtaining an optimal solution for the advance angle amount based on a strategy of a learning model. [Figure 7] 11 is a graph showing a method for finding an optimal solution for the advance angle amount based on a strategy of a learning model. [Figure 8] FIG. 11 is a block diagram of a motor drive control device according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A motor drive control device and a motor drive control method according to the present invention will be described in detail below with reference to preferred embodiments shown in the accompanying drawings.
[0021] First Embodiment FIG. 1 is a block diagram of a motor drive control device according to a first embodiment. FIG. 2 is a schematic diagram illustrating the amount of lead angle. FIG. 3 is a graph showing a phase difference between an applied voltage and a coil current. FIG. 4 is a schematic diagram illustrating the amount of lead angle. FIG. 5 is a flowchart showing a method for determining an optimal solution for the amount of lead angle based on a learning model policy. FIG. 6 is a table showing a method for determining an optimal solution for the amount of lead angle based on a learning model policy. FIG. 7 is a graph showing a method for determining an optimal solution for the amount of lead angle based on a learning model policy.
[0022] 1 includes a motor M, a position sensor H provided on the motor M, and a motor drive control device 2 that controls the driving of the motor M. Although not shown, in this embodiment, the drive system 1 is used to drive a cooling fan provided on a personal computer. However, the use of the drive system 1 is not particularly limited.
[0023] The motor M is a three-phase brushless motor. The motor M has, for example, a stator having a W-phase coil, a U-phase coil, and a V-phase coil, and a rotor having a permanent magnet. When a drive voltage is applied to the motor M from the motor drive control device 2, a drive current flows through each coil and a magnetic field is generated from the stator. Then, an attractive force and a repulsive force are generated by the interaction between the magnetic field from the stator and the magnetic field from the permanent magnet, and the rotor rotates. The motor M is not particularly limited, and may be, for example, a single-phase brushless motor, a two-phase brushless motor, a four-phase or more brushless motor, or the like.
[0024] The position sensor H outputs a position detection signal SH synchronized with the phase of the induced voltage of the coil of the motor M. In FIG. 1, three position sensors H, the same number as the number of phases of the motor M, are provided on the motor M. As the position sensors H, for example, a Hall element or a Hall IC can be used. The number of position sensors H is not particularly limited, and may be different from the number of phases of the motor M, for example.
[0025] As shown in Fig. 1, the motor drive control device 2 has a microcomputer 3 (microcontroller) that finds an optimal solution for the lead angle δ by searching based on a strategy determined by a learning model 310 obtained by reinforcement learning, and a motor drive IC 4 as a motor control unit that generates a drive voltage to be applied to the motor M based on the optimal solution for the lead angle δ found by the microcomputer 3. In this way, by searching based on the strategy determined by the learning model 310 to find the optimal solution for the lead angle δ, the amount of calculation can be reduced compared to the case where the optimal solution for the lead angle δ is found irregularly or regularly by brute force without a strategy. Therefore, the optimal solution for the lead angle δ can be found in a shorter time, and the motor M can be converged to a highly efficient driving state in a shorter time, while also saving the calculation resources of the microcomputer 3 and the motor drive IC 4.
[0026] Here, the lead angle amount δ will be briefly explained. As shown in FIG. 2, in the motor M, the maximum torque is obtained when the rotor magnetic field generated by the permanent magnet of the rotor and the coil magnetic field (composite magnetic field of each coil) generated by the current generated in the excited coil are 90°. Therefore, the timing of applying the drive voltage to the coil is adjusted so that the rotor magnetic field and the coil magnetic field are 90°. However, due to the inductance component of the coil, a time lag occurs between the application of the drive voltage and the actual flow of the current in the coil. In other words, as shown in FIG. 3, the phase of the coil current is shifted (delayed) from the phase of the applied voltage. Therefore, as shown in FIG. 4, the rotor magnetic field and the coil magnetic field become larger than 90°, and the maximum torque cannot be obtained. Therefore, a method of controlling the application timing of the drive voltage to be 90° by accelerating the amount of phase shift of the coil current from the phase of the applied voltage is called "lead angle control", and the amount of advance is called "lead angle amount δ".
[0027] Returning to the explanation of the motor drive control device 2, as shown in Fig. 1, the microcomputer 3 has a lead angle calculation unit 31, a target speed calculation unit 32, and a temperature detection unit 33. In the microcomputer 3, each functional block is realized by the CPU executing various arithmetic processes in accordance with programs stored in the memory.
[0028] The lead angle calculation unit 31 also serves as a machine learning unit, and generates a learning model 310 for finding an optimal solution for the lead angle amount δ, and finds the optimal solution for the lead angle amount δ based on a policy determined by the learning model 310. A method for finding the optimal solution for the lead angle amount δ using the learning model 310 will be described later. The learning model 310 is a program based on machine learning of a predetermined technique (algorithm). The predetermined technique is not particularly limited, and may be, for example, a neural network such as a CNN (Convolutional Neural Network), linear regression, a Boltzmann machine, a support vector machine, a Bayesian network, sparse regression, a decision tree, a statistical estimation using a random forest, reinforcement learning, deep learning, or the like. In particular, in this embodiment, reinforcement learning is used as the predetermined technique. This eliminates the need for data collection or preprocessing before learning, and learning can be started without user supervision.
[0029] The temperature detection unit 33 detects the temperature of the personal computer PC based on an output signal from a temperature detection element 5 such as a thermistor provided in the personal computer, and outputs the detection result as a temperature signal St.
[0030] The target speed calculation unit 32 determines a target rotation speed of the motor M based on the temperature signal St output from the temperature detection unit 33, and outputs a target rotation speed ωref corresponding to the determined target rotation speed.
[0031] 1, the motor drive IC 4 has a speed control section 41, a current supply timing generation section 42, a drive waveform generation section 43, a PWM circuit 44 (PWM: Pulse Width Modulation), a motor drive control section 45, a rotation angle detection section 46, and a rotation speed calculation section 47. The motor drive IC 4 is, for example, configured with a computer, and each functional block is realized by the CPU executing various arithmetic processing according to programs stored in a memory.
[0032] The rotation angle detection unit 46 detects the position of the rotor, that is, the rotation angle .theta.. The rotation angle detection unit 46 detects the rotation angle .theta. of the rotor using the position detection signal SH output from the position sensor H, and outputs the rotation angle .theta..
[0033] The rotation speed calculation unit 47 detects the rotation speed ω of the motor M. The rotation speed calculation unit 47 calculates the rotation speed ω of the motor M based on the rotation angle θ output by the rotation angle detection unit 46, and outputs the calculated rotation speed ω.
[0034] The energization timing generation unit 42 outputs an energization phase signal Dp generated based on the rotation angle θ output by the rotation angle detection unit 46 and the optimal solution of the lead angle amount δ output by the lead angle calculation unit 31. The energization phase signal Dp is a signal that indicates a timing that is shifted in phase by the lead angle amount δ from the reference timing, with the rotation angle θ being used as the reference timing.
[0035] The speed control unit 41 calculates and outputs a voltage command value Vref so as to reduce the difference between the target rotation speed ωref output from the target speed calculation unit 32 of the microcomputer 3 and the rotation speed ω (actual rotation speed) of the motor M output from the rotation speed calculation unit 47. Specifically, the speed control unit 41 calculates the difference between the target rotation speed ωref and the rotation speed ω, and calculates and outputs the voltage command value Vref by performing a PI control calculation so that the calculated difference becomes zero.
[0036] Drive waveform generation unit 43 generates and outputs waveform signal Wd for each coil based on energization phase signal Dp output from energization timing generation unit 42 and voltage command value Vref output from speed control unit 41. Specifically, waveform signal Wd is generated for each coil based on voltage command value Vref, and the generated waveform signal Wd is output at a timing according to energization phase signal Dp.
[0037] The PWM circuit 44 uses the waveform signal Wd supplied from the drive waveform generating unit 43 for each coil as a modulation signal, performs pulse width modulation on each of the signals, and generates and outputs the drive pulse signal Pd.
[0038] Motor drive control unit 45 energizes and drives each coil based on drive pulse signal Pd output from PWM circuit 44. For example, motor drive control unit 45 includes, for each coil, a switch element connected to the positive side of a power supply and a switch element connected to the negative side. When the switch element is turned ON / OFF by drive pulse signal Pd, a drive voltage according to waveform signal Wd is applied from the power supply to each coil via the switch element that is ON.
[0039] With the above-described configuration, the rotation speed and rotation position of the motor M are controlled in accordance with the target rotation speed ωref.
[0040] Next, a method for determining lead angle amount δ by lead angle calculation unit 31 included in microcomputer 3 will be described. As described above, lead angle calculation unit 31 has a learning function for learning learning model 310 by reinforcement learning. There are no particular limitations on the method of reinforcement learning, and an appropriate method can be used from, for example, a DP method (dynamic programming), an MC method (Monte Carlo method), a TD method (time difference learning method), etc.
[0041] Here, in the motor drive control device 2, when the motor M rotates at a constant speed, the smaller the drive voltage applied to each coil, the more efficiently the motor M is driven. Therefore, the learning model 310 has a measure (function) for finding the lead angle amount δ at which the drive voltage is the lowest as an optimal solution while maintaining the motor M at a constant rotation speed. For example, the lead angle calculation unit 31 finds the lead angle amount δ at which the drive voltage is the lowest in the environment while changing at least one parameter such as the rotor rotation speed, motor load, and temperature, and learns this a sufficient number of times (for example, tens of thousands of times or more), thereby learning a highly accurate learning model 310. The drive voltage can be detected, for example, based on the duty ratio of the drive pulse signal Pd output from the PWM circuit 44. Based on the duty ratio of the drive pulse signal Pd, the drive voltage can be detected with a simple configuration and with high accuracy.
[0042] The configuration of the motor drive control device 2 has been described above. Next, an example of a strategy (function) possessed by the learning model 310 will be described. Note that the strategy is not limited to the one described below. The learning model 310 has a strategy of changing the amount of lead angle δ while maintaining the rotation speed ω of the motor M constant, and obtaining an optimal solution for the amount of lead angle δ based on the drive voltage at each amount of lead angle δ. Specifically, the amount of lead angle δ when the drive voltage is at a minimum is obtained as the optimal solution. Then, the motor drive control device 2 drives the motor M with the optimal solution for the amount of lead angle δ obtained by this strategy.
[0043] Here, the amount of lead angle δ at which the drive voltage becomes minimum varies for each motor M due to individual differences in the motor M (mechanical positional deviation between the position sensor H and the coil). Therefore, by finding the optimal solution for the amount of lead angle δ based on the drive voltage as described above, the individual motor differences can be automatically cancelled. This eliminates the need for initial correction by the user. Furthermore, by setting the amount of lead angle δ at which the drive voltage becomes minimum as the optimal solution, the motor M can be driven with high efficiency. Therefore, according to the motor drive control device 2, the individual differences in the motor M can be absorbed and the individual differences can be automatically cancelled, thereby enabling the motor M to be driven with high efficiency.
[0044] Particularly, in this embodiment, the motor drive control device 2 reduces the amount of change in the lead angle δ each time the search range Q for acquiring the drive voltage is narrowed, according to the strategy of the learning model 310. Specifically, the motor drive control device 2 performs at least a first search in which the lead angle δ is changed in the same direction (increasing direction) by a first interval Δd1 until the drive voltage changes from decreasing to increasing, according to the strategy of the learning model 310, and a second search in which a search range Q narrower than the first search is determined based on the drive voltage obtained in the first search and the lead angle δ is changed by a second interval Δd2 smaller than the first interval Δd1 within the determined search range Q, and further performs an m-th search once or multiple times as necessary in which a search range Q narrower than the m-1-th search is determined based on the drive voltage obtained in the m-1-th (where m is an integer equal to or greater than 3) search and the lead angle δ is changed by an m-th interval Δdm smaller than the m-1-th interval Δdm-1 within the determined search range Q. However, the first search may be performed in the opposite manner to this embodiment, in which the advance angle δ is changed in a decreasing direction by the first interval Δd1 until the drive voltage changes from decreasing to increasing.
[0045] According to such a measure, a wide range is roughly searched at first, and then the range is gradually narrowed and finely searched, so that the amount of calculation can be reduced compared to, for example, a case where a wide range is finely searched from the beginning without a measure. Therefore, the optimal solution for the advance angle amount δ can be found in a shorter time, and the motor M can be converged to a highly efficient driving state in a shorter time. The driving voltage can be detected based on the duty ratio of the driving pulse signal Pd output by the PWM circuit 44.
[0046] Furthermore, if the drive voltage starts to increase in the (n+1)th search in the first search and the drive voltage in the immediately preceding nth search was the minimum, the drive voltage in the (n-1)th search is compared with the drive voltage in the (n+1)th search, and the range between the smaller search and the nth search is set as the search range Q for the second search. This is because there is a high possibility that the optimal solution for the lead angle δ, that is, the lead angle δ that minimizes the drive voltage, is present in this search range Q. This makes it possible to find the optimal solution for the lead angle δ more reliably and in a shorter time.
[0047] A specific example of the above-mentioned measures will be described based on the flowchart shown in FIG. 5, the table shown in FIG. 6, and the graph shown in FIG. 7. However, the measures are not particularly limited. First, the motor drive control device 2 performs a first search. In the first search, the lead angle calculation unit 31 first sets the first interval Δd1=15° in step S11. Next, the lead angle calculation unit 31 executes the first search with the lead angle amount δ=0° in step S12. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=0°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 6V and the reward is 6.
[0048] Next, in step S13, the lead angle calculation unit 31 increases the lead angle amount δ by the first interval Δd1=15° with respect to the first search, and executes the second search with the lead angle amount δ=15°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=15°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 2.7V and the reward is 2.7. The lead angle calculation unit 31 also calculates the total value and average value of the rewards for each time. The total value of the reward at this time is 8.7, and the average value is 4.35.
[0049] Next, in step S14, the lead angle calculation unit 31 increases the lead angle amount δ by the first interval Δd1=15° for the second search, and executes the third search with the lead angle amount δ=30°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=30°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 2.3V and the reward is 2.3. The lead angle calculation unit 31 also calculates the total value and average value of the rewards for each time. The total value of the reward at this time is 11, and the average value is 3.66 (however, the value is rounded down to the third decimal place).
[0050] Next, in step S15, the lead angle calculation unit 31 increases the lead angle amount δ by the first interval Δd1=15° for the third search, and executes the fourth search with the lead angle amount δ=45°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=45°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 5.4V and the reward is 5.4. The lead angle calculation unit 31 also calculates the total value and average value of the rewards for each time. The total value of the reward at this time is 16.4, and the average value is 4.1.
[0051] In the illustrated example, the drive voltage (reward) changes from decreasing to increasing in the fourth search. Therefore, the first search is terminated as described above. That is, in the first search, the range of the advance angle δ=0° to 45° becomes the search range Q. Also, in the first search, the drive voltage in the third search performed immediately before the fourth search becomes the minimum value.
[0052] Next, the motor drive control device 2 performs a second search. In the second search, first, in step S21, the lead angle calculation unit 31 determines which of the second and fourth search has a smaller drive voltage (reward) that is located on both sides of the third search, which is the minimum drive voltage.
[0053] In the illustrated example, the drive voltage [2.7V] in the second search is smaller than the drive voltage [5.4V] in the fourth search. Therefore, in step S22, lead angle calculation unit 31 estimates that there is a lead angle δ at which the drive voltage (reward) is minimum between the second search and the third search, and performs subsequent searches between the second search (lead angle δ=15°) and the third search (lead angle δ=30°). That is, in the second search, the range of lead angle δ=15° to 30° becomes the search range Q.
[0054] Next, in step S23, the lead angle calculation unit 31 sets the second interval Δd2 to be smaller than the first interval Δd1. In the illustrated example, the second interval Δd2 is set to half the first interval Δd1. That is, the second interval Δd2 is set to 7.5°. Next, in step S24, the lead angle calculation unit 31 increases the lead angle amount δ by the second interval Δd2=7.5° for the second search, and executes the fifth search with the lead angle amount δ=22.5°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=22.5°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 2.03V and the reward is 2.03. Further, advance angle calculation unit 31 calculates the total value and average value of the reward for each time. The total value of the reward at this point is 18.43, and the average value is 3.68 (however, any value after the third decimal place is rounded down).
[0055] In this way, the second search ends. In the example shown, the minimum value of the drive voltage at the end of the second search is not sufficiently low, so lead angle calculation section 31 continues the search.
[0056] Next, the motor drive control device 2 performs a third search. The drive voltage in the fifth search falls below the drive voltage in the third search. Therefore, in step S31, the lead angle calculation unit 31 estimates that there is a lead angle δ at which the drive voltage is minimum between the fifth search and the third search, and performs the third search between the fifth search (lead angle δ=22.5°) and the third search (lead angle δ=30°). That is, in the third search, the range of lead angle δ=22.5° to 30° becomes the search range Q.
[0057] Next, in step S32, the lead angle calculation unit 31 sets the third interval Δd3 to be smaller than the second interval Δd2. In the illustrated example, the third interval Δd3 is set to half the second interval Δd2. That is, the third interval Δd3 is set to 3.75°. Next, in step S33, the lead angle calculation unit 31 increases the lead angle amount δ by the third interval Δd3=3.75° for the fifth search, and executes the sixth search with the lead angle amount δ=26.25°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=26.25°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 2.03V and the reward is 2.03. Further, advance angle calculation unit 31 calculates the total and average value of the reward for each time. The total value of the reward at this point is 20.46, and the average value is 3.41.
[0058] In this way, the third search is completed. In the illustrated example, the minimum value of the drive voltage at the end of the third search is not sufficiently low, so lead angle calculation section 31 continues the search.
[0059] Next, the motor drive control device 2 performs a fourth search. The drive voltage in the sixth search is equal to the drive voltage in the fifth search. Therefore, in step S41, the lead angle calculation unit 31 estimates that there is a lead angle δ at which the drive voltage is minimum between the fifth and sixth searches, and performs subsequent searches between the fifth search (lead angle δ=22.5°) and the sixth search (lead angle δ=26.25°). That is, in the fourth search, the range of lead angle δ=22.5° to 26.25° becomes the search range Q.
[0060] Next, in step S42, the lead angle calculation unit 31 sets the fourth interval Δd4 to be smaller than the third interval Δd3. In the illustrated example, the fourth interval Δd4 is set to half of the third interval Δd3. That is, the fourth interval Δd4 is set to 1.875°. Next, in step S43, the lead angle calculation unit 31 increases the lead angle amount δ by the fourth interval Δd4=1.875° for the fifth search, and executes the seventh search with the lead angle amount δ=24.375°. The motor drive IC 4 that receives this generates a drive pulse signal Pd so that the rotation speed ω of the motor M is constant at a predetermined speed ω0 with the lead angle amount δ=24.375°. The lead angle calculation unit 31 detects the drive voltage applied to each coil from the duty ratio of the drive pulse signal Pd at this time, and the detected drive voltage is used as the reward. In the illustrated example, the drive voltage is 2V and the reward is 2. Further, advance angle calculation unit 31 calculates the total value and average value of the reward for each time. The total value of the reward at this point is 22.46, and the average value is 3.20 (however, any value after the third decimal place is rounded down).
[0061] The lead-angle calculation unit 31 determines that the drive voltage (reward) in the seventh search is a sufficiently small value that can fully achieve the desired drive efficiency, and determines the lead-angle amount δ = 24.375° in the seventh search as the optimal solution for the lead-angle amount δ in step S44.
[0062] As described above, the optimal solution for the lead angle δ is found based on the strategy of the learning model 310. Then, as described above, the lead angle calculation unit 31 transmits the optimal solution for the lead angle δ to the motor drive IC 4, and the motor drive IC 4, upon receiving it, applies a drive voltage to the motor M at a predetermined timing so that the lead angle δ becomes the optimal solution. This realizes highly efficient driving of the motor M.
[0063] In this way, by performing a search based on the strategy of the learning model 310 to find the optimal solution for the lead angle δ, the amount of calculations can be reduced compared to finding the optimal solution for the lead angle δ by randomly or regularly trying all possible solutions without a strategy. Therefore, the optimal solution for the lead angle δ can be found in a shorter time, and the motor M can be converged to a highly efficient driving state in a shorter time, while also saving the calculation resources of the microcomputer 3 and the motor drive IC 4.
[0064] <Second embodiment> FIG. 8 is a block diagram of a motor drive control device according to the second embodiment.
[0065] The motor drive control device 2 of this embodiment is similar to the motor drive control device 2 of the first embodiment described above, except that the method in which the lead angle calculation unit 31 detects the drive voltage is different. Therefore, in the following description, the present embodiment will be described mainly with respect to the differences from the previously described embodiment, and a description of the similarities will be omitted. In addition, in the drawings of this embodiment, the same reference numerals are used for the same configurations as the previously described embodiment.
[0066] 8, in the motor drive control device 2 of this embodiment, the motor drive IC 4 has a current detection unit 48 connected to the motor drive control unit 45, and an overcurrent protection circuit 49 connected to the current detection unit 48. The current detection unit 48 is, for example, a shunt resistor, and detects the amount of current supplied to the motor drive control unit 45 and outputs the detected amount of current as a current value It. The overcurrent protection circuit 49 protects the motor drive IC 4 by stopping output when it detects an overcurrent based on the current value It output by the current detection unit 48.
[0067] The microcomputer 3 also has an AD converter 34 that performs AD conversion (analog-to-digital conversion) on the current value It output by the current detection unit 48. The lead angle calculation unit 31 then detects the drive voltage based on the current value It converted into a digital signal by the AD converter 34. With this configuration as well, the drive voltage can be detected accurately with a simple configuration.
[0068] The second embodiment as described above can also achieve the same effects as the first embodiment.
[0069] While the motor drive control device and the motor drive control method of the present invention have been described above based on the illustrated embodiment, the present invention is not limited to this, and the configuration of each part can be replaced with any configuration having a similar function. In addition, any other configuration may be added to the present invention. [Explanation of symbols]
[0070] 1...Drive system 2...Motor drive control device 3...Microcomputer 31...Lead angle calculation section 310...Learning model 32...Target speed calculation section 33...Temperature detection section 34...AD converter 4...Motor drive IC 41...Speed control section 42...Energetic timing generation section 43...Drive waveform generation section 44...PWM circuit 45...Motor drive control section 46...Rotation angle detection section 47...Rotation speed calculation section 48...Current detection section 49...Overcurrent protection circuit 5...Temperature detection element Dp...Energetic phase signal H...Position sensor It...Current value M...Motor Pd...Drive pulse signal S11...Step S12...Step S13...Step S14...Step S15...Step S21...Step S22...Step S23...Step S24...Step S31...Step S32...Step S33...Step S41...Step S42...Step S43...Step S44...Step SH...Position detection signal St...Temperature signal Vref...Voltage command value Wd...Waveform signal Δd1...First interval Δd2...Second interval Δd3...Third interval Δd4...Fourth interval δ...Advance angle θ...Rotation angle ω...Rotation speed ω0...Predetermined speed ωref...Target rotation speed
Claims
1. a lead angle calculation unit having a learning model for determining a lead angle amount of a motor; a motor control unit that applies a drive voltage to the motor and drives the motor with the lead angle amount determined by the lead angle calculation unit, the motor control unit changes the advance angle amount according to a strategy of the learning model while maintaining a constant rotation speed of the motor; the lead-angle calculation unit determines an optimal solution for the lead-angle amount based on the drive voltage at each lead-angle amount, A motor drive control device, characterized in that the motor control unit drives the motor with the optimal solution.
2. 2. The motor drive control device according to claim 1, wherein the measure reduces an amount of change in the advance angle each time the search range for obtaining the drive voltage is narrowed.
3. The method includes a first search for changing the advance angle in the same direction at first intervals until the drive voltage changes from a decrease to an increase; 3. The motor drive control device according to claim 2, further comprising: a second search that determines a search range narrower than the first search based on the drive voltage obtained in the first search, and changes the amount of lead angle by a second interval smaller than the first interval within the determined search range.
4. If the drive voltage in the n-th search in the first search is a minimum value, The motor drive control device described in claim 3, wherein in the second search, the drive voltage in the (n-1)th search is compared with the drive voltage in the (n+1)th search, and the range between the smaller search and the nth search is determined as the search range.
5. the motor control unit includes a PWM circuit that generates a drive pulse signal, and a motor drive control unit that applies the drive voltage to the motor based on the drive pulse signal output from the PWM circuit; The motor drive control device according to claim 1 , wherein the advance angle calculation section detects the drive voltage based on a duty ratio of the drive pulse signal.
6. the motor control unit has a PWM circuit that generates a drive pulse signal, a motor drive control unit that applies the drive voltage to the motor based on the drive pulse signal output from the PWM circuit, and a current detection unit that detects an amount of current flowing through the motor drive control unit; The motor drive control device according to claim 1 , wherein the advance angle calculation section detects the drive voltage based on the amount of current detected by the current detection section.
7. a lead angle calculation unit having a learning model for determining a lead angle amount of a motor; a motor control unit that applies a drive voltage to the motor and drives the motor with the lead angle amount determined by the lead angle calculation unit, the motor control unit changes the advance angle amount according to a strategy of the learning model while maintaining a constant rotation speed of the motor; the lead-angle calculation unit determines an optimal solution for the lead-angle amount based on the drive voltage at each lead-angle amount, A motor drive control method comprising driving the motor with the optimal solution.
Citation Information
Patent Citations
Semiconductor integrated circuit and motor drive device
JP2015062329A
Motor drive control device and motor drive control method
JP2022066913A
