Motor drive control device, actuator, and motor drive control method

The motor drive control device stabilizes motor operation by dynamically adjusting the PWM signal duty ratio within a predetermined range, addressing coil current fluctuations and noise issues caused by load variations.

JP2024140992APending Publication Date: 2024-10-10MINEBEAMITSUMI INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023052405
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

Existing motor drive control devices for stepping motors experience significant coil current fluctuations due to varying load conditions, leading to noise and instability when the duty ratio of the PWM signal changes, especially when the load is high.

Method used

A motor drive control device that dynamically adjusts the maximum duty ratio of the PWM signal within a predetermined range, ensuring the coil current matches a current reference value by increasing or decreasing the duty ratio based on load conditions to stabilize the motor operation.

Benefits of technology

The solution effectively suppresses coil current ripples and noise, providing stable motor drive control by limiting duty ratio fluctuations, thus ensuring consistent performance across varying loads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To realize stable motor drive according to a motor load.SOLUTION: A motor drive control device 10 includes a control circuit 12 that generates a PWM signal as a drive control signal Sd such that a coil current of a motor 20 coincides with a current reference value Sis, and a drive circuit 14 that excites a coil 21 of the motor 20 on the basis of the drive control signal Sd. When the coil current has not reached the current reference value Sis, the control circuit 12 increases the maximum duty ratio Maxduty of the PWM signal within a predetermined range Rd of less than 100%, and when the coil current has reached the current reference value Sis, the control circuit 12 decreases the maximum duty ratio Maxduty within the predetermined range Rd, and generates a PWM signal such that the duty ratio of the PWM signal does not exceed the maximum duty ratio Maxduty.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a motor drive control device, an actuator, and a motor drive control method, and more particularly to a motor drive control device for driving a stepping motor, an actuator equipped with the motor drive control device, and a motor drive control method for driving a stepping motor. [Background technology]

[0002] 2. Description of the Related Art Conventionally, as a method for controlling the drive of a motor such as a stepping motor or a brushless DC motor, a method for driving a coil of a motor so that a current flowing through the coil has a sinusoidal waveform is known.

