Motor control device

The motor control device improves responsiveness by calculating and adjusting the duty ratio with an offset value, addressing torque issues and environmental changes, ensuring timely motor start-up.

JP7718328B2Active Publication Date: 2025-08-05DENSO CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022087898
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-08-05
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

Conventional motor control devices fail to account for changes in motor characteristics due to environmental conditions and increased load due to aging, leading to insufficient torque and delayed motor start-up.

Method used

A motor control device that includes a microcomputer to calculate and adjust the duty ratio by adding an offset value to the PI control, using a memory device to store PI duty ratios and sensor signals to improve responsiveness during motor start-up.

Benefits of technology

Enhances motor responsiveness by preventing torque shortages and adapting to changes in motor characteristics due to environment and aging, ensuring timely motor start-up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007718328000001
    Figure 0007718328000001
  • Figure 0007718328000002
    Figure 0007718328000002
  • Figure 0007718328000003
    Figure 0007718328000003
Patent Text Reader

Abstract

To provide a motor control device capable of enhancing responsiveness in control start of a motor.SOLUTION: A motor control device comprises: a processor which generates a motor output voltage based on a PI duty ratio and controls the motor according to the generated motor output voltage; and a nonvolatile memory in which a PI offset value to be added to the PI duty ratio is stored. The processor calculates the PI duty ratio using a target rotation speed and an actual rotation speed of the motor in a control cycle (S61). The processor then reads the PI offset value out of the nonvolatile memory and adds it to the calculated PI duty ratio, thereby generating a start-time duty ratio used to generate the motor output voltage in control start of the motor (S63).SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a motor control device. [Background technology]

[0002] One example of a conventional motor control device is a brushless motor drive control device disclosed in Patent Document 1. In this brushless motor drive control device, a synchronization signal that generates a rotating magnetic field in the armature winding of the brushless motor in a predetermined pattern is output by a synchronization signal generating means for a fixed period of time after the motor starts up. Then, in the brushless motor drive control device, a startup duty is output in a predetermined pattern from a startup duty command means in synchronization with this. The brushless motor drive control device also compares the DC voltage supplied to the inverter circuit with a predetermined reference voltage to determine the magnitude of the DC voltage, and increases or decreases the startup duty based on the magnitude of the DC voltage. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 11-243698 Summary of the Invention [Problem to be solved by the invention]

[0004] However, Patent Document 1 does not take into consideration the effects of changes in motor characteristics due to the environment in which the motor is used or the increased load due to aging. As a result, Patent Document 1 may not have enough torque when starting to control the motor, which could result in a delay in starting rotation when starting to control the motor.

[0005] One disclosed object is to provide a motor control device that can improve responsiveness at the start of motor control. [Means for solving the problem]

[0006] The motor control device disclosed herein comprises: A motor control device that controls a motor (40), a processing device (13, 14) that generates a motor output voltage based on the duty ratio and controls the motor using the generated motor output voltage; a memory device (16) in which an offset value to be added to the duty ratio is stored; The processing device a calculation step (S61) of calculating a duty ratio using a target rotation speed of the motor and an actual rotation speed that is an actual rotation speed of the motor at a predetermined period; The offset value is read from the memory device and added to the calculated duty ratio. To generate the torque required to start the motor and a generating step (S63) of generating a duty ratio at startup.

[0007] The motor control device disclosed herein generates a startup duty ratio by adding an offset value read from a memory device to a calculated duty ratio, thereby preventing a shortage of torque required when starting motor control and improving responsiveness when starting motor control.

[0008] The various aspects disclosed in this specification employ different technical means to achieve their respective objectives. The reference numerals in parentheses in the claims and in this section are intended to exemplify correspondences with the following embodiments and are not intended to limit the technical scope. The objectives, features, and advantages disclosed in this specification will become more apparent by reference to the following detailed description and the accompanying drawings. [Brief explanation of the drawings]

[0009] [Figure 1] FIG. 1 is a block diagram showing a schematic configuration of a motor control device. [Figure 2] 1 is a diagram showing a memory arrangement. [Figure 3] 4 is a flowchart showing a main process of the motor control device. [Figure 4] 4 is a flowchart showing a PI calculation process of the motor control device. [Figure 5] 10 is a graph showing changes in motor rotation speed and PI duty ratio when there is a delay in starting the motor. [Figure 6] 4 is a time chart showing a sensor signal of each phase; [Figure 7] 10 is a graph showing a change in the deviation integral value when there is a delay in starting the motor. [Figure 8] 10 is a graph showing a change in the deviation integral value when there is no delay in starting the motor. [Figure 9] FIG. 9 is an enlarged view of a portion IX in FIG. 8. DETAILED DESCRIPTION OF THE INVENTION

