Rotary encoder and servo control device using the same
The rotary encoder uses a single magnet with ferromagnetic wire and magnetic plates to generate accurate signals, addressing size and interference issues while providing a compact and reliable power source.
Patent Information
- Application Number
- JP2023086807
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2043-05-26
AI Technical Summary
Existing rotary encoders using the large Barkhausen effect for power generation lack the ability to generate highly accurate absolute and incremental digital signals, are complex and large in size, and are susceptible to magnetic field interference.
A rotary encoder design utilizing a single disk-shaped magnet with N-pole and S-pole regions, combined with ferromagnetic wire and magnetic plates, generates accurate signals while minimizing magnetic interference and providing a compact configuration with a backup power source.
The design achieves high accuracy in angular position and rotational speed measurements with reduced size and interference, ensuring reliable operation even in power outages.
Smart Images

Figure 2024169934000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a rotary encoder and a servo control device using the same, and more particularly to a rotary encoder equipped with a large Barkhausen effect power generation unit and a servo control device using the same. [Background technology]
[0002] Rotary encoders are used to generate information about the angular position and number of revolutions of a rotating shaft driven by a rotating electrical machine. Based on the angular position and number of revolutions of the rotating shaft detected by the rotary encoder, highly accurate absolute and incremental digital signals related to the angular position are generated and output, and these signals are used, for example, to control a motor with an encoder as a servo motor in a servo control device. Among the rotary encoders used in servo control devices that control equipment such as industrial robots where system redundancy is important, there are some that have two independent rotary encoder functions, such as those known as safety encoders. Rotary encoders are equipped with a backup power supply to prevent the loss of position data information in the event that the main power supply is cut off. This backup power supply uses a generator that utilizes the large Barkhausen effect, and this is used to detect multi-rotation information of the absolute encoder.
[0003] Patent Document 1 discloses a self-powered rotation detection device using a composite magnetic wire and a pickup coil. This device includes a detection magnet attached to a rotating shaft, and a detection unit that is disposed facing the detection magnet and detects the rotation of the rotating shaft. The detection unit is composed of a composite magnetic wire with a large Barkhausen effect that has its center on an extension of the rotating shaft and is provided in a circuit board so as to be perpendicular to the rotating shaft, and a pickup coil that surrounds the composite magnetic wire.
[0004] Patent Document 2 discloses an encoder equipped with an optical or magnetic angle detection unit that employs a composite magnetic wire having a large Barkhausen effect in an electric signal generation unit. This encoder includes a position detection unit that detects the position of a moving part, a magnet with multiple polarities along the moving direction of the moving part, a magnetically sensitive part whose magnetic properties change with a change in the magnetic field accompanying the movement of the moving part, a first magnetic body that guides the magnetic flux lines of the magnet to the magnetically sensitive part, an electric signal generation unit that generates an electric signal based on the magnetic properties of the magnetically sensitive part, and a second magnetic body that is disposed between the magnet and the magnetically sensitive part and guides the magnetic flux lines of one polarity part of the magnet to the other polarity part of the magnet. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] WO2016 / 170648A1 [Patent Document 2] WO2019 / 188859A1 Summary of the Invention [Problem to be solved by the invention]
[0006] The rotation detection device described in Patent Document 1 is equipped with a power generation device that utilizes the large Barkhausen effect, and detects the direction and number of rotations by detecting the pulse signal of a composite magnetic wire. However, there is no disclosure of generating and outputting a highly accurate absolute digital signal or incremental digital signal.
[0007] The power generating device of the encoder described in Patent Document 2 generates highly accurate absolute digital signals and incremental digital signals and has the function of ensuring sufficient power, but on the other hand, the electric signal generating section uses multiple permanent magnets arranged around the rotating shaft, and each permanent magnet is configured with N and S poles overlapping in the axial direction, which makes the device complex and large.
[0008] One of the things that must be considered when making a rotary encoder equipped with a magnetic encoder more accurate and compact is to prevent the output of the magnetic sensor from being affected by magnetic field interference. Depending on the application of the rotary encoder, a two-system rotary encoder is also known that is equipped with a high-precision optical encoder and a power generation device, and further equipped with a magnetic encoder that generates signals related to the angular position and the number of rotations. In such rotary encoders, the magnetic encoder may be required to have high precision comparable to that of an optical encoder, or may be used as an auxiliary encoder and not require high precision.
[0009] One object of the present invention is to provide a rotary encoder that has a function of generating highly accurate signals regarding the angular position and rotation speed of a rotating shaft, has a backup power supply, and has a compact configuration, and a servo control device using the same. Another object of the present invention is to provide a rotary encoder that has a function of generating highly accurate signals regarding the angular position and rotation speed of the rotating shaft, has a backup power supply, and takes into consideration the magnetic field interference of a magnetic encoder, and a servo control device using the same. It is still another object of the present invention to provide a rotary encoder having the functions of two independent rotary encoders including a magnetic encoder, and having an inexpensive and compact configuration, and a servo control device using the same. [Means for solving the problem]
[0010] According to one aspect of the present invention, there is provided a rotary encoder having a function of generating information on a rotation angle and a rotation direction of the rotating shaft from an output of a magnet fixed to a rotating shaft and a magnetic sensor arranged opposite to the magnet, the rotary encoder including a large Barkhausen effect power generation unit as a power supply unit, The magnet fixed to the rotating shaft is a disk-shaped magnet in which a pair of N-pole regions and S-pole regions are formed in the radial direction with a boundary line passing through the center of the magnet, and the pair of N-pole regions and S-pole regions form a single flat surface; The large Barkhausen effect power generating unit includes a ferromagnetic wire, a power generating coil, and a first magnetic plate and a second magnetic plate connected to both ends of the ferromagnetic wire, The first magnetic plate and the second magnetic plate extend from both ends of the ferromagnetic wire to the outside of both side surfaces of the magnet, sandwiching the magnet therebetween, the first magnetic plate and the second magnetic plate extend apart from each other along both side surfaces of the magnet, The first magnetic plate and the second magnetic plate are characterized in that they are shaped symmetrically about an axis with respect to the magnet in the axial direction of the rotation shaft. According to the present invention, it is possible to provide a rotary encoder having a magnetic sensor capable of generating highly accurate signals related to the angular position and rotation speed of the rotating shaft, further having a backup power supply, and having a compact configuration, and a servo control device using the same.
[0011] According to another aspect of the present invention, the first magnetic plate and the second magnetic plate are configured to receive magnetic flux lines that are mainly parallel to or close to the outer circumferential direction of the surface of the magnet, thereby suppressing the effects of magnetic field interference on the magnetic sensor. This allows one magnet to be used both as a magnet for the magnetic sensor and as a magnet for the large Barkhausen effect power generation unit while ensuring the accuracy of the magnetic sensor. As a result, it is possible to provide a rotary encoder that has a function for generating highly accurate signals related to the angular position and rotation speed of the rotating shaft, has a backup power supply, and takes into consideration the magnetic field interference of the magnetic encoder, and a servo control device using the same.
[0012] According to another aspect of the present invention, the other ends of the first magnetic plate and the second magnetic plate opposite the ferromagnetic wire are open ends sandwiching the magnet, and each of the open ends protrudes in a tapered shape. This allows a single disk-shaped magnet to be used as both a magnet for a magnetic sensor and a magnet for a large Barkhausen effect power generation unit, making it possible to create a power generation device that utilizes the large Barkhausen effect as a backup power source, with a compact configuration and high output.
[0013] In another aspect of the present invention, the rotary encoder can be configured as a magnetic rotary encoder having a basic configuration of an encoder equipped with one magnetic sensor based on one magnet fixed to the rotating shaft, equipped with one TMR sensor or one GMR sensor, and equipped with a backup power supply. In another aspect of the present invention, the rotary encoder can be configured as a safety encoder, for example, the rotary encoder can include a first TMR sensor and a second TMR sensor as magnetic sensors, the first TMR sensor is installed on a printed circuit board held in an encoder housing and facing the magnet, and the second TMR sensor is installed on the back side of the first TMR sensor on the circuit board. This makes it possible to provide a rotary encoder that has the functions of two independent rotary encoders and takes into consideration the magnetic field interference of a magnetic encoder, and a servo control device that uses the rotary encoder.
[0014] According to another aspect of the present invention, the first magnetic plate and the second magnetic plate extend from both ends of the ferromagnetic wire to near both sides of the magnet above the surface of the magnet, the first magnetic plate and the second magnetic plate extend apart above the surface of the magnet, and the first magnetic plate and the second magnetic plate form an axisymmetric shape on the surface of the magnet. This makes it possible to provide a rotary encoder and a servo control device using the same that have the functions of two independent rotary encoders, including a magnetic encoder, while using a single magnet both as a magnet for a magnetic sensor and as a magnet for a large Barkhausen effect generating unit, and that is inexpensive and compact in configuration. [Brief description of the drawings]
[0015] [Figure 1] 1 is a functional block diagram showing an example of the configuration of a rotary encoder according to a first embodiment of the present invention; [Diagram 2] 2 is a vertical cross-sectional view showing a configuration example of a magnetic sensor and a power supply unit in the first embodiment. FIG. [Diagram 3] 3 is a plan view of an encoder housing showing a configuration example of a large Barkhausen effect power generating unit in the first embodiment. FIG. [Figure 4] 3 is a diagram showing the positional relationship and the relationship between magnetic flux lines among the magnet, magnetic sensor, and power supply unit shown in FIG. 2. [Diagram 5] 4 is a diagram showing the rotation of a magnet and the positional relationship between a first magnetic plate and a second magnetic plate of a large Barkhausen effect generating unit in the first embodiment. FIG. [Figure 6] FIG. 2 is a diagram conceptually explaining the function of a large Barkhausen effect power generation unit in the first embodiment. [Figure 7A] 4 is a diagram showing an example of a relationship between a magnet, a first magnetic plate, and a second magnetic plate in the first embodiment. FIG. [Figure 7B] 13 is a diagram showing another example of the relationship between the magnet and the first and second magnetic plates. FIG. [Figure 7C] 13 is a diagram showing another example of the relationship between the magnet and the first and second magnetic plates. FIG. [Figure 7D] 13 is a diagram showing another example of the relationship between the magnet and the first and second magnetic plates. FIG. [Figure 7E] 13 is a diagram showing another example of the relationship between the magnet and the first and second magnetic plates. FIG. [Figure 7F]5 is a diagram showing an example of characteristics of a first magnetic plate and a second magnetic plate in the first embodiment. FIG. [Figure 8A] FIG. 2 is a diagram illustrating an example of a configuration of a circuit of a power supply unit in the first embodiment. [Figure 8B] FIG. 11 is a diagram illustrating another example of the circuit configuration of the power supply unit in the first embodiment. [Figure 9] 10 is a time chart showing the operation of the power supply unit, illustrating an example of the relationship between the power supply and the output signal of the rotary encoder when the main power supply goes from a normal state to a power outage. FIG. [Figure 10] 4 is a diagram showing the relationship between the rotation of a magnet and the output of a magnetic sensor (TMR sensor) in the first embodiment. FIG. [Figure 11] FIG. 13 is a diagram showing the process of digitizing and absoluteizing the first and second TMR sensor signals. [Figure 12] 5 is a flowchart showing signal processing in a processing unit of a first TMR sensor signal in the first embodiment. [Figure 13] 13 is a diagram showing an example of A-phase and B-phase signals based on the signal processing in FIG. 12, and incremental Z-phase, U-phase, V-phase, and W-phase signals generated based on these signals. [Figure 14] 11 is a plan view of an encoder housing, showing an example of the configuration of a large Barkhausen effect power generating unit in a second embodiment of the present invention. FIG. [Figure 15] FIG. 11 is a functional block diagram showing an example of the configuration of a rotary encoder according to a third embodiment of the present invention. [Figure 16] 13 is a vertical cross-sectional view showing a configuration example of a TMR sensor, an optical sensor, and a power supply unit in a third embodiment. FIG. [Figure 17] FIG. 13 is a vertical cross-sectional view showing a configuration example of a magnetic sensor and a power supply unit in a fourth embodiment. [Figure 18] FIG. 13 is a plan view of an encoder housing, showing an example of the configuration of a large Barkhausen effect power generating unit in a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The rotary encoder of the present invention includes a disk-shaped magnet fixed to a rotating shaft and at least one magnetic sensor arranged opposite the magnet as a means for generating information related to the angular position and rotation speed of the rotating shaft. That is, the rotary encoder of the present invention includes at least one magnetic sensor and can be applied to various rotating electric machines that require absolute data and incremental A, B, Z data, etc. Each embodiment of the present invention will be described below.
[0017] First, a rotary encoder according to a first embodiment of the present invention will be described. First, the overall configuration and functions of the rotary encoder according to the first embodiment of the present invention will be described with reference to Figs. FIG. 1 is a functional block diagram showing a configuration example of a rotary encoder, and FIG. 2 is a diagram showing a configuration example of a TMR sensor and a power supply unit. The rotary encoder 10 includes a TMR sensor unit 11, a power supply unit 12, a temperature sensor 13, a system control unit 14, and two sets of processing units for magnetic sensor signals (a processing unit 15 for a first TMR sensor signal and a processing unit 16 for a second TMR sensor signal). In other words, the rotary encoder 10 has the functions of two independent systems of rotary encoders. The rotary encoder 10 further includes a flat disk-shaped magnet 110 that is magnetized with one pole each of N and S polarities, i.e., has only one pair of polarities N and S. This disk-shaped magnet has a pair of N-pole and S-pole regions formed in the radial direction with a boundary line 1101 (see FIG. 3) passing through its center as a boundary, and has a flat front surface, a back surface, and a side surface. The magnet 110 is, for example, a neodymium magnet, and is fixed to one end surface of the rotating shaft 510 by a nonmagnetic holding member 1102, adhesive, or the like, as shown in FIG. 2. Note that a samarium-cobalt magnet or a ferrite magnet may be used instead of the neodymium magnet. The rotating shaft 510 is driven directly or indirectly via a speed change mechanism by a rotating electric machine such as a motor driven by a servo control device to which the output of the rotary encoder and operation commands are input.
[0018] The TMR sensor unit 11 has a first TMR sensor 111, a second TMR sensor 112, and a temperature sensor 113, which are arranged on a printed circuit board 19. The first TMR sensor 111 and the second TMR sensor 112 are two sets of TMR sensors having the same specifications and therefore the same output characteristics. The printed circuit board 19 is fixed to the upper end of a cylindrical encoder housing 40. The encoder housing 40 is made of, for example, non-magnetic aluminum or other materials, and is fixed to the end cover of a rotating device, such as a motor, to which the encoder is to be attached. Alternatively, something equivalent to the encoder housing 40 may be formed integrally with a member constituting the end cover or storage container of the rotating device. For convenience, this invention defines such a housing as an encoder housing. A rotating shaft 510 of the rotating device is located in a hollow portion 41 of the encoder housing 40, and a magnet 110 is fixed to the end of this rotating shaft. The encoder housing 40 is covered with a cover 46 made of a magnetic material, and the end cover side of the motor is also covered with a magnetic material, so that the inside of the encoder housing 40 is magnetically shielded. The first TMR sensor 111 is located at the axis O of the rotating shaft 510. S -O SThe second TMR sensor 112 is disposed on the lower side of the printed circuit board 19, that is, on the lower surface facing the single magnet 110, at a position corresponding to the axis O. S -O S The first and second TMR sensors 111 and 112 output analog signals of sine waves and cosine waves as the magnet 110 rotates.
[0019] The power supply unit 12 includes a main power supply 121, a large Barkhausen effect power supply 122 charged by the large Barkhausen effect power generating unit 115, and a backup power supply 123, which, together with the main power supply 121, function as power supplies that supply power to the rotary encoder 10. The large Barkhausen effect power generating unit 115 has its main body installed in a storage section 42 formed by recessing a part of the encoder housing 40. The large Barkhausen effect power generating unit 115 includes a ferromagnetic wire (or a composite magnetic wire) 1152 such as a Wiegand wire, a power generating coil 1154 provided around the ferromagnetic wire 1152, and a first magnetic plate 1156 and a second magnetic plate 1158 connected to both ends of the ferromagnetic wire 1152. These magnetic plates 1156 and 1158 are made of the same magnetic material and are aligned with the axis O of the rotating shaft 510. S -O S The first magnetic plate 1156 and the second magnetic plate 1158 are disposed at the same position (height) as the magnet 110 in the direction of the magnet 1152, and extend to the outside of both sides of the disk-shaped magnet 110, and these magnetic plates extend apart along both sides of the magnet. That is, the midpoint of the thickness (axial length) of the first magnetic plate 1156 and the second magnetic plate 1158 is located on the line O connecting the midpoint of the thickness (axial length) of the magnet 110 and the center of the ferromagnetic wire 1152. mgR -O mgRHowever, this is an ideal case. In practice, it is sufficient that the first magnetic plate and the second magnetic plate are at the same height, that is, that they are configured to receive magnetic flux lines that are mainly parallel to the surface of the magnet or in a direction close to the outer periphery thereof, and to suppress the influence of magnetic field interference on the magnetic sensor. Therefore, it is sufficient that the midpoint of the thickness of these magnetic plates is within or near the range between the front and back surfaces of the magnet. In the present invention, the first magnetic plate and the second magnetic plate are defined as being at the same position (height) as the magnet, including this range.
[0020] The first magnetic plate 1156 and the second magnetic plate 1158 have a predetermined gap Ga between both sides of the magnet 110 so that the magnetic flux lines from the N-pole region and the S-pole region are appropriately guided to the first magnetic plate 1156 and the second magnetic plate 1158 by the rotating magnetic field caused by the rotation of the magnet 110. That is, these magnetic plates extend along tangents 110a, 110b of both sides of the disk-shaped magnet parallel to the axis of symmetry, and are spaced apart from the tangents by the gap Ga. If the gap Ga is narrow, these magnetic plates are likely to cause magnetic field interference that affects the output of the TMR sensor unit 11. On the other hand, if the gap is too wide, these magnetic plates cannot obtain sufficient magnetic flux lines from both the N-pole and S-pole regions. Taking these factors into consideration, the gap Ga may be appropriately set. In addition, the ends of these magnetic plates on the magnet side are open ends sandwiching the magnet 110.
[0021] 3 is a diagram showing an example of the configuration of a large Barkhausen effect power generating unit 115. When the rotating shaft 510 is at a position corresponding to the origin position of the motor, the boundary line 1101 between the north pole area and the south pole area of the magnet passes through the center of the flat surface of the magnet. S -O S (See Figure 2) mgV -O mgV The first magnetic plate 1156 and the second magnetic plate 1158 shown here are strip-shaped corner members, and on the side surface of the magnet 110, their center lines O G1 , O G2 is a straight line OmgR -O mgR (axis of symmetry) on both sides of the magnetic plates. mgR -O mgR is a straight line O mgV -O mgV The axis of symmetry is perpendicular to the axis O and passes through the center of the disk-shaped magnet 110. In consideration of manufacturing tolerances, it is sufficient for the axis of symmetry to pass through the center of the disk-shaped magnet 110 or its vicinity (hereinafter, near the center of the magnet). Also, the first magnetic plate 1156 and the second magnetic plate 1158 are aligned with each other with respect to the axis O. S -O S Since the surface has a thickness in the direction, it goes without saying that the surface has a shape that is linearly symmetrical with respect to the axis of symmetry on a plane at each position of the thickness. In this way, the first magnetic plate 1156 and the second magnetic plate 1158 are shaped to be line-symmetrical with the magnet in between, at least near the side surface of the magnet 110. That is, as shown in Fig. 3, the first magnetic plate 1156 and the second magnetic plate 1158 are shaped to be line-symmetrical with respect to the axis of symmetry. Therefore, the first magnetic plate 1156 and the second magnetic plate 1158 face the side surface of one magnet 110 with the same magnetic characteristics.
[0022] As long as the condition of line symmetry is satisfied, the cross-sectional shape of the first magnetic plate 1156 and the second magnetic plate 1158 can be any plate-like or rod-like shape, such as a rectangle, a circle, an ellipse, or a trapezoid. As long as the condition of line symmetry is satisfied, non-parallel portions may be present. Furthermore, in the section close to the large Barkhausen effect generating unit 115, away from the magnet 110, the shapes of the first magnetic plate 1156 and the second magnetic plate 1158 may be slightly different if there are structural constraints. However, it is desirable that the magnetic characteristics for guiding magnetic flux lines are the same. In addition, it is desirable that the free ends of the first magnetic plate 1156 and the second magnetic plate 1158, i.e., the tips 1156a and 1158a, protrude in a tapered shape, for example, a pyramidal or conical shape. This makes it easier to collect magnetic flux lines. The protruding direction of the tips of the free ends may be in the direction of the magnet 110, i.e., toward the center of the magnet 110, or in a direction perpendicular to the axis of symmetry. This allows a single disk-shaped magnet to be used as both a magnet for a magnetic sensor and a magnet for a large Barkhausen effect generating unit, and allows a power generating device using the large Barkhausen effect as a backup power source to have a compact configuration and high output.
[0023] FIG. 4 shows the positional relationship between the magnet, the TMR sensor, and the power supply unit, and the relationship between the magnetic flux lines. Due to the rotating magnetic field, the magnetic flux line φ1 passes through the first TMR sensor 111, the magnetic flux line φ2 passes through the second TMR sensor 112, and the magnetic flux line φ3 passes through the first and second magnetic plates 1156 and 1158. Therefore, it is necessary to configure the first magnetic plate 1156 and the second magnetic plate 1158 so that the magnetic flux line φ3, which affects the output of the large Barkhausen effect generating unit, is optimized while the magnetic flux line φ1 and the magnetic flux line φ2, which are directed from the N pole to the S pole of the magnet, keep the first and second TMR sensors 111 and 112 in an appropriate operable state. That is, φ1 to φ3 may be set appropriately depending on the size of the magnet 110 (diameter of the rotating shaft), the strength H of the magnetic field supplied by the magnet, the magnetic flux density B, the characteristics of the TMR sensor, the output required for the large Barkhausen effect generating unit, and the like. In addition, the magnetic permeability of the shape material of these magnetic plates must also be taken into consideration.
[0024] In the present invention, the magnetic flux lines φ1 toward the first TMR sensor are mainly composed of magnetic flux lines that extend axially upward (perpendicular to the surface of the magnet) from the inside of the N-pole region close to the boundary line 1101 of the magnet and then toward the inside of the S-pole region, and the magnetic flux lines φ2 toward the second TMR sensor are mainly composed of magnetic flux lines that extend axially upward from the outside of the N-pole region away from the boundary line 1101 and then toward the outside of the S-pole region. In contrast, the magnetic flux lines φ3 used in the large Barkhausen effect power generating unit mainly run from the outside or side of the N-pole region of the magnet in a direction horizontal to the magnet surface or in a direction close to that, and then pass through the magnetic plate and return in an outward direction to the outside or side of the S-pole region. In this way, in order to suppress the effects of magnetic field interference on the magnetic flux lines φ1 heading toward the first TMR sensor and the magnetic flux lines φ2 heading toward the second TMR sensor, the first magnetic plate and the second magnetic plate are configured to mainly receive the magnetic flux lines φ3 that are horizontal to the magnet surface or in a direction close to that. For example, if the diameter of the rotating shaft 510 is about 6.0 to 8.0 mm, the thickness of the printed circuit board is about 1.0 to 1.2 mm, the diameter of the magnet is about 5.0 to 10.0 mm, and the thickness of the magnet is about 3 mm, the gap G1 is preferably about 0.5 to 3.0 mm. The gap Ga is also preferably about 0.5 to 3.0 mm.
[0025] Returning to Fig. 1, the system control unit 14 includes an initial setting section 141, an encoder input / output control unit 144, a safety control unit 145, a serial / parallel signal transmission / reception unit 147, etc. The initial setting section 141 has a function of setting the type of motor, the number of poles, the origin position, the output conditions of the rotary encoder, etc., according to the conditions input via a user interface 142. The encoder input / output control unit 144 has a function of controlling the input / output of the rotary encoder 10 according to the initially set conditions.
[0026] The encoder of this embodiment has the function of two independent rotary encoders, and the safety control unit 145 monitors the output states of the first TMR sensor 111, the second TMR sensor 112, the first TMR sensor signal processing unit 15, and the second TMR sensor signal processing unit 16, and performs necessary processing to safely stop the operation of the rotary encoder when any of the functions of the two rotary encoders fails. This allows the rotary encoder to function as a safety encoder. The serial / parallel signal transmitting / receiving unit 147 has the function of converting various information into parallel signals or serial signals and transmitting / receiving them between the rotary encoder 10 and the servo control device.
[0027] The first TMR sensor signal processing unit 15 includes an analog signal processing unit 151 that processes a first analog signal, an AD converter 152, and a digital signal processing unit 153, and performs AD conversion on the first analog signal that is the output of the first TMR sensor arranged facing the magnet 110, and generates first digital data related to the rotation angle and rotation direction of the rotating shaft based on this AD converted data. That is, the first TMR sensor signal processing unit 15 has a function of highly accurately generating, as first digital data, two types of information regarding the rotation angle information of the rotating shaft, namely, a high-resolution (e.g., 27 bit / revolution) absolute signal and an incremental signal, which are quantized under predetermined conditions from the analog output of the first TMR sensor 111.
[0028] The analog signal processing unit 151 receives sampling data of the first analog signal (sine signal, cosine signal) of the first TMR sensor 111 as time-series data, and records it in memory in association with the rotation speed Nx of the rotating shaft and the data of the temperature sensors 13 and 113. That is, the sampling data of the analog signal of the first TMR sensor 111 is input to a 64-bit AD converter 152 (ADC-1 (sine) 1521, ADC-2 (cos) 1522) and converted into digital values, and these converted values are recorded in the EEPROM-1 (1523) as time-series data.
[0029] The first TMR sensor incremental A, B, Z, (U, V, W) signal generating unit 1531 of the digital signal processing unit 153 acquires the digital value of the absolute signal of the rotation angle of the rotating shaft, which is the first digital data, from the EEPROM-1, generates incremental A, B, Z, (U, V, W) signals, and records them in the EEPROM-2 as time-series data. The first TMR sensor one-rotation absolute signal generating unit 1532 acquires the AD converted data of the rotating shaft from the EEPROM-1, generates one-rotation absolute signals, and records them in the EEPROM-2. In addition, the first TMR sensor multiple rotation absolute signal generating unit 1533 generates multiple rotation absolute signals and records them in the EEPROM-2.
[0030] The second TMR sensor signal processing unit 16 includes an analog signal processing unit 161 , an AD converter 162 , and a digital signal processing unit 163 . In the second TMR sensor signal processing unit 16, the sampling data of the analog signal is input to a 64-bit AD converter 162 (ADC-1 (Sin) 1621, ADC-2 (Cos) 1622) and converted to digital values, and these converted values are recorded in EEPROM-3 (1623) as time-series data.
[0031] The second TMR sensor incremental A, B, Z, (U, V, W) signal generating unit 1631 of the digital signal processing unit 163 acquires digital values from the EEPROM-3, calculates their frequencies, and records them in the EEPROM-4 together with the data on the rotation direction. The second TMR sensor absolute signal generating unit 1632 acquires the AD converted data of the rotation axis from the EEPROM-3, generates a one-rotation absolute signal, and records it in the EEPROM-4 as time-series data. In addition, the second TMR sensor multiple rotation absolute signal generating unit 1633 generates a multiple rotation absolute signal and records it in the EEPROM-4. That is, the second TMR sensor signal processing unit 16 converts the second analog signal, which is the output of the second TMR sensor, into AD data, and generates two types of information, a high-resolution (e.g., 27 bits / revolution) absolute signal and an incremental signal, as second digital data under the same conditions as the first TMR sensor signal processing unit 15.
[0032] Based on the output of the encoder input / output control unit 144, either the first digital data or the second digital data from the rotary encoder 10 is converted into transmission data (BUS) for serial transmission, for example as an absolute signal and an incremental signal, and transmitted from the serial / parallel signal transmitting / receiving unit 147 via a communication cable to an external device of the rotary encoder 10, for example, a servo control device.
[0033] Note that the functional blocks shown in Fig. 1 are shown as examples. The functional blocks may be divided arbitrarily, and it goes without saying that the functional blocks may be realized by a common program, or a specific functional block may be realized by a plurality of different programs or IC circuits. Alternatively, each of the above functions can be realized by installing a program for executing each of the above functions in a microcomputer having a CPU and memory.
[0034] As shown in FIG. 2, most of the rotary encoder 10, i.e., the part excluding the disk-shaped magnet 110 of the TMR sensor unit 11, the power supply unit 12, the temperature sensor 13, the system control unit 14, the first TMR sensor signal processing unit 15, and the second TMR sensor signal processing unit 16, are formed or mounted on a printed circuit board 19. In particular, the system control unit 14, the first TMR sensor signal processing unit 15, and the second TMR sensor signal processing unit 16 are realized as a dedicated FPGA 18 (Field Programmable Gate Array), or as an ASIC (Application Specific Integrated Circuit), or as an IC circuit chip using a general-purpose single-chip microcomputer, and are mounted on a printed circuit board 19. In addition, the AD converter 152 and the AD converter 162 are also mounted on the printed circuit board 19 as an ASIC (or FPGA). In addition, a capacitor constituting the backup power supply 123 is also mounted on the printed circuit board 19.
[0035] The system control unit 14, the first TMR sensor signal processing unit 15, and the second TMR sensor signal processing unit 16 are functionally divided blocks, and these functions are realized by writing programs in the digital signal processing unit, SSC interface, incremental interface, etc. of the FPGA or ASIC. The FPGA also includes a ROMRAM and at least one rewritable (overwritable) non-volatile memory, and is connected to the CPU via a bus. As the rewritable (overwritable) non-volatile memory, EEPROM, FRAM (registered trademark), (Ferroelectric Random Access Memory), etc. may be used. In the following description, such a memory will be simply referred to as EEPROM.
[0036] In addition, the position of one end of the boundary line 1101 between the north pole region and the south pole region of the magnet 110 is a specific position in the circumferential direction on the rotation axis, that is, the origin position (Z0) corresponding to the rising point of the A-phase pulse.
[0037] Next, with reference to Figs. 5 and 6, the relationship between the rotating magnetic field of the magnet, i.e., the rotation angle of the rotation axis, and the first and second magnetic plates in the large Barkhausen effect generating unit in the first embodiment will be described. 5 is a diagram showing the rotation of the N-pole region and S-pole region of the magnetic field caused by the rotation of the magnet, and the positional relationship with the first and second magnetic plates of the large Barkhausen effect generating unit. That is, when the magnet 110 is in each of the rotation positions (A) to (I), the regions where the magnet 110, the first magnetic plate 1156, and the second magnetic plate 1158 face the N-pole region and the S-pole region, respectively, are shown by diagonal lines within one rectangle. The size of the area of this facing region is related to the density of the magnetic flux lines φ3 that run from the N-pole region of the magnet 110 through the first and second magnetic plates 1156 and 1158 to the S-pole region. That is, it is related to the direction of the magnetic flux lines φ3 in the first and second magnetic plates 1156 and 1158. 5A shows a state where magnet 110 is at the origin position (Z0), that is, at a rotation angle of 0 degrees. In this state, first magnetic plate 1156 and second magnetic plate 1158 face the N-pole region and S-pole region of magnet 110 under the same conditions. In other words, first magnetic plate 1156 and second magnetic plate 1158 receive magnetic flux lines φ from the N-pole region and S-pole region under the same conditions. From this state, in FIG. 5B, when the magnet 110 is rotated 45 degrees, the first magnetic plate 1156 faces the N-pole region with a wide area, and the second magnetic plate 1158 faces the S-pole region with a wide area. Furthermore, in FIG. 5C, when the magnet 110 is rotated 90 degrees, the first magnetic plate 1156 faces only the N-pole region, and the second magnetic plate 1158 faces only the S-pole region. In this way, as the magnet 110 rotates from 0 degrees to 90 degrees, the first magnetic plate 1156 faces the N-pole region and the second magnetic plate 1158 faces the S-pole region with a wider area. Furthermore, in FIG. 5D, when the magnet 110 is rotated 135 degrees, the area of the first magnetic plate 1156 facing the N-pole region decreases, and the area of the second magnetic plate 1158 facing the S-pole region decreases. In this way, as magnet 110 rotates, the facing areas of first magnetic plate 1156 and second magnetic plate 1158 and the N-pole region and S-pole region change. Similarly, as magnet 110 rotates over 180 degrees as shown in (E), (F), and (G) of Figure 5, the areas of the first magnetic plate 1156 and second magnetic plate 1158 facing the N-pole region and S-pole region periodically increase and decrease significantly. This means that the density and direction of magnetic flux lines φ3 in these magnetic plates change as magnet 110 rotates. Of course, in reality, the direction and density of the magnetic flux lines φ3 are not determined solely by the size of the area of the rectangle shown in Figure 5. For example, the first and second magnetic plates extend to the right side of the rectangle, and this part also has a magnetic collecting effect. Also, if the free ends of the first and second magnetic plates are tapered, this magnetic collecting effect must be taken into consideration. However, from Figure 5 it is possible to get a rough idea of the tendency for the density of the magnetic flux lines φ3 to change as the magnet rotates.
[0038] FIG. 6 is a diagram conceptually explaining the function of a large Barkhausen effect power generation unit. One end of each of the first magnetic plate 156 and the second magnetic plate 1158 is connected to the ferromagnetic wire 1152 of the large Barkhausen effect generating unit 115, and the other end opposite thereto is an open end, sandwiching the magnet 110 therebetween. As is apparent from FIG. 5, as magnet 110 rotates from 0 degrees to 90 degrees, the density of magnetic flux lines φ3 increasing from the north pole region of the magnet to the south pole region, i.e., exiting the north pole region of the magnet, passing through first magnetic plate 1156 and second magnetic plate 1158 and returning to the south pole region, increases as shown in FIGS. 6(A), (B), and (C). That is, up to 90 degrees, the magnetic flux supplied to the power generating coil 1154 of the large Barkhausen effect power generating unit 115 increases, and then, when it exceeds 90 degrees, the density of the magnetic flux lines φ3 passing from the north pole region of the magnet through the first magnetic plate 1156 to the second magnetic plate 1158 and to the south pole region decreases, and further, as the magnet rotates, the density of the magnetic flux lines φ3 increases in the opposite direction from the second magnetic plate 1158 to the first magnetic plate 1156, i.e., from the north pole region of the magnet through the second magnetic plate 1158 and first magnetic plate 1156 to the south pole region.
[0039] 5(H) and 5(I), the density of the magnetic flux lines φ3 flowing from the second magnetic plate 1158 to the first magnetic plate 1156 decreases. With this reversal of the direction of the magnetic flux lines φ3 with each rotation of the magnet 110, the direction of the magnetic flux lines flowing through the ferromagnetic wire 1152 of the large Barkhausen effect generating unit 115 is reversed, and a pulsed power output is obtained in the power generating coil 1154, as shown in FIG. 6(D).
[0040] One of the features of the present invention is that a single disk-shaped magnet 110 having only one pair of polarities N, S magnetized in the radial direction and fixed to the rotating shaft 510 is used as an analog signal source for the magnetic sensor and a power generating device for the large Barkhausen effect generating unit 115. The first and second magnetic plates of the large Barkhausen effect generating unit are configured to suppress the influence of magnetic field interference on the magnetic sensor by mainly using magnetic flux lines φ3 parallel to or close to the surface of the magnet in an outward direction in order to suppress the influence of magnetic field interference on the magnetic flux lines φ1 toward the first TMR sensor and the magnetic flux lines φ2 toward the second TMR sensor. As a result, as one magnet rotates, the density of the magnetic flux lines φ3 direction in the first magnetic plate 1156 and the second magnetic plate 1158 of the large Barkhausen effect generating unit increases and decreases significantly periodically, as shown in Figs. 5 and 6, and the polarity and density of the magnetic flux lines φ3 received by the first magnetic plate 1156 and the second magnetic plate 1158 also change. By combining a single magnet fixed to the end face of the rotating shaft 510 with a first magnetic plate 1156 and a second magnetic plate 1110 extending outward on both sides of the magnet, it is possible to obtain a large power generation output while maintaining a compact configuration of the large Barkhausen effect power generation unit 115.
[0041] Next, the configuration of the first magnetic plate and the second magnetic plate will be described. 7A to 7E are diagrams showing an example of the relationship between the disk-shaped magnet and the first and second magnetic plates 1156 and 1158 in the first embodiment. As described above, the first and second magnetic plates 1156 and 1158 are arranged on the side of the magnet 110, and are symmetrical with respect to the axis of symmetry, and extend to the outside of both sides of the magnet, and the first and second magnetic plates extend apart along both sides of the magnet. If the diameter of the magnet is Dm and the length of the first and second magnetic plates extending apart to the outside of both sides of the magnet is Lm1, then, as shown in FIG. 7A, for example, Lm1 is approximately equal to Dm. This provides a characteristic that changes periodically on both the positive and negative sides in one rotation of the magnet of 360 degrees, as shown in FIG. 5 and FIG. 6.
[0042] However, in order to obtain a predetermined output from the large Barkhausen effect power generating unit 115, the characteristics shown in FIG. 5 and FIG. 6 do not need to be completely the same on both the positive and negative sides, and may differ slightly. Therefore, as shown in FIG. 7B, the length Lm2 by which the first magnetic plate and the second magnetic plate extend apart from each other on the outer side of both sides of the magnet may be slightly shorter than Dm. Alternatively, even if Lm1 is slightly longer than Dm, a characteristic that changes periodically on both the positive and negative sides in one 360-degree rotation of the magnet can be obtained. However, since measures to ensure strength are required when the length is long, it is not practical to make the length too long. Also, as shown in FIG. 7C, even if the first magnetic plate and the second magnetic plate are not parallel, it is acceptable as long as the inclination angle Θ between them is small (for example, within 10 degrees) and the condition of line symmetry is satisfied. For the same reason, the first magnetic plate and the second magnetic plate may be slightly curved inward or outward from each other. Furthermore, as shown in Fig. 7D, even if the length Ls1 extending outward from both sides of the magnet is half of Dm, periodic characteristics of the same magnitude are obtained on both the positive and negative sides in one 360-degree rotation of the magnet. Note that, as shown in Fig. 7E, when the length Ls2 is 3 / 4 of Dm, it becomes difficult to obtain a periodically changing characteristic, but it is possible to obtain a predetermined output from the large Barkhausen effect generating unit 115.
[0043] Next, FIG. 7F is a diagram showing the characteristics of the first magnetic plate and the second magnetic plate in the first embodiment. In the large Barkhausen effect power generation, a pulse output is obtained by a sudden change in the magnetic flux density from positive to negative or from negative to positive with the rotation of the magnet. On the other hand, a large magnetic flux density in a state where the magnetic flux density has the same polarity, for example, a large magnetic flux density at the position around 90 degrees or 270 degrees shown in FIG. 6, does not contribute much to the output of the large Barkhausen effect power generation. Therefore, it is desirable to configure the magnetic flux density of the first magnetic plate and the second magnetic plate to saturate at the position around 90 degrees or 270 degrees.
[0044] Next, an example of the circuit configuration of the power supply unit in the first embodiment will be described with reference to FIG. 8A. The main power supply 121 of the power supply unit 12 includes a main power supply section 1211 in which power supplied from, for example, a commercial power supply is converted into DC power and controlled to a predetermined DC voltage Vcc, for example, 5 V. This main power supply section 1211 supplies power to an output terminal 124 via a diode 1221. The large Barkhausen effect power generation power supply 122 outputs a positive and negative pulse waveform at 180 degree intervals for each rotation of the rotating shaft from the large Barkhausen effect power generation unit 115. This power is supplied to the output terminal 124 via a full-wave waveform circuit 1222, a smoothing circuit 1223, and a diode 1231 as DC power with a predetermined voltage Vcc.
[0045] The backup power supply 123 includes a current limiting circuit 1232, a capacitor 1233, and a voltage limiting circuit 1234, and supplies DC power of a predetermined voltage Vcc to the output terminal 124. The capacitor 1233 is supplied with power from both the main power supply 121 and the large Barkhausen effect power supply 122, individually. The backup power supply 123 supplies power in place of the main power supply, and also functions as a power supply that supplies power to the rotary encoder 10 even in a power outage. The current limiting circuit 1232 controls the capacitor 1233 so that an allowable range of charge is accumulated in the capacitor 1233 by limiting the current supplied to the capacitor 1233 when the motor rotation speed is high and the amount of power generated by the large Barkhausen effect power generating unit 115 is large. For example, an electric double layer capacitor may be used for the capacitor 1233. The capacitor 1233 may be configured by connecting multiple capacitors in parallel in order to make the voltage drop gentle. The power supply line connected to the output terminal 124 of the power supply unit 12 is configured as three electrically independent lines, and power is supplied to the system control unit 14, the first TMR sensor signal processing unit 15, and the second TMR sensor signal processing unit 16.
[0046] FIG. 8B is a diagram showing another example of the circuit configuration of the power supply unit 12. In FIG. In this power supply unit, the capacitor 1233 of the backup power supply 123 is configured by connecting multiple capacitors C1 (12331), C2 (12332), C3 (12333), and C4 (12334) in parallel. The capacitors C2, C3, and C4 are connected to the smoothing capacitor C0 via multiple Zener diodes Z2, Z3, and Z4 with different Zener voltages (Vz), and are configured so that the capacitors C2, C3, and C4 are charged in sequence to a voltage slightly higher than Vcc as the capacitor voltage rises. Transistor switches SW1 (1236), SW2 (1237), and SW3 (1238) are provided between the capacitors C1, C2, C3, and C4, and are controlled by a control circuit (not shown) so that the output voltage of the capacitor C1 is maintained at Vcc.
[0047] The power obtained by the large Barkhausen effect power generating unit 115 is stored in a capacitor 1233 that constitutes a backup power supply 123. The power of this backup power supply 123 can be used as a power source for a rotary encoder in place of the main power supply, or even for a long period of time after a power outage of the main power supply. FIG. 9 is a time chart showing the operation of the power supply unit, and is a diagram showing an example of the relationship between the backup power supply and the output signal of the rotary encoder when the main power supply goes from a normal state to a power outage. The rotary encoder is supplied with power from the main power supply only at startup. After startup, power is supplied to the rotary encoder from the backup power supply 123 by the large Barkhausen effect power generation power supply 122. Even when the main power supply unit 1211 is unable to supply power at time t1 due to, for example, a power outage or a malfunction, power is still supplied to the rotary encoder 10 from the large Barkhausen effect power generation power supply 122 which generates power as the rotating shaft rotates.
[0048] After the power outage, as the rotation speed of the rotating shaft decreases over time, the output of the large Barkhausen effect power generation decreases, and at time t2, it becomes impossible to supply DC power of the specified voltage Vcc to the backup power supply. When this happens, the charge stored in the capacitor 1233 of the backup power supply 123 supplies power of the voltage Vcc to the rotary encoder 10. This allows the rotary encoder 10 to generate and record information on the rotation angle of the rotating shaft for a long period of time, for example, until time t3 when the rotation of the rotating shaft completely stops. Furthermore, even after the rotating shaft has stopped due to a power outage, if the rotating shaft is forcibly rotated via a robot arm by an external force, for example, human force, power is supplied to the rotary encoder 10 from time t4 to t6 by the output of the large Barkhausen effect power generation and the charge accumulated in the capacitor 1233. Therefore, even if the rotating shaft is rotated by an external force after the rotating shaft has stopped due to a power outage or the like, information on the rotation angle of the rotating shaft is recorded.
[0049] 10 is a diagram showing the relationship between the rotation of the magnet and the output of the TMR sensor in the first embodiment. As the magnet rotates, the relationship between the opposing north and south poles changes, and the magnetization directions of the free layer and pinned layer of the TMR sensor change. As a result, sine wave and cosine wave signals are output from the TMR sensor.
[0050] Next, the digitization and absolute conversion process of the first TMR sensor signal in the first TMR sensor signal processing unit 15 will be described with reference to FIGS. The first TMR sensor signal processing unit 15 acquires information on the number of poles of the motor and the origin of the rotation shaft from the initial setting values (S1201). 11A, the first TMR sensor (TMR sensor) 111 outputs a first analog signal of 360 degrees (mechanical angle) each for one period of a SIN wave and a COS wave in response to one rotation of the rotating shaft. The data of the rotation angle (mechanical angle) and amplitude of these first analog signals, and the number of rotations Nx are correlated with the temperature Ta of the temperature sensor 13, etc., by the analog signal processing unit 151 of the processing unit 15 for the first TMR sensor signal, and recorded in memory.
[0051] As shown in FIG. 11B, analog signals (sine signal, cosine signal) are input to an AD converter 152, quantized, and converted into a multi-divided digital signal by an interpolation process, and then converted into digital values containing information on phase A and phase B. These converted values are associated with the rotation speed Nx, rotation direction, temperature Ta, etc., and recorded in the EEPROM-1.
[0052] As shown in the flowchart of FIG. 12, the processing unit 15 of the first TMR sensor signal first acquires information on the origin of the rotation axis from the initial setting value (S1201). Furthermore, it acquires AD converted data of the first TMR sensor signal (sine, cosine wave) from EEPROM-1 (S1202). If the processing is absolute (YES in S1203), the processing unit 15 of the first TMR sensor signal further calculates absolute values of the rotation direction and rotation angle based on the AD converted data and origin information (S1204), assigns memory addresses to the absolute values, and records them in the memory (S1205). Then, it generates single-revolution absolute information and records it in the EEPROM2 as single-revolution absolute data (S1206). Furthermore, it generates multiple-revolution absolute information and records it in the EEPROM2 as multiple-revolution absolute data (S1207). In this way, as shown in FIG. 11C, an absolute value for each forward and reverse rotation is generated and recorded in the EEPROM-2 together with data on the number of rotations Nx, the temperature Ta, and the direction of rotation.
[0053] On the other hand, if the processing is incremental (NO in S1203), the width data of Z phase synchronized with the rising edge of A phase and B phase is calculated from the AD converted data based on the information of A phase and B phase shown in Fig. 11(B) (S1212), and U, V, and W phase data is generated based on the width data of A phase, B phase, and Z phase (S1213). Furthermore, addresses are assigned to the data of A phase, B phase, Z phase, U phase, V phase, and W phase as shown in Fig. 13, and the data is recorded in EEPROM2 as incremental data (S1214). This processing is continued until the end of operation.
[0054] In the rotary encoder in the first embodiment, the safety control unit 145 monitors the output state of the two-system rotary encoder function, and if either of the rotary encoder functions fails, the necessary process is performed to stop the operation of the rotary encoder. In this way, the rotary encoder in the first embodiment is a safety encoder equipped with a two-system rotary encoder function and a backup power supply in addition to the main power supply. In addition, if one of the functions of the two rotary encoders fails, the function of the non-failed rotary encoder may be configured to continue to be used within the range that satisfies safety and other specified conditions.
[0055] Next, a second embodiment of the present invention will be described with reference to FIG. 14. In this embodiment, the first magnetic plate 1156 and the second magnetic plate 1158 of the large Barkhausen effect generating unit 115 are spaced apart from each other on the outer sides of both sides of the magnet 110 and extend in a ring shape, and the gap Ga between the side of the magnet 110 and the first magnetic plate 1156 and the second magnetic plate 1158 is constant. With this configuration, the change in the facing area between the first magnetic plate 1156 and the second magnetic plate 1158 and the N-pole region and the S-pole region of the magnet 110 becomes gentle, and the fluctuation in the output of the large Barkhausen effect generating unit 115 becomes more regular. The circumferential length of the ring-shaped portion can be appropriately selected as shown in FIG. 7A to FIG. 7E. In addition, the protruding direction of the tip of each open end may be oriented toward the center of the magnet 110.
[0056] Next, a third embodiment of the present invention will be described with reference to FIGS. In the third embodiment, an optical sensor is used in place of the second TMR sensor in the first embodiment. FIG. 15 is a functional block diagram of a rotary encoder, and FIG. 16 is a vertical cross-sectional view showing a configuration example of a TMR sensor, an optical sensor, and a power supply unit in the third embodiment. 15, the configuration and function of the TMR sensor signal processing unit 15 that processes the signal of the TMR sensor 111 is the same as that of the first TMR sensor signal processing unit 15 of the first embodiment. The optical sensor signal processing unit 17 that processes the signal of the optical sensor 118 includes a detection processing unit 171 of the light receiving sensor (incremental signal and absolute signal), an AD converter 172, and a digital signal processing unit 173.
[0057] 16, below the magnet 110, a disk 119 made of a resin material is fixed to the rotating shaft 510 via a holder 1104, and an absolute scale 116 and an incremental scale 117 for detecting the angle in the circumferential direction of the disk 119 are formed on the disk 119. Meanwhile, an optical sensor 118 is provided on the printed circuit board 19, and in order to detect each pattern of the absolute scale 116 and the incremental scale 117, the optical sensor 118 includes a light-emitting element that irradiates detection light onto the patterns and a light-receiving element (light-receiving sensor) that receives reflected light from the patterns. Note that a transmission type optical sensor may be used as the optical sensor.
[0058] Returning to FIG. 15, in the AD converter 172 of the optical sensor signal processing unit 17, similar to the TMR sensor signal processing unit 15, the sampling data of the analog signal is input to a 64-bit AD converter 172 (ADC-1 (incremental) 1721, ADC-2 (absolute) 1722) and converted into digital values, and these converted values are recorded in EEPROM-3 (1723) as time-series data.
[0059] In the rotary encoder of the third embodiment, as in the rotary encoder of the first embodiment, a single disk-shaped magnet 110 having only one pair of polarities N, S can be used as an analog signal source for a magnetic sensor and a power generating device for a large Barkhausen effect generating unit 115. As the single magnet rotates, as shown in Figs. 5 and 6, the density of the magnetic flux lines φ3 direction in the first magnetic plate 1156 and the second magnetic plate 1158 of the large Barkhausen effect generating unit increases and decreases periodically, and accordingly, the polarity and density of the magnetic flux lines φ3 received by the first magnetic plate 1156 and the second magnetic plate 1158 also change. This single magnet 110 is fixed to the end face of the rotating shaft 510, and the large Barkhausen effect generating unit 115 can be compactly configured while obtaining a large power generation output.
[0060] The rotary encoder of the present invention, as a safety encoder based on one magnet fixed to a rotating shaft, can be used in various combinations other than the combination of a pair of TMR sensors and the combination of a TMR sensor and an optical sensor described in the embodiment. For example, the combination may be a combination of a TMR sensor and a GMR sensor, an AMR sensor and a TMR sensor, a pair of AMR sensors, a pair of GMR sensors, a pair of Hall element sensors, or a combination of a TMR sensor and a Hall element sensor. Furthermore, the rotary encoder of the present invention may be configured to have the function of a single system of rotary encoder using a magnetic sensor based on one magnet, and a large Barkhausen effect power generation unit.
[0061] An encoder according to a fourth embodiment of the present invention, which is a combination of a GMR sensor and an optical sensor, will be described below with reference to FIGS. 17 and 18. FIG. FIG. 17 is a vertical cross-sectional view showing an example of the configuration of a magnetic sensor and a power supply unit in the fourth embodiment, and FIG. 18 is a plan view of an encoder housing. In the large Barkhausen effect power generating unit 115 of this embodiment, a first magnetic plate 1156 and a second magnetic plate 1158 connected to both ends of a ferromagnetic wire 1152 are arranged around the axis O of the rotating shaft 510. S -O S In the direction, the magnetic plates extend to a position midway between the magnet 110 and the GMR sensor 1110, and the tip of each magnetic plate extends to near the outer periphery of the magnet 110. The tips of the magnetic plates extend to the vicinity of the outer periphery on the surface of the magnet 110 in the same relationship as shown in Figs. 7A to 7E. That is, these magnetic plates are aligned along their center lines O on the surface of the magnet 110. G1 , O G2 The magnetic plates extend parallel to each other along the axis of symmetry, and are symmetrical about the surfaces adjacent to both sides of the magnet. In this embodiment, a GMR sensor signal processing unit is provided instead of the TMR sensor signal processing unit 15 in the functional block diagram of the rotary encoder of the third embodiment shown in Fig. 15, and has the same functions as the optical sensor signal processing unit 17 of the third embodiment. Sine wave and cosine wave signals are output from the GMR sensor. This GMR sensor signal processing unit also has the same functions as the TMR sensor signal processing unit 15 of the third embodiment, and sampling data of an analog signal is input to an AD converter (ADC-1 (incremental), ADC-2 (absolute)) and converted into digital values, and these converted values are recorded in an EEPROM as time-series data.
[0062] In this embodiment, a GMR sensor is used as the magnetic sensor of the rotary encoder, and the first and second magnetic plates are configured to extend on the surface of the magnet 110 and to the vicinity of its outer periphery. This ensures the variation of the magnetic flux lines φ3 required for the large Barkhausen effect power generating unit, and by accepting the magnetic flux lines φ3 that are mainly parallel to the magnet surface or in a direction close to the outer periphery, it is possible to suppress the influence of magnetic field interference on the GMR sensor 1110. This makes it possible to provide the functions of two independent rotary encoders and to provide an encoder with a compact configuration. If the gap in the axial direction between the surface of magnet 110 and each magnetic plate is G2 and the gap between each magnetic plate and GMR sensor 1110 is G3, then, as an example, if the diameter of rotating shaft 510 is approximately 6.0 to 8.0 mm and the diameter of the magnet is approximately 5.0 to 10.0 mm, it is desirable that G2 and G3 are each approximately 0.5 to 3.0 mm. This embodiment is more susceptible to the influence of magnetic field interference caused by the first magnetic plate and the second magnetic plate than the first to third embodiments. Therefore, it may be configured to measure in advance the influence of magnetic field interference caused by the first magnetic plate and the second magnetic plate on the output for each rotational position of the GMR sensor, generate correction data for each rotational position for correcting this influence, and store it in the initial setting section 141 of the system control unit 14. According to this embodiment, it is possible to provide a rotary encoder having two systems including a magnetic encoder for applications requiring high accuracy or for auxiliary use, and which is inexpensive and compact in configuration, and a servo control device using the same.
[0063] The rotary encoder of the present invention can also be used in other types of motors, such as stepping motors. It can also be widely applied to various rotating electrical devices, such as synchronous motors and induction motors. The present invention can also be applied to servo control devices using these rotating electrical devices. [Explanation of symbols]
[0064] 10 Rotary Encoder 11 TMR sensor unit 110 Magnet 111 First TMR sensor 1110 GMR sensor 112 2nd TMR sensor 115 Large Barkhausen Effect Power Unit 1156 1st magnetic plate 1158 Second magnetic plate 116 Absolute Scale 117 Incremental Scale 118 Optical Sensor 12 Power supply unit 121 Main power supply 122 Large Barkhausen effect power source 123 Backup Power 13 Temperature Sensor 14 System Control Unit 141 Initial setting section 144 Encoder I / O control unit 145 Safety Control Unit 147 Serial / Parallel Signal Transmitter / Receiver Unit 15 1st TMR sensor signal processing unit 151 Analog signal processing section of the first TMR sensor 152 A / D converter 153 Digital Signal Processing Unit 16 Second TMR sensor signal processing unit 161 Analog signal processing section of the second TMR sensor 162 A / D converter 163 Digital Signal Processing Unit 17 Optical sensor signal processing unit 18 FPGA or ASIC 19 Printed Circuit Board 510 Rotational axis O mgR -O mgR Axis of Symmetry
Claims
1. A rotary encoder having a function of generating information on a rotation angle and a rotation direction of the rotating shaft from an output of a magnet fixed to a rotating shaft and a magnetic sensor disposed opposite the magnet, The rotary encoder includes a large Barkhausen effect power generating unit as a power supply unit, The magnet fixed to the rotating shaft is a disk-shaped magnet in which a pair of N-pole regions and S-pole regions are formed in the radial direction with a boundary line passing through the center of the magnet, and the pair of N-pole regions and S-pole regions form a single flat surface. The large Barkhausen effect power generating unit includes a ferromagnetic wire, a power generating coil, and a first magnetic plate and a second magnetic plate connected to both ends of the ferromagnetic wire, the first magnetic plate and the second magnetic plate extend from both ends of the ferromagnetic wire to the outside of both side surfaces of the magnet, sandwiching the magnet therebetween; the first magnetic plate and the second magnetic plate extend apart from each other along both side surfaces of the magnet, A rotary encoder, characterized in that the first magnetic plate and the second magnetic plate are shaped symmetrically with respect to the axis of the rotating shaft, sandwiching the magnet therebetween.
2. A rotary encoder having a function of generating information on a rotation angle and a rotation direction of the rotating shaft from an output of a magnet fixed to a rotating shaft and a magnetic sensor disposed opposite the magnet, The rotary encoder includes a large Barkhausen effect power generating unit as a power supply unit, The magnet fixed to the rotating shaft is a disk-shaped magnet in which a pair of N-pole regions and S-pole regions are formed in the radial direction with a boundary line passing through the center of the magnet, and the pair of N-pole regions and S-pole regions form a single flat surface. The large Barkhausen effect power generating unit includes a ferromagnetic wire, a power generating coil, and a first magnetic plate and a second magnetic plate connected to both ends of the ferromagnetic wire, the first magnetic plate and the second magnetic plate extend from both ends of the ferromagnetic wire to a position between the magnet and the magnetic sensor in an axial direction of the rotation shaft, the first magnetic plate and the second magnetic plate extend from both ends of the ferromagnetic wire to near both side surfaces of the magnet on the surface of the magnet, the first magnetic plate and the second magnetic plate extend apart on the surface of the magnet; 11. A rotary encoder, comprising: the first magnetic plate and the second magnetic plate, each of which is symmetrical about an axis of the surface of the magnet.
3. In claim 1 or 2, A rotary encoder characterized in that the first magnetic plate and the second magnetic plate are configured to receive magnetic flux lines that are mainly parallel to or close to the outer circumferential direction of the surface of the magnet, and to suppress the effects of magnetic field interference on the magnetic sensor.
4. In claim 1 or 2, A rotary encoder characterized in that the other ends of the first magnetic plate and the second magnetic plate opposite the ferromagnetic wire are open ends between the magnets, and each open end protrudes in a tapered shape.
5. In claim 1 or 2, The position of one end of the boundary line between the N-pole region and the S-pole region of the magnet is the origin position (Z 0 ) and The first magnetic plate and the second magnetic plate are arranged along an axis of symmetry (O mgR -O mgR ) a plate-like or rod-like member extending along the axis of a rotary encoder.
6. In claim 1 or 2, A rotary encoder, characterized in that the ferromagnetic wire and the power generating coil of the large Barkhausen effect power generating unit are held in an encoder housing having a hollow portion.
7. In claim 6, A rotary encoder comprising a backup power supply including a capacitor charged by the large Barkhausen effect generating unit.
8. In claim 1, a magnetic sensor signal processing unit that performs AD conversion on an analog signal output from the magnetic sensor disposed opposite the magnet, and generates digital data including two types of information, an absolute signal and an incremental signal, relating to the rotation angle and the rotation direction of the rotating shaft; the magnetic sensor and the processing unit are held in an encoder housing having a hollow portion, the magnetic sensor includes a first TMR sensor and a second TMR sensor; the first TMR sensor is disposed on a printed circuit board held in the encoder housing at a position facing the magnet, and the second TMR sensor is disposed on a rear surface side of the first TMR sensor on the printed circuit board; The rotary encoder is characterized in that it has the functions of two independent rotary encoders.
9. In claim 1, The magnetic sensor includes a TMR sensor and an optical sensor, The TMR sensor is disposed on a printed circuit board held in an encoder housing having a hollow portion, at a position facing the magnet, the incremental scale and absolute scale of the optical sensor are formed on a disk fixed to the rotating shaft; a light emitting element and a light receiving element of the optical sensor are held in the encoder housing; The rotary encoder is characterized in that it has the functions of two independent rotary encoders.
10. A servo control device using a rotating electrical machine, 3. A servo control device, comprising: a rotating electrical device comprising the rotary encoder according to claim 1.
Citation Information
Patent Citations
Battery-less rotary encoder and servo control device using the same
JP6966143B1
Encoder device and method for manufacturing same, drive device, stage device, and robot device
WO2019188859A1
Rotation detection device and manufacturing method for rotation detection device
WO2016170648A1