[0003] For example, in the microstep method, which is one of the driving methods for stepping motors, a motor drive control device changes the current reference value (command value) in a stepped manner according to the electrical angle θ (rotor position) of the stepping motor so that the current in the coils of each phase that make up the stepping motor becomes sinusoidal, and also monitors the coil current and switches the excitation state of the coils of each phase so that the detected value of the coil current does not exceed the reference value (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2006-254542 A Summary of the Invention [Problem to be solved by the invention]

[0005] Prior to filing this application, the inventors of the present application have investigated a new motor drive control device for driving a stepping motor by a microstep method. As a result of the investigation, the inventors of the present application have found the following problems.

[0006] The motor drive control device of the prior study example by the present inventor generates a PWM signal that is a drive control signal for an inverter circuit that drives the coils of each phase of a stepping motor. When generating the PWM signal, the motor drive control device sets a current reference value for the coil current for each PWM period, which is one period of the PWM signal, so that the coil current flowing through the coils of each phase changes in a sinusoidal manner. For example, the current reference value is set in a stepped manner for each phase so that the coil currents of phases A and B are sinusoidal and the phases of the coil currents of phases A and B differ from each other by 90 degrees.

[0007] When generating a PWM signal, the motor drive control device detects the coil current of each phase of the stepping motor and compares the coil current of each phase with a current reference value for each PWM period. The motor drive control device determines the duty ratio of the PWM signal so that when the coil current is lower than the current reference value, the coil is excited to cause the coil current to flow, and when the coil current is higher than the current reference value, the coil current is regenerated and attenuated.

[0008] Here, the duty ratio of the PWM signal changes depending on the load state of the stepping motor. For example, when the load of the stepping motor is large, a large coil current is required to drive the load, so the duty ratio of the PWM signal becomes large. On the other hand, when the load of the stepping motor is small, the load can be driven with a small coil current, so the duty ratio of the PWM signal becomes small.

[0009] In this way, the duty ratio of the PWM signal changes depending on the state of the load on the stepping motor. If the duty ratio of the PWM signal changes significantly when the stepping motor is driven, the coil current fluctuates significantly, and large fluctuations (ripples) in the coil current can cause the stepping motor to make loud, abnormal noises.

[0010] The present invention has been made in consideration of the above-mentioned problems, and has an object to realize stable motor drive according to the load on the motor. [Means for solving the problem]

[0011] A motor drive control device according to a representative embodiment of the present invention comprises a control circuit that generates a PWM signal as a drive control signal for controlling the drive of the motor so that the coil current, which is the current flowing through the motor coil, matches a current reference value, and a drive circuit that excites the motor coil based on the drive control signal, wherein the control circuit increases a maximum duty ratio, which defines the maximum value of the duty ratio indicating the ratio of the period during which the PWM signal is at a first logic level to a PWM period, which is one period of the PWM signal, within a predetermined range less than 100% when the coil current has not reached the current reference value, and decreases the maximum duty ratio within the predetermined range when the coil current has reached the current reference value, and the control circuit generates the PWM signal so that the duty ratio of the PWM signal does not exceed the maximum duty ratio. Effect of the Invention

[0012] According to the motor drive control device of the present invention, it is possible to realize stable motor drive according to the load on the motor. [Brief description of the drawings]

[0013] [Figure 1] 1 is an exploded perspective view showing an example of the structure of an actuator equipped with a motor drive control device according to an embodiment; [Diagram 2] FIG. 2 is a diagram illustrating a schematic configuration of a motor and a motor drive control device. [Diagram 3] 1 is a block diagram showing a configuration of a control circuit of a motor drive control device according to an embodiment; [Figure 4A] FIG. 13 is a diagram for explaining a charge mode. [Figure 4B] FIG. 13 is a diagram for explaining a damping mode. [Diagram 5] 4 is an example of a timing chart showing temporal changes in a current of a coil of a motor and a drive control signal. [Figure 6]10 is a flowchart showing an example of the flow of a method for determining a maximum duty ratio. [Figure 7] 13 is a flowchart showing a process for increasing the maximum duty ratio (step S6). [Figure 8] 13 is a flowchart showing the flow of a process (step S11) for decreasing the maximum duty ratio. [Figure 9A] FIG. 11 is a diagram showing the results of a simulation of the coil current and the voltage between the coils when a two-phase stepping motor is driven by a motor drive control device according to a prior study example by the present inventors. [Figure 9B] 5A and 5B are diagrams showing simulation results of coil currents and voltages between coils when a two-phase stepping motor is driven by the motor drive control device according to the embodiment. [Figure 10] FIG. 13 is a diagram showing the measurement results of noise when a stepping motor is driven. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, specific examples of the embodiments of the present invention will be described with reference to the drawings. In the following description, components common to each embodiment will be given the same reference numerals, and repeated description will be omitted. It should be noted that the drawings are schematic, and the dimensional relationships and ratios of each element may differ from the actual situation. The drawings may also include parts with different dimensional relationships and ratios.

[0015] FIG. 1 is an exploded perspective view showing an example of the structure of an actuator equipped with a motor drive control device according to the present embodiment.

[0016] The actuator 1 is, for example, a device for driving an air conditioner in an HVAC (Heating Ventilation and Air-Conditioning) system as an air conditioning unit for vehicle use. Examples of the actuator 1 include various actuators that can be used in HVAC systems, such as a damper actuator, a valve actuator, a fan actuator, and a pump actuator.

[0017] In the HVAC system, the actuator 1 is connected together with other actuators via a bus to an ECU (not shown) as a higher-level device, forming a LIN (Local Interconnect Network) communication network.

[0018] 1, the actuator 1 is covered with a case 51 and a cover 52. Inside the actuator 1, there are housed a motor 20, a motor drive control device 10 that controls the drive of the motor 20, and a primary gear 26, a secondary gear 31, a tertiary gear 32, and an output gear 33 that serve as a power transmission mechanism that transmits the rotational force of the motor 20 to a driven object.

[0019] The motor 20 generates a driving force for the actuator 1. The motor 20 is, for example, a stepping motor. In this embodiment, the motor 20 is described as being a two-phase stepping motor having an A-phase coil and a B-phase coil. The motor 20 is operated by supplying driving power from the motor drive control device 10 to the coils of each phase, as described later.

[0020] FIG. 2 is a diagram showing a schematic configuration of the motor 20 and the motor drive control device 10. As shown in FIG.

[0021] As described above, the motor 20 is a two-phase stepping motor. As shown in Fig. 2, the motor 20 has an A-phase coil 21a, a B-phase coil 21b, a rotor 22, and a two-phase stator (not shown).

[0022] The coils 21a and 21b are coils that excite a stator (not shown). The coil 21a has a positive terminal AP and a negative terminal AN as motor terminals 29. The coil 21b has a positive terminal BP and a negative terminal BN as motor terminals 29. The positive terminal AP and the negative terminal AN of the coil 21a and the positive terminal BP and the negative terminal BN of the coil 21b are connected to inverter circuits 143a and 143b that constitute the drive circuit 14. The inverter circuits 143a and 143b will be described in detail later.

[0023] The coils 21a and 21b are driven by inverter circuits 143a and 143b. As a result, currents Ia and Ib with different phases flow through the coils 21a and 21b. For example, currents Ia and Ib with a phase difference of 90 degrees flow through the coils 21a and 21b.

[0024] In the following description, when there is no need to distinguish between coil 21a and coil 21b, they will simply be referred to as "coil 21."

[0025] The rotor 22 includes a single-pole or multi-pole magnetized permanent magnet such that S poles 22S and N poles 22N alternate along the circumferential direction. Note that, in FIG. 2, as an example, the rotor 22 has two poles.

[0026] A stator (not shown) is disposed around the rotor 22 and close to the outer periphery of the rotor 22. The rotor 22 rotates by periodically switching the phase of the coil current flowing through the coils 21a and 21b. An output shaft 25 is connected to the rotor 22, and the output shaft 25 is driven by the rotational force of the rotor 22.

[0027] 1, a primary gear 26 is attached to an output shaft 25 of the motor 20. The primary gear 26 of the motor 20 meshes with a secondary gear 31. The secondary gear 31 meshes with a tertiary gear 32. The tertiary gear 32 meshes with an output gear 33. An external output gear (not shown) provided on the output gear 33 is exposed at the bottom surface of the case 51, and this external output gear is connected to a driven object.

[0028] The motor drive control device 10 is a device for driving the motor 20. The motor drive control device 10 communicates with a higher-level device (ECU) via, for example, a bus. The motor drive control device 10 controls the energization state of the coils 21a, 21b of each phase of the motor 20 based on a drive command Sc, which is a control frame received from the higher-level device, thereby controlling the rotation and stopping of the motor 20 and controlling the operation of the entire actuator 1. When the motor drive control device 10 drives the motor 20, a primary gear 26 connected to an output shaft 25 of the motor 20 rotates. The driving force generated by the rotation of the primary gear 26 is transmitted in order to a secondary gear 31, a tertiary gear 32, an output gear 33, and an external output gear, and the external output gear drives a movable part of the air conditioner, which is the driving target.

[0029] 1, the motor drive control device 10 has, as hardware resources, for example, a printed circuit board 42 and a flexible printed circuit board 43 that connects the printed circuit board 42 and the motor terminals 29 of the motor 20. The printed circuit board 42 is provided with a control circuit 12, a drive circuit 14, and a plurality of external connection terminals 41.

[0030] The circuit housed inside the case 51 and the cover 52 may be only the drive circuit 14. For example, the motor drive control device 10 may be configured with the drive circuit 14 provided inside the case 51 and the cover 52, and the control circuit 12 provided outside the case 51 and the cover 52.

[0031] The control circuit 12 generates a PWM signal as a drive control signal for controlling the drive of the motor 20 so that the coil current, which is a current flowing through the coil 21 of the motor 20, coincides with a current reference value, which is a target value of the coil current. Specifically, the control circuit 12 generates a drive control signal Sda for exciting the A-phase coil 21a of the motor 20 and a drive control signal Sdb for exciting the B-phase coil 21b of the motor 20 based on a drive command Sc from a higher-level device (ECU), and supplies these to the drive circuit 14, thereby controlling the rotation of the motor 20. In the following description, when there is no need to distinguish between the drive control signal Sda and the drive control signal Sdb, the drive control signal Sda and the drive control signal Sdb are referred to as "drive control signal Sd."

[0032] The drive command Sc is a signal that indicates a target state of the motor 20. The drive command Sc includes, for example, information that specifies the rotation speed of the motor 20 and information that specifies a target rotation angle (target rotation position) of the motor 20. The control circuit 12 will be described in detail later.

[0033] The drive circuit 14 controls the energization of the coil 21 of the motor 20 based on a drive control signal Sd output from the control circuit 12. The drive circuit 14 has an inverter circuit 143 for driving the coil 21 of the motor 20 and a current sensor 144 for detecting a current flowing through the coil 21 of the motor 20.

[0034] The inverter circuit 143 supplies driving power to the motor 20 based on the drive control signal Sd. As shown in Fig. 2, the inverter circuit 143 is provided for each of the coils 21a, 21b to be driven. For example, as shown in Fig. 2, an inverter circuit 143a for driving the A-phase coil 21a and an inverter circuit 143b for driving the B-phase coil 21b are provided. The inverter circuits 143a, 143b are formed of, for example, an H-bridge circuit. In the following description, when there is no need to distinguish between the inverter circuit 143a and the inverter circuit 143b, the inverter circuit 143a and the inverter circuit 143b may be referred to as the "inverter circuit 143."

[0035] 2, the inverter circuit 143a is connected to the positive terminal AP of the A-phase coil 21a and the negative terminal AN of the coil 21a. The inverter circuit 143b is connected to the positive terminal BP of the B-phase coil 21b and the negative terminal BN of the coil 21b.

[0036] The inverter circuit 143a applies a voltage Va between terminals AP and AN based on the drive control signal Sda output from the control circuit 12, thereby causing a current Ia to flow through the coil 21a. The inverter circuit 143b applies a voltage Vb between terminals BP and BN based on the drive control signal Sdb output from the control circuit 12, thereby causing a current Ib to flow through the coil 21b.

[0037] For example, when the A-phase coil 21a is excited to the positive side, that is, when a current Ia(+) flows from the positive terminal AP of the coil 21a to the negative terminal AN, the voltage Va of the positive terminal AP with respect to the negative terminal AN is made "positive". On the other hand, when the A-phase coil 21a is excited to the negative side, that is, when a current Ia(-) flows from the negative terminal AN to the positive terminal AP of the coil 21a, the voltage Va of the positive terminal AP with respect to the negative terminal AN is made "negative". The same is true when the B-phase coil 21b is excited. In the following description, the current flowing through the coil 21a may be referred to as the "coil current Ia", and the current flowing through the coil 21b may be referred to as the "coil current Ib".

[0038] A specific circuit configuration of the inverter circuit 143 and a specific method of exciting the coil 21 by the inverter circuit 143 will be described later.

[0039] 2, the current sensor 144 is provided for each of the coils 21a, 21b to be driven. For example, as shown in Fig. 2, a current sensor 144a for detecting a coil current Ia flowing through the A-phase coil 21a and a current sensor 144b for detecting a coil current Ib flowing through the B-phase coil 21b are provided.

[0040] The current sensors 144a and 144b each include, for example, a shunt resistor that converts the coil currents Ia and Ib of the coils 21a and 21b to be detected into a voltage. As will be described in detail later, the shunt resistor is provided for each of the coils 21a and 21b of each phase, and is connected in series with the inverter circuits 143a and 143b to the ground potential GND side or the power supply voltage VDD of the inverter circuits 143a and 143b. The current sensor 144a outputs the voltage across the shunt resistor as a current detection signal Via that represents the measured value of the coil current Ia of the A phase. The current sensor 144b outputs the voltage across the shunt resistor as a current detection signal Vib that represents the measured value of the coil current Ib of the B phase.

[0041] FIG. 3 is a block diagram showing a configuration of the control circuit 12 of the motor drive control device 10 according to the embodiment.

[0042] The control circuit 12 is a program processing device (e.g., a microcontroller: MCU (Micro Control Unit)) having hardware elements such as a processor such as a CPU (Central Processing Unit), various memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), a timer, a counter, an A / D conversion circuit, an input / output I / F circuit, and a clock generation circuit, and each component is connected to each other via a bus or a dedicated line. The control circuit 12 has a rewritable non-volatile storage device such as a flash memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory) as a memory.