[0010] Hereinafter, several embodiments for carrying out the present disclosure will be described with reference to the drawings. In each embodiment, parts corresponding to matters described in the preceding embodiment may be assigned the same reference numerals, and duplicated explanations may be omitted. In each embodiment, when only a part of the configuration is described, the other parts of the configuration may be applied by referring to the other embodiment described previously.

[0011] (First embodiment) A motor control device according to a first embodiment will be described with reference to Figures 1 to 6. The motor control device controls a motor 40. For example, the motor 40 may be a brushless blower motor for driving and rotating a blower fan in a vehicle air conditioning unit. However, the present disclosure is not limited to this, and may also be applied to a motor control device for controlling a motor 40 used in another device (unit).

[0012] <Overall structure> The motor control device may include at least a microcomputer 10. As shown in FIG. 1, the microcomputer 10 is connected to a motor 40 via a pre-driver 20 and a three-phase inverter 30. A Hall IC 50 is connected to the microcomputer 10. The motor control device may include at least one of the pre-driver 20, the three-phase inverter 30, and the Hall IC 50 in addition to the microcomputer 10. In the drawings, the pre-driver 20 is indicated as PRD, the three-phase inverter 30 as INV, the motor 40 as M, and the Hall IC 50 as HIC.

[0013] The motor 40 is, for example, a three-phase motor including a stator, a rotor, and a shaft attached to the rotor. The stator has three phases: U, V, and W. Each of the U, V, and W phases of the stator generates a so-called rotating magnetic field by switching the polarity of the magnetic field generated by an electromagnet under the control of the microcomputer 10. The rotor is provided with a rotor magnet. The rotor magnet rotates the rotor by the rotating magnetic field generated by the stator. A shaft and a fan are fixed to the rotor. The shaft and fan rotate with the rotation of the rotor. The vehicle air conditioning unit is capable of blowing air by the rotation of the fan together with the shaft. Note that, hereinafter, the rotation of the motor 40 is the same as the rotation of the rotor. Furthermore, the acceleration of the motor 40 refers to the acceleration of the rotor.

[0014] The pre-driver 20 amplifies the PWM signal input from the microcomputer 10 and generates a drive signal for switching each switching element of the three-phase inverter 30. The pre-driver 20 applies the drive signal to each switching element.

[0015] The three-phase inverter 30 includes, for example, a bridge circuit using six switching elements. The three-phase inverter 30 switches the power supplied to each phase coil of the stator of the motor 40 in response to a drive signal from the pre-driver 20.

[0016] The Hall IC 50 outputs a sensor signal that changes in response to the rotation of the motor 40. The Hall IC 50 has three sensor elements, one for the U phase, one for the V phase, and one for the W phase, to output a sensor signal corresponding to the stator coil of each phase. Therefore, as shown in FIG. 6, the Hall IC 50 outputs pulse wave sensor signals for each of the U phase, V phase, and W phase. The Hall IC 50 corresponds to a rotation sensor. In this embodiment, the Hall IC 50 is used as the rotation sensor, but the present invention is not limited to this.

[0017] <Configuration of Microcomputer 10> The configuration of the microcomputer 10 will be described with reference to Figures 1 and 2. The microcomputer 10 includes a processor, a memory device 16, an input / output interface, etc. The microcomputer 10 may also include peripheral circuits such as a timer and an AD converter. The memory device 16 includes a RAM 161 and a non-volatile memory 162.

[0018] In the microcomputer 10, the processor executes a program stored in the memory device 16. By executing the program, the processor performs arithmetic processing using data stored in the memory device 16 and data input from the input / output interface. In the microcomputer 10, the processor executes the arithmetic processing at a predetermined control period. The control period is, for example, 2 ms. However, the control period is not limited to this. The control period corresponds to the predetermined period.

[0019] The microcomputer 10 can realize various functions by performing arithmetic processing. For example, the microcomputer 10 controls the motor 40 via the pre-driver 20 by outputting a PWM signal, which is the result of the arithmetic processing, from an input / output interface. It can also be said that the microcomputer 10 has various functions. FIG. 1 shows functional blocks indicating the various functions of the microcomputer 10. In addition to the functional blocks, FIG. 1 also shows a memory device 16.

