Position Detection Device
The position detection device uses superimposed full-wave rectified signals to check gap accuracy in magnetic linear encoders, addressing assembly errors without digital processing, ensuring cost-effective and easy verification of assembly.
Patent Information
- Application Number
- JP2021015450
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-02-03
- Publication Date
- 2024-11-20
- Estimated Expiration
- 2041-02-03
AI Technical Summary
Existing magnetic linear encoders face challenges in accurately detecting position due to assembly errors that cause variations in the gap between the magnetic scale and the magnetoresistive element, necessitating costly digital processing to analyze sine and cosine wave signals.
A position detection device that utilizes an indicator section with a scale and a reading section to generate an average equivalent voltage by superimposing full-wave rectified sine and cosine wave signals, using a perceptual signal output to indicate if the gap is within an allowable range without digital processing.
Enables easy verification of the gap between the display and reading sections within permissible limits, reducing costs by avoiding digital signal processing and ensuring accurate assembly.
Smart Images

Figure 0007587433000001 
Figure 0007587433000002 
Figure 0007587433000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a position detection device that detects the position of an object. [Background technology]
[0002] Conventionally, a position detection device is known that includes a marking unit having a scale for indicating a position and a reading unit that reads the scale, and detects the position of the marking unit or the reading unit based on sine wave signals and cosine wave signals output from the reading unit in response to a change in the relative position between the reading unit and an indicator unit on a linear trajectory.
[0003] For example, the magnetic linear encoder as a position detection device described in Patent Document 1 includes a magnetic scale as an indication unit and a magnetic resistance element as a reading unit. The magnetic scale is a linear scale extending in a straight line. The magnetic resistance element is fixed in a holder of the magnetic sensor device. Either the magnetic scale or the magnetic sensor device moves in the extension direction of the magnetic scale. The magnetic scale includes a magnetic track as a scale extending along the extension direction of the scale. The magnetic track includes a magnetized magnetized area and a non-magnetized non-magnetized area. The magnetic resistance element outputs a sine wave signal and a cosine wave signal in accordance with the movement of the magnetic scale or the magnetic sensor device. The calculation processing unit of the magnetic sensor device detects the absolute position of the magnetic scale or the magnetic sensor device based on the sine wave signal and the cosine wave signal output from the magnetic resistance element. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2016-38294 A Summary of the Invention [Problem to be solved by the invention]
[0005] In this type of magnetic linear encoder, if the gap between the magnetic scale surface and the magnetic resistance element becomes wider or narrower than a predetermined tolerance due to an assembly error of the magnetic scale or the magnetic sensor device to the machine, the position cannot be detected with high accuracy. Therefore, when assembling the magnetic scale and the magnetic sensor device, it is desirable to check whether the gap is within the tolerance and correct the assembly position as necessary.
[0006] As a method for checking whether the gap between the magnetic scale surface and the magnetic resistance element is within the allowable range, a method of analyzing the peak fluctuations of the above-mentioned sine wave signal and cosine wave signal by digital processing can be considered. Specifically, the sine wave signal and cosine wave signal output as an analog signal from the magnetic resistance element are converted into a digital signal by digital processing, and the average value of the gap is calculated based on the value of each peak of the waveform obtained by performing arithmetic processing on the converted result. This method makes it possible to analyze the average value of the gap with high accuracy, but there is a problem in that it is costly because it is necessary to newly install a digital-to-analog converter and a digital arithmetic device.
[0007] The present invention has been made in consideration of the above background, and an object of the present invention is to provide a position detection device that can easily check whether or not the gap between a marking part, such as a magnetic scale, and a reading part is within an acceptable range, without digitally processing sine wave signals or cosine wave signals. [Means for solving the problem]
[0008] In order to achieve the above object, the present invention provides a device that includes a marking unit having a scale for indicating a position, and a reading unit that reads the scale, and the reading unit and the signa position detection device that detects the position of the marking unit or the reading unit on the linear track based on a sine wave signal and a cosine wave signal output from the reading unit in accordance with a change in the relative position between the marking unit or the reading unit and a linear track, the position detection device comprising: an average signal generating unit that generates a signal of an average equivalent voltage, which is a voltage equivalent to an average of peaks of at least one of the sine wave signal and the cosine wave signal; and a perception signal output unit that outputs a predetermined perceptible perception signal and changes an output state of the perception signal depending on whether the average equivalent voltage is within a predetermined range or not. the average signal generating unit outputs a superposed wave signal obtained by superposing a full-wave rectified signal obtained by full-wave rectifying the sine wave signal and a full-wave rectified signal obtained by full-wave rectifying the cosine wave signal as the signal of the average equivalent voltage; It is characterized by the above. Effect of the Invention
[0009] According to the present invention, there is an excellent effect that it is possible to easily check whether or not the gap between the marking portion and the reading portion is within the allowable range without digitally processing the sine wave signal or the cosine wave signal. [Brief description of the drawings]
[0010] [Figure 1] 1 is a perspective view showing a magnetic encoder device according to an embodiment; [Diagram 2] FIG. 2 is a plan view showing a part of a magnetic scale of the magnetic encoder device. [Diagram 3] FIG. 2 is a plan view showing a magnetic sensor of the magnetic encoder device. [Figure 4] 2 is a block diagram showing a part of an electric circuit of the magnetic encoder device and a magnetic scale. FIG. [Diagram 5] 4 is a block diagram showing an electric circuit of an assembly error detection unit of the magnetic encoder device. FIG. [Figure 6] 10A to 10C are waveform diagrams showing waveforms of various signals when the sensor is assembled with high precision in the magnetic encoder device. [Figure 7] 10A to 10C are waveform diagrams showing waveforms of various signals in the magnetic encoder device when the sensor is not assembled with high precision. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of a magnetic encoder device as a position detection device according to the present invention will be described with reference to the drawings. Note that in the following drawings, the actual structure, the scale and the number of each structure may be different in order to make each component easier to understand.
[0012] First, a basic configuration of a magnetic encoder device according to an embodiment will be described. Fig. 1 is a perspective view showing a magnetic encoder device according to an embodiment. Fig. 2 is a plan view showing a part of a magnetic scale of the magnetic encoder device.
[0013] As shown in FIG. 1, the magnetic encoder device 1 includes a magnetic scale 2 and a magnetic sensor device 3 that reads the magnetic scale 2. The magnetic scale 2 as an indication unit is a linear scale that extends in a straight line. The magnetic scale 2 and the magnetic sensor device 3 are mounted on a machine such as an industrial robot. The machine includes a moving body that can reciprocate along a straight track, and the magnetic scale 2 is fixed to the machine in a manner that extends straight along the track. Either the magnetic scale 2 or the magnetic sensor device 3 is fixed to the moving body of the machine, and moves back and forth on the straight track together with the moving body.
[0014] The magnetic scale 2 has a magnetic track 5 extending along the scale extension direction. When a moving body of a machine moves, the magnetic sensor device 3 detects a magnetic change in the magnetic field formed on the surface of the magnetic scale 2, and outputs a signal of the absolute position of the magnetic scale 2 or the magnetic sensor device 3. Note that, hereinafter, the configuration of the magnetic encoder device 1 will be described assuming that the moving direction of the moving body is the X direction, and that the direction perpendicular to the X direction and along the surface of the magnetic scale 2 is the Y direction.
[0015] The magnetic sensor device 3 includes a holder 7 made of a non-magnetic material, a cable 8 extending from the holder 7, and a magnetic sensor 10 serving as a reading unit. The holder 7 has an opening 9 on an opposing surface 9 facing the magnetic scale 2. The magnetic sensor 10 is fixed in the holder 7 in a position facing the opening 9a.
[0016] Fig. 3 is a plan view showing a magnetic sensor of the magnetic encoder device 1. The magnetic sensor 10 includes a sensor substrate 11 made of a silicon substrate, a ceramic grate substrate, or the like. The sensor substrate 11 includes a first magnetic sensing element 12 and a second magnetic sensing element 13 formed on the substrate surface facing the magnetic scale (2 in Fig. 2). Each of the first magnetic sensing element 12 and the second magnetic sensing element 13 has a magnetoresistance element having, for example, a permalloy film as a magnetic sensing film. Each of the first magnetic sensing element 12 and the second magnetic sensing element 13 faces the magnetic scale 2 with a predetermined gap therebetween.
[0017] 2, the magnetic track 5 of the magnetic scale 2 includes an absolute track 15 extending along the X direction, and an incremental track 16 extending along the X direction. The absolute track 15 and the incremental track 16 are disposed on the magnetic scale 2 in a manner to be aligned along the Y direction.
[0018] The absolute track 15 as an absolute index scale includes a first absolute track 21 and a second absolute track 22 aligned along the Y direction. The incremental track 16 includes a first incremental track 17 and a second incremental track 18 aligned along the Y direction.
[0019] The first absolute track 21 has a plurality of first absolute patterns 21a aligned along the X direction. Each of the plurality of first absolute patterns 21a is a magnetized area and has a pair of N and S poles. In FIG. 2, reference symbol P1 indicates the length of the first absolute pattern 21a in the X direction (hereinafter, this length will be referred to as the first length P1). A non-magnetized area is disposed between adjacent first absolute patterns 21a. The length of each of the plurality of non-magnetized areas in the X direction is random.
[0020] The second absolute track 22 of the absolute track 15 has a plurality of second absolute patterns 22a. In the second absolute track 22, the pattern of change in the length of the non-magnetized area in the X direction is similar to that of the first absolute track 21. However, the second absolute pattern 22a is disposed at a position shifted by a second length P2 from the first absolute pattern 21a in the X direction. The second length P2 is half the first length P1.
[0021] Each of the first absolute track 15 and the second absolute track 22 expresses an M-sequence irregularly circulating random number code indicating an absolute position by an arrangement of n sets of consecutive magnetized areas and non-magnetized areas. More specifically, when the magnetized areas are represented by a logical value of 1 and the non-magnetized areas are represented by a logical value of 0, the M-sequence irregularly circulating random number code value is represented by an arrangement of n sets of consecutive 1s and 0s.
[0022] The first incremental track 17 includes a plurality of first incremental patterns 17a. Each of the first incremental patterns 17a includes a pair of N poles and S poles aligned in the X direction. The length of the first incremental pattern 17a in the X direction is a second length P2. In the first incremental track 17, the N poles and S poles are alternately aligned in the X direction.
[0023] The second incremental track 18 includes a plurality of second incremental patterns 18a. Each of the second incremental patterns 18a includes an N pole and an S pole aligned in the X direction. The length of the second incremental pattern 18a in the X direction is a second length P2. In the second incremental track 18, the N poles and the S poles are alternately aligned in the X direction. The order of magnetization of the N poles and the S poles in the second incremental track 18 is opposite to that of the first incremental track 17. In the Y direction, the N pole of the first incremental pattern 17a and the S pole of the second incremental pattern 18a are adjacent to each other, and the S pole of the first incremental pattern 17a and the N pole of the second incremental pattern 18a are adjacent to each other.
[0024] 3, the sensor substrate 11 of the magnetic sensor 10 includes a first magneto-sensitive element 12 for generating an absolute signal and a second magneto-sensitive element 13 for generating an incremental signal on a substrate surface facing the magnetic scale 2. The first magneto-sensitive element 12 and the second magneto-sensitive element 13 are aligned in the Y direction.
[0025] The first magnetic sensitive element 12 includes a first magnetic resistance pattern 31 for detecting the magnetism of the first absolute track 21, and a second magnetic resistance pattern 32 for detecting the magnetism of the second absolute track 22. The first magnetic resistance pattern 31 and the second magnetic resistance pattern 32 each extend in the X direction and are aligned with each other in the Y direction. The first magnetic resistance pattern 31 faces the first absolute track 21, and the second magnetic resistance pattern 32 faces the second absolute track 22.
[0026] Each of the first magnetic resistance pattern 31 and the second magnetic resistance pattern 32 includes a plurality of magnetic resistance elements arranged in the X direction with their magnetic sensing directions facing the X direction. The plurality of magnetic resistance elements are arranged at a pitch of a first length P1. The first magnetic resistance pattern 31 sequentially detects the magnetic field of each of the plurality of regions of the first absolute pattern 21a that are continuous in the X direction, and outputs an M-sequence first absolute signal. Similarly, the second magnetic resistance pattern 32 sequentially detects the magnetic field of each of the plurality of regions of the second absolute pattern 22a that are continuous in the X direction, and outputs an M-sequence second absolute signal.
[0027] The second magneto-sensitive element 13 includes a magneto-resistance pattern 34(+a) for generating a SIN+ signal, which is a sine wave signal, and a magneto-resistance pattern 34(+b) for generating a COS+ signal, which is a cosine wave signal. The second magneto-sensitive element 13 also includes a magneto-resistance pattern 34(-a) for generating a SIN- signal, which is a sine wave signal, and a magneto-resistance pattern 34(-b) for generating a COS- signal, which is a cosine wave signal. The magneto-resistance pattern 34(+a) for generating a SIN+ signal and the magneto-resistance pattern 34(-b) for generating a COS- signal are aligned in the X direction. The magneto-resistance pattern 34(+b) for generating a COS+ signal and the magneto-resistance pattern 34(-a) for generating a SIN- signal are aligned in the X direction. The magneto-resistance pattern 34(+a) for generating a SIN+ signal and the magneto-resistance pattern 34(+b) for generating a COS+ signal are aligned in the Y direction. The magnetic resistance pattern 34(-b) for generating a COS- signal and the magnetic resistance pattern 34(-a) for generating a SIN- signal are aligned with each other in the Y direction. The magnetic resistance pattern 34(+a) for generating a SIN+ signal and the magnetic resistance pattern 34(-b) for generating a COS- signal face the first incremental track 17, and the magnetic resistance pattern 34(+a) for generating a SIN+ signal and the magnetic resistance pattern 34(-b) for generating a COS- signal face the second incremental track 18.
[0028] As the moving body of the machine moves, the signal output from the magnetic resistance pattern 34(+a) and the signal output from the magnetic resistance pattern 34(+b) have a phase difference of 90°. Furthermore, the signal output from the magnetic resistance pattern 34(-a) and the signal output from the magnetic resistance pattern 34(-b) have a phase difference of 90°. Furthermore, the signal output from the magnetic resistance pattern 34(+a) and the signal output from the magnetic resistance pattern 34(-a) have a phase difference of 180°. Furthermore, the signal output from the magnetic resistance pattern 34(+b) and the signal output from the magnetic resistance pattern 34(-b) have a phase difference of 180°.
[0029] 4 is a block diagram showing a part of an electric circuit of the magnetic encoder device 1 and the magnetic scale 2. The magnetic sensor device 3 includes a calculation processing unit 40 including a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), etc. The calculation processing unit 40 as a calculation unit is mounted on a sensor board 11. A first magnetic sensing element 12 for generating an absolute signal and a second magnetic sensing element 13 for generating an incremental signal are connected to the input side of the calculation processing unit 40. The calculation processing unit 40 includes an absolute value acquisition unit 41, an incremental signal acquisition unit 42, a calculation unit 44 for calculating an absolute position, an assembly error detection unit 90, etc. The absolute value acquisition unit 41 includes a first absolute value acquisition unit 45 and a second absolute value acquisition unit 46.
[0030] The first magnetoresistance pattern 31 of the first magnetoresistance element 12 for generating an absolute signal and the first absolute value acquisition unit 45 constitute a first absolute value output unit 37 that reads the first absolute track 21 and outputs a first absolute value ABS1. The second magnetoresistance pattern 32 of the first magnetoresistance element 12 for generating an absolute signal and the second absolute value acquisition unit 46 constitute a second absolute value output unit 38 that reads the second absolute track 22 and outputs a second absolute value ABS2. The second magnetoresistance element 13 for generating an incremental signal and the incremental signal acquisition unit 42 constitute an incremental signal output unit 39 that reads the incremental track 16 and outputs an incremental signal INC.
[0031] The first absolute value acquisition unit 45 acquires the first irregularly circulating random number code CODE1 based on the first absolute signal (read result) of the M sequence output from the first magnetic resistance pattern 31. Next, the first absolute value acquisition unit 45 acquires the first absolute value ABS1 by replacing the acquired first irregularly circulating random number code CODE1 with a sequence of integers. When the first absolute value acquisition unit 45 acquires the first absolute value ABS1, the first absolute value output unit 37 outputs the first absolute value ABS1.
[0032] The second absolute value acquisition unit 46 acquires the second irregularly circulating random number code CODE2 based on the second absolute signal (read result) of the M sequence output from the second magnetic resistance pattern 32. Then, the second absolute value acquisition unit 46 acquires the second absolute value ABS2 by replacing the acquired second irregularly circulating random number code CODE2 with a sequence of integers. When the second absolute value acquisition unit 46 acquires the second absolute value ABS2, the second absolute value output unit 38 outputs the second absolute value ABS2. The first absolute value ABS1 output from the first absolute value output unit 37 and the second absolute value ABS2 output from the second absolute value output unit 38 are output with a time shift corresponding to the second length P2 as the moving body of the machine moves.
[0033] The incremental signal acquisition unit 42 includes a magnetoresistive pattern 34 (+ a) and a signal from a magnetoresistive pattern 34(-a) for generating a SIN-signal. The incremental signal acquisition unit 42 acquires a sine wave signal based on the COS+ signal. The signal from the magnetic resistance pattern 34(+b) for generating the signal and the magnetic resistance for generating the COS- signal A cosine wave signal is obtained based on the signal from pattern 34(-b). The mental signal acquisition unit 42 acquires a predetermined maximum value from zero based on the sine wave signal and the cosine wave signal. Generates a periodic incremental signal INC that changes from When the incremental signal INC is generated by the signal acquisition unit 42, the incremental signal The output unit 39 outputs an incremental signal INC. 。
[0034] The calculation unit 44 calculates the absolute position based on the first absolute value ABS1, the second absolute value ABS2, and the incremental signal C_INC. Specifically, the calculation unit 44 uses the first absolute value ABS1 to calculate the absolute position in a period from when the incremental signal C_INC becomes 0 to when the corrected incremental signal C_INC reaches the median value between zero and the maximum value. The calculation unit 44 also uses the second absolute value ABS2 to calculate the absolute position in a period T2 from when the incremental signal C_INC becomes the median value to when the corrected incremental signal C_INC reaches the maximum value.
[0035] As described above, the arithmetic processing unit 40 detects the absolute position based on the sine wave signal (SIN signal) and the cosine wave signal (COS signal).
[0036] Next, a characteristic configuration of the magnetic encoder device 1 according to the embodiment will be described. As shown in FIG. 4, in the calculation processing unit 40, the incremental signal acquisition unit 42 outputs a SIN signal (sine wave signal) and a COS signal (cosine wave signal) to the assembly error detection unit 90.
[0037] 5 is a block diagram showing an electric circuit of the assembly error detection unit 90. The assembly error detection unit 90 includes a reference voltage generation unit 91, a first full-wave rectification processing unit 92, a second full-wave rectification processing unit 93, a low-pass filter 94, a comparator 95, and a light emission unit 96.
[0038] The reference voltage generating unit 91 includes a first capacitor C1 and a first operational amplifier OA1 for stabilizing the output voltage. The first capacitor C1 is connected to an input voltage V i The first operational amplifier OA1 receives the input voltage Vi and outputs a stabilized reference voltage VREF.
[0039] The COS signal sent from the incremental signal acquisition unit 42 is input to the first full-wave rectification processing unit 92. The first full-wave rectification processing unit 92 includes a first resistor R1, a second operational amplifier OA2, a second resistor R2, a first diode D1, a second diode D2, and a first chip resistor RA1. The COS signal is input to the inverting input terminal (negative (-) terminal) of the second operational amplifier OA2 via the first resistor R1, and the reference voltage VREF is input to the non-inverting input terminal (positive (+) terminal). The first full-wave rectification processing unit 92 performs the following processing by utilizing the characteristics of the first diode D1 and the second diode D2, which allow current to flow only in the positive direction. That is, the first full-wave rectification processing unit 92 outputs the waveform portion of the COS signal on the positive side of the reference voltage VREF as it is, while inverting the waveform portion on the negative side to the positive side and outputting it. Hereinafter, the signal that has passed through the full-wave rectification processing unit is called a full-wave rectified signal.
[0040] The SIN signal sent from the incremental signal acquisition unit 42 is input to the second full-wave rectification processing unit 93. The second full-wave rectification processing unit 93 includes a third resistor R3, a third operational amplifier OA3, a fourth resistor R4, a third diode D3, a fourth diode D4, and a second chip resistor RA2. The SIN signal is input to the inverting input terminal (negative (-) terminal) of the third operational amplifier OA3 via the third resistor R3, and the reference voltage VREF is input to the non-inverting input terminal (positive (+) terminal). The second full-wave rectification processing unit 93 performs the following processing by utilizing the characteristics of the third diode D3 and the fourth diode D4, which allow current to flow only in the positive direction. That is, the waveform portion of the SIN signal that is on the positive side of the reference voltage VREF is output as is, while the waveform portion on the negative side is inverted to the positive side and output.
[0041] The full-wave rectified signal obtained by the first full-wave rectification processing unit 92 and the full-wave rectified signal obtained by the second full-wave rectification processing unit 93 are superimposed on each other to become a superimposed wave signal, and then input to a low-pass filter 94. The low-pass filter 94 includes a second capacitor C2, a fifth resistor R5, and a fourth operational amplifier OA4. The superimposed wave signal input to the low-pass filter 94 passes through the low-pass filter 94, whereby noise is removed.
[0042] The superimposed wave signal that has passed through the low-pass filter 94 is input to the comparator 95. The comparator 95 includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a fifth operational amplifier OA5, and a ninth resistor R9. A threshold voltage Vth is input to the negative (-) terminal of the fifth operational amplifier OA5. The superimposed wave signal that has passed through the eighth resistor R8 is input to the positive (+) terminal of the fifth operational amplifier OA5. When the superimposed wave signal input to the positive (+) terminal of the comparator 95 is higher than the threshold voltage Vth (superimposed wave signal>threshold voltage Vth), the comparator 95 outputs a predetermined High voltage. On the other hand, when the superimposed wave signal input to the positive (+) terminal of the comparator 95 is higher than the threshold voltage Vth (superimposed wave signal<threshold voltage Vth), the comparator 95 outputs a predetermined Low voltage.
[0043] The high or low voltage output from the comparator 95 is input to the light-emitting unit 96. The light-emitting unit 96 includes a green LED that emits green light and a red LED that emits red light. When a high voltage is input to the light-emitting unit 96, both the green and red LEDs are turned on. This causes the light-emitting unit 96 to emit yellow light, which is a mixture of green and red. On the other hand, when a low voltage is input to the light-emitting unit 96, of the green and red LEDs, only the red LED is turned on. This causes the light-emitting unit 96 to emit red light.
[0044] FIG. 6 is a waveform diagram showing the waveforms of various signals when the magnetic scale 2 and the magnetic sensor device 3 are assembled to the machine (hereinafter, these assemblies are collectively referred to as sensor assembly) with high precision. The larger the gap between the surface of the magnetic scale 2 and the magnetic sensor 10, the weaker the magnetism detected by the magnetic sensor 10 becomes, and therefore the peak value of the SIN wave and the peak value of the COS wave become lower. When the sensor assembly is performed with high precision, waveforms (sine wave, cosine wave) with appropriate amplitudes are obtained for each of the COS signal and the SIN signal. That is, the gap between the surface of the magnetic scale 2 and the magnetic sensor 10 falls within an allowable range. In the figure, the top graph coordinate among the three graph coordinates shows the waveform of the COS signal and the waveform of the full-wave rectified signal (FWR(COS)) obtained by performing full-wave rectification processing on the COS signal. In the waveform of the full-wave rectified signal (FWR(COS), a part of the valley between two adjacent peaks on the positive side is filled with an inverted waveform portion on the negative side.
[0045] In the figure, of the three graph coordinates shown, the middle graph coordinate shows the waveform of a SIN signal and the waveform of a full-wave rectified signal (FWR(SIN)) obtained by full-wave rectifying the SIN signal. In the waveform of the full-wave rectified signal (FWR(SIN)), a part of the valley between two adjacent positive peaks is also filled by an inverted waveform part on the negative side.
[0046] In the figure, the bottom graph coordinate among the three graph coordinates shows the waveform of the full-wave rectified signal (FWR(COS)), the waveform of the full-wave rectified signal (FWR(SIN)), and the waveform of the superimposed wave SW obtained by superimposing the two. In the superimposed wave SW, the full-wave rectified signal (FWR(COS)) and the full-wave rectified signal (FWR(SIN)) complement each other's valleys with their crests. This results in a stable voltage waveform with a slightly wavy shape only within a narrow voltage region near the peak. The low-level wavy shape near the peak occurs at a position higher than the peaks of the full-wave rectified signal (FWR(COS)) and the full-wave rectified signal (FWR(SIN)). Such a superimposed wave SW is a signal with an average equivalent voltage that corresponds to the average of the peaks of the SIN signal (sine wave signal) and the COS signal (cosine wave signal). That is, in the embodiment, the combination of the first full-wave rectification processing unit 92 and the second full-wave rectification processing unit 93 shown in FIG. 5 functions as an average signal generating unit that generates a superimposed wave SW signal that is an average equivalent voltage.
[0047] In the example shown in FIG. 6, the threshold voltage Vth is set to a value slightly lower than the peak of the full-wave rectified signal before superposition (FWR(COS)) and the peak of the full-wave rectified signal before superposition (FWR(SIN)). In this setting, if the sensor is properly assembled, the superposed wave SW exceeds the threshold voltage Vth, as shown in the figure, regardless of the position of the magnetic scale 2 or the magnetic sensor device 3 (horizontal axis of the graph). As a result, when the magnetic scale 2 or the magnetic sensor device 3 moves on a linear trajectory, the light-emitting section (36 in FIG. 5) continues to light up in yellow, regardless of the position on the linear trajectory. This lighting allows the operator to easily confirm that the gap between the surface of the magnetic scale 2 and the magnetic sensor 10 has not widened beyond the allowable range.
[0048] FIG. 7 is a waveform diagram showing the waveforms of various signals when the sensor is not assembled accurately. When the sensor is not assembled accurately and the gap described above becomes wider than the allowable range, a low amplitude waveform as shown in the figure is output for each of the COS signal and the SIN signal. Then, the amplitude of the superimposed wave SW also becomes low, so that the low-level undulations near the peaks of the superimposed wave SW cross the threshold voltage Vth as shown in the figure. This causes the light-emitting unit 36 to alternate between yellow and red light emission. The worker can easily confirm from this alternating light emission that the sensor assembly has become wider than the allowable range.
[0049] The combination of comparator 95 and light-emitting unit 96 shown in FIG. 5 outputs an optical emission signal which is a perceptible perceptual signal, and functions as a perceptual signal output unit which changes the output state of the optical emission signal depending on whether the average equivalent voltage is within a predetermined range or not.
[0050] 5 to 7, the threshold voltage Vth functions as the upper limit of the allowable range of the gap. In the assembly error detection unit 90 shown in Fig. 5, one more comparator may be added so that the light emitting unit 36 is lit in a predetermined color only when the voltage of the superimposed wave SW is within the range between the threshold voltage Vth1 (lower limit) and the threshold voltage Vth2.
[0051] Although an example in which the superimposed wave SW is output as the average equivalent voltage has been described, the peak value of the SIN signal or COS signal may be continuously output by the peak hold circuit. However, in a configuration in which the peak value is continuously output, depending on the speed at which the magnetic scale 2 or the magnetic sensor device 3 is moved, the relationship between the waveform period and the discharge time constant of the peak hold circuit may become inappropriate, making it difficult to output a stable average equivalent voltage.
[0052] Although the above description is directed to an example in which a visible light-emitting signal is output as a sensory signal, the sensory signal is not limited to a light-emitting signal. For example, an auditory signal, a pain signal, a temperature sensory signal, or the like may be used. target A sensory signal, a pressure sensory signal, a vibratory sensory signal, etc. may be output as the sensory signal.
[0053] Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the embodiment, and various modifications and changes are possible within the scope of the gist of the present invention. The embodiments are included in the scope and gist of the invention, and are also included in the scope of the invention and its equivalents described in the claims.
[0054] The present invention exhibits unique effects for each of the following aspects. [First aspect] The first embodiment is a display unit (e.g., a magnetic scale 2) having a scale for indicating a position, and a reading unit (e.g., a magnetic sensor 10) for reading the scale. sign a position detection device (e.g., a magnetic encoder device 1) that detects the position of the marking unit or the reading unit on the linear track based on a sine wave signal (SIN signal) and a cosine wave signal (COS signal) output from the reading unit in response to a change in the relative position with respect to the marking unit or the reading unit, and is characterized in that it comprises an average signal generating unit (e.g., a combination of a first full-wave rectification processing unit 92 and a second full-wave rectification processing unit 93) that generates a signal of an average equivalent voltage (e.g., a superimposed wave SW), which is a voltage equivalent to the average of the peaks of at least one of the sine wave signal and the cosine wave signal, and a perception signal output unit (e.g., a combination of a comparator 95 and a light-emitting unit 96) that outputs a predetermined perceptible perception signal and changes the output state of the perception signal depending on whether the average equivalent voltage is within a predetermined range or not.
[0055] According to the first aspect, it is possible to easily check whether the gap between the marking portion and the reading portion is within the allowable range without digitally processing the sine wave signal or the cosine wave signal.
[0056] [Second aspect] A second aspect is a position detection device having the configuration of the first aspect, and characterized in that the average signal generating unit outputs a superposed wave signal obtained by superimposing a full-wave rectified signal obtained by full-wave rectifying the sine wave signal and a full-wave rectified signal obtained by full-wave rectifying the cosine wave signal as a signal of the average equivalent voltage.
[0057] According to the second aspect, compared to a configuration in which a hold peak value held by a peak hold circuit is output as an average equivalent voltage, sign It is possible to suppress inadequacy of the average equivalent voltage due to inadequacy of the relative position change speed between the sensing portion and the reading portion. [Explanation of symbols]
[0058] REFERENCE SIGNS LIST 1 magnetic encoder device (position detection device), 2 magnetic scale (indication section), 15 absolute track (scale), 40 calculation processing section (calculation section), 92 first full-wave rectification processing section (part of average signal generation section), 93 second full-wave rectification processing section (part of average signal generation section), 95 (part of perception signal output section), 96 light-emitting section (part of perception signal output section)
Claims
[Claim 1] A position detection device comprising: a marking unit having a scale for indicating a position; and a reading unit for reading the scale, the position detection device detecting a position of the marking unit or the reading unit on a predetermined linear track based on a sine wave signal and a cosine wave signal output from the reading unit in response to a change in the relative position between the reading unit and the marking unit on the linear track, an average signal generating unit that generates a signal having an average equivalent voltage, the average equivalent voltage being a voltage corresponding to an average of peaks of at least one of the sine wave signal and the cosine wave signal; a perception signal output unit that outputs a predetermined perceptible perception signal and changes an output state of the perception signal depending on whether the average equivalent voltage is within a predetermined range or not, the average signal generating unit outputs a superposed wave signal obtained by superposing a full-wave rectified signal obtained by full-wave rectifying the sine wave signal and a full-wave rectified signal obtained by full-wave rectifying the cosine wave signal as the signal of the average equivalent voltage; A position detection device comprising:
Citation Information
Patent Citations
Gap adjusting method for magnetic encoder
JP1990036313A
Linear scale
JP2001041730A
Optical encoder
JP2004347504A
Rotation angle detection apparatus
JP2013019802A
Magnetic linear encoder
JP2016038294A