[0043] The control circuit 12 mainly has a function of controlling the energization of the motor 20 so that the motor 20 is in a state specified by the drive command Sc. Specifically, the control circuit 12 generates drive control signals Sda, Sdb to drive the inverter circuits 143a, 143b so as to excite the A-phase coil 21a and the B-phase coil 21b at a predetermined timing based on a predetermined excitation method, thereby moving (rotating) the motor 20 to a target rotation position specified by the drive command Sc.

[0044] Here, the predetermined excitation method is, for example, any of the well-known one-phase excitation method, two-phase excitation method, one-two phase excitation method, and micro-step method. In this embodiment, the case where the predetermined excitation method is the two-phase micro-step method will be described as an example.

[0045] Specifically, the control circuit 12 generates the drive control signal Sd by a two-phase microstep method. For example, the control circuit 12 changes the current reference values ​​(target current values) Sisa and Sisb, which are target values ​​of the coil currents, in a stepwise manner so that the coil currents Ia and Ib of the coils 21a and 21b of each phase constituting the motor 20 become sinusoidal, and monitors the coil currents Ia and Ib, and switches the excitation state of the coils 21a and 21b of each phase so that the measured values ​​Sia and Sib of the coil currents Ia and Ib do not exceed the current reference values ​​Sisa and Sisb. More specifically, the control circuit 12 generates PWM signals (drive control signals Sda and Sdb) for each phase, whose pulse width changes depending on the magnitude relationship between the measured values ​​Sia and Sib of the coil currents Ia and Ib of the motor 20 and the current reference values ​​Sisa and Sisb, and performs PWM control to control the drive of the motor 20 via the drive circuit 14. At this time, the control circuit 12 generates the PWM signal so that the duty ratio of the PWM signal does not exceed the maximum duty ratio Maxduty.

[0046] Here, the duty ratio is the ratio of the period during which the PWM signal is at a first logic level (for example, a high level) to one PWM period, which is one period of the PWM signal. The maximum duty ratio Maxduty is a parameter that determines the maximum value of the duty ratio of the PWM signal.

[0047] Furthermore, the control circuit 12 has a function of dynamically switching the maximum duty ratio Maxduty when generating the PWM signals as the drive control signals Sda and Sdb. Specifically, the control circuit 12 has a function of increasing the maximum duty ratio Maxduty within a predetermined range less than 100% when the coil current has not reached the current reference value, and decreasing the maximum duty ratio Maxduty within the above-mentioned predetermined range when the coil current has reached the current reference value.

[0048] The control circuit 12 has a current value acquisition unit 121, a current reference value setting unit 122, a current information storage unit 123, a comparison unit 125, and a drive control signal generation unit 130 as functional blocks for realizing the above-mentioned functions. These functional blocks are realized, for example, by a processor in the above-mentioned MCU executing various calculations according to a program stored in a memory and controlling peripheral circuits such as a timer and a counter, an A / D conversion circuit, and an input / output I / F circuit. Note that some or all of these functional blocks may be realized by a dedicated hardware circuit. In addition to the above functions, the control circuit 12 may have a function of determining whether or not the motor 20 has lost synchronism based on the back electromotive voltage of the motor 20.

[0049] The current value acquiring unit 121 is a functional unit that acquires the measurement values ​​Sia, Sib of the coil currents Ia, Ib of the respective phases of the motor 20. The current value acquiring unit 121 is configured to include, for example, an A / D conversion circuit.

[0050] The current value acquiring unit 121 receives current detection signals Via and Vib, which are voltages corresponding to the coil currents Ia and Ib of the respective phases, output from the current sensors 144a and 144b (shunt resistors). The current value acquiring unit 121 calculates the measurement values ​​Sia and Sib of the coil currents Ia and Ib of the respective phases based on the magnitudes (voltages) of the input current detection signals Via and Vib.

[0051] For example, the current value acquiring unit 121 converts the voltage of the current detection signal Via into a digital value and outputs it as the measurement value Sia of the A-phase coil current Ia. The current value acquiring unit 121 also converts the voltage of the current detection signal Vib into a digital value and outputs it as the measurement value Sib of the B-phase coil current Ib. The current value acquiring unit 121 outputs the measurement value Sia of the A-phase coil current Ia and the measurement value Sib of the B-phase coil current Ib, for example, for each PWM period described below. Hereinafter, when there is no distinction between the measurement value Sia of the coil current Ia and the measurement value Sib of the coil current Ib, the measurement value Sia of the coil current Ia and the measurement value Sib of the coil current Ib are referred to as the "measurement value Si of the coil current."

[0052] The drive control signal generating unit 130 is a functional unit that generates PWM signals as the drive control signals Sda and Sdb. Hereinafter, one period of the PWM signal, that is, the period in which one PWM signal is generated, is referred to as a "PWM period." Details of the drive control signal generating unit 130 will be described later.

[0053] The current reference value setting unit 122 is a functional unit that sets current reference values ​​Sisa, Sisb that are the references for the coil currents Ia, Ib of each phase. The current reference value setting unit 122 sets the current reference values ​​Sisa, Sisb for each PWM period so that the currents Ia, Ib flowing through the coil 21 change in a sinusoidal manner. For example, the current reference value setting unit 122 changes the current reference values ​​Sisa, Sisb in a stepwise manner in response to an instruction from a drive command acquisition unit 131 (described later) so that the A-phase coil current Ia and the B-phase coil current Ib become sinusoidal and the phases of the coil current Ia and the coil current Ib differ from each other by 90 degrees. Hereinafter, when the current reference value Sisa and the current reference value Sisb are not distinguished from each other, the current reference value Sisa and the current reference value Sisb are referred to as "current reference value Sis."

[0054] For example, the current information storage unit 123 stores current reference value information 124 indicating the correspondence between the electrical angle θ and the current reference value Sis. Here, the current reference value information 124 is information (for example, a function or a table) in which the current reference value Sis is associated with each electrical angle θ so that the current reference value Sis has a sinusoidal waveform within the range of electrical angle θ=0 to 360°. At least a part of the current information storage unit 123 is realized by utilizing, for example, a storage area of ​​a non-volatile storage device that retains data even when the power supply to the control circuit 12 is stopped.

[0055] The current reference value setting unit 122 reads out the current reference values ​​Sisa, Sisb corresponding to the electrical angle θ at that time from the current reference value information 124 stored in the current information storage unit 123 for each PWM period, and outputs them sequentially.

[0056] The comparison unit 125 compares the measurement value Si of the coil current acquired by the current value acquisition unit 121 with the current reference value Sis for each PWM period. For example, the comparison unit 125 starts comparing the measurement value Sia of the coil current Ia with the current reference value Sisa at the start of one PWM period of the A phase, and outputs the comparison result Scma. Also, at the start of one PWM period of the B phase, the comparison unit 125 starts comparing the measurement value Sib of the coil current Ib with the current reference value Sisb, and outputs the comparison result Scmb. Note that when the comparison result Scma and the comparison result Scmb are not distinguished from each other, the comparison result Scma and the comparison result Scmb are denoted as "comparison result Scm."