[0020] Command speed calculation unit 11 calculates a command rotation speed based on a command signal from a higher-level ECU or the like. The command signal is a control signal including a speed command value related to the rotation speed of motor 40 (rotor). The command signal is output based on, for example, operation of an operation unit inside the vehicle. Target speed calculation unit 12 calculates a target rotation speed, which is a target value, from the command rotation speed, and outputs the target rotation speed to calculation processing unit 13 via a subtractor. The command rotation speed and target rotation speed are speeds related to the rotation speed of the rotor in motor 40.

[0021] The calculation processing unit 13 includes a PI control unit 131 and a voltage compensation unit 132. The deviation between the target rotation speed calculated by a subtractor and the actual rotation speed is input to the PI control unit 131. The PI control unit 131 performs feedback control (PI control) based on the deviation.

[0022] The PI control unit 131 calculates a proportional component (proportional term) by multiplying the deviation by the proportional gain of P (proportional) control, and calculates an integral component (integral term) by multiplying the integral value of the deviation by the integral gain of I (integral) control. The PI control unit 131 then calculates a duty ratio by adding these proportional and integral components using an adder, and outputs the duty ratio to the voltage compensation unit 132. The actual rotation speed is the actual rotation speed of the rotor calculated by the motor speed calculation unit 15. The duty ratio obtained by the calculation by the PI control unit 131 can also be referred to as a calculated duty ratio or a PI calculation result. The calculation processing unit 13 may calculate the rotational position of the motor 40 based on a sensor signal from the Hall IC 50.

[0023] The voltage compensator 132 outputs a duty ratio used to generate the motor output voltage, such as a startup duty ratio. During the period before it is determined that the motor 40 has started rotating or during acceleration, the voltage compensator 132 generates the startup duty ratio by adding the offset value read from the nonvolatile memory 162 to the PI calculation result. The voltage compensator 132 then outputs the startup duty ratio. The startup duty ratio is a duty ratio generated to improve the responsiveness of the motor 40 at startup during a predetermined period from the start of control of the motor 40. The startup duty ratio can also be considered a duty ratio for generating the torque required to start the motor 40. Note that during non-acceleration, the voltage compensator 132 outputs the PI calculation result as the duty ratio used to generate the motor output voltage. Hereinafter, the offset value will also be referred to as a PI offset value (PIO).

[0024] In this embodiment, as an example, the arithmetic processing unit 13 is employed, which determines that the motor has started to rotate when the sensor signal of the sensor element for each phase changes twice. This is to ensure that the motor has started to rotate. However, the present disclosure is not limited to this. For example, the arithmetic processing unit 13 may determine that the motor has started to rotate when the sensor signal of the sensor element for each phase changes once.

[0025] For a predetermined period after control of the motor 40 begins, a discrepancy may occur between the target rotation speed and the actual rotation speed. Figure 5 shows an example in which the timing at which the motor 40 actually starts rotating is delayed relative to the start of control of the motor 40 in response to a command signal. The upper part of Figure 5 shows the time change in the target rotation speed with a two-dot chain line, and the time change in the actual rotation speed with a solid line. The lower part of Figure 5 shows the time conversion of the PI duty ratio.

[0026] For this reason, the calculation processing unit 13 determines that the motor has started to rotate with a delay from the start of control of the motor 40. Timing t2 is the timing at which the sensor signal first changes after control of the motor 40 begins. In this example, a start-up delay of a period X [ms] occurs from the start of control of the motor 40 to timing t2. Timing t1 is the timing at which the PI offset value is read out. Timing t3 is the timing at which the sensor signal of the sensor element for each phase changes twice and it is determined that the motor has started to rotate. Timing t3 is the timing at which the sensor signal first changes after control of the motor 40 begins.

[0027] In this way, the arithmetic processing unit 13 controls the rotation speed of the motor 40 by adjusting the PI duty ratio of the PWM signal, that is, performs so-called PWM control to drive and control the motor 40. Furthermore, the arithmetic processing unit 13 corrects the PI duty ratio of the PWM signal with a PI offset value to improve the responsiveness of the motor 40 at startup.

[0028] The nonvolatile memory 162 stores a PI offset value for improving the responsiveness of the motor 40 at startup. The PI offset value is set so that the startup duty ratio becomes the PI duty ratio when the motor 40 actually starts rotating. The PI offset value is a value that corresponds to the actual rotation of the motor 40. However, the PI offset value may be a preset value.

[0029] 2, the memory device 16 stores a plurality of PI duty ratios (PID) that are candidate values for the PI offset value in a memory array. Each PI duty ratio is a PI calculation result calculated by the PI control unit 131 according to the rotation of the motor 40. The plurality of PI duty ratios are stored in, for example, the RAM 161 of the memory device 16.

