Stepping motor abnormality detection device
The stepping motor abnormality detection device addresses the challenge of unstable motor operations by comparing current levels at different times using an integrating circuit and analog-to-digital converter, enabling accurate detection of abnormalities like disconnection or tampering.
Patent Information
- Application Number
- JP2020144111
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-08-28
AI Technical Summary
Existing technologies struggle to accurately distinguish between normal and out-of-sync conditions in stepping motors, particularly when the motor operates unstably, such as rotating slightly and returning, making it difficult to detect abnormalities like disconnection or tampering.
A stepping motor abnormality detection device that includes a stepping motor drive unit, power supply unit, current level detection, and storage sections to compare current levels at different timings, using an integrating circuit and analog-to-digital converter to determine abnormalities based on predetermined value differences.
Effectively detects abnormalities in stepping motors due to disconnection or tampering, even in unstable operations, by stabilizing waveform detection and ensuring accurate distinction between normal and abnormal conditions.
Smart Images

Figure 0007539062000003 
Figure 0007539062000002 
Figure 0007539062000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a device for detecting an abnormality in the drive of a stepping motor, and more particularly to a device for detecting an abnormality in a stepping motor used in a two-way valve for opening and closing the flow of gas in a gas meter. [Background technology]
[0002] Patent Document 1 discloses a shutoff valve device that determines whether a stepping motor is in a stall state or out-of-step state.
[0003] This shutoff valve device includes a drive control circuit section that controls the drive of the stepping motor, and a valve motion abnormality circuit section that determines whether the stepping motor is in a stall state or out of step state. This makes it possible to determine whether the stepping motor is in a stall state or out of step state by comparing the maximum value or the wave height of the maximum value in the drive voltage waveform detected from the stepping motor with a predetermined threshold value.
[0004] Patent Document 2 discloses a method for detecting out-of-step of a stepping motor. This method converts the motor current waveform in a stepping motor driver that drives the stepping motor into a square wave, converts the square wave into a voltage signal, and determines whether or not an out-of-step state exists by comparing the obtained voltage value with a reference voltage. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2006-118642 A [Patent Document 2] JP 1999-187697 A Summary of the Invention [Problem to be solved by the invention]
[0006] Both Patent Document 1 and Patent Document 2 focus on the difference in current and voltage waveforms between normal operation and out-of-step operation. This makes it possible to detect the difference in the waveforms in a stable out-of-step state, but in reality, the stepping motor often repeats unstable operations, rotating slightly and then returning to its original position. In such cases, the difference in the waveforms becomes unclear, making it difficult to distinguish between normal operation and out-of-step operation.
[0007] The present invention provides a stepping motor anomaly detection device that corrects a waveform detected in an unstable state and is effective in stably detecting anomalies in a stepping motor. [Means for solving the problem]
[0008] The stepping motor abnormality detection device of the present invention is configured to include a stepping motor drive unit that outputs drive pulses to drive a stepping motor, a power supply unit that supplies power to the stepping motor drive unit, a current level detection unit that detects the level of current flowing through the stepping motor drive unit, a first memory unit that stores a first current level detected by the current level detection unit at a first timing, a second memory unit that stores a second current level detected by the current level detection unit at a second timing that is separated from the first timing by a predetermined time width or more, and a judgment unit that judges that the stepping motor is operating abnormally when the difference between the first current level and the second current level is equal to or greater than a predetermined value. Effect of the Invention
[0009] The anomaly detection device of the present invention is effective in detecting an anomaly in a stepping motor caused by a broken wire or tampering in an unstable operating environment. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a block diagram showing a configuration of a stepping motor abnormality detection device according to a first embodiment. [Diagram 2] FIG. 1 is a signal diagram of an output value of an analog-to-digital converter in the first embodiment. [Diagram 3]Driving pulses and signal waveforms of each part in the first embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] The first invention is a stepping motor abnormality detection device comprising a stepping motor drive unit that outputs a drive pulse to drive a stepping motor, a power supply unit that supplies power to the stepping motor drive unit, a current level detection unit that detects the level of current flowing through the stepping motor drive unit, a first memory unit that stores a first current level detected by the current level detection unit at a first timing, a second memory unit that stores a second current level detected by the current level detection unit at a second timing that is separated from the first timing by a predetermined time width or more, and a judgment unit that judges that an operational abnormality of the stepping motor exists when a difference between the first current level and the second current level is equal to or greater than a predetermined value.
[0012] The second invention is particularly characterized in that, in the first invention, the current level detection unit is provided with an integration circuit that integrates the instantaneous current flowing through the stepping motor drive unit, and detects the output of the integration circuit.
[0013] The third invention is particularly characterized in that, in the second invention, a resistor is inserted between the power supply unit and the stepping motor driving unit, and the integrating circuit is configured to integrate the voltage at the connection point between the resistor and the stepping motor driving unit using a capacitor via the resistor.
[0014] A fourth invention is particularly characterized in that in any one of the first to third inventions, the first timing and the second timing are positioned a predetermined time behind the rising edge of the drive pulse.
[0015] A fifth invention is particularly characterized in that, in any one of the first to fourth inventions, there is provided a two-way valve operated by the stepping motor, and the first timing is set immediately after the two-way valve starts to operate, and the second timing is set immediately before the two-way valve stops to operate.
[0016] A sixth invention is particularly characterized in that in any one of the first to fifth inventions, the judgment unit judges that an operational abnormality of the stepping motor exists when the second current level is outside a predetermined range.
[0017] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation from becoming more redundant than necessary and to facilitate understanding by those skilled in the art.
[0018] It should be noted that the accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.
[0019] (Embodiment 1) FIG. 1 is a block diagram showing an example of the configuration of a stepping motor abnormality detection device in an embodiment of the present invention, and FIGS. 2 and 3 are signal diagrams for explaining the operation of stepping motor abnormality detection in embodiment 1.
[0020] [1. Configuration] The configuration of the first embodiment will be described with reference to Fig. 1. The output voltage (voltage a) of a power supply unit 1 is applied to a stepping motor driving unit 3 via a current level detection unit 2. The output of the stepping motor driving unit 3 is connected to a stepping motor 4, and a two-way valve 5 is configured to open and close by the rotation of the stepping motor 4.
[0021] The current level detection unit 2 utilizes the fact that the potential difference between the voltages a and b at both ends of the resistor 21 is proportional to the current flowing through the resistor 21, and the potential difference is converted into a digital signal by the analog-to-digital conversion unit 24 and output as an AD value. The integrating circuit 25 is composed of a resistor 22 and a capacitor 23, and smooths out the change in the output signal b of the resistor 21. The output of the integrating circuit 25 is input to the analog-to-digital conversion unit 24 as a voltage c.
[0022] The output (AD value) of the analog-digital conversion unit 24 is input to the first storage unit 6 and the second storage unit 7, and the AD value at a certain timing is stored. Then, the judgment unit 8 judges the presence or absence of an abnormality in the stepping motor 4 by comparing the stored value in the first storage unit 6 with the stored value in the second storage unit 7.
[0023] The stepping motor anomaly detection device in this embodiment is incorporated into a gas meter, and the two-way valve 5 is used as a cutoff valve that cuts off and opens the flow of gas. When incorporated into a gas meter, a lithium battery, which is the power source for the gas meter, is used as the power supply unit 1.
[0024] The stepping motor 4 has multiple coils, and the direction of rotation of the motor is determined by the state of the pulse applied to each coil. The direction of rotation of the motor determines whether the two-way valve opens or closes. Although not shown in Fig. 1, the stepping motor 4 has a control unit that controls the overall operation, which will be described below.
[0025] [2. Operation] The operation of the embodiment of the present invention configured as above will be described with reference to FIG.
[0026] FIG. 2 is a graph showing the AD value, which is the output of the analog-to-digital conversion unit 24 during a closing operation when the two-way valve 5 of the stepping motor anomaly detection device of this embodiment is used as a shutoff valve of a gas meter.
[0027] The analog-to-digital converter 24 converts the output (voltage c) of the integrator circuit 25 into a digital signal using the output (voltage a) of the power supply unit 1 as a reference voltage. Specifically, the voltage c is divided by the voltage a, and the resulting integer value is multiplied by 1024 and output as the AD value. In Fig. 2, the vertical axis represents the AD value, and the horizontal axis represents time.
[0028] The first timing (A) is the timing immediately after the stepping motor 4 starts to operate when a drive pulse is output from the stepping motor drive unit 3, and the second timing (B) is the timing immediately before the gas flow path is completely closed by the two-way valve 5. The drive pulse frequency is maintained at a constant frequency while the stepping motor 4 is being driven.
[0029] The solid line graph b shows the case where the two-way valve 5 operates normally. While the two-way valve 5 is operating, i.e., while the stepping motor 4 is rotating normally, there is no change in the current flowing through resistor 21, and there is almost no difference between the AD value at the first timing (A) and the AD value at the second timing (B). In graph b, the AD value drops immediately after the second timing (B), indicating that the gas flow path is closed by the two-way valve 5, and the operation of the two-way valve 5 is stopped, thereby increasing the load on the stepping motor 4 and causing an increase in the current flowing through resistor 21.
[0030] Next, graph a, indicated by a dashed line, shows the case where stepping motor 4 has two coils and one of them is disconnected. In this case, the current flowing through resistor 21 is half that during normal operation, and the AD value becomes larger accordingly. Furthermore, when one coil is disconnected, the operation of stepping motor 4 becomes unstable and the load on stepping motor 4 fluctuates. Therefore, when a coil is disconnected, the current flowing through resistor 21 changes, and a difference occurs between the AD value at the first timing (a) and the AD value at the second timing (b), as shown in graph a.
[0031] Next, graph c shown by a dotted line indicates a case where an object is caught in the gas flow path of the gas meter due to tampering or the like, causing the two-way valve 5 to malfunction and stop operating partway through the closing operation of the two-way valve 5. When the operation of the two-way valve 5 stops, the load on the stepping motor 4 increases, and the current flowing through the resistor 21 increases, decreasing the AD value. In other words, when the operation of the two-way valve 5 stops due to tampering or the like between the first timing (A) and the second timing (B), a difference occurs between the AD value at the first timing (A) and the AD value at the second timing (B).
[0032] As explained above, during normal operation, there is not a large difference between the AD value at the first timing (A) and the AD value at the second timing (B). However, if the operation of the two-way valve 5 becomes unstable or stops due to a broken wire, tampering, or the like, a large difference will occur between the AD value at the first timing (A) and the AD value at the second timing (B).
[0033] Therefore, the first storage unit 6 stores the AD value at the first timing (A), and the second storage unit 7 stores the AD value at the second timing (B). If the absolute value of the difference between the AD value stored in the first storage unit 6 and the AD value stored in the second storage unit 7 is greater than or equal to a predetermined value, the determination unit 8 determines that the stepping motor 4 is operating abnormally.
[0034] In addition, the first timing (a) is set immediately after the operation of the stepping motor 4, and the second timing (b) is set immediately before the completion of the closing operation of the two-way valve 5. Although this timing is not essential, the longer the time between the first timing (a) and the second timing (b), the lower the probability of overlooking an abnormality due to tampering or the like.
[0035] In addition, although the positions of the first timing (a) and the second timing (b) have been described as fixed, for example, the maximum value of the AD value in the section from immediately after the operation of the stepping motor 4 to immediately before the end of the opening / closing operation of the two-way valve 5 can be stored in the first memory unit 6 as the first timing (a), and the minimum value of the AD value can be stored in the second memory unit 7 as the second timing (b).
[0036] Next, the relationship between the drive pulse for driving the stepping motor 4 and the voltages b and c will be described with reference to Fig. 3. In Fig. 3, the vertical axis represents the voltage level, and the horizontal axis represents the time.
[0037] The stepping motor 4 has two coils (a first coil and a second coil), and the waveforms shown in Fig. 3(1) and (2) show the waveforms of the drive pulse A and the drive pulse B applied to the two coils of the stepping motor 4. The solid line in Fig. 3(3) shows the waveforms of the voltage b The dashed line indicates the waveform of voltage c.
[0038] Drive pulse A drives the first coil of stepping motor 4, and drive pulse B drives the second coil of stepping motor 4. Drive pulse B is delayed in phase by 90 degrees from drive pulse A. The rotation direction of stepping motor 4 is determined by whether drive pulse B is delayed or advanced by 90 degrees from drive pulse A.
[0039] Voltage b shown in Figure 3 (3) corresponds to the waveform of the current flowing through the stepping motor 4. The stepping motor 4 is a coil load, and the waveform of the current flowing through the coil is a differentiated waveform as shown by voltage b. Therefore, it is possible to directly input voltage b to analog-digital conversion section 24 and convert voltage b into an AD value without using integrating circuit 25 consisting of resistor 22 and capacitor 23, but in this case, the AD value will vary greatly depending on where in the drive pulse the sampling timing is set in analog-digital conversion section 24.
[0040] Therefore, when the integrating circuit 25 is not used, it is important to set the sampling timing to a constant timing with respect to the drive pulse, and the timing delayed by a time τ from the rising edge of the drive pulse A is set as the AD conversion timing of the analog-to-digital converter 24. Note that by AD converting the voltage c via the integrating circuit 25, there is an advantage in that the effect of the AD conversion timing on the AD value can be reduced.
[0041] The graph shown in FIG. 2 is a graph in which the AD values acquired at the AD conversion timings explained in FIG. 3 are arranged in chronological order.
[0042] Furthermore, by adding a determination in the determination unit 8 that if the AD value at the second timing (b) exceeds a predetermined range, for example, equal to or greater than the first AD value (AD1 shown in FIG. 2), there is a disconnection, and if it is equal to or less than the second AD value (AD2 shown in FIG. 2), the operation of the two-way valve has stopped due to tampering or the like, it is possible to more accurately detect an abnormality in the stepping motor. Note that appropriate values can be set in advance for AD1 and AD2 relative to the AD value during normal operation.
[0043] [3. Effects, etc.] As described above, in this embodiment, even if the operation of the stepping motor 4 becomes unstable due to a broken wire, tampering, or the like, an abnormality in the stepping motor can be accurately detected.
[0044] In the present embodiment, the method for detecting an abnormality in the stepping motor 4 during the closing operation of the two-way valve 5 has been described, but it goes without saying that the method can also be applied to the opening operation.
[0045] It should be noted that the above-described embodiments are intended to illustrate the technology of the present disclosure, and various modifications, substitutions, additions, omissions, and the like can be made within the scope of the claims or their equivalents. [Industrial Applicability]
[0046] The present invention is particularly applicable to a stepping motor that drives a two-way valve built into a gas meter or the like. [Explanation of symbols]
[0047] 1 Power supply section 2 Current level detection section 3 Stepping motor drive unit 4 Stepping motor 5. Two-way valve 6 1st memory section 7 2nd memory section 8 Judgment section 21 Resistance 22 Resistance 23 Capacitor 24 Analog-to-digital converter
Claims
1. A stepping motor having a plurality of coils; a stepping motor driver that outputs a plurality of drive pulses corresponding to each of the plurality of coils; a power supply unit that supplies power to the stepping motor drive unit; a current level detection unit that detects a level of a current flowing through the stepping motor drive unit; a first storage unit configured to store a first current level detected by the current level detection unit at a first timing when the drive pulse is output; a second storage unit configured to store a second current level detected by the current level detection unit at a second timing that is separated from the first timing by a predetermined time width or more and at which the drive pulse is being output; a determination unit that determines that an operation abnormality occurs in the stepping motor when a difference between the first current level and the second current level is outside a predetermined value range; Equipped with The plurality of driving pulses are out of phase with each other, The stepping motor abnormality detection device according to claim 1, wherein the first timing and the second timing are delayed by a predetermined time from a rising edge of the drive pulse.
2. 2. The stepping motor abnormality detection device according to claim 1, wherein the current level detection unit includes an integrating circuit that integrates the instantaneous current flowing through the stepping motor drive unit, and the output of the integrating circuit is converted into a digital signal by an analog-to-digital conversion unit.
3. 3. The stepping motor abnormality detection device according to claim 2, wherein a resistor is inserted between the power supply unit and the stepping motor drive unit, and the integrating circuit is configured to integrate the voltage at the connection point between the resistor and the stepping motor drive unit using a capacitor via the resistor.
4. 4. The stepping motor abnormality detection device according to claim 1, further comprising a bidirectional valve operated by the stepping motor, wherein the first timing is set immediately after the bidirectional valve starts to operate, and the second timing is set immediately before the bidirectional valve stops to operate.
Citation Information
Patent Citations
Constant-current driving apparatus
JP1995322692A
Step-out detection method for stepping motor
JP1999187697A
Stepping motor controller and image scanner therewith
JP2000228899A
Gas meter and control method therefor
JP2004125569A
Shut-off valve device
JP2006118642A