[0057] For example, when one PWM cycle starts, the comparison unit 125 starts the comparison process between the measured value Si of the coil current and the current reference value Sis. Specifically, when the measured value Si of the coil current is lower than the current reference value Sis (Si < Sis), the comparison unit 125 outputs a signal of the first logic level (for example, high level) as the comparison result Scm. On the other hand, when the measured value Si of the coil current becomes equal to or higher than the current reference value Sis (Si ≥ Sis), the comparison unit 125 outputs a signal of the second logic level (for example, low level), which is the opposite of the first logic level, as the comparison result Scmb, and maintains the output of the comparison result Scmb (low level) regardless of the magnitude relationship between the measured value Si of the coil current and the current reference value Sis until the PWM cycle ends. Then, when one PWM cycle ends and the next PWM cycle starts, the comparison unit 125 starts the comparison process between the measured value Si of the coil current and the current reference value Sis again.

[0058] In this way, the comparison unit 125 repeatedly performs the comparison process related to the coil current of each phase for each PWM cycle of each phase. Thereby, by referring to the comparison result Scmb by the comparison unit 125, it is possible to determine whether the coil current of the motor 20 has reached the current reference value.

[0059] The drive control signal generation unit 130 is a functional unit that generates drive control signals Sda and Sdb for each phase based on the drive command Sc and the comparison result Scm of the comparison unit 125. For example, the drive control signal generation unit 130 includes a drive command acquisition unit 131 and a PWM signal generation unit 132.

[0060] The drive command acquisition unit 131 acquires, for example, the drive command Sc input from a host device (ECU). As described above, the drive command Sc includes, for example, information specifying the target rotation position (target rotational position) of the motor 20. The drive command acquisition unit 131 analyzes the drive command Sc to acquire and output the information of the target rotation position of the motor 20, and instructs other functional units (for example, the current reference value setting unit 122 and the PWM signal generation unit 132, etc.) to start the process for driving the motor 20.

[0061] The PWM signal generating unit 132 is a functional unit that generates a PWM signal. The PWM signal generating unit 132 generates a PWM signal in response to an instruction from the drive command acquiring unit 131, and outputs the PWM signal as drive control signals Sda, Sdb. For example, the PWM signal generating unit 132 acquires information on a target rotation position output from the drive command acquiring unit 131. The PWM signal generating unit 132 generates a PWM signal for each phase so that the motor 20 (rotor) moves to the target rotation position, and outputs the PWM signal as drive control signals Sda, Sdb.

[0062] Specifically, the PWM signal generating unit 132 generates a PWM signal based on the comparison result Scm by the comparing unit 125 and a maximum duty ratio Maxduty determined by a maximum duty ratio determining unit 135 described later, and outputs it as a drive control signal Sd.

[0063] More specifically, the PWM signal generating unit 132 generates the PWM signal by switching the PWM signal between a first logic level (e.g., a high level) and a second logic level opposite to the first logic level (e.g., a low level) in accordance with the comparison result Scm of the comparing unit 125 so that the duty ratio of the PWM signal does not exceed the maximum duty ratio Maxduty.

[0064] For example, the PWM signal generating unit 132 sets the PWM signal to a first logic level (e.g., high level) during a period in which the measured value Si of the coil current is smaller than the current reference value Sis (the comparison result Scm is at a high level) during one PWM period. The PWM signal generating unit 132 sets the PWM signal to a second logic level (e.g., low level) during a period in which the measured value Si of the coil current is equal to or larger than the current reference value Sis (the comparison result Scm is at a low level) during one PWM period.

[0065] Furthermore, when the PWM signal is at the first logic level, the PWM signal generating unit 132 switches the PWM signal from the first logic level to the second logic level when the duration of the state in which the PWM signal is at the first logic level coincides with the time corresponding to the maximum duty ratio Maxduty. As a result, the upper limit value of the duty ratio of the PWM signal is limited by the maximum duty ratio Maxduty. The PWM signals thus generated are supplied to the inverter circuits 143a and 143b as drive control signals Sda and Sdb.

[0066] As described above, the inverter circuit 143 switches the excitation state of the coil 21 of the motor 20 depending on the signal level of the drive control signal Sd. That is, when the drive control signal Sd as a PWM signal is at a first logic level, the inverter circuit 143 excites the coil 21 to increase the coil current, and when the drive control signal Sd is at a second logic level, the inverter circuit 143 stops the excitation of the coil 21 to attenuate the coil current. Hereinafter, the excitation mode that increases the coil current is referred to as the "charge mode," and the excitation mode that attenuates the coil current is referred to as the "attenuation mode."

[0067] First, the charge mode will be described. The charge mode is an excitation mode in which the coil current of the motor 20 is increased.

[0068] FIG. 4A is a diagram for explaining the charge mode. In this embodiment, since the configuration of the inverter circuit 143a for driving the A-phase coil 21a and the configuration of the inverter circuit 143b for driving the B-phase coil 21b are the same, the excitation mode will be explained using the inverter circuit 143a for driving the A-phase coil 21a as an example.

[0069] 4A, the coils 21 of each phase of the motor 20 are connected to an inverter circuit (H-bridge circuit) 143. For example, the inverter circuit 143a has transistors Q1 to Q4 as switches and diodes D1 to D4.

[0070] The transistors Q1 and Q2 are connected in series between the power supply voltage VDD and the ground potential via a shunt resistor serving as a current sensor 144a. Similarly, the transistors Q3 and Q4 are connected in series between the power supply voltage VDD and the ground potential via a shunt resistor serving as a current sensor 144a. The negative terminal AN of the coil 21a (or BN of the coil 21b) is connected to a node where the transistors Q1 and Q2 are commonly connected, and the positive terminal AP of the coil 21a (or BP of the coil 21b) is connected to a node where the transistors Q3 and Q4 are commonly connected.

[0071] The anode of the diode D1 is connected to the node where the transistors Q1 and Q2 are commonly connected, and the cathode of the diode D1 is connected to the power supply voltage VDD. The anode of the diode D2 is connected to the ground potential GND, and the cathode of the diode D2 is connected to the node where the transistors Q1 and Q2 are commonly connected.

[0072] The anode of the diode D3 is connected to the node where the transistors Q3 and Q4 are commonly connected, and the cathode of the diode D3 is connected to the power supply voltage VDD. The anode of the diode D4 is connected to the ground potential GND, and the cathode of the diode D4 is connected to the node where the transistors Q3 and Q4 are commonly connected.

[0073] The diodes D1 to D4 may be, for example, parasitic diodes of the transistors Q1 to Q4, or may be realized by electronic components provided separately from the transistors Q1 to Q4.

[0074] In the charge mode, the coil 21 is connected between a power supply voltage VDD and a ground potential GND, and is excited in a positive or negative direction.

[0075] 4A, by turning off the transistors Q1 and Q4 and turning on the transistors Q2 and Q3, a current flows from the positive terminal AP of the coil 21a to the negative terminal AN of the coil 21a, and the coil 21a is excited in the positive direction. On the other hand, by turning off the transistors Q2 and Q3 and turning on the transistors Q1 and Q4, a current flows from the negative terminal AN of the coil 21a to the positive terminal AP of the coil 21a, and the coil 21a is excited in the negative direction.

[0076] Next, the attenuation mode will be described. The decay mode is a mode in which the current in the coil 21 is decayed.

[0077] FIG. 4B is a diagram for explaining the attenuation mode. For example, when attenuating the current of the coil 21 that has been excited in the positive direction in the charge mode, the attenuation mode turns off the transistors Q1 and Q3 in the inverter circuit 143 and turns on the transistors Q2 and Q4. This allows the current of the coil 21a to be regenerated to the ground potential GND side and attenuated, as shown in Fig. 4B. Similarly, when attenuating the current of the coil 21a that has been excited in the negative direction, the attenuation mode turns off the transistors Q1 and Q3 and turns on the transistors Q2 and Q4, allowing the current of the coil 21a to be regenerated to the ground potential GND side and attenuated.