[0030] The calculation processing unit 13 stores, in the memory array of the memory device 16, a plurality of PI duty ratios calculated by the PI control unit 131 from the start of control of the motor 40 until it is determined that the motor 40 has started rotating. More specifically, the calculation processing unit 13 stores the PI duty ratio calculated at each timing when the sensor signal of each phase changes. The calculation processing unit 13 also stores the timing when the sensor signal changes and the PI duty ratio calculated at the timing when the sensor signal changes, in association with each other. The start of control of the motor 40 is the timing (time point) when control of the motor 40 actually starts. The start of control of the motor 40 can also be said to be the start of activation of the motor 40.

[0031] The timings at which the sensor signals of each phase change are, for example, timings U1, V1, W1, U2, V2, and W2 (timings 1 to 6) in Fig. 6. Timings U1, V1, and W1 are the timings at which the sensor signals change for the first time in the sensor elements for the U phase, the V phase, and the W phase, respectively. Timings U2, V2, and W2 are the timings at which the sensor signals change for the second time in the sensor elements for the U phase, the V phase, and the W phase, respectively.

[0032] In the example of Fig. 2, the following PI duty ratios are stored: 10% at timing U1, 11% at timing V1, 12% at timing W1, 13% at timing U2, 14% at timing V2, and 15% at timing W2. In Fig. 2, timing U1 is timing 1, timing V1 is timing 2, timing W1 is timing 3, timing U2 is timing 4, timing V2 is timing 5, and timing W2 is timing 6.

[0033] Then, the calculation processing unit 13 selects a PI offset value from the multiple PI duty ratios. In other words, the calculation processing unit 13 selects one from the multiple PI duty ratios and stores the selected PC duty ratio as a PI offset value in the non-volatile memory 162. At this time, the calculation processing unit 13 stores, as the PI offset value, the PI duty ratio stored at the timing closest to the actual start of control of the motor 40. In the example of FIG. 2, the PI duty ratio of 10% associated with timing U1 is stored as the PI offset value. Therefore, it can be said that the PI duty ratio and the PI offset value are stored in the memory device 16 (non-volatile memory 162) in a changeable (updatable) state. Note that, before the motor 40 is actually rotated, a default value of the PI offset value is stored.

[0034] The motor output calculation unit 14 generates a PWM signal for controlling the three-phase inverter 30 based on the startup duty ratio generated by the voltage compensation unit 132. The motor output calculation unit 14 outputs the generated PWM signal to the pre-driver 20. The calculation processing unit 13 and the motor output calculation unit 14 correspond to a processing device.

[0035] The motor speed calculation unit 15 calculates the rotation speed (actual rotation speed) of the rotor based on the sensor signal from the Hall IC 50.

[0036] <Processing operation> The processing operation of the microcomputer 10 will be described with reference to Figures 3 to 6. When the microcomputer 10 is powered on, it starts executing the flowchart (main processing) shown in Figure 3. Furthermore, the microcomputer 10 starts executing the flowchart shown in Figure 3 for each control cycle from when the power is turned on until when the power is turned off. Note that powering on can also be considered as the start of supplying operating power to the microcomputer 10.

[0037] In step S10, the PI offset value is read out. The calculation processing unit 13 reads out the PI offset value stored in the nonvolatile memory 162. The calculation processing unit 13 reads out the PI offset value at timing t1 in FIG.

[0038] In step S20, it is determined whether the motor 40 is stopped. If the calculation processing unit 13 determines that the motor 40 is stopped, the process proceeds to step S30. If the calculation processing unit 13 does not determine that the motor 40 is stopped, the process proceeds to step S40. This is because the PI duty ratio after the motor 40 starts moving is stored in the non-volatile memory 162. The calculation processing unit 13 determines whether the motor 40 is stopped based on the sensor signal from the Hall IC 50. The calculation processing unit 13 determines that the motor 40 is stopped until the sensor signal of the sensor element for each phase changes twice, and does not determine that the motor is stopped if the sensor signal changes twice.

[0039] In step S30, the rotation start flag is set to OFF by the calculation processing unit 13. The rotation start flag is provided in part of the memory device 16.

[0040] In step S40, a target rotation speed is acquired. Command speed calculation unit 11 calculates the command rotation speed. Target speed calculation unit 12 calculates the target rotation speed, which is a target value, from the command rotation speed. In other words, target speed calculation unit 12 acquires the target rotation speed by calculation.

