Encoder
The encoder system addresses errors in battery-less encoders by using a magnet and power generation element to estimate and correct rotation counts and positions, ensuring reliable operation.
Patent Information
- Application Number
- JP2023204786
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Battery-less encoders using power generation elements with Barkhausen characteristics face errors due to insufficient magnetic saturation, leading to reduced power generation in one direction and potential encoder rotation errors.
An encoder system that includes a magnet, a power generation element converting magnetic energy into electric pulses, and a magnetic sensor to estimate rotation count and position, using a nonvolatile storage unit to store estimated positions and polarities, thereby suppressing errors by detecting and correcting abnormal power generation.
The encoder effectively suppresses errors by accurately estimating and correcting rotation counts and positions, ensuring reliable operation without batteries.
Smart Images

Figure 0007544231000017 
Figure 0007544231000008 
Figure 0007544231000019
Abstract
Description
[Technical field]
[0001] The present disclosure relates to encoders. [Background technology]
[0002] Patent Document 1 discloses a method for synchronizing a segment counter having one pulse wire (Wiegand wire) sensor with a precision position sensor. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 5730809 Summary of the Invention [Problem to be solved by the invention]
[0004] Battery-less encoders may use a power generating element that generates power using the Barkhausen characteristic. A power generating element that generates power using the Barkhausen characteristic has hysteresis. Because a power generating element that generates power using the Barkhausen characteristic has hysteresis, after generating power in one direction, the amount of power generated in the opposite direction may be low if sufficient magnetic saturation has not been reached. If the amount of power generated by the power generating element is low, a rotation error in the encoder may occur.
[0005] The present disclosure provides an encoder that reduces the occurrence of errors. [Means for solving the problem]
[0006] According to one aspect of the present disclosure, there is provided an encoder having a magnet attached to an object whose rotational position is to be measured, a power generating element that converts the magnetic energy of the magnet into an electric pulse using the Barkhausen characteristic, a magnetic sensor that measures the magnetization polarity of the magnet, an estimation unit that estimates a rotation count and a rotational position of the object to be measured based on the power generating polarity of the power generating element, the magnetization polarity of the magnetic sensor, and a previously estimated rotational position, and a non-volatile memory unit that stores the rotation count and the rotational position estimated by the estimation unit, wherein the estimation unit estimates that the rotational position is in the first quadrant if the power generating polarity is + and the magnetization polarity is N, estimates that the rotational position is in the second quadrant if the power generating polarity is + and the magnetization polarity is S, estimates that the rotational position is in the third quadrant if the power generating polarity is - and the magnetization polarity is S, and estimates that the rotational position is in the fourth quadrant if the power generating polarity is - and the magnetization polarity is N. Effect of the Invention
[0007] According to the encoder of the present disclosure, the occurrence of errors can be suppressed. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating a servo motor system using an encoder according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating the configuration of a servo motor using the encoder according to the first embodiment. [Diagram 3] FIG. 3 is a diagram illustrating a circuit configuration of the encoder according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating a circuit configuration of the encoder according to the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating a circuit configuration of the encoder according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating the configuration of the encoder according to the first embodiment. [Figure 7]FIG. 7 is a diagram illustrating the configuration of the encoder according to the first embodiment. [Figure 8] FIG. 8 is a diagram illustrating the operation of the encoder according to the first embodiment. [Figure 9] FIG. 9 is a diagram illustrating the operation of the encoder according to the first embodiment. [Figure 10] FIG. 10 is a diagram illustrating the operation of the encoder according to the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating the operation of the encoder according to the first embodiment. [Figure 12] FIG. 12 is a diagram illustrating the configuration of a servo motor using an encoder according to the second embodiment. [Figure 13] FIG. 13 is a diagram illustrating the configuration of an encoder according to the second embodiment. [Figure 14] FIG. 14 is a diagram illustrating the operation of the encoder according to the second embodiment. [Figure 15] FIG. 15 is a diagram illustrating the operation of the encoder according to the second embodiment. [Figure 16] FIG. 16 is a flow diagram illustrating the process of the encoder according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the description of the specification and drawings relating to each embodiment, components having substantially the same or corresponding functional configurations may be given the same reference numerals to avoid redundant description. In addition, the scale of each part in the drawings may differ from the actual scale in order to facilitate understanding.
[0010] First Embodiment <Servo motor system> First, a servo motor system using the encoder according to the present embodiment will be described. Fig. 1 is a diagram illustrating a servo motor system 1 using an encoder 12 according to the present embodiment.
[0011] The servo motor system 1 includes a servo motor 10 and a servo controller 20. The servo controller 20 acquires at least one of position information and rotation information of a rotating shaft 11a from the servo motor 10. The servo controller 20 controls the servo motor 10 using at least one of the acquired position information and rotation information.
[0012] The servo motor 10 includes a motor 11 and an encoder 12. The motor 11 is connected to a servo controller 20 via a line L1. The encoder 12 is connected to the servo controller 20 via a line L2.
[0013] The motor 11 rotates the rotating shaft 11a in the direction of the arrow AR based on a command from the servo controller 20. Specifically, the motor 11 rotates the rotating shaft 11a in the direction of the arrow AR based on power supplied from the servo controller 20. The servo controller 20 controls the motor 11 by supplying controlled power from a wiring L1. The motor 11 is, for example, an AC (Alternating Current) motor, a DC (Direct Current) motor, or the like.
[0014] The encoder 12 detects fluctuations in the magnetic field to detect at least one of position information and rotation information of an object such as the rotating shaft 11a of the motor 11. The encoder 12 outputs at least one of the detected position information and rotation information to the servo controller 20 via the wiring L2. The position information of the rotating shaft 11a is, for example, the angle of the rotation direction of the rotating shaft 11a. The rotation information of the rotating shaft 11a is, for example, the rotation speed of the rotating shaft 11a or the number of rotations indicating how many rotations the rotating shaft 11a has made since a predetermined point in time.
[0015] <Servo motor 10> Next, the configuration of the servo motor 10 using the encoder 12 according to this embodiment will be described. Fig. 2 is a diagram illustrating the configuration of the servo motor 10 using the encoder 12 according to this embodiment. Note that lines with arrows indicate the flow of power or current supply.
[0016] [Motor 11] The motor 11 includes a disk 11d provided on the side of the rotating shaft 11a facing the encoder 12, and a magnet 11m provided on the disk 11d. In addition to the rotating shaft 11a, the disk 11d, and the magnet 11m, the motor 11 includes well-known elements such as a bearing for supporting the rotating shaft 11a, a winding constituting a stator for rotating the rotating shaft 11a, an iron core, and a permanent magnet constituting a rotor, but a description thereof will be omitted here.
[0017] The disk 11d is fixed to the rotating shaft 11a. The disk 11d rotates together with the rotating shaft 11a as the rotating shaft 11a rotates in the direction of the arrow AR. A magnet 11m is fixed to the surface of the disk 11d on the encoder 12 side.
[0018] The magnet 11m is a permanent magnet made of neodymium or the like. The magnet 11m is provided so as to have an N pole and an S pole in a direction parallel to the surface of the disk 11d. When the magnet 11m rotates together with the disk 11d, the magnetic field on the encoder 12 side changes.
[0019] [Encoder 12] The encoder 12 will be described. The encoder 12 detects at least one of position information and rotation information of the rotating shaft 11a by a magnetic field that changes with the rotation of the magnet 11m. The encoder 12 is an absolute encoder. The encoder 12 according to this embodiment operates at least as a multi-turn encoder. That is, the encoder 12 counts the number of rotations of the rotating shaft 11a. The encoder 12 also generates power required to operate the encoder 12 by a magnetic field that changes with the rotation of the magnet 11m.
[0020] The encoder 12 includes a power generating element 12g, a rectifier circuit 12a, a stabilized power supply circuit 12b, a polarity detection circuit 12d, a drive circuit 12e, a Hall element 12h, a signal processing circuit 12f, a control circuit 12p, and a storage unit 12r. The rectifier circuit 12a and the stabilized power supply circuit 12b are collectively referred to as a power supply circuit 12n. The polarity detection circuit 12d, the drive circuit 12e, and the signal processing circuit 12f are collectively referred to as a rotation detection circuit 12m.
[0021] The encoder 12 includes a power generating element 12g that generates power by a change in magnetic flux due to movement, and a Hall element 12h that measures the magnetic field. The power generating element 12g and the Hall element 12h are provided on the motor 11 side of the encoder 12 so as to be easily affected by the magnetic field generated by the magnet 11m.
[0022] [Power generating element 12g] The power generating element 12g is an element that generates power by converting magnetic energy into an electric pulse. The power generating element 12g is an element that generates power by utilizing the Barkhausen characteristic. The power generating element 12g is, for example, a Wiegand wire that is an energy harvest generator (EHG).
[0023] The power generating element 12g includes a hard core and a soft layer wound around the hard core. The hard core is made of a material with a large coercive force. The soft layer is made of a material with a small coercive force. The power generating element 12g generates a power generation pulse when the direction of the external magnetic field is reversed.
[0024] For example, a Wiegand wire generates an electric pulse near the zero point where the external magnetic field reverses, independent of the rate of change of the external magnetic flux. Therefore, a Wiegand wire generates a constant power independent of the rotation speed of the rotating shaft 11a. A Wiegand wire generates a stable electric pulse (voltage pulse) even with a gradual change in magnetic flux caused by slow rotation (movement). A Wiegand wire generates an electric pulse when the magnetic field reverses.
[0025] By using an environmental power generator in the power generating element 12g, the encoder 12 does not require a battery or an external power source. In other words, the encoder 12 is a battery-less encoder. The Wiegand wire generates a constant amount of power regardless of the rotation speed of the rotating shaft 11a, and a stable power generation waveform can be obtained even at low rotation speeds in particular, so it is suitable for use as the power generating element 12g of the encoder 12, which is a battery-less encoder.
[0026] The power generating element 12g is not limited to a Wiegand wire, and may be any power generating element that generates power by utilizing the Barkhausen characteristic.
[0027] [Hall element 12h] The Hall element 12h detects a magnetic field that crosses the semiconductor element through which the drive current flows. In the encoder 12, the Hall element 12h mainly detects the magnetic field generated by the magnet 11m. The Hall element 12h is composed of a semiconductor element such as indium antimonide (InSb) or gallium arsenide (GaAs). The Hall element 12h outputs a voltage proportional to the drive current and the magnetic flux density that crosses the drive current.
[0028] The Hall element 12h outputs a detection signal of the magnetic field to the signal processing circuit 12f. A constant current Idr is supplied to the Hall element 12h from the drive circuit 12e.
[0029] The Hall element 12h is supplied with a current (constant current Idr) that is obtained by rectifying the power generated by the power generating element 12g in the rectifier circuit 12a and then making it constant in the drive circuit 12e.
[0030] Although the encoder 12 includes one Hall element, the number of Hall elements is not limited to one. The encoder 12 may include multiple Hall elements. Furthermore, the measurement of the magnetic field is not limited to the Hall element as long as it is an element capable of detecting magnetism (magnetic detection element). For example, a magnetoresistance effect element or the like may be used instead of the Hall element 12h.
[0031] The circuit configuration of the encoder 12 will be described with reference to Fig. 3. Fig. 3 is a diagram illustrating the circuit configuration of the encoder 12 according to this embodiment.
[0032] [Rectifier circuit 12a] The rectifier circuit 12a rectifies the power generated by the power generating element 12g to generate a positive voltage. The rectifier circuit 12a includes a full-wave rectifier circuit 12a1 and a capacitor 12a2.
[0033] The full-wave rectifier circuit 12a1 rectifies the positive and negative pulses of the voltage Vgn generated by the power generating element 12g into positive pulses. The full-wave rectifier circuit 12a1 is a so-called diode bridge circuit. For example, when the power generating element 12g is a Wiegand wire, the power generating element 12g generates positive and negative pulses. The full-wave rectifier circuit 12a1 converts the positive and negative pulses generated by the power generating element 12g into positive pulses.
[0034] Capacitor 12a2 stores the power generated by power generating element 12g. Capacitor 12a2 also smooths the positive pulse generated by full-wave rectifier circuit 12a1. Capacitor 12a2 is provided between the output terminal of full-wave rectifier circuit 12a1 and a common potential. The positive pulse is smoothed by capacitor 12a2, and thus a smoothed voltage Vrc is output from rectifier circuit 12a.
[0035] [Stabilized power supply circuit 12b] The stabilized power supply circuit 12b converts the voltage output from the rectifier circuit 12a into a substantially constant voltage and outputs the voltage. The stabilized power supply circuit 12b includes a regulator 12b1. The regulator 12b1 is, for example, an LDO (Low Dropout) regulator.
[0036] When a voltage of a predetermined magnitude is input to the stabilized power supply circuit 12b, the stabilized power supply circuit 12b outputs a substantially constant voltage Vdd.
[0037] [Polarity detection circuit 12d] The polarity detection circuit 12d detects the polarity of the power generated by the power generating element 12g. Fig. 4 is a diagram illustrating the circuit configuration of the polarity detection circuit 12d in the encoder 12 according to this embodiment. The polarity detection circuit 12d includes a comparator 12d1, a filter circuit 12d2, and a diode 12d3. The diode 12d3 prevents current from flowing from the polarity detection circuit 12d to the power generating element 12g. The filter circuit 12d2 is a low-pass filter including a resistor 12d2a and a capacitor 12d2b.
[0038] The comparator 12d1 compares the voltage Vgns with a reference potential (reference potential Vref2) and outputs the comparison result to the control circuit 12p. The comparator 12d1 is a so-called comparator. The comparator 12d1 includes a differential amplifier 12d1a and resistors 12d1b, 12d1c, and 12d1d. The differential amplifier 12d1a is supplied with power of the voltage Vdd from the stabilized power supply circuit 12b. The differential amplifier 12d1a compares the voltage Vgns obtained by smoothing the voltage Vgn of the output of the power generating element 12g by the filter circuit 12d2 with the reference potential Vref2 generated by dividing the voltage Vdd by the resistors 12d1c and 12d1d. The differential amplifier 12d1a outputs the comparison result to the control circuit 12p as a polarity signal Spl, which is a voltage signal. The resistor 12d1b is a feedback resistor.
[0039] [Drive circuit 12e] The driving circuit 12e is a so-called constant current circuit that supplies a constant current Idr to the Hall element 12h. The driving circuit 12e operates as a constant current source. The encoder 12 drives the Hall element 12h with the constant current Idr. The driving circuit 12e supplies driving power to the Hall element 12h so that a constant current flows as a driving current through the Hall element 12h. FIG. 5 is a diagram for explaining the circuit configuration of the driving circuit 12e and the Hall element 12h in the encoder 12 according to this embodiment. In FIG. 5, the Hall element 12h is equivalently shown using a bridge circuit including resistors 12h1, 12h2, 12h3, and 12h4.
[0040] The drive circuit 12e includes a transistor 12e1, a current detection resistor 12e2, and a differential amplifier 12e3. The drive circuit 12e also includes a resistor 12e4, a Zener diode 12e5, and a capacitor 12e6.
[0041] The transistor 12e1 is controlled so that a constant current flows through the Hall element 12h. The gate terminal of the transistor 12e1 is connected to the output terminal of the differential amplifier 12e3. The differential amplifier 12e3 outputs a voltage based on the potential difference between the + terminal and the - terminal from the output terminal. The drive circuit 12e is controlled so that a constant current (constant current Idr) based on the voltage input to the + terminal and the resistance value of the current detection resistor 12e2 flows between the drain and source of the transistor 12e1.
[0042] The Hall element 12h is driven by a constant current Idr and outputs a voltage Vh+ and a voltage Vh- that are proportional to the constant current Idr and the magnetic flux density crossing the Hall element 12h.
[0043] The drive circuit 12e is driven by the voltage Vdd supplied from the stabilized power supply circuit 12b.
[0044] [Signal processing circuit 12f] The signal processing circuit 12f processes the detection signal from the Hall element 12h to detect the direction of the magnetic field of the magnet 11m. The signal processing circuit 12f will be described with reference to FIG.
[0045] The signal processing circuit 12f includes a differential amplifier 12f1 and a comparator 12f2.
[0046] (Differential amplifier 12f1) The differential amplifier 12f1 amplifies the potential difference between the voltage Vh+ and the voltage Vh- output from the Hall element 12h to generate a voltage Vd, and outputs the voltage Vd to the comparator 12f2. The differential amplifier 12f1 is supplied with power of the voltage Vdd from the stabilized power supply circuit 12b.
[0047] (Comparator 12f2) The comparator 12f2 compares the voltage Vd output from the differential amplifier 12f1 with a reference potential (reference potential Vref) and outputs the comparison result to the control circuit 12p. The comparator 12f2 is a so-called comparator. The comparator 12f2 includes a differential amplifier 12f2a and resistors 12f2b, 12f2c, and 12f2d. The differential amplifier 12f2a is supplied with power of a voltage Vdd from the stabilized power supply circuit 12b. The differential amplifier 12f2a compares the voltage Vd of the output of the differential amplifier 12f1 with a reference potential Vref generated by dividing the voltage Vdd by resistors 12f2c and 12f2d, and outputs the comparison result to the control circuit 12p as a magnetic pole signal Smg, which is a voltage signal. The resistor 12f2b is a feedback resistor.
[0048] [Control circuit 12p] Based on the input from the signal processing circuit 12f, the control circuit 12p calculates at least one of position information and rotation information, such as the rotation position and rotation speed, of the rotating shaft 11a of the motor 11. In addition, the control circuit 12p records at least one of the detected position information and rotation information of the rotating shaft 11a of the motor 11, and transmits it to an external control system, for example, the servo controller 20.
[0049] The control circuit 12p is, for example, a microcomputer, an application specific integrated circuit (ASIC), etc. In addition, the control circuit 12p may be, for example, a field-programmable gate array (FPGA), a programmable logic device (PLD), etc.
[0050] The control circuit 12p is connected to an externally provided storage unit 12r. The control circuit 12p may include a non-volatile memory such as a ferroelectric memory instead of the external storage unit 12r.
[0051] The control circuit 12p includes at least a terminal PWR, a terminal SIG1, and a terminal SIG2.
[0052] The terminal PWR of the control circuit 12p is a terminal to which a positive power source is supplied. The terminal PWR is supplied with power of the voltage Vdd from the stabilized power supply circuit 12b. The control circuit 12p operates when power is supplied to the terminal PWR.
[0053] The terminals SIG1 and SIG2 of the control circuit 12p are terminals to which signals are input from the outside.
[0054] The terminal SIG1 is connected to the signal processing circuit 12f. A magnetic pole signal Smg, which is a detection result detected by the signal processing circuit 12f, is input from the terminal SIG1. The magnetic pole signal Smg is a signal indicating the direction of the magnetic field detected by the Hall element 12h.
[0055] The terminal SIG2 is connected to the polarity detection circuit 12d. A polarity signal Spl, which is a detection result detected by the polarity detection circuit 12d, is input from the terminal SIG2. The polarity signal Spl is a signal that indicates the power generation polarity of the power generation element 12g.
[0056] The encoder 12 according to this embodiment counts how many times the rotating shaft 11a has rotated. The control circuit 12p counts how many times the rotating shaft 11a has rotated using the magnetic pole signal Smg and the polarity signal Spl. The control circuit 12p also uses the magnetic pole signal Smg and the polarity signal Spl to detect in which of the 90-degree regions the rotating shaft 11a is located. The control circuit 12p then stores in the memory unit 12r the result of counting how many times the rotating shaft 11a has rotated and the result of detecting in which region the rotating shaft is located. The control circuit 12p also stores in the memory unit 12r the magnetic pole signal Smg and the polarity signal Spl that were last detected.
[0057] [Storage section 12r] The memory unit 12r stores, for example, a rotation count and the like. The memory unit 12r is, for example, a ferroelectric memory. The control circuit 12p stores, in the memory unit 12r, at least a count value indicating how many rotations the rotating shaft 11a has made, the position of the rotating shaft, and the last detected magnetic pole signal Smg and polarity signal SpI.
[0058] <Encoder 12 Configuration> The configuration of the encoder 12 will be described. Fig. 6 and Fig. 7 are diagrams for explaining the configuration of the encoder 12 according to the first embodiment. Fig. 6 is a perspective view for explaining the arrangement of the power generation element 12g and the Hall element 12h in the encoder 12. Fig. 7 is a plan view for explaining the arrangement of the power generation element 12g and the Hall element 12h in the encoder 12.
[0059] The power generating element 12g is disposed at the center of the upper surface of the substrate 12j. The Hall element 12h is disposed on the lower surface of the substrate 12j. As shown in Fig. 7, a case will be described where the horizontal axis on the right side in Fig. 7 is defined as an angle of 0 degrees and angles are defined counterclockwise. The Hall element 12h is disposed on the axis with an angle of 0 degrees. The power generating element 12g is disposed so that its longitudinal direction is in the vertical direction in Fig. 7.
[0060] The magnet 11m is provided on a disk 11d fixed to a rotating shaft 11a of the motor 11. When the rotating shaft 11a rotates, the magnet 11m also rotates. The encoder 12 measures the rotation angle of the rotating shaft 11a. That is, the rotating shaft 11a is an example of an object whose rotational position is to be measured.
[0061] The power generation polarity of the power generation element 12g and the magnetization polarity of the Hall element 12h when the magnet 11m rotates will be described.
[0062] Fig. 8 is a diagram for explaining the operation of the encoder 12 according to the first embodiment. When the Wiegand wire, which is the power generation device of the power generation element 12g, is arranged as shown in Fig. 8, power generation is generated every 180 degrees as the magnet 11m rotates. In the arrangement shown in Fig. 8, clockwise rotation near an angle of 0 degrees results in negative power generation, and counterclockwise rotation results in positive power generation. Meanwhile, clockwise rotation near an angle of 180 degrees results in positive power generation, and counterclockwise rotation results in negative power generation.
[0063] The sensor polarity of the Hall element 12h arranged as shown in Fig. 8 is N from the angle 0 degrees to the angle 90 degrees and from the angle 270 degrees to the angle 360 degrees (angle 0 degrees), i.e., in the right half of Fig. 11. On the other hand, the sensor polarity of the Hall element 12h is S from the angle 90 degrees to the angle 270 degrees, i.e., in the left half of Fig. 8.
[0064] Therefore, the position can be detected at an angle of 90 degrees from the power generation polarity of the power generation element 12g and the sensor polarity of the Hall element 12h. Position detection with an angular resolution of 90 degrees is performed at the power generation timing (near an angle of 0 degrees and an angle of 180 degrees).
[0065] Specifically, when the power generation polarity of the power generating element 12g is positive and the sensor polarity of the Hall element 12h is N, the position of the rotation shaft 11a is determined to be position POS1 (first quadrant) in which the angle ranges from 0 degrees to 90 degrees. When the power generation polarity of the power generating element 12g is positive and the sensor polarity of the Hall element 12h is S, the position of the rotation shaft 11a is determined to be position POS2 (second quadrant) in which the angle ranges from 90 degrees to 180 degrees.
[0066] When the power generation polarity of the power generating element 12g is negative and the sensor polarity of the Hall element 12h is S, the position of the rotation shaft 11a is determined to be position POS3 (third quadrant) where the angle ranges from 180 degrees to 270 degrees. When the power generation polarity of the power generating element 12g is negative and the sensor polarity of the Hall element 12h is N, the position of the rotation shaft 11a is determined to be position POS4 (fourth quadrant) where the angle ranges from 270 degrees to 360 degrees (0 degree).
[0067] The above is summarized in Table 1. Table 1 shows in which position (quadrant) the encoder 12 determines that the N pole of magnet 11m is located when the encoder 12 detects the power generation polarity (GP) and magnetic pole (MP). Table 1 also shows in which direction magnet 11m rotates. Hereinafter, the position of the N pole of magnet 11m is referred to as the position of magnet 11m.
[0068] [Table 1]
[0069] For example, when the power generation polarity (GP) detected by the polarity detection circuit 12d is positive (+) and the magnetic pole (MP) detected by the Hall element 12h is N, the control circuit 12p determines that the position of the magnet 11m is position POS1 (first quadrant). Note that in the case of position POS1, the magnet 11m rotates counterclockwise (CCW) and passes through the reference angle of 0 degrees, so the rotation count value stored in the memory unit 12r is incremented by 1, and the updated rotation count value is saved in the memory unit 12r.
[0070] When the power generation polarity (GP) detected by the polarity detection circuit 12d is positive (+) and the magnetic pole (MP) detected by the Hall element 12h is S pole, the control circuit 12p determines that the position of the magnet 11m is position POS2 (second quadrant). Note that when in position POS2, the magnet 11m rotates clockwise (CW) and passes through an angle of 180 degrees.
[0071] When the power generation polarity (GP) detected by the polarity detection circuit 12d is negative (-) and the magnetic pole (MP) detected by the Hall element 12h is S pole, the control circuit 12p determines that the position of the magnet 11m is position POS3 (third quadrant). Note that when in position POS3, the magnet 11m rotates counterclockwise (CCW) and passes through an angle of 180 degrees.
[0072] When the power generation polarity (GP) detected by the polarity detection circuit 12d is negative (-) and the magnetic pole (MP) detected by the Hall element 12h is N, the control circuit 12p determines that the position of the magnet 11m is position POS4 (fourth quadrant). Note that in the case of position POS4, the magnet 11m rotates clockwise (CW) and passes through the reference angle of 0 degrees, so 1 is subtracted from the rotation count value stored in the memory unit 12r, and the updated rotation count value is saved in the memory unit 12r.
[0073] Then, the number of rotations is calculated, for example, when an angle of 0 degrees corresponds to a clockwise direction being positive, based on the power generation polarity of the power generating element 12g and the sensor polarity of the Hall element 12h. Regarding position detection by the encoder 12 according to this embodiment, in the power generation in the power generating element 12g, two pulses are generated per one rotation. The two pulses generated are one positive pulse and one negative pulse. Furthermore, the polarity of the generated pulses during reverse rotation is the opposite sign to that during forward rotation.
[0074] The polarity of the power generation pulse alone cannot detect the position within a 360-degree range, but by placing the Hall element 12h at a position that is 90 degrees out of phase with the power generation pulse, it is possible to detect the 90-degree phase using the polarity of the power generation pulse and the polarity of the Hall element 12h.In addition, by comparing the previous power generation position with the current power generation position, it is possible to determine how many times the reference angle has been rotated, assuming an angle of 0 degrees is the reference angle.
[0075] As described above, the encoder 12 according to the first embodiment has an angular resolution of 90 degrees.
[0076] Next, the power generating element 12g when the encoder 12 is operated will be described. Fig. 9 is a diagram for explaining the state of the power generating element 12g when the encoder 12 according to this embodiment is operated. Fig. 9 is a diagram for explaining the magnetization characteristics (BH curve) with respect to an external magnetic field for the power generating element 12g having Barkhausen characteristics.
[0077] The horizontal axis of Fig. 9 indicates the external magnetic field Hext in the power generating element 12g. Fig. 9 shows the magnetization in the power generating element 12g. Line La indicates the magnetization state of the power generating element 12g when rotating in one direction.
[0078] 9 shows simplified diagrams PS1, PS2, AS1, and AS2 to explain the magnetization state of the power generating element 12g. In each of simplified diagrams PS1, PS2, AS1, and AS2, the central cylinder represents the hard core HC and the outer cylinder represents the soft layer SL. The arrows in each of the hard core HC and the soft layer SL indicate the direction of magnetization.
[0079] Simplified diagram PS1 shows a state in which the magnetization in each of the hard core HC and the soft layer SL is oriented in the same direction with respect to a positive external magnetic field (parallel state). Simplified diagram PS2 shows a state in which the magnetization in each of the hard core HC and the soft layer SL is oriented in the same direction with respect to a negative external magnetic field (parallel state). Simplified diagram AS1 shows a state in which the hard core HC is oriented in the direction of a positive external magnetic field and the soft layer SL is oriented in the direction of a negative external magnetic field, which are opposite to each other (anti-parallel state). Simplified diagram AS2 shows a state in which the hard core HC is oriented in the direction of a negative external magnetic field and the soft layer SL is oriented in the direction of a positive external magnetic field, which are opposite to each other (anti-parallel state).
[0080] First, the characteristics of the power generating element 12g when rotating in one direction will be described. Here, the case of rotating in one direction from point A will be described. Point A indicates the state in which the maximum external magnetic field is applied to the power generating element 12g. Point A corresponds to an angle of 90 degrees in FIG. 8. At point A, both the hard core HC and the soft layer SL of the power generating element 12g are magnetized in the direction of the positive external magnetic field (parallel state).
[0081] When the magnet rotates, the magnetization state of the power generating element 12g changes from point A along arrow B. Then, when the external magnetic field Hext changes from positive to negative, the magnetization changes suddenly as shown by arrow C due to the Wiegand effect. The sudden change in magnetization is due to a large Barkhausen jump that occurs when the magnetization of the soft layer SL is reversed. As shown by arrow C, the sudden change in magnetization generates a large power generation pulse in the power generating element 12g. The power generating element 12g also enters an anti-parallel state as shown in simplified diagram AS1.
[0082] As the magnet rotates further, the magnetization state of the power generating element 12g changes along the arrow D. When it reaches point E, the power generating element 12g is in a parallel state, as shown in simplified diagram PS2.
[0083] As explained above, the magnetization state of the power generating element 12g changes from point E along the arrow F. When the external magnetic field Hext changes from negative to positive, the magnetization changes suddenly as shown by the arrow G due to the Wiegand effect. As shown by the arrow G, the sudden change in magnetization generates a large power generation pulse in the power generating element 12g. The power generating element 12g also enters an anti-parallel state as shown in simplified diagram AS2. The magnetization state then changes along the arrow H.
[0084] In this way, when the magnetization state of the power generating element 12g changes due to a loop (major loop) such as the line La, a large power generation pulse is generated as indicated by the arrows C and G.
[0085] Here, for example, a case where rotation occurs in the opposite direction at point X after a large power generation pulse is generated as indicated by arrow C, that is, a case where the rotation is reversed at point X will be described.
[0086] When the magnetization is inverted at point X, the state changes as shown by line Lz. When the magnetization is inverted at point X, the magnetization state of the power generating element 12g changes along arrow M. When the magnetization is inverted at point X, the external magnetic field Hext changes in the opposite direction before the parallel state shown in simplified diagram PS2 is reached. In other words, the external magnetic field Hext is applied in the opposite direction to the power generating element 12g before it is fully magnetized. This causes small fluctuations in magnetization as shown by arrow N. A power generating pulse caused by small magnetization fluctuations as shown by arrow N is called a runt pulse. After the runt pulse occurs, the remaining parts change as shown by arrows P and Q.
[0087] When a runt pulse occurs, the amount of power generated is so small that the reversal is not counted, resulting in a rotation error.
[0088] A power generation failure that generates a runt pulse occurs when the magnetization characteristics (BH curve) for the external magnetic field in Figure 9 deviates from the major loop. For example, this occurs when the magnet is reversed immediately after normal power generation occurs. For example, this occurs when the north pole of magnet 11m passes from an angle of 90 degrees to an angle of 0 degrees and reverses immediately after a negative pulse is generated by a Barkhausen jump. If the magnet is reversed immediately after a negative pulse is generated by a Barkhausen jump, the magnetization is not set to an angle of 270 degrees, so there is no Barkhausen jump, and a runt pulse occurs and no normal pulse is generated. Therefore, a positive pulse should be generated at an angle of 0 degrees, but a normal pulse is not generated.
[0089] However, in the above-mentioned mechanism, the power generation element 12g, which is a Wiegand wire, is not sufficiently magnetized and power generation failure occurs only when the orientation is reversed without passing through an angle of approximately 90 degrees or an angle of approximately 270 degrees. Conversely, when the N pole passes through an angle of approximately 90 degrees or an angle of approximately 270 degrees, the above-mentioned power generation failure does not occur.
[0090] In other words, except when reciprocating at an angle of 0 degrees or 180 degrees, two consecutive power generation failures will not occur. Note that when reciprocating at an angle of 0 degrees or near 180 degrees, only the final state needs to be detected, and the number of reciprocations in between does not affect count updates, so there is no need to take them into consideration.
[0091] The inventors discovered that by using the above-mentioned mechanism in the power generating element 12g, which is a Wiegand wire, when the power generating element 12g generates power and detects its position, the rotation count value due to power generation failure can be updated based on the relationship with the position detected by the most recent power generation (the previously estimated rotation position).
[0092] The relationship between the position detected when the power generating element 12g generated power (position of current power generation) and the position detected when the power generating element 12g generated power immediately before that (position of previous power generation: previous rotation position) is shown in Table 2. In addition, for the cases shown in Table 2, diagrams summarizing the positions detected by the encoder 12 and how the magnet 11m moved are shown in Figs. 10 and 11.
[0093] 10 and 11, the inner circle indicates the position when power was generated last time (position of previous power generation), and the outer circle indicates the position when power was generated this time (position of current power generation). The inner arrowed line indicates the movement of the north pole of magnet 11m when power was generated last time. The outer arrowed line indicates the movement of the north pole of magnet 11m when power was generated this time.
[0094] [Table 2]
[0095] A typical example will be described. For example, in case Case 3, that is, when the previous power generation position is in the first quadrant and the current power generation position is in the third quadrant, it is determined that normal power generation has been performed in the encoder 12. In case Case 3, the reference angle of 0 degrees is not passed, so the rotation count value stored in the memory unit 12r is not updated.
[0096] In the case of Case 4, i.e., when the previous power generation position is in the first quadrant and the current power generation position is in the fourth quadrant, it is determined that normal power generation has been performed in the encoder 12. In the case of Case 4, the reference angle of 0 degrees is passed, so 1 is subtracted from the rotation count value stored in the memory unit 12r, and the updated rotation count value is stored in the memory unit 12r.
[0097] On the other hand, in the case of Case 1, that is, when the previous power generation position was in the first quadrant and the current power generation position is in the first quadrant, it is assumed that power generation failure occurs twice consecutively at angles of 180 degrees and 0 degrees. However, as described above, power generation failure does not occur twice consecutively, so a case like Case 1 does not actually occur, and the count value is not updated but remains as it was. Note that in a case like Case 1, an error may be output.
[0098] In addition, in the case of Case 2, that is, when the previous power generation position was in the first quadrant and the current power generation position is in the second quadrant, it is assumed that power generation failure occurs at an angle of 0 degrees and power generation occurs normally at an angle of 180 degrees. In the case of Case 2, since the reference angle of 0 degrees is passed, 1 is subtracted from the rotation count value stored in the memory unit 12r, and the updated rotation count value is stored in the memory unit 12r.
[0099] In the above explanation, the cases of Case 1, Case 2, Case 3, and Case 4 have been explained, but the same applies to the other cases. By updating the count value according to the transition table (update table) shown in Table 2, it is possible to suppress errors in the rotation count value due to power generation.
[0100] By performing the above-mentioned processing, the encoder according to the first embodiment can suppress the occurrence of errors caused by abnormal power generation due to abnormal power generation.
[0101] Second Embodiment A servo motor 110 according to the second embodiment will be described. The servo motor 110 according to the second embodiment further comprises a position detector 112s in addition to the servo motor 10 according to the first embodiment.
[0102] <Servo motor 110> Next, the configuration of the servo motor 110 according to the second embodiment will be described. Fig. 12 is a diagram illustrating the configuration of the servo motor 110 using the encoder 112 according to the second embodiment. Note that lines with arrows indicate the flow of power or current supply. Note that the servo motor 110 is connected to a servo controller 120.
[0103] The servo motor 110 includes a motor 111 and an encoder 112. Note that for configurations that are the same as those of the servo motor 10 according to the first embodiment, the description of the servo motor 10 is to be referred to, and only differences from the servo motor 10 will be described here.
[0104] [Motor 111] The motor 111 includes a disk 111d provided on the encoder 12 side of the rotating shaft 11a, and a magnet 11m provided on the disk 111d.
[0105] The disk 111d has a plurality of slits 111s arranged in a predetermined pattern on the surface facing the encoder 112. The slits 111s are used to detect the position by a position detector 112s. The slits 111s are formed on the surface of the disk 111d so as to form, for example, an M sequence pattern.
[0106] [Encoder 112] The encoder 112 further includes a position detector 112s in addition to the encoder 12. In addition, in accordance with the inclusion of the position detector 112s, the encoder 112 also includes a control circuit 112p instead of the control circuit 12p and a storage unit 112r instead of the storage unit 12r.
[0107] [Position detection unit 112s] The position detector 112s has an angular resolution higher than that of the encoder 12. For example, the position detector 112s has a resolution of about 20 to 24 bits in the circumferential direction. The position detector 112s is, for example, an angular position sensor. The position detector 112s is a so-called single-turn encoder. The position detector 112s is operated by receiving power from the servo controller 120.
[0108] The position detection unit 112s includes a light emitting unit 112s1 and a light receiving unit 112s2. The light emitting unit 112s1 irradiates light onto a portion of the surface of the disc 111d where the slits 111s are formed. The light emitting unit 112s1 includes a light emitting element, for example, an LED (Light Emitting Diode) or an LD (Laser Diode). The light receiving unit 112s2 receives light reflected from the slits 111s on the surface of the disc 111d. The light receiving unit 112s2 includes a light receiving element, for example, a PD (Photo Detector).
[0109] The position detection unit 112s detects the intensity of light emitted from the light emitting unit 112s1, reflected by the slit 111s, and received by the light receiving unit 112s2. The position detection unit 112s then detects the position of the slit 111s on the disk 111d where the light is reflected, based on the intensity of the light received by the light receiving unit 112s2. The position detection unit 112s detects the position of the magnet 11m fixed to the disk 111d (the position of the north pole of the magnet 11m) based on the position of the slit 111s.
[0110] [Control circuit 112p] In addition to the functions of the control circuit 12p, the control circuit 112p acquires and processes position information from the position detection unit 112s.
[0111] [Storage unit 112r] The storage unit 112r stores information related to the position detection unit 112s in addition to the functions of the storage unit 12r.
[0112] <Configuration of Encoder 112> The configuration of the encoder 112 will be described. Fig. 13 is a diagram illustrating the configuration of the encoder 112 according to the second embodiment. Fig. 13 is a plan view illustrating the arrangement of the power generating element 12g, the Hall element 12h, and the position detector 112s in the encoder 112.
[0113] The position detector 112s is disposed on the lower surface of the substrate 112j. The position detector 112s is provided at a position that does not overlap with the power generating element 12g and the Hall element 12h, for example, at an angle of 180 degrees.
[0114] <Operation of Encoder 112> Next, a description will be given of the operation of the encoder 112. A process will be described when the position detector 112s in the encoder 112 detects that the power generating element 12g has shifted from the position at which it generated power when external power is supplied from the servo controller 120.
[0115] The basic concept is the same as in the first embodiment, but the difference is that the current position is determined using position information detected by the position detection unit 112s. In other words, the transition of the magnet 11m is estimated from the last position information acquired by power generation and the position information of the position detection unit 112s when an external power source is applied to the position detection unit 112s, and the rotation count value is corrected taking into account the generation pulse drop such as the occurrence of a runt pulse. If normal power generation is being performed in the power generation element 12g, the last correct position information acquired by power generation has already been saved in the storage unit 112r. Therefore, the transition of the magnet 11m can be estimated from the last position information acquired by power generation and the position information of the position detection unit 112s when an external power source is applied to the position detection unit 112s.
[0116] The relationship between the position detected when the power generating element 12g generates power (position information MT) and the position detected by the position detection unit 112s when an external power source is supplied to the position detection unit 112s and before the power generating element 12g generates power thereafter (position information ST) is shown in Table 3. In addition, for the examples shown in Table 3, diagrams summarizing the positions detected by the encoder 112 and how the magnet 11m moved are shown in Figs. 14 and 15.
[0117] [Table 3]
[0118] 14 and 15, the inner circle indicates the position detected when the power generating element 12g generates power (MT position information), and the outer circle indicates the position detected by the position detection unit 112s (ST position information). The inner arrowed line indicates the movement of the N pole of the magnet 11m when the power generating element 12g generates power. The outer arrowed line indicates the movement of the N pole of the magnet 11m when detected by the position detection unit 112s. The outermost double-arrowed line indicates the range in which the MT position information is corrected. In other words, the MT position information is changed to the ST position information. In other words, the MT position information is changed to the ST position information as the ST position information is deemed to be correct.
[0119] A typical example will be described. For example, in case Case 1, that is, when the position information of MT is in the first quadrant and the position information of ST is in the first quadrant, the control circuit 112p determines that there has been no change in the position of the magnet 11m. That is, in case Case 1, the control circuit 112p determines that it is operating normally. Since there has been no change in the position of the magnet 11m, the control circuit 112p does not change the rotation count value stored in the memory unit 112r.
[0120] In the case of Case 2, that is, when the position information of the MT is in the first quadrant and the position information of the ST is in the second quadrant, the control circuit 112p judges that it is operating normally. In the case of Case 2, the position information of the MT is in the first quadrant, which is the result of normal power generation, so it is estimated that it came counterclockwise from the fourth quadrant. Then, it is estimated that the power is turned on to the position detection unit 112s, and the second quadrant is obtained by high-resolution position detection in the position detection unit 112s. Since the transition from the first quadrant to the second quadrant occurs without normal power generation, it is estimated that it has transitioned counterclockwise. In the case of Case 2, since the angle 0 degrees is not crossed, the control circuit 112p does not change the rotation count value stored in the memory unit 112r.
[0121] On the other hand, in the case of Case 3, that is, when the position information of the MT is in the first quadrant and the position information of the ST is in the third quadrant, the control circuit 112p judges that abnormal power generation has occurred. In the case of Case 3, the position information of the MT is in the first quadrant, which is the result of normal power generation, so it is estimated that it came counterclockwise from the fourth quadrant. Then, the power is turned on to the position detection unit 112s, and it is estimated that the third quadrant has been obtained by the high-resolution position detection in the position detection unit 112s. When the position of the magnet 11m moves counterclockwise from the first quadrant to the third quadrant, power generation occurs, so it is estimated that the position of the magnet 11m has moved clockwise from the first quadrant to the third quadrant. Then, it is estimated that abnormal power generation has occurred when the position of the magnet 11m passes through an angle of 0 degrees. Therefore, in order to correct the erroneous detection due to abnormal power generation, the control circuit 112p subtracts 1 from the rotation count value stored in the storage unit 112r and stores the updated rotation count value in the storage unit 112r.
[0122] In addition, in the case of Case 4, that is, when the position information of the MT is in the first quadrant and the position information of the ST is in the fourth quadrant, the control circuit 112p judges that abnormal power generation has occurred. In the case of Case 4, the position information of the MT is in the first quadrant, which is the result of normal power generation, so it is estimated that it came counterclockwise from the fourth quadrant. Then, the power is turned on to the position detection unit 112s, and it is estimated that the fourth quadrant has been obtained by high-resolution position detection in the position detection unit 112s. When the position of the magnet 11m moves counterclockwise from the first quadrant to the fourth quadrant, power generation occurs, so it is estimated that the position of the magnet 11m has moved clockwise from the first quadrant to the fourth quadrant. Then, it is estimated that abnormal power generation has occurred when the position of the magnet 11m passes through an angle of 0 degrees. Therefore, in order to correct the erroneous detection due to abnormal power generation, the control circuit 112p subtracts 1 from the rotation count value stored in the storage unit 112r and stores the updated rotation count value in the storage unit 112r.
[0123] <Processing in Encoder 112> The following describes the processing in the encoder 112. Fig. 16 is a flow diagram illustrating the processing in the encoder 112 according to the second embodiment.
[0124] (Step S10) First, power is supplied from the servo controller 120 to the position detection unit 112s (step of supplying power from a higher-level control unit). When power is supplied, the position detection unit 112s detects the position.
[0125] (Step S20) Next, the control circuit 112p acquires the position information from the position detection unit 112s (step of acquiring the position information from the position detection unit). The control circuit 112p acquires the position information (position information of the ST, the first rotation position) from the position detection unit 112s.
[0126] (Step S30) In parallel with step S20, the control circuit 112p acquires from the storage unit 112r the position information and the rotation count value, which are the rotation information measured during the previous power generation (step of acquiring the position information and the rotation information from the storage unit). The control circuit 112p acquires the position information (MT position information) and the rotation count value from the storage unit 112r.
[0127] (Step S40) Next, the control circuit 112p corrects the position information and the rotation information (step of correcting position information and rotation information). The control circuit 112p corrects the rotation count value based on a correction table such as that shown in Table 3.
[0128] The timing at which the position information stored in the storage unit 112r is read and the timing at which the position is measured by the position detection unit 112s and the position information is read are set to be simultaneous.
[0129] By carrying out the above-mentioned processing, the encoder according to the second embodiment can suppress the occurrence of errors due to abnormal power generation.
[0130] The Hall element 12h is an example of a magnetic sensor. The control circuit 12p or the control circuit 112p is an example of an estimation unit.
[0131] The embodiments disclosed herein should be considered as illustrative and not restrictive in all respects. The above-described embodiments may be omitted, substituted, or modified in various forms without departing from the scope and spirit of the appended claims. [Explanation of symbols]
[0132] 1. Servo motor system 10, 110 Servo motor 11, 111 Motor 11a Rotation axis 11d, 111d Disc 11m magnet 12 Encoders 12g power generating element 12h Hall element 12p, 112p control circuit 12r, 112r storage section 20, 120 Servo controller 111s Slit 112s Position detector 120 Servo Controller
Claims
1. A magnet attached to an object to be measured for rotational position; a power generating element that converts the magnetic energy of the magnet into an electric pulse by utilizing the Barkhausen characteristic; a magnetic sensor for measuring the magnetization polarity of the magnet; an estimation unit that estimates a rotation count and a rotation position of the measurement object based on a power generation polarity of the power generation element, a magnetization polarity of the magnetic sensor, and a previously estimated rotation position; a non-volatile storage unit that stores the rotation count and the rotation position estimated by the estimation unit; having The estimation unit is If the power generation polarity is positive and the magnetization polarity is negative, the rotational position is estimated to be in the first quadrant; If the power generation polarity is + and the magnetization polarity is S, the rotational position is estimated to be in the second quadrant; If the power generation polarity is negative and the magnetization polarity is S, the rotational position is estimated to be in the third quadrant; If the power generation polarity is negative and the magnetization polarity is neutral, the rotational position is estimated to be in the fourth quadrant. Encoder.
2. The rotational position has a resolution of 90 degrees. The encoder of claim 1 .
3. The estimation unit estimates the rotation count and the rotation position when the power generation element generates power. The encoder of claim 1 .
4. the estimation unit, when the power generating element generates power, reads from the storage unit the rotational position at which the power generating element previously generated power as a previous rotational position, and estimates the rotational position based on the previous rotational position, the power generation polarity of the power generating element, and the magnetization polarity of the magnetic sensor. The encoder of claim 3.
5. the estimation unit, when the power generating element generates power, reads from the storage unit the rotational position at which the power generating element generated power the previous time as a previous rotational position, and updates the rotation count based on the previous rotational position, the power generation polarity of the power generating element, and the magnetization polarity of the magnetic sensor. The encoder of claim 4.
6. The estimation unit corrects the rotation count when the power generation element generates a power generation error and an error occurs in the rotation count. The encoder of claim 4.
7. The estimation unit corrects the rotation count based on a correction table. The encoder of claim 6.
8. further comprising an angular position sensor; The encoder of claim 3.
9. the estimation unit estimates the rotational position based on the last estimated rotational position and the rotational position detected by the angular position sensor when power is supplied to the angular position sensor. The encoder of claim 8.
10. the estimation unit corrects the rotation count based on the last estimated rotation position and the rotation position detected by the angular position sensor when power is supplied to the angular position sensor. The encoder of claim 9.
11. The estimation unit corrects the rotation count based on a correction table. The encoder of claim 9.
Citation Information
Patent Citations
Interchangeable lens permitting automatic focusing
JP1982030809A
Encoder device, driving device, and robot device
JP2012137311A
Multiple-rotation encoder
JP2015219096A
Movement detection device
WO2016002437A1
Rotation detector
WO2021215076A1