[0078] The combination of the on / off states of the transistors Q1 to Q4 in the decay mode is not limited to the above example. For example, when the current in the coil 21a that has been excited in the positive direction in the charge mode is to be decayed, the transistors Q2 and Q3 in the inverter circuit 143 may be turned off and the transistors Q1 and Q4 may be turned on in the decay mode. This allows the current in the coil 21a to decay faster than in the case shown in FIG. 4B.

[0079] FIG. 5 is an example of a timing chart showing temporal changes in the current of the coil of the motor and the drive control signal.

[0080] 5, the waveforms of the coil current Ia of the A-phase coil 21a and the inter-coil voltage of the A-phase coil 21a are shown from the top to the bottom.

[0081] As described above, the current reference value setting unit 122 sets the current reference value Sis for each of the coils 21a, 21b to be driven (for each phase) so that a current increase period in which the current reference value Sis increases in a positive or negative direction and a current decay period in which the current reference value Sis changes toward zero are alternately repeated. Then, the drive control signal generating unit 130 generates a PWM signal so that the measured value Si of the coil current does not exceed the current reference value Sis and the duty ratio is equal to or less than the maximum duty ratio Maxduty, and provides the PWM signal as the drive control signal Sd to the inverter circuit 143. As a result, the coil current of the coil 21 of each phase is controlled to have a sine wave shape, as shown in FIG. 5.

[0082] 5 shows, as an example, the phase of the A-phase coil current Ia. In this embodiment, the phase of the B-phase coil current Ib of the coil 21b is detected as being shifted by 90 degrees from the phase of the A-phase coil current Ia.

[0083] In this way, the control circuit 12 adjusts the duty ratio of the drive control signal Sd (PWM signal), causing a sinusoidal coil current to flow through the coil 21 of the motor 20. The coil current fluctuates according to fluctuations in the duty ratio of the drive control signal Sd. As described above, the fluctuation range of the coil current tends to increase as the fluctuation range of the duty ratio of the PWM signal serving as the drive control signal Sd increases.

[0084] Therefore, in order to suppress fluctuations in the duty ratio of the PWM signal serving as the drive control signal Sd, the motor drive control device 10 according to this embodiment has a function of varying the maximum duty ratio Maxduty of the drive control signal Sd within a predetermined range less than 100%, as described above. Specifically, the drive control signal generating unit 130 has a duty ratio information storage unit 133, a duty ratio measuring unit 134, and a maximum duty ratio determining unit 135 in addition to the drive command acquiring unit 131 and PWM signal generating unit 132 described above.

[0085] The duty ratio measurement unit 134 measures the duty ratio of the PWM signal as the drive control signals Sda, Sdb. The duty ratio measurement unit 134 measures the duty ratio of the drive control signals Sda, Sdb, and stores information 200 of the measured values ​​of the duty ratio of each of the drive control signals Sda, Sdb in the duty ratio information storage unit 133.

[0086] For example, the duty ratio measuring unit 134 measures a first period during which the drive control signal Sd is at a first logical level (e.g., high level) for each PWM period, and stores the ratio of the first period to the PWM period as a measured value of the duty ratio of the drive control signal Sd in the duty ratio information storage unit 133. The duty ratio measuring unit 134 stores the measured values ​​of the duty ratios of the drive control signals Sda, Sdb for each PWM period in the duty ratio information storage unit 133, so that information 200 of the measured values ​​of the duty ratios of the drive control signals Sda, Sdb in the duty ratio information storage unit 133 is updated for each PWM period.

[0087] The duty ratio information storage unit 133 is a functional unit for storing various information required to generate PWM signals as the drive control signals Sda and Sdb. At least a part of the duty ratio information storage unit 133 is realized, for example, by utilizing a storage area of ​​a non-volatile storage device that retains data even when the power supply to the control circuit 12 is stopped.

[0088] For example, in addition to the information 200 of the measured duty ratio, the duty ratio information storage unit 133 stores information 201 of the maximum duty ratio Maxduty, information 202 of the maximum duty ratio range Rd, and information 203 of the fixed maximum duty ratio Dmf.

[0089] The information 201 of the maximum duty ratio Maxduty is information that determines the maximum value of the duty ratio of the drive control signals Sda, Sdb, and is set and updated by the maximum duty ratio determination unit 135 described later. For example, immediately after the start of the control circuit 12, the initial value of the maximum duty ratio Maxduty is set in the duty ratio information storage unit 133, and after the drive of the motor 20 is started, the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 is updated by the maximum duty ratio determination unit 135.

[0090] The information 202 of the maximum duty ratio range Rd is information that defines a settable range of the maximum duty ratio Maxduty. For example, the information 202 of the maximum duty ratio range Rd includes a lower limit value D1 of the maximum duty ratio Maxduty and an upper limit value D2 of the maximum duty ratio Maxduty, and defines D1≦Maxduty≦D2. The information 202 of the maximum duty ratio range Rd is, for example, stored in advance in the storage device of the control circuit 12. The maximum duty ratio range Rd is a range less than 100%, and for example, the lower limit value D1 is 80% and the upper limit value D2 (<100%) is 92.5%.

[0091] The information 203 of the fixed maximum duty ratio Dmf is information that determines the maximum value of the duty ratio of the drive control signal Sd that can be set by the motor drive control device 10. The fixed maximum duty ratio Dmf is, for example, a value (Dmf>D2) that exceeds the maximum duty ratio range Rd (D1≦Maxduty≦D2). The fixed maximum duty ratio Dmf is, for example, 100%.

[0092] The maximum duty ratio determination unit 135 is a functional unit that determines the duty ratio of the PWM signal serving as the drive control signal Sd. The maximum duty ratio determination unit 135 determines the maximum duty ratio Maxduty in accordance with the measured value of the duty ratio of the drive control signal Sd.

[0093] Specifically, when the duty ratio of the drive control signal Sd (PWM signal) measured by the duty ratio measurement unit 134 matches the maximum duty ratio Maxduty, the maximum duty ratio determination unit 135 updates the maximum duty ratio so that the maximum duty ratio becomes larger, and when the duty ratio of the drive control signal Sd measured by the duty ratio measurement unit 134 does not match the maximum duty ratio Maxduty, the maximum duty ratio determination unit 135 updates the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes smaller.

[0094] More preferably, when the state in which the duty ratio of the drive control signal Sd measured by the duty ratio measurement unit 134 matches the maximum duty ratio Maxduty continues over a plurality of consecutive PWM periods, the maximum duty ratio determination unit 135 executes an increase process to update the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes larger within the maximum duty ratio range Rd. On the other hand, when the state in which the duty ratio of the drive control signal Sd measured by the duty ratio measurement unit 134 does not match the maximum duty ratio Maxduty continues over a plurality of consecutive PWM periods, the maximum duty ratio determination unit 135 executes a decrease process to update the maximum duty ratio so that the maximum duty ratio Maxduty becomes smaller within the maximum duty ratio range Rd.

[0095] For example, maximum duty ratio determination unit 135 has a counter CNT1 for determining whether or not to execute an increase process of maximum duty ratio Maxduty, and a counter CNT2 for determining whether or not to execute a decrease process of maximum duty ratio Maxduty.

[0096] When the maximum duty ratio determination unit 135 detects that the duty ratio of the drive control signal Sd (PWM signal) matches the maximum duty ratio Maxduty for each PWM period, it increments (+1) the counter CNT1 and clears (0) the counter CNT2. On the other hand, when the maximum duty ratio determination unit 135 detects that the duty ratio of the drive control signal Sd (PWM signal) does not match the maximum duty ratio Maxduty, that is, the duty ratio is less than the maximum duty ratio Maxduty, it clears (0) the counter CNT1 and increments (+1) the counter CNT2.