[0041] In step S50, a process for setting a target rotation speed is performed. The calculation processing unit 13 sets a target rotation speed to be reached for each control cycle in order to increase the speed at a predetermined acceleration.

[0042] In step S60, the PI calculation processing is performed by the calculation processing unit 13. The PI calculation processing will be described later with reference to FIG.

[0043] In step S70, the motor output is updated. The motor output calculation unit 14 generates a PWM signal for controlling the three-phase inverter 30 based on the duty ratio output from the voltage compensation unit 132, and outputs the PWM signal to the pre-driver 20. The duty ratio output from the voltage compensation unit 132 is updated in steps S61 and S63, which will be described later. Therefore, the motor output calculation unit 14 updates the motor output by outputting the PWM signal generated based on the duty ratio output from the voltage compensation unit 132.

[0044] Here, the PI calculation process will be described with reference to Fig. 4. The calculation processing unit 13 executes the process shown in the flowchart of Fig. 4 for each control period.

[0045] In step S61, a PI calculation is performed using the target rotation speed and the actual rotation speed (calculation step). As described above, the PI control unit 131 calculates the PI calculation result using the target rotation speed and the actual rotation speed. As described above, the calculation processing unit 13 stores the PI calculation result (PI duty ratio) in the memory array of the memory device 16 at each timing when the sensor signal of each phase changes from the time when control of the motor 40 starts until it is determined that the motor 40 has started rotating.

[0046] In step S62, it is determined whether or not the motor 40 is accelerating. The calculation processing unit 13 determines whether or not the motor 40 is accelerating based on the target rotation speed set in step S50. The calculation processing unit 13 proceeds to step S63 where it determines that the motor 40 is accelerating. If the calculation processing unit 13 does not determine that the motor 40 is accelerating, the flow chart of FIG. 4 is terminated.

[0047] In step S63, the PI calculation result is obtained by adding the PI offset value to the PI calculation result (generation step). That is, the voltage compensation unit 132 adds the PI offset value read out in step S10 to the PI calculation result calculated in step S61 to obtain a new PI calculation result. In other words, the voltage compensation unit 132 corrects the duty ratio used to generate the motor output voltage by adding the PI offset value to the PI calculation result calculated in step S61. The new PI calculation result is the startup duty ratio.

[0048] Therefore, when it is not determined that the motor is accelerating (when the motor is not accelerating), the voltage compensating unit 132 outputs the PI calculation result of step S61 as the duty ratio used to generate the motor output voltage, whereas when it is determined that the motor is accelerating, the voltage compensating unit 132 outputs the new PI calculation result calculated in step S63 as the duty ratio used to generate the motor output voltage. Also, the motor 40 is accelerated during the period before it is determined that the motor 40 has started to rotate. Therefore, the voltage compensating unit 132 determines that the period before it is determined that the motor 40 has started to rotate is during acceleration. Therefore, during the period before it is determined that the motor 40 has started to rotate, the voltage compensating unit 132 outputs the new PI calculation result calculated in step S63 as the duty ratio used to generate the motor output voltage.

[0049] In step S64, it is determined whether the motor has started to rotate (start determination step). The calculation processing unit 13 determines that the motor 40 has started to rotate based on the sensor signal. In this embodiment, the calculation processing unit 13 determines that the motor has started to rotate when the sensor signal of the sensor element for each phase changes twice.

[0050] In step S65, it is determined whether it is time to save the PI offset value. If the calculation processing unit 13 determines in step S64 that the motor has started to rotate and further determines that the rotation start flag is set to OFF, it considers it time to save the PI offset value and proceeds to step S66. On the other hand, if the calculation processing unit 13 determines in step S64 that the motor has started to rotate and further determines that the rotation start flag is not set to OFF, it considers it not time to save the PI offset value and ends the flowchart of FIG. 4. A YES determination in step S66 can be considered a branch before the determination that the motor has started to rotate. On the other hand, a NO determination in step S66 can be considered a branch after the determination that the motor has started to rotate.

[0051] In step S66, the rotation start flag is set to ON. The calculation processing unit 13 sets the rotation start flag to ON. That is, the calculation processing unit 13 switches the rotation start flag from OFF to ON.

[0052] In step S67, the PI duty ratio of the PI offset value candidate is acquired (acquisition step). In this embodiment, as an example, the PI duty ratio of the PI offset value candidate is read from the RAM 161. The calculation processing unit 13 reads out, as the PI offset value candidate, the PI duty ratio at which the sensor signal first changes from the multiple PI duty ratios stored in the RAM 161. For example, the calculation processing unit 13 reads out the PI offset value at timing t2 at timing t3 in FIG. 5. The read PI duty ratio corresponds to the PI duty ratio to be stored in the non-volatile memory 162 as the PI offset value.

