1. Field of the Invention
The present invention relates to a control device for a stepping motor and a control method for a stepping motor, and particularly, to a control device for a stepping motor and a control method for a stepping motor, which move a rotor to a predetermined position during activation period or stop period of the stepping motor.
2. Description of the Related Art
A stepping motor is excited by applying an excitation current to multiple coils, whereby a rotor is driven to rotate in steps. During activation period of the stepping motor, in general, a hold current for attracting the rotor positioned at an arbitrary position to a position (an initial position) facing a stator is applied to the coils, and after vibration of the rotor at the initial position stops, a driving current is applied, whereby normal driving is performed. Since the stepping motor is driven as described above, it is possible to prevent hunting of the stepping motor and to surely activate the stepping motor.
For example, JP-A-2012-016122 discloses a motor control method during activation period, where a hold current is slowly increased during start period.
According to this control method, since a rotor of a stepping motor slowly moves to an initial position during activation period, it is possible to suppress generation of vibration sound and impact sound.
Incidentally, although a method of controlling a stepping motor as disclosed in JP-A-2012-016122 is used, it is desired to further suppress generation of vibration sound, impact sound, and the like during driving period of the stepping motor.
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a control device for a stepping motor and a control method for a stepping motor which are capable of suppressing a level of sound generated during driving period of the stepping motor.
According to an illustrative embodiment of the present invention, there is provided a control device for a stepping motor, the control device configured to apply an excitation current to multiple coils to rotate a rotor. The control device comprises: a drive unit configured to apply a drive voltage to the coils; and a control unit configured to control the drive voltage applied by the drive unit, wherein the control unit includes a stop control unit configured to perform, during a hold period of a stop period of the stepping motor, a stop control which gradually decreases a magnitude of the excitation current flowing in the coils such that the rotor moves to a predetermined stop position, and wherein the stop control unit is configured to perform the stop control such that a variation amount of the excitation current per unit time becomes a predetermined threshold value for the stop period or less.
In the above control device, the predetermined threshold value for the stop period may be set such that a level of sound generated when the rotor moves to the stop position becomes a predetermined level or less.
In the above control device, the stop control unit may be configured to perform, during the hold period of the stop period, the stop control where a drive voltage subjected to pulse width modulation such that a duty ratio thereof decreases as time proceeds or a drive voltage whose voltage value decreases as time proceeds is applied to the coils by the drive unit, such that the excitation current gradually decreases as time proceeds.
In the above control device, the control unit may further include: a detecting unit configured to detect the excitation current; and a signal generating unit configured to generate a control signal such that, during the hold period of the stop period, the excitation current detected by the detecting unit becomes close to a predetermined target current which gradually decreases as time proceeds, and the drive unit may be configured to generate a drive voltage subjected to pulse width modulation with a duty ratio according to the control signal generated by the signal generating unit.
In the above control device, when the excitation current detected by the detecting unit is less than the target current, the signal generating unit may be configured to set the control signal at a first value such that the duty ratio of the drive voltage becomes larger than that before the setting, and when the excitation current detected by the detecting unit reaches the target current, the signal generating unit may be configured to set the control signal at a second value such that application of the drive voltage to the multiple coils is stopped.
In the above control device, the stop control unit may be configured to perform the stop control such that the excitation current linearly decreases during the hold period of the stop period.
In the above control device, the stop control unit may be configured to perform the stop control such that a value of the excitation current at a start of the hold period of the stop period becomes larger than 30% of a value of the excitation current flowing; in the coils before the hold period of the stop period starts.
In the above control device, the control unit may further include an out-of-step detecting unit configured to detect out-of-step of the stepping motor, and when the stepping motor is stopped based on a detection result of the out-of-step detecting unit, the stop control unit may be configured to perform the stop control such that an excitation pattern of the excitation current during the hold period becomes an excitation pattern same as that when out-of-step of the stepping motor is detected by the out-of-step detecting unit.
In the above control device, the control unit may further include an activation control unit configured to perform, during a hold period of an activation period of the stepping motor, an activation control which gradually increases the magnitude of the excitation current flowing in the coils such that the rotor moves to a predetermined initial position, and the activation control unit may be configured to perform the activation control such that the variation amount of the excitation current per unit time becomes a predetermined threshold value for the activation period or less.
In the above control device, the activation control unit may be configured to perform the activation control such that a value of the excitation current at an end of the hold period of the activation period becomes larger than 30% of the value of the excitation current flowing in the coils after the end of the hold period of the activation period.
According to another illustrative embodiment of the present invention, there is provided a control device for a stepping motor, the control device configured to apply an excitation current to multiple coils to rotate a rotor. The control device comprises a drive unit configured to apply a drive voltage to the coils; and a control unit configured to control the drive voltage applied by the drive unit, wherein the control unit includes an activation control unit configured to perform, during a hold period of an activation period of the stepping motor, an activation control which gradually increases a magnitude of the excitation current flowing in the coils such that the rotor moves to a predetermined initial position, and wherein the stop control unit is configured to perform the activation control such that a variation amount of the excitation current per unit time becomes a predetermined threshold value for the activation period or less, and that a value of the excitation current at an end of the hold period of the activation period becomes larger than 30% of the value of the excitation current applied after the end of the hold period of the activation period.
In the above control device, the control unit may further include an out-of-step detecting unit configured to detect out-of-step of the stepping motor, and the activation control unit may be configured to perform the activation control only when the stepping motor is stopped based on a detection result of the out-of-step detecting unit and the stepping motor is driven next time.
According to a further illustrative embodiment of the present invention, there is provided a control method for a stepping motor, which applies an excitation current to multiple coils to rotate a rotor. The control method comprises controlling a drive voltage applied to the coils during a normal driving period of the stepping motor, and performing, during a hold period of a stop period of the stepping motor, a stop control which gradually decreases a magnitude of an excitation current flowing in the coils such that the rotor moves to a predetermined stop position, wherein the stop control is performed such that a variation amount of the excitation current per unit time becomes a predetermined threshold value for the stop period or less.
According to a still further illustrative embodiment of the present invention, there is provided a control method for a stepping motor, which applies an excitation current to multiple coils to rotate a rotor. The control method comprises controlling a drive voltage applied to the coils during a normal driving of the stepping motor; and performing, during a hold period of an activation period of the stepping motor, an activation control which gradually increases a magnitude of the excitation current flowing in the coils such that the rotor moves to a predetermined initial position, wherein the activation control is performed such that a variation amount of the excitation current per unit time becomes a predetermined threshold value for the activation period or less, and that a value of the excitation current at an end of the hold period of the activation period becomes larger than 30% of the value of the excitation current applied after the end of the hold period of the activation period.
According to the above configuration, it is possible to provide a control device for a stepping motor and a control method for a stepping motor which are capable of suppressing a level of sound generated during driving period of the stepping motor.
In the accompanying drawings:
Hereinafter, a control device for a stepping motor according to illustrative embodiments of the present invention will be described.
As shown in
The stepping motor 20 includes a rotor, a stator, and multiple coils (not shown) wound on the stator. For example, the stepping motor 20 has coils of two phases, i.e. an A-phase coil and a B-phase coil. The drive voltage is supplied from the control device 10 to the stepping motor 20 through positive and negative lines of the A phase and the B phase. In the present illustrative embodiment, the stepping motor 20 is used, for example, as an actuator of an on-vehicle air conditioner. However, the present invention is not limited thereto.
The control device 10 mainly includes a control circuit (an example of a control unit) 30 and a drive circuit (an example of a drive unit) 40. The drive circuit 40 applies the drive voltage to the coils of the stepping motor 20. The control circuit 30 controls the drive circuit 40, thereby controlling the drive voltage applied by the drive circuit 40. That is, the control device 10 applies the drive voltage to the multiple coils of the stepping motor 20, such that an excitation current flows in the coils, whereby the rotor of the stepping motor 20 is rotated.
The control circuit 30 includes a central processing unit (CPU) (an example of an activation control unit, a stop control unit, or a signal generating unit) 31, a current measuring unit 32, and a memory 33. The drive circuit 40 includes a motor drive unit 41 and a current sensing unit 42.
The current sensing unit 42 and the current measuring unit 32 detect a value of the excitation current flowing in each coil of the stepping motor 20. Specifically, for example, the current sensing unit 42 applies the excitation current to a shunt resistor and detects a voltage drop at the shunt resistor. Then, the current measuring unit 32 calculates the excitation current value of each coil based on a voltage drop detected by the current sensing unit 42.
The CPU 31 generates a control signal for controlling the drive voltage, and outputs the control signal to the motor drive unit 41. During normal activation period of the stepping motor 20, the CPU 31 generates and outputs the control signal, for example, such that the excitation current has a predetermined sine wave form.
In the present illustrative embodiment, the CPU 31 performs an activation control (described below) during a hold period of a predetermined activation period from an activation start of the stepping motor 20. Also, the CPU 31 performs a stop control (described below) during a hold period of a predetermined stopping period from a stop start of the stepping motor 20 when normal driving of the stepping motor 20 finishes. In each of the activation control and the stop control, the control signal is generated based on the corresponding control and output. In the present illustrative embodiment, this control signal is a PWM signal obtained by pulse width modulation.
According to the control signal supplied from the CPU 31, the motor drive unit 41 applies the drive voltage, which is a signal subjected to pulse width modulation (hereinafter, referred to as the pulse width modulation (PWM) signal), to the coils of the stepping motor 20.
If the drive voltage is applied to the coils of the stepping motor 20 as described above, the excitation current flows, whereby the stator is excited. The direction of the excitation current flowing in the coils of two phases is alternately switched, whereby magnetic poles excited at the stator change, and the rotor rotates.
In the graph of
As shown in
During the normal driving period, the drive voltage is applied from the control device 10 such that a normal excitation current (which may be referred to as a drive current) flows in the coils. In
In the present illustrative embodiment, the CPU 31 performs the activation control during the activation period and performs the stop control during the stop period.
[Description of Activation Control]
Transition of the excitation current when the activation control is performed will be described below, for example, with reference to
This activation control is performed based on control of the CPU 31, for example, as follows. That is, the CPU 31 compares the excitation current value calculated by the current measuring unit 32, with a target current value stored in the memory 33. The CPU 31 adjusts a duty ratio for driving the stepping motor 20 such that the calculated excitation current value becomes close to the target current value. The CPU 31 generates a control signal corresponding to the adjusted duty ratio, and supplies the control signal to the motor drive unit 41. As a result, in the motor drive unit 41, a drive voltage subjected to pulse width modulation with the duty ratio according to the control signal is generated.
In the present illustrative embodiment, the target current value is set such that the current excitation linearly increases as time proceeds, and the excitation current value reaches a predetermined value (a termination current value) at an end of the hold period. In other words, the control is performed such that timing when a hold current value reaches the termination current value and the end of the hold period become the same timing. The target current value is stored, for example, in the memory 33.
The termination current value is set in a range from 30% to 100% of the maximum value of the drive current (the maximum value of the excitation current applied to the coils after the end of the hold period of the activation period). For example, it is assumed that the termination current value at the start (the activation start) is set to the value of 70% of the maximum value of the drive current. In this case, during the hold period, control is performed such that the value of the hold current gradually increases from the value of 0% of the maximum value of the drive current to the value of 70% of the maximum value of the drive current, that is, the termination current value. When the value of the hold current reaches the termination current value, whereby the hold period of the activation period ends, the CPU 31 suddenly increases the excitation current value from the termination current value, and starts stable normal driving in a range where the excitation current value is the maximum value (the value of 100%) of the drive current.
If the termination current value is set to less than 30% of the maximum value of the drive current, since an exciting force becomes relatively week, even when the activation control is performed, the rotor may not move to the initial position, and thus it may be impossible to appropriately drive the stepping motor 20. For this reason, it is preferable to set the termination current value such that the lower limit of the termination current value becomes 30% of the maximum value of the drive current such that the drive current value becomes 30% or more of the maximum value of the drive current).
Since the above-described control is performed during the hold period of the activation period such that a inaptitude of the excitation current (the hold current) gradually increases, even if the rotor is at any position before activation, the rotor is slowly attracted to the position (initial position) facing the stator, and stops at that position. Since the hold current increases to the termination current value, it is possible to surely attract the rotor to the initial position. After the end of the hold period, a normal driving operation is performed, whereby the stepping motor 20 surely operates. During the hold period, since the rotor moves from the position before activation to the initial position, not at a high speed, it is possible to suppress generation of noise such as vibration sound and impact sound from the stepping motor 20.
In
In the present illustrative embodiment, since the drive voltage subjected to pulse width modulation such that a duty ratio thereof increases as time proceeds is applied to the coils during the hold period of the activation period, the CPU 31 performs the activation control such that the hold current gradually increases as time proceeds. This will be described with reference to
First, in Step S1, the CPU 31 switches the control signal from a low level to a high level (a first value) at the time t20 which is the start of the period T. In response to this transition, the motor drive unit 41 switches the drive voltage from a low level to a high level. For example, the low level and high level of the drive voltage correspond to 0 V and 12 V, respectively. Next, in Step S2, the current sensing unit 42 and the current measuring unit 32 detect the value of the hold current flowing in the coils. During a period from the time t20 to immediately before a time t21, since the hold current is lower than the target current (“NO” in Step S3), in Step S4, the CPU 31 maintains the control signal at the high level (the first value). In this case, the drive voltage is maintained at the high level (Step S1), and the duty ratio of the PWM signal (the ratio of an ON period of the PWM signal with respect to each period) increases. When the drive voltage is at the high level, the excitation current flowing in the coils is increased.
When the hold current reaches the target current at the time t21 (“YES” in Step S3), in Step S5, the CPU 31 switches the control signal to the low level (a second value). In response to this transition, the motor drive unit 41 switches the drive voltage to the low level in Step S6, thereby stopping applying the drive voltage to the coils. Thereafter, the drive voltage is maintained at the low level until the time t22 which is the end of the period T (Steps S6 and S7). The ratio of the period from the time t20 to the time t21 when the drive voltage is at the high level to the period T is the duty ratio of the PWM signal.
During the period from the time t21 to the time t22 when the drive voltage is at the low level, although a voltage is not applied between both ends of each coil, the inductance component of the coil causes the hold current to gradually decrease as shown in
Thereafter, at the time t22 which is the start of the next period, the control device 10 starts the processing operation of
As described above, during the hold period from the time t10 to the time t12 of
Incidentally, as shown in
[Description of Stop Control]
Transition of the excitation current when the stop control is performed will be described below, for example, with reference to
Similarly to the activation control, this stop control is performed based on control of the CPU 31, for example, as follows. That is, the CPU 31 compares the excitation current value calculated by the current measuring unit 32, with the target current value stored in the memory 33. The CPU 31 adjusts a duty ratio for driving the stepping motor 20 such that the calculated excitation current value becomes close to the target current value. The CPU 31 generates the control signal corresponding to the adjusted duty ratio and supplies the control signal to the motor drive unit 41. As a result, in the motor drive unit 41, the drive voltage subjected to pulse width modulation with a duty ratio according to the control signal is generated. Incidentally, specific control performed in this case is similar to the control method performed in the above-described activation control, and thus will not be described in detail. That is, although the stop control is different from the control described with reference to
In the present illustrative embodiment, the target current value is set such that the hold current value has a start current value at the start of the hold period of the stop period, linearly decreases as time proceeds, and becomes substantially 0 at the end of the hold period. In other words, control is performed such that the timing when the hold current value substantially reaches 0 and the end of the hold period become the same timing. The target current value for the stop control is also stored, for example, in the memory 33.
The start current value is set in a range from 30% to 100% of the maximum value of the drive current (the maximum value of the excitation current applied to the coils before the hold period of the stopping period starts). For example, it is assumed that the start current value at the start timing (the stopping start timing) is set to the value of 70% of the maximum value of the drive current. In this case, at the time t16 which is the start of the hold period of the stopping period, control is performed such that the value of the excitation current suddenly decreases from the value of the drive current (the value of 100% of the maximum value of the drive current) applied until that timing, to the start current value. Thereafter, during the hold period from the time t16 to the time t18, control is performed such that the value of the hold current decreases gradually from the value of 70% of the maximum value of the drive current to the value of 0% of the maximum value of the drive current. When the value of the hold current reaches the value of 0% of the maximum value of the drive current, whereby the hold period of the stopping period ends, stop of the stepping motor 20 is completed.
If the start current value is set to less than 30% of the maximum value of the drive current, since the exciting force becomes relatively week, even when the stop control is performed, it may be impossible to attract the rotor to the stop position, causing the rotor to be free. Therefore, a degree of suppressing the level of noise generated by the stepping motor 20 during stop may decrease. For this reason, it is preferable to set the start current value such that the lower limit thereof becomes 30% of the maximum value of the drive current (such that the start current value becomes 30% or more of the maximum value of the drive current).
As shown in
In contrast to this, in the present illustrative embodiment, as shown in
[Description of Variation Pattern of Hold Current in Activation Control or Stop Control]
In the above description, each of the activation control and the stop control is performed by the CPU 31 such that the hold current linearly varies during the hold period. However, the variation pattern of the hold current is not limited to the linear variation pattern. For example, the variation pattern may be set to vary in an upwardly convex curve shape or in a downwardly convex curve shape in the relation between the time elapse and the magnitude of the excitation current as shown in
Similarly to
Also, as shown by a broken line in
Similarly to
Also, as shown by a broken line in
In the present illustrative embodiment, as described above, not only when the hold current linearly increases, but also when the hold current increases in an upwardly or downwardly convex curve shape in a graph, the activation control is performed such that the variation rate of the hold current becomes a predetermined threshold value of the activation period or less. Also, not only when the hold current linearly decreases, but also when the hold current decreases in an upwardly or downwardly convex curve shape in a graph, the stop control is performed such that the variation rate of the hold current becomes a predetermined threshold value of the stop period or less. The threshold value of the activation period and the threshold value of the stop period are set such that a level of sound generated when the rotor moves to the initial position or when the rotor moves to the stop position becomes a predetermined level or less. The threshold value of the activation period and the threshold value of the stop period can be appropriately obtained by experiments.
Also, the rising pattern or the falling pattern can be appropriately selected from the above-described three patterns. For example, during the activation period, control may be performed such that the hold current gradually increases in a rising pattern having a downwardly convex curve shape, and during the stop period, control may be performed such that the hold current gradually decreases in a falling pattern having an upwardly convex curve shape, and vise versa.
The noise suppression effect when the start current value is set to 30% or more of the drive current value, and the noise suppression effect when the start current value is set to 100% of the drive current value are at levels approximately close to each other. Therefore, in order to reduce consumption current when performing the stop control, it is preferable to set the start current value in view of both cases such that the upper limit of the start current value becomes about 90% of the drive current value. Similarly, the noise suppression effect when the termination current value is set to 30% or more of the drive current value, and the noise suppression effect when the termination current value is set to 100% of the drive current value are at levels approximately close to each other. Therefore, in order to reduce consumption current when performing the stop control, it is preferable to set the termination current value in view of both cases such that the upper limit of the termination current value becomes about 90% of the drive current value.
The basic configuration of a control device according to a second illustrative embodiment is the same as that of the first illustrative embodiment, and thus will not be repeatedly described. The second illustrative embodiment is different from the first illustrative embodiment in that, during the hold period, a drive voltage whose voltage value varies as time proceeds is applied to the coils of the stepping motor 20.
That is, in the second illustrative embodiment, during the hold period of the stop period, the CPU 31 applies a drive voltage whose voltage value decreases as time proceeds, to the coils, thereby performing stop control such that the hold current gradually decreases as time proceeds. Also, during the hold period of the activation period, the CPU 31 applies a drive voltage whose voltage value increases as time proceeds to the coils, thereby performing activation control such that the hold current gradually increases as time proceeds.
As shown in
The control circuit 30a includes a CPU 31 and a memory 33a. In the memory 33a, not the target current but a voltage profile is stored in advance. The voltage profile is a table representing the relation between time and the drive voltage value. The CPU 31 generates a control signal which is a digital signal, and supplies the control signal to a voltage control unit 43, such that a drive voltage set according to the voltage profile is applied to the coils of the stepping motor 20.
The drive circuit 40a includes the voltage control unit 43 and a motor drive unit 41. The voltage control unit 43 generates a drive voltage according to the control signal and supplies the drive voltage to the motor drive unit 41. The motor drive unit 41 applies the drive voltage to the coils.
In the first illustrative embodiment, the drive voltage is a PWM signal, and the duty ratio of the PWM signal is gradually changed, whereby the hold current varying linearly is generated. In contrast to this, in the second illustrative embodiment, the voltage value of the drive voltage is gradually changed, whereby the hold current varying linearly is generated. The CPU 31 performs the activation control and the stop control, and thus even in the second illustrative embodiment, the stepping motor 20 is driven by the waveform of an excitation current as shown in
As shown in
For example, when the drive voltage switches from 1 V to 1.1 V at a time t30, in response to this transition, the hold current also increases, and converges to a constant value. Thereafter, when the drive voltage switches to 1.2 V at a time t31, the hold current further increases.
As the drive voltage increases, the hold current also increases, and thus the hold current which increases linearly as shown in
In the second illustrative embodiment, since a voltage profile which falls in a stepwise manner is set with respect to the stop control, the stop control is also performed according to the voltage profile, as described above. Therefore, during the hold period of the stop period, the stop control is performed such that the hold current gradually decreases as time proceeds.
Also, even in the second illustrative embodiment, the variation pattern of the hold current is not limited to the linear variation pattern. The stop control or the activation control may be performed such that the hold current varies according to a variation pattern varying in a downwardly or upwardly convex curve shape.
As described above, in the second illustrative embodiment, the drive voltage is applied to the coils such that the voltage value of the stepping motor 20 varies in a stepwise manner. Therefore, the hold current varies gradually and linearly, and does not suddenly increase or decrease. Therefore, the rotor moves to the initial position or the stop position, not at a high speed, and during the activation period and the stop period, generation of noise such as vibration sound and impact sound is suppressed.
[Others]
The present invention is not limited to the configurations of the above-described illustrative embodiments. The features of the illustrative embodiments may be appropriately combined such that any other control device for a stepping motor is configured.
The control device may be configured to detect out-of-step of a stepping; motor and detect that the stepping motor has stopped based on the out-of-step detection result. As methods for the out-of-step detection and the like, various methods can be used. In the stepping motor, the rotor is rotated by changing an excitation pattern at each step, and the control device may detect out-of-step of the stepping motor at each step. When the stepping motor is stopped based on the out-of-step detection as described above, the CPU may perform stop control such that the excitation pattern of the excitation current of the hold period of the stop period at that time becomes an excitation pattern same as that when out-of-step of the stepping motor is detected.
The above-described activation control may be performed only when the stepping motor stops due to out-of-step and activated thereafter.
The hold current during the activation period may be expressed in a linear or exponential function approximated, for example, by the following expression (1).
I=a×tb (1)
Here, the reference symbol “I” represents the hold current, and the reference symbol “t” represents the time elapse from the start (the time t10 of
Also, the hold current during the activation period may be expressed in the form of a sine wave approximated, for example, by the following expression (2).
Here, the reference symbol “T0” represents the hold period (from the time t10 to the time t12), and the reference symbols “c”, “d”, and “e” are constants. When both of “d” and “e” are 0, the variation pattern becomes close to the pattern shown by the broken line in
Of course, the variation pattern may be a pattern approximated by any expression other than the above expressions (1) and (2). Any hold currents having those patterns can be implemented by appropriately changing the target current of the first illustrative embodiment or the voltage profile of the second illustrative embodiment.
Similarly to the activation period, even during the stop period, stop control may be performed such that a hold current as expressed by an expression obtained according to the above expression (1) or (2) flows.
The above described processes of the illustrative embodiments may be performed by software, or may be performed by a hardware circuit.
It should be understood that the illustrative embodiment disclosed herein are illustrative and non-restrictive in every respect. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
Number | Date | Country | Kind |
---|---|---|---|
2013-166766 | Aug 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20080217846 | Shibagaki | Sep 2008 | A1 |
Number | Date | Country |
---|---|---|
2012-016122 | Jan 2012 | JP |
Number | Date | Country | |
---|---|---|---|
20150042258 A1 | Feb 2015 | US |