[0097] The maximum duty ratio determination unit 135 executes an increase process to increase the maximum duty ratio Maxduty when the value of the counter CNT1 matches the reference value A (A≧1). The maximum duty ratio determination unit 135 executes a decrease process to decrease the maximum duty ratio Maxduty when the value of the counter CNT2 matches the reference value B (B≧1).

[0098] Here, the reference values ​​A and B are stored in advance in, for example, the duty ratio information storage unit 133 or the like. Although not particularly limited, it is preferable that the reference values ​​A and B are natural numbers equal to or greater than 2. The reference values ​​A and B may both be the same value, or may be different values.

[0099] More preferably, when the state in which the duty ratio of the drive control signal Sd matches the maximum duty ratio Maxduty continues for multiple consecutive PWM periods and the maximum duty ratio Maxduty reaches the upper limit value D2 within the maximum duty ratio range Rd, the maximum duty ratio determination unit 135 sets the maximum duty ratio Maxduty to a value exceeding the maximum duty ratio range Rd, i.e., the fixed maximum duty ratio Dmf (=100%).

[0100] The flow of the process for determining the maximum duty ratio Maxduty will be described in detail below with reference to the drawings.

[0101] FIG. 6 is a flowchart showing an example of the flow of a method for determining the maximum duty ratio Maxduty.

[0102] Here, as an example, a process for determining the maximum duty ratio Maxduty of the drive control signal Sda for driving the coil 21a of phase A will be described, but the maximum duty ratio Maxduty of phase B is also determined in a similar manner to that of phase A.

[0103] The maximum duty ratio determination unit 135 repeatedly performs a process for determining a maximum duty ratio Maxduty, which will be described later, for each PWM period. For example, when one PWM cycle starts, first, the maximum duty ratio determination unit 135 acquires information 200 of the measured value of the duty ratio of the drive control signal Sda in the previous PWM cycle measured by the duty ratio measurement unit 134 from the duty ratio information storage unit 133 (step S1).

[0104] Next, the maximum duty ratio determination unit 135 determines whether or not the acquired measured value of the duty ratio matches the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 (step S2).

[0105] If the measured value of the duty ratio matches the maximum duty ratio Maxduty (step S2: YES), the maximum duty ratio determination unit 135 increments the counter CNT1 (step S3). Also, the maximum duty ratio determination unit 135 clears the counter CNT2 (step S4).

[0106] Next, maximum duty ratio determination unit 135 judges whether the value of counter CNT1 is equal to or greater than reference value A (step S5). If the value of counter CNT1 is less than reference value A (e.g., "3") (step S5: NO), maximum duty ratio determination unit 135 ends the process for determining maximum duty ratio Maxduty. If the value of counter CNT1 is equal to or greater than reference value A (step S5: YES), maximum duty ratio determination unit 135 executes a process for increasing maximum duty ratio Maxduty (step S6). Details of the process for increasing maximum duty ratio Maxduty will be described later.

[0107] After completing the process of increasing the maximum duty ratio Maxduty, the maximum duty ratio determination unit 135 clears the counter CNT1 (step S7) and ends the process of determining the maximum duty ratio Maxduty.

[0108] In step S2, if the measured value of the duty ratio does not match the maximum duty ratio Maxduty, that is, if the measured value of the duty ratio is less than the maximum duty ratio Maxduty (step S2: NO), the maximum duty ratio determination unit 135 increments the counter CNT2 (step S8). Also, the maximum duty ratio determination unit 135 clears the counter CNT1 (step S9).

[0109] Next, the maximum duty ratio determination unit 135 judges whether the value of the counter CNT2 is equal to or greater than a reference value B (e.g., "3") (step S10). If the value of the counter CNT2 is less than the reference value B (step S10: NO), the maximum duty ratio determination unit 135 ends the process for determining the maximum duty ratio Maxduty. If the value of the counter CNT2 is equal to or greater than the reference value B (step S10: YES), the maximum duty ratio determination unit 135 executes a process for lowering the maximum duty ratio Maxduty (step S11). The details of the process for lowering the maximum duty ratio Maxduty will be described later.

[0110] After the process of lowering the maximum duty ratio Maxduty is completed, the maximum duty ratio determination unit 135 clears the counter CNT2 (step S12) and ends the process of updating the maximum duty ratio Maxduty.

[0111] Next, the process of increasing the maximum duty ratio Maxduty (step S6) will be described.

[0112] FIG. 7 is a flowchart showing the flow of the process of increasing the maximum duty ratio Maxduty (step S6).

[0113] As shown in FIG. 7, when the process of increasing the maximum duty ratio Maxduty is started, the maximum duty ratio determination unit 135 first determines whether the value of the maximum duty ratio Maxduty set at that time is equal to or greater than the upper limit value D2 of the maximum duty ratio range Rd (step S61).

[0114] If the value of the maximum duty ratio Maxduty is equal to or greater than the upper limit value D2 of the maximum duty ratio range Rd (step S61: YES), the maximum duty ratio determination unit 135 determines the fixed maximum duty ratio Dmf (for example, 100%), which is a value exceeding the maximum duty ratio range Rd, as the maximum duty ratio Maxduty (step S62). The maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the value (Dmf) determined in step S62 (step S66), and ends the process of increasing the maximum duty ratio Maxduty.

[0115] In step S61, if the value of the maximum duty ratio Maxduty is less than the upper limit value D2 of the maximum duty ratio range Rd (step S61: NO), the maximum duty ratio determination unit 135 calculates an added value by adding the unit amount α to the value of the maximum duty ratio Maxduty set at that time (step S63). The unit amount α is, for example, stored in advance in the duty ratio information storage unit 133 or the like. The unit amount α (>0%) is, for example, 2.5%.

[0116] Next, the maximum duty ratio determination unit 135 determines whether or not the added value calculated in step S63 is equal to or greater than the upper limit value D2 of the maximum duty ratio range Rd (step S64).

[0117] If the above-mentioned added value is less than the upper limit value D2 of the maximum duty ratio range Rd (step S64: NO), the maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the added value calculated in step S63 (step S66), and ends the process of increasing the maximum duty ratio Maxduty. As a result, the maximum duty ratio Maxduty increases by a unit amount α (for example, 2.5%).

[0118] If the sum is equal to or greater than the upper limit D2 of the maximum duty ratio range Rd in step S64 (step S64: YES), the maximum duty ratio determination unit 135 determines the upper limit D2 of the maximum duty ratio range Rd as the maximum duty ratio Maxduty (step S65). The maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the upper limit D2 determined in step S65 (step S66), and ends the process of increasing the maximum duty ratio Maxduty.

[0119] Next, the process of decreasing the maximum duty ratio Maxduty (step S11) will be described.

[0120] FIG. 8 is a flowchart showing the flow of the process of decreasing the maximum duty ratio Maxduty (step S11).

[0121] As shown in FIG. 8, when the process of increasing the maximum duty ratio Maxduty is started, first, the maximum duty ratio determination unit 135 determines whether the value of the maximum duty ratio Maxduty set at that time is the lower limit value D1 of the maximum duty ratio range Rd (step S111).

[0122] When the value of the maximum duty ratio Maxduty is the lower limit value D1 of the maximum duty ratio range Rd (step S111: YES), the maximum duty ratio determination unit 135 determines not to change the maximum duty ratio Maxduty (= D1) (step S112).

[0123] On the other hand, when the value of the maximum duty ratio Maxduty does not match the lower limit value D1 of the maximum duty ratio range Rd (step S111: NO), the maximum duty ratio determination unit 135 determines whether the value of the maximum duty ratio Maxduty set at that time is the fixed maximum duty ratio Dmf (= 100%) (step S113).