[0053] In step S68, it is determined whether PID-PIO>±threshold value [%] (determination step). PID here is the PI duty ratio acquired in step S67. PIO is the PI offset value read out in step S10. Therefore, the calculation processing unit 13 determines whether the difference between the PI offset value stored in the nonvolatile memory 162 and the PI duty ratio acquired in step S67 exceeds the threshold value. The threshold value is a preset value.

[0054] If the calculation processing unit 13 determines that PID-PIO>±threshold, it considers that PIO needs to be updated and proceeds to step S69. On the other hand, if the calculation processing unit 13 does not determine that PID-PIO>±threshold, it considers that PIO does not need to be updated and ends the flowchart of Figure 4. Note that step S68 can also be omitted. In other words, the calculation processing unit 13 may perform step S69 every time it executes step S67.

[0055] In step S69, the PI duty ratio is stored as a PI offset value (storage step). The calculation processing unit 13 stores the PI duty ratio acquired in step S67 as a PI offset value in the nonvolatile memory 162, on the condition that the difference exceeds the threshold value. In other words, the calculation processing unit 13 updates the PI offset value stored in the nonvolatile memory 162 to the PI duty ratio acquired in step S67. This allows the microcomputer 10 to prevent an increase in the number of times the nonvolatile memory 162 is rewritten. In other words, the microcomputer 10 can reduce the frequency of writing to the nonvolatile memory 162.

[0056] The means and / or functions provided by the microcomputer 10 can be provided by software recorded in the physical memory device 16 and a computer that executes the software, software alone, hardware alone, or a combination of these. For example, when the microcomputer 10 is provided by electronic circuits that are hardware, the means and / or functions can be provided by digital circuits including a large number of logic circuits, or analog circuits.

[0057] <Effects> As described above, the microcomputer 10 generates the startup duty ratio by adding the PI offset value read from the nonvolatile memory 162 to the calculated PI duty ratio. This allows the microcomputer 10 to prevent a shortage of torque required when starting control of the motor 40, improving responsiveness when starting control of the motor 40. The microcomputer 10 can also improve responsiveness even when the characteristics of the motor 40 change due to the operating environment or when the load increases due to aging.

[0058] Furthermore, the microcomputer 10 uses as the PI offset value the PI duty ratio when actually rotating the motor 40. This allows the microcomputer 10 to further reduce the effects of changes in the characteristics of the motor 40 due to the usage environment and increased load due to aging, thereby improving responsiveness at the start of control.

[0059] The preferred embodiments of the present disclosure have been described above. However, the present disclosure is not limited to the above embodiments, and various modifications are possible within the scope of the present disclosure. Below, a second embodiment will be described as another aspect of the present disclosure. The above embodiments and the second embodiment can be implemented independently, or can be implemented in appropriate combination. The present disclosure is not limited to the combinations shown in the embodiments, and can be implemented in various combinations.

[0060] (Second embodiment) A motor control device of a second embodiment will be described using Figures 7 to 9. In this embodiment, differences from the first embodiment will be mainly described. The motor control device of this embodiment has the same configuration as the first embodiment. In this embodiment, the method of acquiring the duty ratio to be stored as a PI offset value by the microcomputer 10 (arithmetic processing unit 13) is different from that of the first embodiment.

[0061] 7 to 9, the time change of the target rotation speed is indicated by a two-dot chain line, the time change of the program-recognized rotation speed is indicated by a dashed line, and the time change of the actual rotation speed is indicated by a solid line. Timing t10 is the actual start timing of the motor 40. Timing t11 is the timing when the microcomputer 10 determines that the motor 40 has started to rotate. The start of the motor 40 means that the motor 40 has actually started to rotate.

[0062] In step S67, the calculation processing unit 13 multiplies the integral value of the deviation between the target rotation speed and the actual rotation speed when the motor 40 actually starts rotating by a constant of the integral term to obtain a PI duty ratio to be stored as a PI offset value (obtaining step). The constant of the integral term is an integral gain.

[0063] Note that when executing step S68, the calculation processing unit 13 may not store the PI duty ratio acquired here. Therefore, the PI duty ratio stored as the PI offset value can also be said to be the PI duty ratio of the PI offset value candidate. Also, the calculation processing unit 13 does not need to execute step S68. In this case, the PI duty ratio acquired here can also be said to be the PI offset value stored in the non-volatile memory 162. Hereinafter, the PI duty ratio stored as the PI offset value will also be simply referred to as the PI offset value.

