Abnormality detection method of rotary encoder and rotary encoder
The rotary encoder uses a disk with absolute and incremental patterns, along with magnetic and optical sensors, to address high-speed rotation challenges by detecting positional abnormalities, ensuring accurate and reliable operation.
Patent Information
- Application Number
- JP2023075057
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-11-08
AI Technical Summary
Existing rotary encoders face challenges in detecting rotation angles accurately during high-speed rotation due to the influence of stray capacitance, leading to potential delays and positional deviations.
The rotary encoder employs a disk with an absolute and incremental pattern, combined with a magnet and optical/magnetic sensors to detect rotational positions, using a magnetic sensor to determine the direction of the magnetic field and an optical sensor to output signals for relative and absolute positions, enabling abnormality detection through both high-speed and low-speed methods.
This approach allows for accurate detection of positional abnormalities in rotary encoders, ensuring reliable operation at high speeds by maintaining signal integrity and simplifying the encoder structure.
Smart Images

Figure 2024159212000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a rotary encoder. [Background technology]
[0002] Patent Document 1 discloses an encoder that includes an M-sequence signal output means for outputting a binary random number signal (hereinafter referred to as an M-sequence signal) whose cycle is one revolution of the rotary body of the encoder, a pulse signal output means for outputting an A pulse signal with a duty of 50% and a B pulse signal which is shifted by 1 / 4 of one cycle from the A pulse signal, a conversion means for converting the M-sequence signal into position data, and a counting means for counting the A pulse signal and the B pulse signal, and when the power is turned on, an initial position is detected using the conversion means, and then, The initial position detection device disclosed is an encoder that allows constant position detection by adding the output from the counting means to this initial position detection value, and is provided with a Z pulse signal output means that outputs a Z pulse signal that is generated at the same position once per rotation, and a position detection means that detects the position from this Z pulse signal, and when the rotating body of the encoder is rotating at a low speed including when stopped, initial position detection is performed using the M sequence signal, and when the rotating body of the encoder is rotating at a high speed, initial position detection is performed using the Z pulse signal. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 3680983 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the encoder disclosed in Patent Document 1, when realizing high resolution of the rotation angle, the area of the light receiving element per M-sequence signal becomes small. Therefore, there is a possibility that a delay occurs in the signal detected by the light receiving element due to the influence of the floating capacitance (parasitic capacitance) of the circuit. Therefore, it is difficult to detect the rotation angle during high-speed rotation, and there is a possibility that it is not possible to detect abnormal position deviation during high-speed rotation.
[0005] In view of the above problems, an object of the present invention is to provide a rotary encoder abnormality detection method and a rotary encoder that can suitably detect abnormalities in position detection. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, one embodiment of the present invention provides an abnormality detection method for a rotary encoder that detects rotation of the rotating shaft, the method comprising: a disk that rotates with a rotating shaft and has an absolute pattern and an incremental pattern; a magnet that rotates with the rotating shaft; an optical sensor that detects the incremental pattern and outputs a signal indicating the relative position of the rotating shaft and detects the absolute pattern and outputs a signal indicating the absolute position of the rotating shaft; and a magnetic sensor that outputs a signal indicating the direction of the magnetic field of the magnet, the method detecting an abnormality in the rotary encoder based on an initial one-rotation position and a one-rotation position calculated based on the signal indicating the absolute position of the rotating shaft output from the optical sensor, and the signal indicating the direction of the magnetic field of the magnet output from the magnetic sensor. Effect of the Invention
[0007] According to the above-described embodiment, it is possible to provide a rotary encoder anomaly detection method and a rotary encoder that suitably detects anomalies in position detection. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a cross-sectional view of a rotary encoder. [Diagram 2]FIG. 2 is a top view of a rotating body of the rotary encoder. [Diagram 3] FIG. 1 is an example of a functional block diagram of an absolute encoder. [Figure 4] FIG. 1 is an example of a functional block diagram of an incremental encoder. [Diagram 5] 10 is a flowchart showing an example of control of a rotary encoder. [Figure 6] FIG. 4 is an example of a functional block diagram of an abnormality detection unit. [Figure 7] 13 is a graph showing an example of one-rotation position detection value and a Z pulse. [Figure 8] FIG. 11 is another example of a functional block diagram of the abnormality detection unit. [Figure 9] 13 is a graph showing another example of one-rotation position detection value and a Z pulse. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals, and duplicated descriptions may be omitted.
[0010] The rotary encoder will be described with reference to Figures 1 and 2. Figure 1 is a cross-sectional view of the rotary encoder. Figure 2 is a top view of the rotor of the rotary encoder.
[0011] Here, the measurement target of the rotary encoder (e.g., a servo motor, etc.) has a housing 9 and a rotating shaft 10 (e.g., a motor shaft). One end of the rotating shaft 10 penetrates the housing 9 and protrudes to the outside of the housing 9. When the measurement target is a servo motor, the other end of the rotating shaft 10 is connected to a device (load device) driven by the servo motor.
[0012] The rotary encoder is attached to one end of the rotating shaft 10 and detects the rotation of the rotating shaft 10. For example, the rotary encoder is an absolute encoder (see FIG. 3 described later) and detects the rotational position (hereinafter also referred to as "one-rotation position") (rotation angle) of the rotating shaft 10 during one rotation and the amount of multiple rotations (number of rotations) of the rotating shaft 10. Alternatively, the rotary encoder is an incremental encoder (see FIG. 4 described later) and detects the one-rotation position of the rotating shaft 10.
[0013] The rotary encoder includes a substrate 1, a magnet 2, a slit disk 3, a hub 4, a flat head screw 5, a case 6, an optical sensor 7, and a magnetic sensor 8.
[0014] An optical sensor 7 and a magnetic sensor 8 are mounted on the substrate 1. In addition, electronic components and the like that constitute a control unit for detecting the position of one rotation of the rotating shaft 10, the amount of multiple rotations of the rotating shaft 10, abnormalities, and the like are also mounted on the substrate 1.
[0015] A rotating body of a rotary encoder is attached to one end of the rotating shaft 10. The rotating body of the rotary encoder includes a magnet 2, a slit disk 3, a hub 4, and a flat head screw 5, and rotates together with the rotating shaft 10.
[0016] The hub 4 is fixed to the rotating shaft 10 by a flat head screw 5. The slit disk 3 is attached to the hub 4 using adhesive 35. Furthermore, the magnet 2 is attached to the head of the flat head screw 5 using adhesive 25. As a result, when the rotating shaft 10 rotates, the rotating body of the rotary encoder (the magnet 2, slit disk 3, hub 4, and flat head screw 5) also rotates.
[0017] The case 6 is fixed to the housing 9 and supports the substrate 1 .
[0018] Magnet 2 is arranged to have magnetic poles (N-pole portion 21 and S-pole portion 22) in a direction perpendicular to rotation center 10AX of rotating shaft 10. That is, when viewed from the direction of rotation center 10AX (see FIG. 2), magnet 2 has N-pole portion 21 in one 180° range and S-pole portion 22 in the other 180° range.
[0019] The magnetic sensor 8 is composed of a Hall element or the like, and detects the magnetic field (direction of the magnetic field) formed by the magnet 2. Note that the magnetic sensor 8 outputs a High signal when the rotation position of the rotating shaft 10 is in the range of 0° to 180°, and outputs a Low signal when the rotation position is in the range of 180° to 360°, as shown in Fig. 7 described later, for example. That is, the magnetic sensor 8 detects two changes in the direction of the magnetic field (a rising edge and a falling edge) every time the rotating shaft 10 makes one rotation.
[0020] The slit disk 3 is provided with an absolute pattern 31 and an incremental pattern 32. In addition, in Fig. 2, a slit reference position 33 where the position of one rotation of the rotating shaft 10 on the absolute pattern 31 becomes zero is typically indicated by a thick line.
[0021] The absolute pattern 31 reflects the light emitted from the optical sensor 7 in a predetermined pattern that indicates the absolute position of the rotation angle during one rotation according to the rotational position of the slit disc 3. The absolute pattern 31 has a plurality of reflective portions that indicate an M-sequence code of a predetermined number of bits (e.g., 9 bits) arranged in the circumferential direction according to the angular position of the slit disc 3. At this time, non-reflective portions or low reflectance portions are arranged between the reflective portions in the circumferential direction of the absolute pattern 31.
[0022] The incremental pattern 32 reflects the irradiated light from the optical sensor 7 in a predetermined pattern representing a rotation angle (i.e., a relative angle) from an arbitrary angular position according to the rotational position of the slit disk 3. The incremental pattern 32 has, for example, a plurality of reflective portions representing A-phase code and B-phase code with different phases of a predetermined number of bits (e.g., 9 bits) arranged in the circumferential direction according to the angular position of the slit disk 3. At this time, non-reflective portions or low reflectance portions are arranged between the reflective portions in the circumferential direction of the incremental pattern 32.
[0023] The optical sensor 7 has a light emitting element 70 and a light receiving element 71. The light emitting element 70 irradiates light onto the slit disk 3. The light receiving element 71 detects the light reflected by the absolute pattern 31 and the incremental pattern 32.
[0024] In this way, when the rotary encoder is an absolute encoder (see FIG. 3 described later), the optical sensor 7 detects the one-rotation position of the rotating shaft 10, and the magnetic sensor 8 detects the amount of multiple rotations of the rotating shaft 10. When the rotary encoder is an incremental encoder (see FIG. 4 described later), the optical sensor 7 detects the one-rotation position of the rotating shaft 10.
[0025] Next, an example of a functional block in a rotary encoder will be described with reference to Fig. 3 and Fig. 4. Fig. 3 is an example of a functional block diagram in an absolute encoder. Fig. 4 is an example of a functional block diagram in an incremental encoder.
[0026] First, a functional block diagram of an absolute encoder will be described with reference to FIG.
[0027] The light receiving element 71 of the optical sensor 7 has an M sequence signal detection section 711 and an AB phase signal detection section 712. The M sequence signal detection section 711 detects the absolute pattern 31 of the slit disk 3 to output an M sequence signal. The M sequence signal is a signal indicating an absolute position. The AB phase signal detection section 712 detects the incremental pattern 32 of the slit disk 3 to output an AB phase signal. The AB phase signal is a signal indicating a relative position.
[0028] The initial one-revolution absolute position calculation unit 1110 receives the M-sequence signal from the M-sequence signal detection unit 711 and calculates the initial one-revolution absolute position of the rotating shaft 10. Here, the initial one-revolution absolute position is the initial position of one rotation of the rotating shaft 10. Specifically, the initial one-revolution absolute position is, for example, the one-revolution position of the rotating shaft 10 when the rotary encoder is powered on.
[0029] The relative position calculation unit 1120 receives the AB phase signal from the AB phase signal detection unit 712 and calculates the one-revolution relative position of the rotating shaft 10. Here, the one-revolution relative position of the rotating shaft 10 is the relative position (rotation angle) of the rotating shaft 10 during one rotation with respect to the initial one-revolution absolute position of the rotating shaft 10.
[0030] The one-rotation position detection calculation unit 1130 calculates the one-rotation position of the rotating shaft 10 based on the initial one-rotation absolute position of the initial one-rotation absolute position calculation unit 1110 and the one-rotation relative position of the relative position calculation unit 1120.
[0031] The magnetic sensor 8 has a Z-pulse detector 81 and a multi-rotation signal detector 82. The Z-pulse detector 81 detects the direction of a magnetic field and outputs a Z-pulse. The Z-pulse is a signal that indicates the direction of the magnetic field. The multi-rotation signal detector 82 outputs a signal every time the rotating shaft 10 rotates once.
[0032] The multiple rotation amount detection calculation section 1200 calculates the amount of multiple rotations of the rotating shaft 10 by counting the signals from the multiple rotation signal detection section 82 .
[0033] The transition processing unit 1300 outputs the one-rotation position of the rotating shaft 10 from the one-rotation position detection calculation unit 1130 and the amount of multiple rotations of the rotating shaft 10 from the multiple-rotation amount detection calculation unit 1200 as position detection values.
[0034] High / low speed determination unit 1400 (speed determination unit) determines whether the rotation speed of rotating shaft 10 is high or low. High / low speed determination unit 1400 calculates the rotation speed of rotating shaft 10 based on the change in relative position per unit time per rotation. If the rotation speed is equal to or higher than a threshold, it is determined to be "high speed", and a high speed determination signal is output to abnormality detection unit 1500. On the other hand, if the rotation speed is less than the threshold, it is determined to be "low speed", and a low speed determination signal is output to abnormality detection unit 1500.
[0035] The abnormality detection unit 1500 judges whether the rotation speed of the rotating shaft 10 is high or low. The abnormality detection unit 1500 will be described later with reference to FIG.
[0036] In this way, the absolute encoder detects and outputs the one-rotation position of the rotating shaft 10 and the amount of multiple rotations of the rotating shaft 10. Furthermore, if the absolute encoder detects an abnormality, it outputs an abnormality detection signal.
[0037] Next, a functional block diagram of an incremental encoder will be described with reference to Fig. 4. The functional block diagram of an incremental encoder (see Fig. 4) differs from the functional block diagram of an absolute encoder (see Fig. 3) in that it omits the multi-rotation signal detector 82, the multi-rotation amount detection calculator 1200, and the connection processor 1300. The rest of the configuration is the same, so duplicated explanations will be omitted.
[0038] In this way, the incremental encoder detects and outputs the one-rotation position of the rotating shaft 10. Furthermore, if the incremental encoder detects an abnormality, it outputs an abnormality detection signal.
[0039] Next, an example of control of the rotary encoder will be described with reference to Fig. 5. Fig. 5 is a flowchart showing an example of control of the rotary encoder.
[0040] When the rotary encoder is powered on, the control unit starts the process of step S101.
[0041] In step S101, the control unit detects the initial one-rotation absolute position using the M-sequence signal. Here, the optical sensor 7 detects the absolute pattern 31 of the slit disk 3, and the detected M-sequence signal is input to the initial one-rotation absolute position calculation unit 1110. The initial one-rotation absolute position calculation unit 1110 detects the initial one-rotation absolute position based on the M-sequence signal.
[0042] Next, the power supply to the measurement target is turned on, and thereafter, the rotating shaft 10 becomes rotatable.
[0043] In step S102, the control unit adds the one-rotation relative position to the initial one-rotation absolute position to calculate the one-rotation position of the rotating shaft 10. Here, the initial one-rotation absolute position calculated by the initial one-rotation absolute position calculation unit 1110 and the one-rotation relative position calculated by the relative position calculation unit 1120 are input to the one-rotation position detection calculation unit 1130. Then, the one-rotation position detection calculation unit 1130 adds the one-rotation relative position to the initial one-rotation absolute position to calculate the one-rotation position of the rotating shaft 10.
[0044] In step S103, the control unit detects the rotation speed of the rotating shaft 10 from the change in the relative position per unit time of one rotation. Here, the high / low speed determination unit 1400 detects the rotation speed of the rotating shaft 10 from the change in the relative position per unit time of one rotation.
[0045] In step S104, the control unit determines whether the rotation speed of the rotating shaft 10 is high or low. Here, the high / low speed determination unit 1400 determines that the rotation speed of the rotating shaft 10 detected in step S103 is high if it is equal to or higher than a threshold value, and determines that the rotation speed is low if it is less than the threshold value. If it is determined to be low speed, the control unit proceeds to processing in step S105. If it is determined to be high speed, the control unit proceeds to processing in step S106.
[0046] In step S105, the control unit performs abnormality detection of the rotary encoder using the M-sequence signal. Here, the abnormality detection unit 1500 performs abnormality detection using the M-sequence signal. Note that abnormality detection using the M-sequence signal will be described later with reference to FIG. 6 and the like. Then, the process of the control unit returns to step S102.
[0047] In step S106, the control unit performs abnormality detection of the rotary encoder using the Z pulse. Here, the abnormality detection unit 1500 performs abnormality detection using the Z pulse. Note that abnormality detection using the Z pulse will be described later with reference to FIG. 6 and the like. Then, the process of the control unit returns to step S102.
[0048] Next, an example of the abnormality detection unit 1500 will be described with reference to Fig. 6. Fig. 6 is an example of a functional block diagram of the abnormality detection unit 1500. Here, an example will be described in which the magnet 2 is attached so that the direction of the magnetic field is aligned with the slit reference position 33. That is, the magnet 2 is attached so that the direction of the magnetic field is reversed at one rotation position of 180° and 360° (0°), in other words, the Z pulse rises or falls.
[0049] An M-sequence signal-using anomaly detection unit 1510 receives an M-sequence signal from the M-sequence signal detection unit 711 and a one-rotation position detection value from the one-rotation position detection calculation unit 1130. The anomaly detection unit 1510 has a table 1511 that converts a one-rotation position into an M-sequence signal. A determination unit 1512 of the anomaly detection unit 1510 outputs an error signal when the M-sequence signal and the M-sequence signal converted by the table 1511 do not match (are separated by a predetermined threshold or more).
[0050] Z pulse-using abnormality detection unit 1520 receives Z pulses from Z pulse detection unit 81 and receives one-rotation position detection values from one-rotation position detection calculation unit 1130. Fig. 7 is a graph showing an example of one-rotation position detection values and Z pulses input to abnormality detection unit 1520. Here, an example will be described in which rotating shaft 10 rotates forward (in the direction in which the one-rotation position increases) at a constant speed.
[0051] The abnormality detection unit 1520 judges whether the one rotation position is within the range of the predetermined ranges θ1, θ2, and θ3 when the direction of the magnetic field switches, that is, when the Z pulse rises or falls. If it is outside the range of the predetermined ranges θ1, θ2, and θ3, it judges that an abnormality has occurred, and the abnormality detection unit 1520 outputs an error signal.
[0052] Furthermore, the abnormality detection unit 1520 judges whether or not the one-rotation position is within a predetermined range θ1 including an angle of 180° at a time T1 before and after the Z pulse falls. If it is outside the predetermined range θ1, it is judged to be abnormal, and the abnormality detection unit 1520 outputs an error signal.
[0053] Furthermore, the abnormality detection unit 1520 judges whether or not the one-rotation position is within a predetermined range θ2 including an angle of 360° and within a predetermined range θ3 including an angle of 0° at a time T2 before and after the rising edge of the Z pulse. If it is outside the predetermined ranges θ2 and θ3, it is judged to be abnormal, and the abnormality detection unit 1520 outputs an error signal.
[0054] When a low speed judgment signal is input from high speed / low speed judgment unit 1400, switching unit 1530 outputs the signal of abnormality detection unit 1510 to OR operation unit 1550. When a high speed judgment signal is input from high speed / low speed judgment unit 1400, switching unit 1530 disconnects abnormality detection unit 1510 and OR operation unit 1550.
[0055] When a high speed judgment signal is input from high speed / low speed judgment unit 1400, switching unit 1540 outputs the signal of abnormality detection unit 1520 to OR operation unit 1550. When a low speed judgment signal is input from high speed / low speed judgment unit 1400, switching unit 1540 disconnects abnormality detection unit 1520 and OR operation unit 1550.
[0056] When an error signal is input from at least one of the switches 1530 and 1540, the OR operation unit 1550 outputs an error signal.
[0057] In this way, by using the switching units 1530, 1540 and the OR operation unit 1550, abnormality detection is performed by the abnormality detection unit 1510 using the M sequence signal at low speeds (see S105), and abnormality detection is performed by the abnormality detection unit 1520 using the Z pulse at high speeds (see S106).
[0058] Although the abnormality detection method is switched between high speed and low speed in the above description, the present invention is not limited to this. For example, the abnormality detection may be performed by the abnormality detection unit 1520 using the Z pulse in both high speed and low speed.
[0059] Next, another example of the abnormality detection unit 1500 will be described with reference to Fig. 8. Fig. 8 is a functional block diagram of another example of the abnormality detection unit 1500. Here, the magnet 2 is attached at an arbitrary angle.
[0060] The offset value θoffset is stored in the non-volatile memory 1570. A calculator 1580 subtracts the offset value θoffset from the one-rotation detection value.
[0061] Anomaly detection unit 1520 using a Z pulse receives as input a Z pulse from Z pulse detection unit 81, and receives as input an offset one-rotation position detection value (corrected one-rotation position) from calculator 1580. Fig. 9 is a graph showing an example of the one-rotation position detection value and Z pulse input to anomaly detection unit 1520. From the top, it shows the one-rotation position detection value detected by one-rotation position detection calculation unit 1130, the offset one-rotation position detection value input to anomaly detection unit 1500, and the Z pulse input to anomaly detection unit 1500. Note that here, an example will be described in which rotating shaft 10 is rotating forward (in the direction in which the one-rotation position increases).
[0062] The abnormality detection unit 1520 judges whether the offset one rotation position is within the range of the predetermined ranges θ1, θ2, and θ3 when the direction of the magnetic field switches, that is, when the Z pulse rises or falls. If it is outside the range of the predetermined ranges θ1, θ2, and θ3, it is judged to be abnormal, and the abnormality detection unit 1520 outputs an error signal.
[0063] Furthermore, the abnormality detection unit 1520 judges whether the offset one rotation position is within a predetermined range θ1 including an angle of 180° at a time T1 before and after the Z pulse falls. If it is outside the predetermined range θ1, it is judged to be abnormal, and the abnormality detection unit 1520 outputs an error signal.
[0064] Furthermore, the abnormality detection unit 1520 judges whether or not the offset one rotation position is within a predetermined range θ2 including an angle of 360° and a predetermined range θ3 including an angle of 0° at a time T2 before and after the rising edge of the Z pulse. If it is outside the predetermined ranges θ2 and θ3, it is judged to be abnormal, and the abnormality detection unit 1520 outputs an error signal.
[0065] In this way, even if the magnet 2 is attached at an arbitrary angle, abnormality detection can be performed based on the offset one rotation position and the Z pulse, similar to the cases of Figures 7 and 8.
[0066] Here, the light receiving area per signal of the light receiving element 71 that detects the M-sequence signal is smaller than the light receiving area per signal of the light receiving element 71 that detects the AB phase signal. Therefore, the higher the resolution, the lower the S / N ratio of the light receiving element 71 that detects the M-sequence signal. In contrast, according to the rotary encoder of this embodiment, when the rotating shaft 10 is rotating at high speed, anomaly detection is performed using the Z pulse and the AB phase signal, as shown in the anomaly detection unit 1520. This ensures the S / N ratio of the signal from the optical system, and also enables anomaly detection even in the event of a failure in which the output signal at one rotation position is fixed.
[0067] Furthermore, in the absolute encoder, the magnetic sensor 8, the magnet 2, and the like for detecting multiple rotations can be shared, so that the structure can be simplified.
[0068] Although the embodiments for carrying out the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims.
[0069] For example, in the above-mentioned embodiment, the absolute encoder is of a reflective type, but it may be of a transmissive type. In this case, the incremental pattern 32 and the absolute pattern 31 of the slit disk 3 are composed of a transmissive portion that transmits the irradiated light and a non-transmissive portion that does not transmit the irradiated light, instead of a reflective portion and a non-reflective portion or a low reflectance portion. Also, the light emitting element 70 that irradiates the slit disk 3 with light is provided at a position a predetermined distance away from the light receiving element 71 on the opposite side of the slit disk 3. [Explanation of symbols]
[0070] 1 Board 2. Magnets 21 North pole 22 S pole part 25 Adhesive 3 Slit disc 31 Absolute Pattern 32 Incremental Pattern 33 Slit reference position 35 Adhesive 4. Hub 5 Flat head screws 6 Cases 7. Light Sensor 70 Light emitting element 71 Photodetector 711 M-sequence signal detector 712 AB phase signal detection section 8 Magnetic Sensors 81 Z-pulse detector 82 Multi-rotation signal detector 9. Cabinet 10 Rotation axis 10AX Rotation Center 1110 Initial one-rotation absolute position calculation unit 1120 Relative position calculation unit 1130 One-rotation position detection calculation unit 1200 Multi-rotation amount detection calculation unit 1300 Joint processing section 1400 High speed / low speed judgment section 1500 Anomaly detection unit 1510 Anomaly detection unit 1511 Table 1512 Judgment section 1520 Anomaly Detection Unit 1530,1540 Switching section 1550 OR operation unit 1570 Non-volatile memory
Claims
1. a disk that rotates with the rotary shaft and has an absolute pattern and an incremental pattern; A magnet that rotates together with the rotating shaft; an optical sensor that detects the incremental pattern and outputs a signal indicating a relative position of the rotating shaft, and detects the absolute pattern and outputs a signal indicating an absolute position of the rotating shaft; a magnetic sensor that outputs a signal indicating the direction of the magnetic field of the magnet; A method for detecting an abnormality in a rotary encoder that detects rotation of a rotary shaft, comprising the steps of: detecting an abnormality in the rotary encoder based on a one-rotation position calculated based on an initial one-rotation position and a signal indicating an absolute position of the rotating shaft outputted from the optical sensor, and based on a signal indicating a direction of a magnetic field of the magnet outputted from the magnetic sensor; A method for detecting abnormalities in a rotary encoder.
2. Detecting a rotation speed of the rotating shaft based on a signal indicating the relative position of the rotating shaft; When the rotation speed of the rotating shaft is higher than a threshold value, detecting an abnormality in the rotary encoder based on a one-rotation position calculated based on an initial one-rotation position and a signal indicating an absolute position of the rotating shaft outputted from the optical sensor, and based on a signal indicating a direction of a magnetic field of the magnet outputted from the magnetic sensor; 2. The method for detecting an abnormality in a rotary encoder according to claim 1.
3. When the direction of the magnetic field of the magnet output from the magnetic sensor changes, it is determined whether the one rotation position is within a predetermined range; If it is outside the predetermined range, it is determined that the rotary encoder is abnormal.
3. The method for detecting an abnormality in a rotary encoder according to claim 1.
4. A non-volatile memory is provided for storing the offset value. When the rotation speed of the rotating shaft is higher than a threshold value, detecting an abnormality in the rotary encoder based on a corrected one-rotation position obtained by correcting the one-rotation position with the offset value and a signal indicating a direction of a magnetic field of the magnet outputted from the magnetic sensor; 3. The method for detecting an abnormality in a rotary encoder according to claim 1.
5. When the rotation speed of the rotating shaft is lower than a threshold value, detecting an abnormality of the rotary encoder based on a one-rotation position calculated based on an initial one-rotation position and a signal indicating an absolute position of the rotating shaft output from the optical sensor, and based on the signal indicating the absolute position of the rotating shaft output from the optical sensor; 3. The method for detecting an abnormality in a rotary encoder according to claim 1.
6. When the rotation speed of the rotating shaft is lower than a threshold value, detecting an abnormality in the rotary encoder based on a one-rotation position calculated based on an initial one-rotation position and a signal indicating an absolute position of the rotating shaft outputted from the optical sensor, and based on a signal indicating a direction of a magnetic field of the magnet outputted from the magnetic sensor; 3. The method for detecting an abnormality in a rotary encoder according to claim 1.
7. a disk that rotates with the rotary shaft and has an absolute pattern and an incremental pattern; A magnet that rotates together with the rotating shaft; an optical sensor that detects the incremental pattern and outputs a signal indicating a relative position of the rotating shaft, and detects the absolute pattern and outputs a signal indicating an absolute position of the rotating shaft; a magnetic sensor that outputs a signal indicating the direction of the magnetic field of the magnet; A control unit, The control unit is an abnormality detection unit that detects an abnormality based on a one-rotation position calculated based on an initial one-rotation position and a signal indicating the absolute position of the rotation shaft output from the optical sensor, and based on a signal indicating the direction of the magnetic field of the magnet output from the magnetic sensor; Rotary encoder.
Citation Information
Patent Citations
Encoder initial position detection device
JP3680983B2