[0124] When the value of the maximum duty ratio Maxduty is the fixed maximum duty ratio Dmf (= 100%) (step S113: YES), the upper limit value D2 (< Dmf = 100%) of the maximum duty ratio range Rd is determined as the maximum duty ratio Maxduty (step S114). The maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the upper limit value D2 determined in step S114 (step S118), and ends the decrease process of the maximum duty ratio Maxduty. As a result, the maximum duty ratio Maxduty decreases from the fixed maximum duty ratio Dmf (= 100%) to the upper limit value D2.

[0125] In step S113, when the value of the maximum duty ratio Maxduty is not the fixed maximum duty ratio Dmf (= 100%) (step S113: NO), the maximum duty ratio determination unit 135 calculates a subtraction value obtained by subtracting the unit amount β from the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 at that time (step S115). The unit amount β is stored in advance in, for example, the duty ratio information storage unit 133 or the like. The unit amount β (> 0%) is, for example, 2.5%. Note that the unit amount α and the unit amount β may be the same value or different values from each other.

[0126] Next, maximum duty ratio determination unit 135 determines whether or not the subtracted value calculated in step S115 is equal to or less than lower limit value D1 of maximum duty ratio range Rd (step S116).

[0127] If the subtraction value is greater than the lower limit D1 of the maximum duty ratio range Rd (step S116: NO), the maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the subtraction value calculated in step S115 (step S118), and ends the process of decreasing the maximum duty ratio Maxduty. As a result, the maximum duty ratio Maxduty decreases by a unit amount β (for example, 2.5%).

[0128] If the subtracted value is equal to or less than the lower limit D1 of the maximum duty ratio range Rd in step S115 (step S115: YES), the maximum duty ratio determination unit 135 determines the lower limit D1 of the maximum duty ratio range Rd as the maximum duty ratio Maxduty (step S117). The maximum duty ratio determination unit 135 updates the value of the maximum duty ratio Maxduty set in the duty ratio information storage unit 133 to the lower limit D1 of the maximum duty ratio range Rd determined in step S117 (step S117), and ends the process of decreasing the maximum duty ratio Maxduty.

[0129] Using the above-mentioned method, the maximum duty ratio determination unit 135 updates the maximum duty ratio Maxduty in accordance with the coil current, that is, the duty ratio of the drive control signal Sd.

[0130] Next, effects achieved by the motor drive control device 10 according to the present embodiment will be described.

[0131] FIG. 9A is a diagram showing the simulation results of the coil current and the voltage between the coils when a two-phase stepping motor is driven by the motor drive control device of the above-mentioned prior study example by the present inventor.

[0132] In FIG. 9A, reference numeral 301 indicates the change over time in the A-phase coil current of the stepping motor, and reference numeral 302 indicates the change over time in the A-phase coil voltage of the stepping motor.

[0133] FIG. 9B is a diagram showing simulation results of the coil current and the voltage between the coils when a two-phase stepping motor is driven by the motor drive control device 10 according to the embodiment.

[0134] In FIG. 9B, reference numeral 401 indicates the change over time in the A-phase coil current of the stepping motor, and reference numeral 402 indicates the change over time in the A-phase coil voltage of the stepping motor.

[0135] Since the coil voltage in the stepping motor switches in response to the switching of the signal level of the PWM signal, in Figs. 9A and 9B, the coil voltage substantially represents the PWM signal.

[0136] In the motor drive control device of the prior study example, the maximum duty ratio of the PWM signal as the drive control signal for the inverter circuit is fixed to 100%. Therefore, as shown in Fig. 9A, when a two-phase stepping motor is driven by the motor drive control device of the prior study example, the duty ratio of the PWM signal varies greatly. In particular, when the PWM signal becomes low after the duty ratio of the PWM signal remains at 100% for multiple PWM periods, a large ripple occurs in the coil current.

[0137] In contrast, according to the motor drive control device 10 of this embodiment, the upper limit of the duty ratio of the PWM signal serving as the drive control signal for the inverter circuit is limited to within the maximum duty ratio range Rd, except when the torque of the motor 20 is insufficient, so that the duty ratio of the PWM signal does not become 100% and the fluctuation range of the duty ratio of the PWM signal, i.e., the variation in the duty ratio of the PWM signal, can be suppressed. This makes it possible to suppress the occurrence of large ripples in the coil current, as shown in Fig. 9B.

[0138] FIG. 10 shows the measurement results of noise generated when a stepping motor is driven.

[0139] In Fig. 10, the horizontal axis represents frequency, and the vertical axis represents noise intensity. In Fig. 10, reference numeral 501 represents noise characteristics when a two-phase stepping motor is driven by the motor drive control device 10 according to the embodiment, and reference numeral 502 represents noise characteristics when a two-phase stepping motor is driven by the motor drive control device of the prior study example (maximum duty ratio fixed at 100%).

[0140] As can be seen from FIG. 10, the motor drive control device 10 according to the embodiment can reduce the noise level when driving a stepping motor, compared to the motor drive control device of the prior study example in which the maximum duty ratio is fixed at 100%.

[0141] As described above, according to the motor drive control device 10 of the embodiment, when the coil currents Ia, Ib of the motor 20 have not reached the current reference values ​​Sisa, Sisb, the maximum duty ratio Maxduty of the PWM signal as the drive control signals Sda, Sdb is increased within a predetermined range (maximum duty ratio range Rd) less than 100%, and when the coil currents Ia, Ib have reached the current reference values ​​Sisa, Sisb, the maximum duty ratio Maxduty is decreased within a predetermined range, and a PWM signal is generated so that the duty ratio of the PWM signal does not exceed the maximum duty ratio Maxduty.

[0142] As described above, this limits the upper limit of the duty ratio of the PWM signal within the maximum duty ratio range Rd, so that the duty ratio of the PWM signal does not become 100% and the variation in the duty ratio of the PWM signal can be suppressed. This makes it possible to suppress the occurrence of large ripples in the coil current and the occurrence of abnormal noise when the motor is driven (see FIG. 9B and FIG. 10).

[0143] Furthermore, the maximum duty ratio Maxduty is dynamically changed within the maximum duty ratio range Rd depending on whether the coil currents Ia, Ib reach the current reference values ​​Sisa, Sisb, so that it is possible to generate a PWM signal with an appropriate duty ratio depending on the magnitude of the coil current required for the motor 20, i.e., the torque required for the motor 20. This enables stable motor driving according to the load on the motor 20.

[0144] Therefore, motor drive control device 10 according to the present embodiment makes it possible to realize stable motor drive according to the load on the motor.

[0145] In the motor drive control device 10 according to the present embodiment, the control circuit 12 preferably compares the measured coil current value Si with a current reference value Sis, and generates a PWM signal whose signal level switches between a first logic level and a second logic level according to the comparison result. When the measured duty ratio of the PWM signal matches the set maximum duty ratio Maxduty, the control circuit 12 updates the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes larger within the maximum duty ratio range Rd, and when the measured duty ratio of the PWM signal does not match the maximum duty ratio Maxduty, the control circuit 12 updates the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes smaller within the maximum duty ratio range Rd.

[0146] According to this, by comparing the duty ratio of the PWM signal with the maximum duty ratio Maxduty, it is possible to easily determine whether the coil currents Ia, Ib have reached the current reference value Sis, and therefore it is possible to easily realize dynamic adjustment of the maximum duty ratio Maxduty according to the relationship between the coil currents Ia, Ib and the current reference values ​​Sisa, Sisb.

[0147] Furthermore, in the motor drive control device 10 according to this embodiment, more preferably, when the state in which the duty ratio of the measured PWM signal matches the maximum duty ratio Maxduty continues for a number of consecutive PWM periods (CNT1≧A), the control circuit 12 updates the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes larger within the maximum duty ratio range Rd, and when the state in which the duty ratio of the measured PWM signal does not match the maximum duty ratio Maxduty continues for a number of consecutive PWM periods (CNT2≧B), the control circuit 12 updates the maximum duty ratio Maxduty so that the maximum duty ratio Maxduty becomes smaller within the maximum duty ratio range Rd.