[0064] First, the calculation processing unit 13 stores the actual deviation integral value (ADIV) in the memory device 16. As shown in the lower part of Fig. 7, the actual deviation integral value is the deviation integral value when it is determined that the motor 40 has started to rotate.

[0065] Next, the calculation processing unit 13 estimates time A. Time A is the time shown in the upper part of FIG. 7. Time A is the elapsed time from the actual start timing (t10) of the motor 40 until the motor rotation start speed (SV) is reached (t11). Time A is estimated from the motor rotation start speed (SV), which is the program-recognized rotation speed when it is determined that the motor 40 has started rotating, and the set motor acceleration (SA). The program-recognized rotation speed is the speed recognized by the microcomputer 10. The set motor acceleration is instructed together with a command signal from a higher-level ECU or the like. The calculation processing unit 13 estimates time A by calculating the motor rotation start speed (SV) / set motor acceleration (SA).

[0066] Here, the calculation processing unit 13 calculates the ideal integral value of deviation (IDIV). As shown in FIG. 8, the ideal integral value of deviation is the ideal integral value of deviation when there is no delay in starting the motor 40. The ideal integral value of deviation is the integral value of deviation from when the motor 40 actually starts to when the microcomputer 10 determines that the motor 40 has started rotating. The calculation processing unit 13 calculates the ideal integral value of deviation by calculating the speed deviation (VDEV) x time A / control period. As shown in FIG. 9, the speed deviation occurs every control period as the motor 40 accelerates. The speed deviation can be expressed as the motor acceleration x control period.

[0067] Furthermore, the calculation processing unit 13 calculates a start-up deviation integral value (SDIV). The start-up deviation integral value is the deviation integral value when the motor 40 actually starts. The calculation processing unit 13 calculates the start-up deviation integral value by subtracting the ideal deviation integral value from the actual deviation integral value.

[0068] Then, the calculation processing unit 13 calculates the PI offset value. The calculation processing unit 13 calculates the PI offset value from the startup deviation integral value. More specifically, the calculation processing unit 13 calculates the PI offset value by calculating P term constant × rotation speed deviation + I term constant × startup deviation integral value. When the motor actually starts, the speed deviation is 0. Therefore, the calculation processing unit 13 calculates the PI offset value by calculating I term constant × startup deviation integral value. The P term constant is a proportional gain.

[0069] In this way, the microcomputer 10 of the second embodiment can calculate (obtain) the PI offset value by calculation. The motor control device of the second embodiment can achieve the same effects as the motor control device of the first embodiment.

[0070] Although the present disclosure has been described with reference to the embodiments, it is understood that the present disclosure is not limited to the embodiments or structures. The present disclosure also encompasses various modifications and modifications within the scope of equivalents. In addition, although various combinations and forms are shown in the present disclosure, other combinations and forms including only one element, more, or less than one element are also within the scope and spirit of the present disclosure.

[0071] Disclosed technical ideas This specification discloses multiple technical ideas described in the following paragraphs, and also discloses multiple combined technical ideas indicated by alternatively citing the preceding technical ideas in the subsequent technical ideas.

[0072] Technical thought 1 A motor control device that controls a motor (40), a processing device (13, 14) that generates a motor output voltage based on the duty ratio and controls the motor using the generated motor output voltage; a memory device (16) in which an offset value to be added to the duty ratio is stored; The processing device includes: a calculation step (S61) of calculating the duty ratio using a target rotation speed of the motor and an actual rotation speed that is an actual rotation speed of the motor at a predetermined period; and a generation step (S63) of reading the offset value from the memory device and adding it to the calculated duty ratio to generate a startup duty ratio, which is the duty ratio used to generate the motor output voltage when control of the motor starts.

[0073] Technical thought 2 It is electrically connected to a rotation sensor (50) that outputs a sensor signal that changes according to the rotation of the motor, The motor control device described in Technical Idea 1, wherein the processing device includes a storage step (S69) of storing the duty ratio at the time when the sensor signal first changes since the start of control of the motor in the memory device as the offset value.

[0074] Technical thought 3 The processing device includes: a start determination step (S64) of determining whether the motor has started to rotate based on the sensor signal; an acquisition step (S67) of acquiring the duty ratio to be stored in the memory device as the offset value, each time the sensor signal changes during the period from when control of the motor is started until it is determined that the motor has started to rotate, the timing of the change in the sensor signal is associated with the duty ratio calculated at the timing of the change in the sensor signal and stored in the memory device; the obtaining step obtains from the memory device the duty ratio at the time when the sensor signal first changes after starting control of the motor; The motor control device according to Technical Idea 2, wherein in the storing step, the duty ratio acquired in the acquiring step is stored in the memory device as the offset value.

[0075] Technical thought 4 The processing device includes: In the calculation step, the duty ratio is calculated using a proportional term and an integral term in accordance with a deviation between the target rotation speed and the actual rotation speed, an acquisition step (S67) of acquiring the duty ratio to be stored as the offset value by multiplying an integral value of a deviation between the target rotation speed and the actual rotation speed when the motor actually starts to rotate by a constant of the integral term; The motor control device according to Technical Idea 2, wherein in the storing step, the duty ratio acquired in the acquiring step is stored in the memory device as the offset value.

[0076] Technical thought 5 The processing device includes: a determination step (S68) of determining whether or not a difference between the offset value stored in the memory device and the duty ratio acquired in the acquisition step exceeds a threshold value; A motor control device according to Technical Idea 3 or Technical Idea 4, wherein in the storage step, the duty ratio acquired in the acquisition step is stored in the memory device as the offset value, provided that the difference exceeds the threshold value.

[0077] technical thought 6 A motor control device described in any one of technical ideas 1 to 5, wherein the offset value is set so that the startup duty ratio becomes the duty ratio when the motor actually starts rotating. [Explanation of symbols]

[0078] 10...microcomputer, 11...command speed calculation unit, 12...target speed calculation unit, 13...arithmetic processing unit, 131...PI control unit, 132...voltage compensation unit, 14...motor output calculation unit, 15...motor speed calculation unit, 16...non-volatile memory, 20...pre-driver, 30...three-phase inverter, 40...motor, 50...Hall IC

Claims

1. A motor control device that controls a motor (40), a processing device (13, 14) that generates a motor output voltage based on the duty ratio and controls the motor using the generated motor output voltage; a memory device (16) in which an offset value to be added to the duty ratio is stored; The processing device includes: a calculation step (S61) of calculating the duty ratio using a target rotation speed of the motor and an actual rotation speed that is an actual rotation speed of the motor at a predetermined period; and a generating step (S63) of reading the offset value from the memory device and adding it to the calculated duty ratio to generate a startup duty ratio for generating the torque required to start the motor.

2. It is electrically connected to a rotation sensor (50) that outputs a sensor signal that changes according to the rotation of the motor, 2. The motor control device according to claim 1, further comprising a storage step (S69) in which the processing device stores the duty ratio at the time when the sensor signal first changes since control of the motor is started in the memory device as the offset value.

3. The processing device includes: a start determination step (S64) of determining whether the motor has started to rotate based on the sensor signal; an acquisition step (S67) of acquiring the duty ratio to be stored in the memory device as the offset value, each time the sensor signal changes during the period from when control of the motor is started until it is determined that the motor has started to rotate, the timing of the change in the sensor signal is associated with the duty ratio calculated at the timing of the change in the sensor signal and stored in the memory device; the obtaining step obtains from the memory device the duty ratio at the time when the sensor signal first changes after starting control of the motor; The motor control device according to claim 2 , wherein the storing step stores the duty ratio acquired in the acquiring step as the offset value in the memory device.

4. The processing device includes: In the calculation step, the duty ratio is calculated using a proportional term and an integral term in accordance with a deviation between the target rotation speed and the actual rotation speed, an acquisition step (S67) of acquiring the duty ratio to be stored as the offset value by multiplying an integral value of a deviation between the target rotation speed and the actual rotation speed when the motor actually starts to rotate by a constant of the integral term; The motor control device according to claim 2 , wherein the storing step stores the duty ratio acquired in the acquiring step as the offset value in the memory device.

5. The processing device includes: a determination step (S68) of determining whether or not a difference between the offset value stored in the memory device and the duty ratio acquired in the acquisition step exceeds a threshold value; 5. The motor control device according to claim 3, wherein the storing step stores the duty ratio acquired in the acquiring step as the offset value in the memory device on the condition that the difference exceeds the threshold value.

6. 2. The motor control device according to claim 1, wherein the offset value is set so that the start-up duty ratio becomes the duty ratio when the motor actually starts to rotate.

Citation Information

Patent Citations

  • Optical storage

    JP1998064076A

  • Drive controller for brushless motor and fan motor using the same

    JP1999243698A

  • Compressor drive

    JP2000270585A

  • Motor start control unit

    JP2001054295A

  • Motor drive unit, printer, computer program, computer system, and method for driving motor

    JP2003088172A