[0148] This makes it possible to prevent the motor drive control from becoming unintentionally unstable due to frequent changes in the maximum duty ratio Max, thereby achieving more stable motor drive.

[0149] Furthermore, in the motor drive control device 10 according to this embodiment, more preferably, the control circuit 12 sets the maximum duty ratio Maxduty to a value exceeding the maximum duty ratio range Rd (a fixed maximum duty ratio Dmf (e.g., 100%)) when the state in which the duty ratio of the measured PWM signal matches the maximum duty ratio Maxduty continues for multiple consecutive PWM periods and the maximum duty ratio Maxduty reaches the upper limit value D2 within the maximum duty ratio range Rd.

[0150] According to this, when the torque of the motor 20 becomes insufficient due to a drop in the power supply voltage used as the drive voltage for the motor 20, the limit on the duty ratio of the drive control signal Sd (PWM signal) can be lifted to further increase the coil current of the motor 20, thereby making it possible to achieve more stable motor drive according to the load.

[0151] <<Extension of the embodiment>> The invention made by the present inventors has been specifically described above based on an embodiment, but it goes without saying that the invention is not limited thereto and can be modified in various ways without departing from the spirit of the invention.

[0152] For example, in the above embodiment, the method of comparing the duty ratio of the PWM signal with the maximum duty ratio Maxduty to determine whether the coil currents Ia and Ib reach the current reference value Sis is illustrated, but the present invention is not limited to this. For example, the maximum duty ratio determination unit 135 may update the maximum duty ratio Maxduty by directly monitoring the comparison result of the comparison unit 125.

[0153] Furthermore, the number of phases of the motor 20 in the above embodiment is not limited to two.

[0154] Furthermore, the motor 20 in the above embodiment is not limited to a stepping motor, but may be, for example, a brushless DC motor.

[0155] In addition, the above-mentioned flowchart shows an example for explaining the operation, and is not limited to this. That is, the steps shown in each figure of the flowchart are specific examples, and are not limited to this flow. For example, the order of some processes may be changed, other processes may be inserted between each process, and some processes may be performed in parallel. [Explanation of symbols]

[0156] 1...actuator, 10...motor drive control device, 12...control circuit, 14...drive circuit, 20...motor (stepping motor), 21, 21a, 21b...coil, 22...rotor, 22n...north pole, 22s...south pole, 25...output shaft, 26...primary gear, 29...motor terminal, 31...secondary gear (power transmission mechanism), 32...tertiary gear (power transmission mechanism), 33...output gear (power transmission mechanism), 42...printed circuit board, 43...flexible printed circuit board, 51...case, 52...cover, 121...current value acquisition unit, 122...current reference value setting unit, 123...current information storage unit, 124...current reference value information, 125...comparison unit, 130...drive control signal generation unit, 131...drive command acquisition unit, 132...PWM signal generation unit, 133...duty ratio information storage unit, 134...duty ratio measurement unit determination unit, 135...maximum duty ratio determination unit, 143, 143a, 143b...inverter circuits (H-bridge circuits), 144a, 144b...current sensors, 200...information on measured duty ratio, 201...information on maximum duty ratio Maxduty, 202...information on maximum duty ratio range Rd, 203...information on fixed maximum duty ratio Dmf, AP, BP...positive terminal of coil 21, AN, BN...negative terminal of coil 21, CNT1, CNT2...counters, Q1 to Q4...transistors, D1 to D4...diodes, Ia, Ib...coil current, Scm, Scma, Scmb...comparison result, Sd, Sda, Sdb...drive control signal, Si, Sia, Sib...measured coil current, Sis, Sis1, Sis2...current reference value, Via, Vib...current detection signal.

Claims

1. a control circuit that generates a PWM signal as a drive control signal for controlling the drive of the motor so that a coil current, which is a current flowing through a coil of the motor, coincides with a current reference value; a drive circuit for exciting a coil of the motor based on the drive control signal; the control circuit increases, within a predetermined range, a maximum duty ratio that defines a maximum value of a duty ratio indicating a ratio of a period during which the PWM signal is at a first logic level to a PWM period that is one period of the PWM signal, when the coil current has not reached the current reference value, and decreases, within the predetermined range, the maximum duty ratio, when the coil current has reached the current reference value; The control circuit generates the PWM signal so that the duty ratio of the PWM signal does not exceed the maximum duty ratio. Motor drive control device.

2. 2. The motor drive control device according to claim 1, The control circuit includes: a current value acquisition unit for acquiring a measurement value of the coil current; a drive control signal generating unit that generates the PWM signal and outputs it as the drive control signal; a current reference value setting unit that sets the current reference value; a comparison unit that compares the measured value of the coil current acquired by the current value acquisition unit with the current reference value for each PWM period and outputs a comparison result; The drive control signal generation unit a maximum duty ratio determination unit that determines the maximum duty ratio; a PWM signal generating unit that generates the PWM signal by switching the PWM signal between the first logic level and a second logic level opposite to the first logic level in response to a result of the comparison so that the duty ratio of the PWM signal does not exceed the maximum duty ratio; A duty ratio measurement unit that measures a duty ratio of the PWM signal, When the duty ratio of the PWM signal measured by the duty ratio measurement unit coincides with the maximum duty ratio, the maximum duty ratio determination unit updates the maximum duty ratio so as to increase the maximum duty ratio within the predetermined range, and when the duty ratio of the PWM signal measured by the duty ratio measurement unit does not coincide with the maximum duty ratio, updates the maximum duty ratio so as to decrease the maximum duty ratio within the predetermined range. Motor drive control device.

3. 3. The motor drive control device according to claim 2, When a state in which the duty ratio of the PWM signal measured by the duty ratio measurement unit matches the maximum duty ratio continues over a plurality of consecutive PWM periods, the maximum duty ratio determination unit updates the maximum duty ratio so that the maximum duty ratio becomes larger within the predetermined range, and when a state in which the duty ratio of the PWM signal measured by the duty ratio measurement unit does not match the maximum duty ratio continues over a plurality of consecutive PWM periods, the maximum duty ratio determination unit updates the maximum duty ratio so that the maximum duty ratio becomes smaller within the predetermined range. Motor drive control device.

4. 4. The motor drive control device according to claim 3, The maximum duty ratio determination unit sets the maximum duty ratio to a value exceeding the predetermined range when a state in which the duty ratio of the PWM signal measured by the duty ratio measurement unit coincides with the maximum duty ratio continues over a plurality of consecutive PWM periods and the maximum duty ratio reaches an upper limit value within the predetermined range. Motor drive control device.

5. The motor; A motor drive control device according to any one of claims 1 to 4, and a power transmission mechanism that transmits the rotational force of the motor to a drive target.

6. A motor drive control method for controlling driving of a motor by a motor drive control device, comprising: a first step in which the motor drive control device generates a PWM signal as a drive control signal for controlling the drive of the motor so that a coil current, which is a current flowing through a coil of the motor, coincides with a current reference value; a second step of the motor drive control device exciting a coil of the motor based on the drive control signal; The first step comprises: a third step in which, when the coil current has not reached the current reference value, the motor drive control device increases, within a predetermined range, a maximum duty ratio that defines a maximum value of a duty ratio indicating a ratio of a period during which the PWM signal is at a first logic level to a PWM period that is one period of the PWM signal; a fourth step in which the motor drive control device reduces the maximum duty ratio within the predetermined range when the coil current has reached the current reference value; a fifth step of the motor drive control device generating the PWM signal so that the duty ratio of the PWM signal does not exceed the maximum duty ratio. A motor drive control method.

Citation Information

Patent Citations

  • Stepping motor drive circuit and stepping motor device using it

    JP2006254542A