Angle detector and positioner
The angle detection device uses a configuration with magnetoresistive elements and bridge circuits to determine the timing and select the appropriate sensor for accurate angle calculation, addressing the challenges of insufficient magnetic field strength and range limitations in conventional systems, ensuring precise angle measurement.
Patent Information
- Application Number
- JP2023044598
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional angle detection devices using magnetoresistive elements face challenges in accurately determining the timing for angle calculation and selecting the appropriate sensor when the magnetic field strength is insufficient, leading to unclear output relationships and difficulty in detecting angles beyond the detection range.
The proposed angle detection device incorporates a configuration with first and second bridge circuits of magnetoresistive elements, a sensor output measurement unit, and an angle calculation unit that determines the timing for accurate angle calculation by evaluating the output voltages of these circuits against predetermined geometrical relationships and conditions, ensuring precise angle detection even when magnetic field strength varies.
This approach enables accurate angle detection by determining whether the timing is suitable for calculation and selecting the appropriate sensor, ensuring reliable angle measurement even when the magnetic field is outside the detectable range, thereby improving the precision and reliability of angle sensing.
Smart Images

Figure 2024134342000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an angle detection device using a magnetoresistive element and a positioner using the angle detection device. [Background technology]
[0002] Conventionally, as an angle sensor, a sensor that measures the rotation angle of a magnetic field generated by a magnet attached to a rotating body has been known. For angle measurement, a sensor circuit using a magneto-resistance effect (MR) element or the like is used (see Patent Documents 1 to 4).
[0003] Fig. 33 is a block diagram showing the configuration of a conventional MR sensor. The MR sensor 10 is composed of two bridge circuits 100 and 101 composed of MR elements whose electrical resistance changes with vector changes in a magnetic field. The bridge circuit 100 is a parallel connection of a series circuit 103 in which MR elements R1 and R2 are connected in series, and a series circuit 104 in which MR elements R3 and R4 are connected in series. Similarly, the bridge circuit 101 is a parallel connection of a series circuit 105 in which MR elements R5 and R6 are connected in series, and a series circuit 106 in which MR elements R7 and R8 are connected in series.
[0004] When a magnet rotates around the bridge circuits 100, 101 together with a rotor (not shown), the direction of the magnetic field acting on the bridge circuits 100, 101 changes, changing the resistance values of the MR elements R1 to R8 of the bridge circuits 100, 101. If a magnetic field is applied to the bridge circuits 100, 101 of the MR sensor 10 at an angle α of 0° to 360° as shown in Fig. 34, then if the output voltage V1 of the bridge circuit 100 can be expressed as a cosine (cos) wave, the output voltage V2 of the bridge circuit 101 can be expressed as a sine (sin) wave.
[0005] When anisotropic magneto resistance effect (AMR) elements are used as the MR elements R1 to R8, the period of the output voltages V1 and V2 of the bridge circuits 100 and 101 is 180°, so that the following equation is obtained. V1=V m1 cos2α+V1off (1) V2=V m2 sin2α+V2off (2)
[0006] V m1 is the maximum amplitude of the output voltage V1, V m2 is the maximum amplitude of the output voltage V2, V1off is the offset of the output voltage V1, and V2off is the offset of the output voltage V2. m1 ,V m2 If these are obtained in advance, the magnetic field angle α can be calculated by measuring the output voltages V1 and V2. Furthermore, when Giant Magneto Resistance effect (GMR) elements or Tunnel Magneto Resistance effect (TMR) elements are used as the MR elements R1 to R8, the period of the output voltages V1 and V2 is 360°, so 2α in formulas (1) and (2) becomes α.
[0007] However, the formulas (1) and (2) are for a state where a sufficient magnetic field is applied for accurate angle detection. If a sufficient magnetic field is not applied, the relationship between the output voltages V1 and V2 of the bridge circuits 100 and 101 becomes unclear (it does not necessarily become a sine wave or cosine wave relationship). For example, when the MR sensor 10 and the magnet 130 are in a positional relationship as shown in FIG. 35, the MR sensor 10 is in a state where a sufficient magnetic field is applied, and it is possible to detect the magnetic field angle α. On the other hand, when the MR sensor 10 and the magnet 130 are in a positional relationship as shown in FIG. 36, the strength of the magnetic field applied to the MR sensor 10 becomes insufficient, and it is impossible to detect the angle α. In FIG. 35 and FIG. 36, the inside of the solid line 131 indicates the angle detectable range of the MR sensor 10.
[0008] Fig. 37 is a diagram showing the relationship between the magnetic field angle α and the output voltages V1, V2 of the bridge circuits 100, 101 when AMR elements are used as the MR elements R1 to R8. 500 in Fig. 37 indicates the range in which a magnetic field of sufficient strength for angle detection is applied to the MR sensor, and 501 indicates the range in which the magnetic field strength is insufficient.
[0009] As described above, in conventional technology, when detecting magnet movement that exceeds the detection range of the MR sensor, the relationship between the output voltages V1 and V2 becomes unclear when it is outside the detection range, which poses the problem of not knowing when to start sensing in order to accurately detect the angle. Also, when there are multiple MR sensors, there is the problem of not knowing which sensor to select in order to accurately detect the angle. [Prior art documents] [Patent documents]
[0010] [Patent Document 1] U.S. Pat. No. 1,057,1305 [Patent Document 2] European Patent No. 2672285 [Patent Document 3] Patent Publication No. 2021-148447 [Patent Document 4] US Patent Application Publication No. 2020 / 0191546 Summary of the Invention [Problem to be solved by the invention]
[0011] The present invention has been made to solve the above-mentioned problems, and has an object to provide an angle detection device and a positioner that can detect the angle of a magnetic field by determining whether the timing is such that an accurate angle can be calculated. Another object of the present invention is to provide an angle detection device and a positioner that, when there are multiple MR sensors, can detect the angle of a magnetic field by determining which sensor should be selected to accurately calculate the angle. [Means for solving the problem]
[0012] The angle detection device of the present invention includes an MR sensor including a first bridge circuit including first to fourth magnetoresistance effect elements and a second bridge circuit including fifth to eighth magnetoresistance effect elements arranged so that the phase of the output voltage is different from that of the first bridge circuit; a sensor output measurement unit configured to measure the output voltages of the first and second bridge circuits, respectively; an angle calculation unit configured to calculate the angle of a magnetic field applied to the MR sensor from an external magnetic field generation unit based on the output voltages of the first and second bridge circuits measured by the sensor output measurement unit; and a first judgment unit configured to judge whether the timing is such that an accurate angle can be calculated by the MR sensor by judging whether the output voltages of the first and second bridge circuits satisfy a predetermined geometric relationship, and the angle calculation unit is characterized in that it judges whether the calculated value should be adopted as an accurate value of the angle of the magnetic field based on the result obtained from the first judgment unit.
[0013] Moreover, one configuration example of the angle detection device of the present invention includes a plurality of the MR sensors, the sensor output measuring unit measures the output voltage of the first and second bridge circuits for each of the plurality of MR sensors, the angle calculation unit calculates the angle of the magnetic field applied from the magnetic field generating unit for each of the plurality of MR sensors, the first determination unit determines for each MR sensor whether it is a timing when accurate angle calculation is possible by determining whether the output voltages of the first and second bridge circuits satisfy a predetermined geometric relationship, and the angle calculation unit determines whether to adopt the value calculated for each of the plurality of MR sensors as an accurate value of the magnetic field angle based on the result obtained from the first determination unit.
[0014] In addition, one configuration example of the angle detection device of the present invention further includes a second judgment unit configured to judge whether the timing is such that an accurate angle can be calculated by the MR sensor by determining whether the average rate of change of the output voltage of the first and second bridge circuits during the angle change of the magnetic field satisfies a predetermined condition, and the angle calculation unit is characterized in that it judges whether to adopt the calculated value as the accurate value of the angle of the magnetic field based on the result obtained from the second judgment unit in addition to the result obtained from the first judgment unit.
[0015] Moreover, one configuration example of the angle detection device of the present invention includes a plurality of the MR sensors, the sensor output measurement unit measures the output voltages of the first and second bridge circuits for each of the plurality of MR sensors, the angle calculation unit calculates the angle of the magnetic field applied from the magnetic field generation unit for each of the plurality of MR sensors, the first determination unit determines for each MR sensor whether the output voltages of the first and second bridge circuits satisfy a predetermined geometric relationship, thereby determining whether it is a timing when accurate angle calculation is possible, the second determination unit determines for each MR sensor whether the average rate of change of the output voltages of the first and second bridge circuits in the angle change of the magnetic field satisfies a predetermined condition, thereby determining whether it is a timing when accurate angle calculation is possible, and the angle calculation unit determines whether to adopt the value calculated for each of the plurality of MR sensors as an accurate value of the angle of the magnetic field based on the results obtained from the first and second determination units.
[0016] In one configuration example of the angle detection device of the present invention, the first determination unit sets the output voltage of the first bridge circuit as V1, the output voltage of the second bridge circuit as V2, a known offset of the output voltage V1 as V1off, a known offset of the output voltage V2 as V2off, a known amplitude of the output voltage V1 as V m1 , the known amplitude of the output voltage V2 is V m2 and the first axis is -V m1 From V m1, a second axis perpendicular to the first axis is −V m2 From V m2 In a two-dimensional ellipse, the distance from the first focus of the ellipse to the point (V1-V1off, V2-V2off) is C, and the distance from the second focus of the ellipse to the point (V1-V1off, V2-V2off) is D. m1 >V m2 In the case of C+D=2×V m1 holds, or V m1 <V m2 In the case of C+D=2×V m2 When the above expression is satisfied, it is determined that this is the timing at which accurate angle calculation is possible using the MR sensor.
[0017] In one configuration example of the angle detection device of the present invention, the first to eighth magnetoresistance effect elements are AMR elements, and the second determination unit determines an output voltage of the first bridge circuit as V1, an output voltage of the second bridge circuit as V2, and a known amplitude of the output voltage V1 as V m1 , the known amplitude of the output voltage V2 is V m2 When the angle calculation unit calculates the magnetic field angle α based on the output voltages V1 and V2, B and the magnetic field angle α calculated by the angle calculation unit based on the output voltages V1 and V2 at the previous time. A Therefore, the changes ΔV1 and ΔV2 in the output voltages V1 and V2 are expressed as ΔV1=V m1 cos2α B -V m1 cos2α A , ΔV2=V m2 sin2α B -V m2 sin2α A The calculated ΔV1, ΔV2 and the amplitude V m1 ,V m2 and the angle α B and α A and the difference Δα, [{(1 / V m1 )×(ΔV1 / Δα)} 2 +{(1 / V m2 ) × (ΔV2 / Δα)} 2When the relation ] / 4≈1 holds, it is determined that this is the timing at which accurate angle calculation is possible using the MR sensor.
[0018] In one configuration example of the angle detection device of the present invention, the first to eighth magnetoresistance effect elements are GMR elements or TMR elements, and the second determination unit determines an output voltage of the first bridge circuit as V1, an output voltage of the second bridge circuit as V2, and a known amplitude of the output voltage V1 as V m1 , the known amplitude of the output voltage V2 is V m2 When the angle calculation unit calculates the magnetic field angle α based on the output voltages V1 and V2, B and the magnetic field angle α calculated by the angle calculation unit based on the output voltages V1 and V2 at the previous time. A Therefore, the changes ΔV1 and ΔV2 in the output voltages V1 and V2 are expressed as ΔV1=V m1 cosα B -V m1 cosα A , ΔV2=V m2 sin α B -V m2 sin α A The calculated ΔV1, ΔV2 and the amplitude V m1 ,V m2 and the angle α B and α A and the difference Δα, [{(1 / V m1 )×(ΔV1 / Δα)} 2 +{(1 / V m2 ) × (ΔV2 / Δα)} 2 When the relation: ]≈1 holds, it is determined that this is the timing at which accurate angle calculation is possible using the MR sensor.
[0019] In one configuration example of the angle detection device of the present invention, the first to eighth magnetoresistance effect elements are AMR elements, and the angle calculation unit calculates an output voltage of the first bridge circuit as V1, an output voltage of the second bridge circuit as V2, and a known amplitude of the output voltage V1 as V m1 , the known amplitude of the output voltage V2 is V m2Then, the angle α of the magnetic field is α=(1 / 2)tan -1 [{V m1 (V2-V2off)} / {V m2 (V1-V1off)}. In one configuration example of the angle detection device of the present invention, the first to eighth magnetoresistance effect elements are GMR elements or TMR elements, and the angle calculation unit calculates an output voltage of the first bridge circuit as V1, an output voltage of the second bridge circuit as V2, and a known amplitude of the output voltage V1 as V m1 , the known amplitude of the output voltage V2 is V m2 Then, the angle α of the magnetic field is expressed as α=tan -1 [{V m1 (V2-V2off)} / {V m2 (V1-V1off)}. Moreover, a positioner of the present invention includes the angle detection device, an actual opening value generating unit configured to obtain an actual opening value of the valve based on the angle of the magnetic field adopted as an accurate value by the angle calculation unit during valve control operation, and a control signal generating unit configured to generate a control signal for controlling the opening of the valve based on the valve opening set value and the actual opening value during valve control operation, and the MR sensor is characterized in being positioned to detect the angle of the magnetic field applied from the magnetic field generating unit that moves due to opening and closing of the valve. Effect of the Invention
[0020] According to the present invention, by providing the first determination unit, it is possible to detect the angle of the magnetic field by determining whether it is a timing when the angle can be calculated accurately. Also, in the present invention, when there are multiple MR sensors, it is possible to detect the angle of the magnetic field by determining which sensor should be selected to calculate the angle accurately.
[0021] Furthermore, in the present invention, by providing a second determination unit, it is possible to deal with a situation in which it is desired to detect the angle of the magnetic field only when the magnetic field generating unit is stopped within the angle detectable range of the MR sensor. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 is a block diagram showing the configuration of an angle detection device according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing a configuration of a data processing control unit according to the first embodiment of the present invention. [Diagram 3] FIG. 3 is a diagram for explaining the direction of the magnetic field that minimizes the resistance value when an AMR element is used as the MR element. [Figure 4] FIG. 4 is a diagram for explaining the magnetization direction of the pinned layer when a GMR element or a TMR element is used as the MR element. [Diagram 5] FIG. 5 is a diagram showing an example of the relationship between the angle of the magnetic field and the output voltage of the bridge circuit of the MR sensor when an AMR element is used as the MR element. [Figure 6] FIG. 6 is a diagram showing an example of the relationship between the angle of the magnetic field and the output voltage of the bridge circuit of the MR sensor when a GMR element or a TMR element is used as the MR element. [Figure 7] FIG. 7 is a flowchart illustrating the operation of the angle detection device according to the first embodiment of the present invention. [Figure 8] FIG. 8 is a diagram for explaining the geometric relationship of the output voltage of the bridge circuit of the MR sensor. [Figure 9] FIG. 9 is a diagram for explaining the geometric relationship of the output voltage of the bridge circuit of the MR sensor. [Figure 10] FIG. 10 is a diagram illustrating the average rate of change of the output voltage of the bridge circuit of the MR sensor. [Figure 11] FIG. 11 is a diagram showing the determination results of the angle calculation unit for different positional relationships between the MR sensor and the magnetic field generation unit. [Figure 12] FIG. 12 is a diagram showing an example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 13] FIG. 13 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 14] FIG. 14 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 15] FIG. 15 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 16] FIG. 16 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 17] FIG. 17 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 18] FIG. 18 is a diagram showing another example of the positional relationship between the MR sensor and the magnetic field generating unit. [Figure 19] FIG. 19 is a block diagram showing the configuration of a positioner according to the second embodiment of the present invention. [Figure 20] FIG. 20 is a block diagram showing a configuration of a data processing control unit according to the second embodiment of the present invention. [Figure 21] FIG. 21 is a diagram showing an example of a valve. [Figure 22] FIG. 22 is a diagram showing the relationship between the MR sensor according to the second embodiment of the present invention and a magnetic field generating unit. [Figure 23] FIG. 23 is a flowchart illustrating the operation of the positioner according to the second embodiment of the present invention. [Figure 24] FIG. 24 is a block diagram showing the configuration of an angle detection device according to the third embodiment of the present invention. [Diagram 25] FIG. 25 is a diagram showing the relationship between the MR sensor according to the third embodiment of the present invention and a magnetic field generating unit. [Figure 26] FIG. 26 is a block diagram showing a configuration of a data processing control unit according to the third embodiment of the present invention. In FIG. [Figure 27] FIG. 27 is a flowchart illustrating the operation of the angle detection device according to the third embodiment of the present invention. [Figure 28] FIG. 28 is a block diagram showing the configuration of a positioner according to the fourth embodiment of the present invention. [Figure 29] FIG. 29 is a block diagram showing a configuration of a data processing control unit according to the fourth embodiment of the present invention. In FIG. [Diagram 30] FIG. 30 is a diagram showing the relationship between the MR sensor according to the fourth embodiment of the present invention and a magnetic field generating unit. [Diagram 31] FIG. 31 is a flowchart illustrating the operation of the positioner according to the fourth embodiment of the present invention. [Diagram 32] FIG. 32 is a block diagram showing an example of the configuration of a computer that realizes the angle detection device or the positioner according to the first to fourth embodiments of the present invention. [Diagram 33] FIG. 33 is a block diagram showing the configuration of a conventional MR sensor. [Diagram 34] FIG. 34 is a diagram for explaining the angle of the magnetic field applied to the MR sensor. [Diagram 35] FIG. 35 is a diagram showing a case where the MR sensor can detect the angle of the magnetic field. [Diagram 36] FIG. 36 is a diagram showing a case where the MR sensor cannot detect the angle of the magnetic field. [Figure 37] FIG. 37 is a diagram showing the relationship between the angle of the magnetic field and the output voltage of the bridge circuit of the MR sensor when an AMR element is used as the MR element. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] [First Example] Hereinafter, embodiments of the present invention will be described with reference to the drawings. Fig. 1 is a block diagram showing the configuration of an angle detection device according to a first embodiment of the present invention. The angle detection device 1 includes an MR sensor 10, which is an angle sensor, and a data processing control unit 11.
[0024] The MR sensor detects the position of the magnetic field generating unit 12 based on the angle of the applied magnetic field. The data processing control unit 11 calculates the angle of the magnetic field based on the output signal of the MR sensor . 2 is a block diagram showing the configuration of the data processing control unit 11 of this embodiment. The data processing control unit 11 includes a power supply 110, sensor output measurement units 111 and 112, a storage unit 113, an offset calculation unit 114, an offset storage unit 115, determination units 116 and 117, an angle calculation unit 118, and a control signal generation unit 119.
[0025] The configuration of the MR sensor 10 is as shown in Fig. 33. When the power supply 110 of the data processing control unit 11 is turned on, a constant voltage V is applied between P and GND of the bridge circuit 100 in Fig. 33 and between Q and GND of the bridge circuit 101, and a current I flows. The midpoint potential difference V1 of bridge circuit 100 (the potential difference between the midpoint of series circuit 103 and the midpoint of series circuit 104) is defined as the output voltage of bridge circuit 100, and the midpoint potential difference V2 of bridge circuit 101 (the potential difference between the midpoint of series circuit 105 and the midpoint of series circuit 106) is defined as the output voltage of bridge circuit 101.
[0026] When AMR elements are used as the MR elements R1 to R8, as shown by the arrows in FIG. 3, the magnetic field direction at which the resistance values of the MR elements R1 and R4 in the bridge circuit 100 become minimum is the same, and the magnetic field direction at which the resistance values of the MR elements R2 and R3 become minimum is the same. The magnetic field directions at which the resistance values of adjacent MR elements in the bridge circuit 100 become minimum are orthogonal to each other. Similarly, the magnetic field direction at which the resistance values of the MR elements R5 and R8 in the bridge circuit 101 become minimum is the same, and the magnetic field direction at which the resistance values of the MR elements R6 and R7 become minimum is the same. The magnetic field directions at which the resistance values of adjacent MR elements in the bridge circuit 101 become minimum are orthogonal to each other. The bridge circuits 100 and 101 are arranged so that the magnetic field directions at which the resistance values become minimum are shifted by 45°.
[0027] When GMR elements or TMR elements are used as the MR elements R1 to R8, as shown by the arrows in FIG. 4, the magnetization directions of the pin layers of the MR elements R1 and R4 in the bridge circuit 100 are the same, and the magnetization directions of the pin layers of the MR elements R2 and R3 are the same. The magnetization directions of the pin layers of adjacent MR elements in the bridge circuit 100 are opposite to each other. Similarly, the magnetization directions of the pin layers of the MR elements R5 and R8 in the bridge circuit 101 are the same, and the magnetization directions of the pin layers of the MR elements R6 and R7 are the same. The magnetization directions of the pin layers of adjacent MR elements in the bridge circuit 101 are opposite to each other. The bridge circuits 100 and 101 are arranged so that the magnetization directions of the pin layers are perpendicular to each other.
[0028] The magnetic field generating unit 12 (magnet) generates a magnetic field that acts on the bridge circuits 100 and 101. The magnetic field generating unit 12 moves along a trajectory on a plane perpendicular to a sensor surface (a surface parallel to the paper surfaces of FIGS. 3 and 4) on which the thin film resistor patterns of the MR elements R1 to R8 are formed.
[0029] As shown in FIG. 34, when a magnetic field is applied to the bridge circuits 100, 101 of the MR sensor 10 at an angle α of 0° to 360°, if the output voltage V1 of the bridge circuit 100 can be represented as a cosine wave, the output voltage V2 of the bridge circuit 101 can be represented as a sine wave.
[0030] When AMR elements are used as the MR elements R1 to R8, the period of the output voltages V1 and V2 is 180°, and when GMR elements or TMR elements are used as the MR elements R1 to R8, the period of the output voltages V1 and V2 is 360°. Therefore, when AMR elements are used as the MR elements R1 to R8, the relationship between the magnetic field angle α and the output voltages V1 and V2 is as shown in FIG. 5. Also, when GMR elements or TMR elements are used as the MR elements R1 to R8, the relationship between the magnetic field angle α and the output voltages V1 and V2 is as shown in FIG. 6. However, FIG. 5 and FIG. 6 show the case where a magnetic field strong enough for angle detection is applied to the MR sensor 10.
[0031] As described above, the output voltages V1 and V2 of the bridge circuits 100 and 101 can be expressed as a cosine wave and a sine wave, respectively, but generally, both have an offset. The offset of the output voltage V1 of the bridge circuit 100 is V1off, and the offset of the output voltage V2 of the bridge circuit 101 is V2off. m1 is the maximum amplitude of the output voltage V1, V m2 is the maximum amplitude of the output voltage V2. When a magnetic field strong enough for angle detection is applied to the MR sensor 10, the output voltages V1 and V2 of the bridge circuits 100 and 101 can be expressed as equations (1) and (2) when AMR elements are used as the MR elements R1 to R8.
[0032] 7 is a flowchart for explaining the operation of the angle detection device 1 of this embodiment. When the angle detection device 1 is shipped from the factory, the offset calculation unit 114 calculates the amplitude V m1 ,V m2 and offsets V1off, V2off are calculated (FIG. 7, step S100).
[0033] Specifically, for example, a worker in a factory moves the magnetic field generating unit 12 (magnet) to change the direction of the magnetic field acting on the bridge circuits 100, 101 of the MR sensor 10. At this time, the position of the magnetic field generating unit 12 needs to be within a range where a magnetic field of sufficient strength for angle detection is applied to the MR sensor 10.
[0034] The sensor output measuring unit 111 of the data processing control unit 11 measures the output voltage V1 of the bridge circuit 100 of the MR sensor 10, and the sensor output measuring unit 112 measures the output voltage V2 of the bridge circuit 101. The values of the output voltages V1 and V2 measured by the sensor output measuring units 111 and 112 are stored in the memory unit 113.
[0035] For example, when an instruction to execute the calculation process is given by a factory worker, the offset calculation unit 114 of the data processing control unit 11 detects the maximum and minimum values of the output voltage V1 of the bridge circuit 100, and calculates the amplitude V by dividing the difference between the maximum and minimum values by 2. m1Similarly, the offset calculation unit 114 detects the maximum and minimum values of the output voltage V2 of the bridge circuit 101, and divides the difference between the maximum and minimum values by 2 to calculate the amplitude V m2 The offset calculation unit 114 calculates the amplitude V m1 ,V m2 The offsets V1off and V2off are stored in the offset storage unit 115.
[0036] Next, after the angle detection device 1 is installed at a site such as a chemical plant, when, for example, an operator at the site issues a setup execution instruction, the offset calculation unit 114 calculates the amplitude V m1 ,V m2 The process of step S101 can be performed in the same manner as step S100. m1 ,V m2 The value of the amplitude V is updated by the process of step S101. m1 ,V m2 The reason for recalculating the value of is that the amplitude V m1 ,V m2 This is because changes.
[0037] Next, during plant operation after the execution of the setup, the sensor output measuring unit 111 measures the output voltage V1 of the bridge circuit 100 of the MR sensor 10, and the sensor output measuring unit 112 measures the output voltage V2 of the bridge circuit 101 (Step S102 in FIG. 7).
[0038] The determination unit 116 of the data processing control unit 11 determines whether the output voltages V1 and V2 measured in step S102 satisfy a predetermined geometric relationship, thereby determining whether the timing allows accurate angle calculation (step S103 in FIG. 7).
[0039] Specifically, the judgment unit 116 first subtracts the offset V1off of the output voltage V1 stored in the offset storage unit 115 from the output voltage V1 measured in step S102. The value obtained by subtracting the offset V1off is set to V1' (=V1-V1off). Similarly, the judgment unit 116 subtracts the offset V2off of the output voltage V2 stored in the offset storage unit 115 from the output voltage V2 measured in step S102. The value obtained by subtracting the offset V2off is set to V2' (=V2-V2off).
[0040] If we plot the voltages V1' and V2' on the xy plane with V1'=V1-V1off on the x-axis (horizontal axis) and V2'=V2-V2off on the y-axis (vertical axis), we get V m1 >V m2 In this case, the voltages V1' and V2' are points on an ellipse 200 as shown in FIG. 8. A and B are the foci of the ellipse. The distance from the foci A to the points (V1', V2') is C, and the distance from the foci B to the points (V1', V2') is D. The determination unit 116 determines whether V m1 >V m2 In this case, when the following formula (3) is established, it is determined that the voltages V1', V2' satisfy a predetermined geometric relationship and that this is the timing at which an accurate angle can be calculated. C+D=2×V m1 (3)
[0041] The determination unit 116 determines whether V m1 >V m2 In this case, if the formula (3) does not hold, it is determined that the timing is such that accurate angle calculation is not possible. On the other hand, V m1 <V m2 In this case, when the voltages V1' and V2' are plotted on the xy plane, the voltages V1' and V2' become points on an ellipse 201 as shown in FIG. 9. As in the above, the distance from the focal point A to the point (V1', V2') is C, and the distance from the focal point B to the point (V1', V2') is D. The determination unit 116 determines whether V m1 <V m2 In this case, when the following formula (4) is established, it is determined that the voltages V1', V2' satisfy a predetermined geometric relationship and that this is the timing at which an accurate angle can be calculated. C+D=2×V m2 (4)
[0042] The determination unit 116 determines whether V m1 <V m2 In the case where the formula (4) does not hold, it is determined that the timing is such that accurate angle calculation is not possible. m1 ,V m2 The value is stored in the offset storage unit 115.
[0043] Meanwhile, the determination unit 117 of the data processing control unit 11 determines whether the average rate of change of the output voltages V1, V2 measured in step S102 satisfies a predetermined condition, thereby determining whether it is the timing at which an accurate angle can be calculated.
[0044] As described above, the output voltages V1 and V2 of the bridge circuits 100 and 101 can be expressed as in the formulas (1) and (2). From the formulas (1) and (2), the formulas (5) and (6) can be obtained. V1-V1off=V m1 cos2α (5) V2-V2off=V m2 sin2α (6)
[0045] Furthermore, equation (7) is obtained from equations (5) and (6). (V2-V2off) / (V1-V1off)=(V m2 / V m1 ) tan2α (7)
[0046] From equation (7), the calculation formula for the magnetic field angle α is given by equation (8). α = (1 / 2)tan -1 [{V m1 (V2-V2off)} / {V m2 (V1-V1off)}] ···(8)
[0047] Note that equations (1), (2), and (5) to (7) are equations when an AMR element is used. When a GMR element or a TMR element is used, 2α in equations (1), (2), and (5) to (7) should be changed to α. Therefore, when GMR elements or TMR elements are used as the MR elements R1 to R8, the formula (9) should be used instead of the formula (8). α=tan -1 [{V m1 (V2-V2off)} / {V m2 (V1-V1off)}] ···(9)
[0048] When two full bridge circuits 100, 101 are used as in this embodiment, the angle α is calculated using tan as in equations (8) and (9). When an AMR element is used, the phase of the sine wave and the cosine wave is shifted by 45° by using tan. When a GMR element or a TMR element is used, the phase of the sine wave and the cosine wave is shifted by 90° by using tan.
[0049] As shown in FIG. 10, when the magnetic field generating unit 12 is moving, the latest time t B The angle of the magnetic field at B , the previous time t A The angle of the magnetic field at A At time t A From time t B The change ΔV1 in voltage V1 and the change ΔV2 in voltage V2 are expressed by equations (10) and (11). ΔV1=V m1 cos2α B -V m1 cos2α A (10) ΔV2=V m2 sin2α B -V m2 sin2α A (11)
[0050] Therefore, the average change rates of the output voltages V1 and V2 with respect to the change in angle are expressed by equations (12) and (13). ΔV1 / Δα=(V m1cos2α B -V m1 cos2α A ) / (α B -α A ) (12) ΔV2 / Δα=(V m2 sin2α B -V m2 sin2α A ) / (α B -α A ) (13)
[0051] α B -α A As approaches 0, the average rate of change becomes equivalent to the derivative, as shown in equations (14) and (15).
[0052]
number
[0053] Equation (16) is obtained from equations (14) and (15). {(-2V m1 sin2α A / V m1 ) 2 +(2V m2 cos2α A / V m2 ) 2} / 4=1 ···(16)
[0054] Note that equations (1), (2), and (10) to (16) are equations when an AMR element is used. When a GMR element or a TMR element is used, 2α in equations (1), (2), and (10) to (16) should be changed to α.
[0055] Angle α B and α A When the difference Δα is small (time t B and A When the difference between them is small, equation (17) can be obtained from equation (16). [{(1 / V m1 )×(ΔV1 / Δα)} 2+{(1 / V m2 ) × (ΔV2 / Δα)} 2 ] / 4≒1 ···(17)
[0056] Equation (17) is for the case where an AMR element is used. When a GMR element or a TMR element is used, the angle α B and α A When the difference Δα is small, equation (18) is obtained. [{(1 / V m1 )×(ΔV1 / Δα)} 2 +{(1 / V m2 ) × (ΔV2 / Δα)} 2 ]≒1 ···(18)
[0057] The angle calculation unit 118 calculates the angle at the previous time t A The output voltages V1 and V2 at the output terminals 111 and 112 are stored in the offset memory 115. The offsets V1off and V2off and the amplitude V m1 ,V m2 Based on the magnetic field angle α A Specifically, when AMR elements are used as the MR elements R1 to R8, the angle calculation unit 118 calculates the angle α A Furthermore, when GMR elements or TMR elements are used as the MR elements R1 to R8, the angle calculation unit 118 calculates the angle α A Similarly, the angle calculation unit 118 calculates the latest time t B The output voltages V1 and V2, the offsets V1off and V2off, and the amplitude V m1 ,V m2 Based on this, the magnetic field angle α is calculated using equation (8) or (9). B is calculated (step S104).
[0058] Note that the previous time t A Angle α at A is the angle α from the previous angle calculation B Therefore, the previously calculated angle α B , angle α A It is also possible to use the following.
[0059] When AMR elements are used as the MR elements R1 to R8, the determination unit 117 determines whether the average rate of change of the output voltages V1 and V2 during the angle change satisfies the condition of equation (17) to determine whether it is a timing when accurate angle calculation is possible (step S105 in FIG. 7). Also, when GMR elements or TMR elements are used as the MR elements R1 to R8, the determination unit 117 determines whether the average rate of change of the output voltages V1 and V2 during the angle change satisfies the condition of equation (18) to determine whether it is a timing when accurate angle calculation is possible (step S105).
[0060] When AMR elements are used as the MR elements R1 to R8, the determination unit 117 determines the magnetic field angle α A ,α B and the amplitude V stored in the offset storage unit 115 m1 ,V m2 Based on the above, the determination unit 117 calculates the changes ΔV1 and ΔV2 in the voltages V1 and V2 using the formulas (10) and (11). m1 ,V m2 When equation (17) is satisfied for Δα and the known value, the average rate of change of the output voltages V1 and V2 in the angle change satisfies a predetermined condition, and it is determined that this is a timing at which accurate angle calculation is possible. When equation (17) is not satisfied, the determination unit 117 determines that this is a timing at which accurate angle calculation is not possible. At this time, the determination unit 117 determines that equation (17) is satisfied when the left side of equation (17) is within the range of 1±β (β is a real number that defines a predetermined allowable range), and determines that equation (17) is not satisfied when it is outside the range of 1±β.
[0061] When GMR elements or TMR elements are used as the MR elements R1 to R8, the changes ΔV1 and ΔV2 in the voltages V1 and V2 may be calculated by using the formulas (10) and (11) with α substituted for 2α. The determination unit 117 compares the calculated ΔV1 and ΔV2 with the amplitude V m1 ,V m2When equation (18) is satisfied for Δα and the known value, the average rate of change of the output voltages V1 and V2 in the change in angle satisfies a predetermined condition, and it is determined that this is a timing at which accurate angle calculation is possible. When equation (18) is not satisfied, the determination unit 117 determines that this is a timing at which accurate angle calculation is not possible. At this time, the determination unit 117 determines that equation (18) is satisfied when the left side of equation (18) is within the range of 1±β, and determines that equation (18) is not satisfied when the left side is outside the range of 1±β.
[0062] The angle calculation unit 118 judges whether it is a timing at which an accurate angle can be calculated based on the results obtained from the judgment units 116 and 117 (step S106 in FIG. 7). In this embodiment, it is also possible to judge whether it is a timing at which an accurate angle can be calculated based only on the result obtained from the judgment unit 116.
[0063] The determination unit 116 can determine whether the magnetic field generating unit 12 is within or outside the angle detectable range of the MR sensor 10. The determination can be made even when the magnetic field generating unit 12 is stopped. However, when the magnetic field generating unit 12 is within the angle detectable range of the MR sensor 10, it cannot determine whether the magnetic field generating unit 12 is moving or stopped.
[0064] Similarly, the determination unit 117 can determine whether the magnetic field generating unit 12 is within or outside the angle detectable range of the MR sensor 10. The determination unit 117 can determine whether the magnetic field generating unit 12 is moving or stopped when the magnetic field generating unit 12 is within the angle detectable range of the MR sensor 10, but cannot determine whether the magnetic field generating unit 12 is within or outside the angle detectable range when the magnetic field generating unit 12 is stopped.
[0065] Although both the methods of the determination units 116 and 117 are affected by noise, the determination by the determination unit 117 is more susceptible to noise. Also, since the accuracy of the determination by the determination unit 117 may vary depending on the sampling time, the determination by the determination unit 116 is generally more stable.
[0066] In a system in which the magnetic field generating unit 12 moves linearly and the magnetic field angle α (position of the magnetic field generating unit 12) is detected only when the magnetic field generating unit 12 stops within the angle detection range of the MR sensor 10, this can be handled by using the judgments of both the judgment unit 116 and the judgment unit 117.
[0067] Fig. 11 shows the judgment results of the angle calculation unit 118 for different positional relationships between the MR sensor 10 and the magnetic field generation unit 12. In Fig. 11, "Sensing judgment" indicates the judgment result of the angle calculation unit 118, "first judgment unit" indicates the judgment result of the judgment unit 116, and "second judgment unit" indicates the judgment result of the judgment unit 117. "◯" indicates the result of timing at which accurate angle calculation is possible, and "×" indicates the result of timing at which accurate angle calculation is impossible.
[0068] "a" in Fig. 11 indicates a case where the magnetic field generating unit 12 is stopped outside the angle detectable range of the MR sensor 10 (inside the solid line 131) as shown in Fig. 12, "b" indicates a case where the magnetic field generating unit 12 is moving in a direction approaching the MR sensor 10 outside the angle detectable range of the MR sensor 10 as shown in Fig. 13. "c" in Fig. 11 indicates a case where the magnetic field generating unit 12 is moving in a direction approaching the MR sensor 10 within the angle detectable range of the MR sensor 10 as shown in Fig. 14, and "d" indicates a case where the magnetic field generating unit 12 is stopped within the angle detectable range of the MR sensor 10 as shown in Fig. 15. "e" in Figure 11 indicates a case in which the magnetic field generating unit 12 is moving in a direction away from the MR sensor 10 within the angle detectable range of the MR sensor 10 as shown in Figure 16, "f" indicates a case in which the magnetic field generating unit 12 is moving in a direction away from the MR sensor 10 outside the angle detectable range of the MR sensor 10 as shown in Figure 17, and "g" indicates a case in which the magnetic field generating unit 12 is stopped outside the angle detectable range of the MR sensor 10 as shown in Figure 18.
[0069] 11, the angle calculation unit 118 can determine whether it is a timing when accurate angle calculation is possible based only on the result obtained from the determination unit 116. When the determination unit 116 determines that the angle can be calculated, the angle calculation unit 118 determines that it is a timing when accurate angle calculation is possible (YES in step S106), and sets the angle α calculated in step S104 as the angle α. B is adopted as the accurate value of the magnetic field angle α (FIG. 7, step S107).
[0070] The control signal generating unit 119 calculates the deviation between the angle setting value provided by the higher-level device 4 and the angle α calculated by the angle calculating unit 118, and generates a control signal so that the deviation becomes zero (step S108 in FIG. 7). By supplying this control signal to a driving device of the object to which the magnetic field generating unit 12 is attached, the position of the object can be controlled. The above-mentioned processes in steps S102 to S108 are repeatedly performed until the operation of the angle detection device 1 is terminated, for example, in response to an instruction from the operator (YES in step S109 in FIG. 7).
[0071] In the above example, whether or not it is a timing at which accurate angle calculation is possible is determined only based on the result obtained from the determination unit 116, but there are cases where it is more preferable to use the determination results of both the determination units 116 and 117. Specifically, when it is desired to detect only the timing at which the magnetic field generating unit 12 is stopped within the angle detectable range of the MR sensor 10, the determination results of both the determination units 116 and 117 are used. In this case, when the determination unit 116 gives a determination result that angle calculation is possible and the determination unit 117 gives a determination result that angle calculation is impossible, the angle calculation unit 118 determines that it is a timing at which accurate angle calculation is possible (YES in step S106), and uses the angle α calculated in step S104. B can be adopted as the accurate value of the magnetic field angle α (step S107).
[0072] [Second Example] Next, a second embodiment of the present invention will be described. In the first embodiment, an example of calculating the angle α of the magnetic field applied to the MR sensor 10 was described. In this embodiment, a specific example of calculating and controlling the position of an object to which a magnetic field generating unit 12 is attached based on the angle α of the magnetic field using the angle detection device described in the first embodiment will be described.
[0073] Fig. 19 is a block diagram showing the configuration of a positioner according to this embodiment. The positioner 1a calculates the deviation between a set value of the valve opening of the valve 3 provided from a higher-level device 4 and an actual measured value of the valve opening of the valve 3, generates a pneumatic operation signal according to the deviation, and provides the signal to the actuator 2 to control the opening of the valve 3. The positioner 1a includes an MR sensor 10, a data processing control unit 11a, an electro-pneumatic conversion unit 13, and a pneumatic amplification unit 14.
[0074] The MR sensor 10 detects the opening of the valve 3 by the displacement of the feedback lever of the positioner 1a. The data processing control unit 11a generates a control signal for controlling the opening of the valve 3 based on the output signal of the MR sensor 10. Specifically, the data processing control unit 11a calculates an actual measurement value of the opening of the valve 3 based on the output signal of the MR sensor 10, calculates the deviation between the set value of the opening of the valve 3 provided by the higher-level device 4 and the actual measurement value of the opening, and generates a control signal so that the deviation becomes zero.
[0075] The electro-pneumatic converting unit 13 converts the control signal generated by the data processing control unit 11a into an air pressure signal and outputs it. Specifically, the electro-pneumatic converting unit 13 converts the supply pressure of air supplied from, for example, a pressure reducing valve (not shown) into a pressure corresponding to the control signal and outputs it as an air pressure signal.
[0076] The pneumatic pressure amplifier 14 amplifies the pressure of the pneumatic signal output from the electro-pneumatic converter 13 and outputs it to the actuator 2. Specifically, the pneumatic pressure amplifier 14 adjusts the supply pressure of the air supplied from, for example, a pressure reducing valve in accordance with the pressure of the pneumatic signal output from the electro-pneumatic converter 13, and outputs it as a pneumatic operation signal.
[0077] 20 is a block diagram showing the configuration of the data processing control unit 11a of this embodiment. The data processing control unit 11a includes a power source 110, sensor output measuring units 111 and 112, a memory unit 113, an offset calculation unit 114a, an offset memory unit 115, judgment units 116 and 117, an angle calculation unit 118, an opening actual measurement value generation unit 120, and a control signal generation unit 121.
[0078] The actuator 2 shown in FIG. 21 adjusts the opening degree of the valve body 30 by moving a valve stem 31 up and down in response to the output air pressure supplied from the positioner 1a. The MR sensor 10 detects the rotation angle on a vertical plane (a plane parallel to the paper surface of FIG. 21) of the feedback lever 32, which rotates in response to the up and down movement of the valve stem 31. That is, when the magnetic field generating unit 12 is attached to the feedback lever 32 as shown in FIG. 22, the magnetic field generating unit 12 moves on a vertical plane (a plane perpendicular to the paper surface in FIG. 22) in response to the rotation of the feedback lever 32. Therefore, the MR sensor 10 can be installed so that the sensor surface (paper surface in FIG. 22) is perpendicular to the trajectory of the magnetic field generating unit 12. As the magnetic field generating unit 12 moves in response to the up and down movement of the valve stem 31, a magnetic field in a direction corresponding to the opening degree of the valve 3 is applied to the bridge circuits 100, 101 of the MR sensor 10.
[0079] 23 is a flowchart for explaining the operation of the positioner 1a of this embodiment. At the time of shipping the positioner 1a from the factory, the offset calculation unit 114a calculates the amplitude V of the output voltages V1 and V2 of the bridge circuits 100 and 101 of the MR sensor 10 in the same manner as the offset calculation unit 114 of the first embodiment. m1 ,V m2 and offsets V1off, V2off are calculated (FIG. 23, step S200).
[0080] Specifically, for example, when a factory worker moves the feedback lever 32 of the positioner 1a, the magnetic field generating unit 12 attached to the feedback lever 32 moves, and the direction of the magnetic field acting on the bridge circuits 100, 101 of the MR sensor 10 can be changed. The offset calculation unit 114a reads out all pairs of output voltages (V1, V2) measured by the sensor output measuring units 111, 112 and stored in the memory unit 113, and calculates the amplitude V m1 ,V m2 The offset calculation unit 114a calculates the amplitude V m1 ,V m2 The offsets V1off and V2off are stored in the offset storage unit 115.
[0081] Next, after the positioner 1a is attached to the valve 3 at the site of a chemical plant or the like, when, for example, an operator at the site issues a command to execute setup, the offset calculation unit 114a calculates the amplitude V m1 ,V m2 is recalculated (FIG. 23, step S201).
[0082] Here, the offset calculation unit 114a outputs a control signal corresponding to the magnetic field angle α (i.e., the valve opening) within a predetermined range to the electro-pneumatic converting unit 13. The opening of the valve 3 is set to an opening corresponding to the control signal by the operations of the electro-pneumatic converting unit 13, the pneumatic amplifier 14, and the actuator 2 described above. As described above, the values of the output voltages V1, V2 of the bridge circuits 100, 101 of the MR sensor 10 are measured by the sensor output measuring units 111, 112 and stored in the memory unit 113.
[0083] The offset calculation unit 114a measures the output voltages V1 and V2 while changing the control signal output to the electro-pneumatic conversion unit 13. After the output voltages V1 and V2 are measured for the angle α in a predetermined range, the offset calculation unit 114a reads out all pairs of output voltages (V1, V2) stored in the storage unit 113 and calculates the amplitude V m1 ,V m2The angle α set here must be within the angle detectable range of the MR sensor 10. m1 ,V m2 The value of is updated by the process in step S201.
[0084] Next, the processing of steps S202 to S207 during plant operation is the same as steps S102 to S107 in the first embodiment. Next, the opening actual measurement value generating unit 120 calculates the current opening actual value PV of the valve 3 based on the angle α calculated by the angle calculating unit 118 (FIG. 23, step S208). The opening actual value PV can be calculated based on a known relationship between the angle α and the opening actual value PV.
[0085] The control signal generating unit 121 calculates the deviation between the opening set value SP of the valve 3 given from the higher-level device 4 and the opening measured value PV, generates a control signal so as to make the deviation zero, and outputs the control signal to the electro-pneumatic converting unit 13 (FIG. 23, step S209). In this way, the opening of the valve 3 can be controlled. The above-mentioned processes in steps S202 to S209 are repeatedly performed, for example, until the operation of the plant is stopped (YES in step S210 in FIG. 23).
[0086] [Third Example] Next, a third embodiment of the present invention will be described. In this embodiment, a case where a plurality of MR sensors are provided in the first embodiment will be described. Fig. 24 is a block diagram showing the configuration of an angle detection device according to the third embodiment of the present invention. An angle detection device 1b includes a plurality of MR sensors 10-1 and 10-2 and a data processing control unit 11b.
[0087] In this embodiment, the magnetic field generating unit 12 moves on a trajectory on a plane perpendicular to the sensor surfaces (planes parallel to the paper surface of FIG. 25) of the multiple MR sensors 10-1 and 10-2 as shown in FIG. 25. In FIG. 25, the inside of a solid line 131-1 indicates the angle detectable range of the MR sensor 10-1, and the inside of a solid line 131-2 indicates the angle detectable range of the MR sensor 10-2. The adjacent MR sensors 10-1 and 10-2 are arranged so that their angle detectable ranges 131-1 and 131-2 overlap.
[0088] 26 is a block diagram showing the configuration of the data processing control unit 11b of this embodiment. The data processing control unit 11b includes a power supply 110, sensor output measurement units 111-1, 111-2, 112-1, and 112-2, a storage unit 113, an offset calculation unit 114b, an offset storage unit 115, determination units 116b and 117b, an angle calculation unit 118b, and a control signal generation unit 119.
[0089] 27 is a flowchart for explaining the operation of the angle detection device 1b of this embodiment. When the angle detection device 1b is shipped from the factory, the offset calculation unit 114b calculates the amplitude V m1 ,V m2 and offsets V1off, V2off are calculated, and the amplitudes V of the output voltages V1, V2 of the bridge circuits 100, 101 of the MR sensor 10-2 are calculated. m1 ,V m2 and offsets V1off, V2off are calculated (FIG. 27, step S300).
[0090] In the following description, the output voltages V1 and V2 of the bridge circuits 100 and 101 of the MR sensor 10-1 are designated as V11 and V21, and the amplitude V m1 ,V m2 V m1 1,V m2 1, and the offsets V1off and V2off are V1off1 and V2off1. Similarly, the output voltages V1 and V2 of the bridge circuits 100 and 101 of the MR sensor 10-1 are V12 and V22, and the amplitude V m1 ,V m2 V m1 2,Vm2 2. Set the offsets V1off and V2off to V1off2 and V2off2.
[0091] For example, a factory worker changes the direction of the magnetic field acting on the bridge circuits 100, 101 of the MR sensor 10-1 by moving the magnetic field generating unit 12. At this time, the position of the magnetic field generating unit 12 needs to be within a range where a magnetic field of sufficient strength for angle detection is applied to the MR sensor 10-1.
[0092] The sensor output measuring unit 111-1 of the data processing control unit 11b measures the output voltage V11 of the bridge circuit 100 of the MR sensor 10-1, and the sensor output measuring unit 112-1 measures the output voltage V21 of the bridge circuit 101. The values of the output voltages V11 and V21 measured by the sensor output measuring units 111-1 and 112-1 are stored in the memory unit 113.
[0093] For example, when an instruction to execute a calculation process is given by a factory worker, the offset calculation unit 114b detects the maximum and minimum values of the output voltage V11, and calculates the difference between the maximum and minimum values divided by 2 as the amplitude V m1 1, and calculates the sum of the maximum and minimum values of the output voltage V11 divided by 2 to obtain the offset V1off1. Similarly, the offset calculation unit 114b detects the maximum and minimum values of the output voltage V21, and calculates the difference between the maximum and minimum values divided by 2 to obtain the amplitude V m2 1, and the sum of the maximum and minimum values of the output voltage V21 is divided by 2 to calculate the offset V2off1.
[0094] Similarly, for the MR sensor 10-2, the direction of the magnetic field acting on the bridge circuits 100 and 101 of the MR sensor 10-2 is changed. At this time, the position of the magnetic field generating unit 12 needs to be within a range in which a magnetic field of sufficient strength for angle detection is applied to the MR sensor 10-2.
[0095] The sensor output measuring unit 111-2 measures the output voltage V12 of the bridge circuit 100 of the MR sensor 10-2, and the sensor output measuring unit 112-2 measures the output voltage V22 of the bridge circuit 101. The values of the output voltages V12 and V22 measured by the sensor output measuring units 111-2 and 112-2 are stored in the memory unit 113.
[0096] The offset calculation unit 114b calculates the amplitude V m1 2,V m2 2 and offsets V1off2, V2off2 are calculated. The amplitude V calculated by the offset calculation unit 114b m1 1,V m1 2,V m2 1,V m2 2 and the offsets V1off1, V1off2, V2off1, and V2off2 are stored in the offset storage unit 115.
[0097] Next, after the angle detection device 1b is installed at a site such as a chemical plant, when, for example, an operator at the site issues a setup execution instruction, the offset calculation unit 114b calculates the amplitude V m1 1,V m1 2,V m2 1,V m2 2 is calculated again (step S301 in FIG. 27). The process of this step S301 can be performed in the same manner as step S300. m1 1,V m1 2,V m2 1,V m2 The value of 2 is updated by the process in step S301.
[0098] Next, during plant operation after execution of setup, the sensor output measurement unit 111-1 measures the output voltage V11 of the bridge circuit 100 of the MR sensor 10-1, and the sensor output measurement unit 112-1 measures the output voltage V21 of the bridge circuit 101 of the MR sensor 10-1. The sensor output measurement unit 111-2 measures the output voltage V12 of the bridge circuit 100 of the MR sensor 10-2, and the sensor output measurement unit 112-2 measures the output voltage V22 of the bridge circuit 101 of the MR sensor 10-2 (FIG. 27, step S302).
[0099] The determination unit 116b of the data processing control unit 11b determines whether or not it is a timing when the MR sensor 10-1 can accurately calculate an angle by determining whether or not V11 and V21 measured in step S302 satisfy a predetermined geometric relationship. The determination unit 116b also determines whether or not it is a timing when the MR sensor 10-2 can accurately calculate an angle by determining whether or not V12 and V22 measured in step S302 satisfy a predetermined geometric relationship (FIG. 27, step S303).
[0100] Specifically, the determination unit 116b first subtracts the offset V1off1 stored in the offset storage unit 115 from the output voltage V11 measured in step S302. Similarly, the determination unit 116b subtracts the offset V2off1 stored in the offset storage unit 115 from the output voltage V21 measured in step S302.
[0101] If the value obtained by subtracting the offset V1off1 from the output voltage V11 is V1', and the value obtained by subtracting the offset V2off1 from the output voltage V21 is V2', then V m1 1>V m2 In the case of 1, the voltages V1' and V2' are points on an ellipse similar to that in Figure 8. In this case, the ellipse is -V m1 -V m1 1, and V m1 V m1 1, -V m2 -V m2 1, and V m2 V m2The determination unit 116b determines whether V m1 1>V m2 In case 1, the distance C from the focus A of the ellipse to the point (V1', V2'), the distance D from the focus B to the point (V1', V2'), and the amplitude V m1 =V m1 When the formula (3) is satisfied, the voltages V1' and V2' satisfy a predetermined geometrical relationship, and it is determined that this is the timing at which the MR sensor 10-1 can perform accurate angle calculation. m1 1>V m2 In the case of 1, when the formula (3) does not hold, it is determined that this is the timing at which accurate angle calculation by the MR sensor 10-1 is not possible.
[0102] In addition, if the value obtained by subtracting the offset V1off1 from the output voltage V11 is V1', and the value obtained by subtracting the offset V2off1 from the output voltage V21 is V2', then V m1 1 <V m2 In the case of 1, the voltages V1' and V2' are points on an ellipse similar to that in Figure 9. In this case, the ellipse is -V m1 -V m1 1, and V m1 V m1 1, -V m2 -V m2 1, and V m2 V m2 The determination unit 116b determines whether V m1 1 <V m2 In case 1, the distance C from the focus A of the ellipse to the point (V1', V2'), the distance D from the focus B to the point (V1', V2'), and the amplitude V m1 =V m1 When the formula (4) is satisfied, the voltages V1' and V2' satisfy a predetermined geometrical relationship, and it is determined that this is the timing at which the MR sensor 10-1 can perform accurate angle calculation. m1 1 <V m2 In the case of 1, when the formula (4) does not hold, it is determined that this is the timing at which accurate angle calculation by the MR sensor 10-1 is not possible.
[0103] Similarly, the determination unit 116b subtracts the offset V1off2 stored in the offset storage unit 115 from the output voltage V12 measured in step S302. The determination unit 116b also subtracts the offset V2off2 stored in the offset storage unit 115 from the output voltage V22 measured in step S302.
[0104] If the value obtained by subtracting the offset V1off2 from the output voltage V12 is V1', and the value obtained by subtracting the offset V2off2 from the output voltage V22 is V2', then V m1 2>V m2 In the case of 2, the voltages V1' and V2' are points on an ellipse similar to that in Figure 8. The ellipse in this case is -V m1 -V m1 2, and V m1 V m1 2, -V m2 -V m2 2, and V m2 V m2 The determination unit 116b determines whether V m1 2>V m2 In case 2, the distance C from the focus A of the ellipse to the point (V1', V2'), the distance D from the focus B to the point (V1', V2'), and the amplitude V m1 =V m1 When the formula (3) is satisfied, the voltages V1' and V2' satisfy a predetermined geometric relationship, and the determination unit 116b determines that the timing is one in which the MR sensor 10-2 can perform accurate angle calculation. m1 2>V m2 In the case of 2, if the formula (3) does not hold, it is determined that this is the timing at which accurate angle calculation by the MR sensor 10-2 is not possible.
[0105] In addition, if the value obtained by subtracting the offset V1off2 from the output voltage V12 is V1', and the value obtained by subtracting the offset V2off2 from the output voltage V22 is V2', then V m1 2 <V m2 In the case of 2, the voltages V1' and V2' are points on an ellipse similar to that in Figure 9. In this case, the ellipse is -V m1 -V m1 2, and V m1V m1 2, -V m2 -V m2 2, and V m2 V m2 The determination unit 116b determines whether V m1 2 <V m2 In case 2, the distance C from the focus A of the ellipse to the point (V1', V2'), the distance D from the focus B to the point (V1', V2'), and the amplitude V m1 =V m1 When the formula (4) is satisfied, the voltages V1' and V2' satisfy a predetermined geometrical relationship, and it is determined that this is the timing at which an accurate angle can be calculated by the MR sensor 10-2. m1 2 <V m2 In the case of 2, if the formula (4) does not hold, it is determined that this is the timing at which accurate angle calculation by the MR sensor 10-2 is not possible.
[0106] The angle calculation unit 118b calculates the angle at the previous time t A The output voltage V1=V11, V2=V21, the offset V1off=V1off1, V2off=V2off1, and the amplitude V m1 =V m1 1,V m2 =V m2 Based on the above, the magnetic field angle α A (Step S304 in FIG. 27). The angle calculation unit 118b also calculates the latest time t B The output voltage V1=V11, V2=V21, the offset V1off=V1off1, V2off=V2off1, and the amplitude V m1 =V m1 1,V m2 =V m2 Based on the above, the magnetic field angle α B is calculated (step S304).
[0107] Similarly, the angle calculation unit 118b calculates the angle at the previous time t A The output voltage V1=V12, V2=V22, the offset V1off=V1off2, V2off=V2off2, and the amplitude V m1 =V m12,V m2 =V m2 2, the magnetic field angle α for the MR sensor 10-2 is A (Step S304). Furthermore, the angle calculation unit 118b calculates the latest time t B The output voltage V1=V12, V2=V22, the offset V1off=V1off2, V2off=V2off2, and the amplitude V m1 =V m1 2,V m2 =V m2 2, the magnetic field angle α for the MR sensor 10-2 is B (Step S304). As in the first and second embodiments, when AMR elements are used as the MR elements R1 to R8, formula (8) can be used, and when GMR elements or TMR elements are used as the MR elements R1 to R8, formula (9) can be used.
[0108] When AMR elements are used as the MR elements R1 to R8, the determination unit 117b determines whether the average rate of change of the output voltages V1 and V2 in the angle change satisfies the condition of formula (17) for each of the MR sensors 10-1 and 10-2, thereby determining whether the timing is such that accurate angle calculation is possible for each of the MR sensors 10-1 and 10-2 (step S305 in FIG. 27). Also, when GMR elements or TMR elements are used as the MR elements R1 to R8, the determination unit 117 determines whether the average rate of change of the output voltages V1 and V2 in the angle change satisfies the condition of formula (18), thereby determining whether the timing is such that accurate angle calculation is possible for each of the MR sensors 10-1 and 10-2 (step S305).
[0109] When AMR elements are used as the MR elements R1 to R8 of the MR sensor 10-1, the determination unit 117b determines the magnetic field angle α A ,α B and the amplitude V stored in the offset storage unit 115 m1 =V m1 1,V m2 =V m2Based on the above, the determination unit 117b calculates the changes ΔV1 and ΔV2 in the voltages V1 and V2 by using the formulas (10) and (11). m1 =V m1 1,V m2 =V m2 When equation (17) is satisfied for Δα and the known value Δα, the average rate of change of the output voltages V11 and V21 in the change in angle satisfies a predetermined condition, and the MR sensor 10-1 determines that the MR sensor 10-1 cannot accurately calculate the angle. When equation (17) is not satisfied, the determining unit 117b determines that the MR sensor 10-1 cannot accurately calculate the angle.
[0110] When GMR elements or TMR elements are used as the MR elements R1 to R8 of the MR sensor 10-1, the magnetic field angle α A ,α B and the amplitude V stored in the offset storage unit 115 m1 =V m1 1,V m2 =V m2 Based on the above, the changes ΔV1 and ΔV2 in the voltages V1 and V2 can be calculated by using the formulas (10) and (11) where 2α is replaced by α. The determination unit 117b compares the calculated ΔV1 and ΔV2 with the amplitude V m1 =V m1 1,V m2 =V m2 When the formula (18) is satisfied for Δα and the known value Δα, the average rate of change of the output voltages V11 and V21 in the angle change satisfies a predetermined condition, and the MR sensor 10-1 determines that the MR sensor 10-1 cannot accurately calculate the angle. When the formula (18) is not satisfied, the determining unit 117b determines that the MR sensor 10-1 cannot accurately calculate the angle.
[0111] Similarly, when AMR elements are used as the MR elements R1 to R8 of the MR sensor 10-2, the determination unit 117b determines the magnetic field angle α A ,α B and the amplitude V stored in the offset storage unit 115 m1 =Vm1 2,V m2 =V m2 2, the determination unit 117b calculates the changes ΔV1 and ΔV2 in the voltages V1 and V2 by the formulas (10) and (11). m1 =V m1 2,V m2 =V m2 When the formula (17) is satisfied for Δα and the known value Δα, the average rate of change of the output voltages V12 and V22 in the angle change satisfies a predetermined condition, and the determination unit 117b determines that the MR sensor 10-2 cannot accurately calculate the angle when the formula (17) is not satisfied.
[0112] When GMR elements or TMR elements are used as the MR elements R1 to R8 of the MR sensor 10-2, the angle α A ,α B and the amplitude V stored in the offset storage unit 115 m1 =V m1 2,V m2 =V m2 Based on the above, the changes ΔV1 and ΔV2 in the voltages V1 and V2 can be calculated by using the formulas (10) and (11) where 2α is replaced by α. The determination unit 117b compares the calculated ΔV1 and ΔV2 with the amplitude V m1 =V m1 2,V m2 =V m2 When the formula (18) is satisfied for Δα and the known value Δα, the average rate of change of the output voltages V12 and V22 in the angle change satisfies a predetermined condition, and the determination unit 117b determines that the timing is one in which the MR sensor 10-2 can accurately calculate the angle. When the formula (18) is not satisfied, the determination unit 117b determines that the timing is one in which the MR sensor 10-2 cannot accurately calculate the angle.
[0113] The angle calculation unit 118b judges whether or not it is a timing at which accurate angle calculation is possible for each of the MR sensors 10-1 and 10-2 based on the results obtained from the judgment units 116b and 117b (step S306 in FIG. 27). In this embodiment, too, it is possible to judge whether or not it is a timing at which accurate angle calculation is possible based only on the results obtained from the judgment unit 116b.
[0114] When the determination unit 116b determines that accurate angle calculation is possible for both the MR sensors 10-1 and 10-2 (YES in step S306), the angle calculation unit 118b calculates the angle α B is adopted as the accurate value of the magnetic field angle α (FIG. 27, step S307).
[0115] In addition, when the determination unit 116b determines that accurate angle calculation is possible for only one of the MR sensors 10-1 and 10-2 (YES in step S308 in FIG. 27), the angle calculation unit 118b calculates the angle α B The angle α obtained by the MR sensor that is judged to be capable of accurate angle calculation is B is adopted as the accurate value of the magnetic field angle α (FIG. 27, step S309). When the determination unit 116b determines that accurate angle calculation is impossible for both the MR sensors 10-1 and 10-2, the magnetic field angle α becomes indefinite.
[0116] The control signal generating unit 119 calculates the deviation between the angle setting value provided by the higher-level device 4 and the angle α calculated by the angle calculating unit 118b, and generates a control signal so that the deviation becomes zero (FIG. 27, step S310). By supplying this control signal to a driving device of the object to which the magnetic field generating unit 12 is attached, the position of the object can be controlled.
[0117] The above-mentioned processes of steps S302 to S310 are repeatedly performed until the operation of the angle detection device 1b is terminated, for example, in response to an instruction from the operator (YES in step S311 in FIG. 27).
[0118] As described above, in this embodiment, by providing a plurality of MR sensors 10-1, 10-2, it is possible to widen the detection range of the position of the magnetic field generating unit 12, so that, for example, when this embodiment is applied to a positioner, it is possible to detect the valve opening even when the linear region in the movement of the valve stem is expanded. Also, in this embodiment, it is possible to improve the measurement accuracy.
[0119] In the above example, whether or not the timing is one at which accurate angle calculation is possible is determined only based on the result obtained from the determination unit 116b, but there are cases where it is more preferable to use the determination results of both the determination units 116b and 117b. Specifically, when it is desired to detect only the timing at which the magnetic field generating unit 12 is stopped within the angle detectable range of either one or both of the MR sensors 10-1 and 10-2, the determination results of both the determination units 116b and 117b are used.
[0120] In this case, when the determination unit 116b determines that the angle can be calculated for both the MR sensors 10-1 and 10-2 and the determination unit 117b determines that the angle cannot be calculated for both the MR sensors 10-1 and 10-2 (YES in step S306), the angle calculation unit 118b calculates the angle α B As the accurate value of the magnetic field angle α (step S307), when the determination unit 116b determines that the angle can be calculated for only one of the MR sensors 10-1 and 10-2 and the determination unit 117b determines that the angle cannot be calculated for the MR sensor for which the determination unit 116b determines that the angle can be calculated (YES in step S308), the angle calculation unit 118b uses the angle α obtained by the MR sensor determined by the determination unit 116b to be capable of angle calculation. Bcan be adopted as the accurate value of the magnetic field angle α (step S309).
[0121] In this embodiment, when accurate angle calculation is possible for both the MR sensors 10-1 and 10-2, the magnetic field angle α B is obtained, whereas the angle α B is finally adopted as the magnetic field angle α, or the angle α obtained by the MR sensor 10-2 is B is finally adopted as the magnetic field angle α, or the angle α obtained by both the MR sensors 10-1 and 10-2 is B The calculation of the final angle α on the basis of the above depends on the application.
[0122] For example, in order to improve the measurement accuracy, when the magnetic field generating unit 12 is close to the MR sensor 10-1, the angle α obtained by the MR sensor 10-1 is B is used as the angle α of the magnetic field, and when the magnetic field generating unit 12 is close to the MR sensor 10-2, the angle α obtained by the MR sensor 10-2 is B is used as the angle α of the magnetic field, the angle α B The angle calculation unit 118b calculates the angle α B is in the angle range specified for the MR sensor 10-1, the angle α obtained by the MR sensor 10-1 is B is finally adopted as the angle α of the magnetic field, and the angle α obtained by the MR sensor 10-2 is B is in the angle range specified for the MR sensor 10-2, the angle α obtained by the MR sensor 10-2 is B is finally adopted as the magnetic field angle α.
[0123] In addition, the angle α obtained by both the MR sensors 10-1 and 10-2 B When the final angle α is calculated based on the above, the value of the angle α may be calculated based on a predetermined rule.
[0124] [Fourth Example] Next, a fourth embodiment of the present invention will be described. Fig. 28 is a block diagram showing the configuration of a positioner according to this embodiment. The positioner 1c includes MR sensors 10-1 and 10-2, a data processing control unit 11c, an electro-pneumatic conversion unit 13, and a pneumatic pressure amplification unit 14.
[0125] 29 is a block diagram showing the configuration of the data processing control unit 11c of this embodiment. The data processing control unit 11c includes a power source 110, sensor output measuring units 111-1, 111-2, 112-1, and 112-2, a memory unit 113, an offset calculation unit 114c, an offset memory unit 115, determination units 116b and 117b, an angle calculation unit 118b, an opening actual measurement value generation unit 120c, and a control signal generation unit 121.
[0126] When the magnetic field generating unit 12 is attached to the feedback lever 32 of the positioner 1c as shown in Fig. 30, the magnetic field generating unit 12 moves on a vertical plane (a plane perpendicular to the paper surface in Fig. 30) as the feedback lever 32 rotates. Therefore, the MR sensors 10-1 and 10-2 can be installed so that the sensor plane (a plane parallel to the paper surface in Fig. 30) is perpendicular to the trajectory of the magnetic field generating unit 12. As the magnetic field generating unit 12 moves in response to the up and down movement of the valve stem 31 of the valve 3, a magnetic field in a direction corresponding to the opening degree of the valve 3 is applied to the MR sensors 10-1 and 10-2.
[0127] 31 is a flowchart for explaining the operation of the positioner 1c of this embodiment. At the time of shipment of the positioner 1c from the factory, the offset calculation unit 114c calculates the amplitude V of the output voltages V11 and V21 of the bridge circuits 100 and 101 of the MR sensor 10-1 in the same manner as the offset calculation unit 114a of the second embodiment and the offset calculation unit 114b of the third embodiment. m1 =V m1 1,V m2 =V m2 1 and offsets V1off=V1off1, V2off=V2off1 are calculated, and the amplitudes V12, V22 of the output voltages V12, V22 of the bridge circuits 100, 101 of the MR sensor 10-2 are calculated. m1 =V m12,V m2 =V m2 2 and the offsets V1off=V1off2, V2off=V2off2 are calculated (FIG. 31, step S400).
[0128] Next, after the positioner 1c is attached to the valve 3 at the site of a chemical plant or the like, when, for example, an operator at the site issues an instruction to execute setup, the offset calculation unit 114c calculates the amplitude V of the output voltages V11, V12, V21, and V22 of the MR sensors 10-1 and 10-2 in the same manner as the offset calculation units 114a and 114b. m1 1,V m1 2,V m2 1,V m2 2 is calculated again (FIG. 31, step S401).
[0129] Next, the processing of steps S402 to S409 during plant operation is the same as steps S302 to S309 in the third embodiment. Next, the opening actual measurement value generating unit 120c calculates the current opening actual value PV of the valve 3 based on the angle α calculated by the angle calculating unit 118b (FIG. 31, step S208). The opening actual value PV can be calculated based on a known relationship between the angle α and the opening actual value PV.
[0130] The control signal generating unit 121 calculates the deviation between the opening set value SP of the valve 3 given from the higher-level device 4 and the opening measured value PV, generates a control signal so as to make the deviation zero, and outputs the control signal to the electro-pneumatic converting unit 13 (FIG. 31, step S411). In this way, the opening of the valve 3 can be controlled. The above-mentioned processes of steps S402 to S411 are repeatedly performed, for example, until the operation of the plant is stopped (YES in step S412 in FIG. 31).
[0131] As described in the third embodiment, when both the MR sensors 10-1 and 10-2 are capable of accurate angle calculation, the angle α obtained by the MR sensor 10-1 is B is finally adopted as the magnetic field angle α, or the angle α obtained by the MR sensor 10-2 is Bis finally adopted as the magnetic field angle α, or the angle α obtained by both the MR sensors 10-1 and 10-2 is B The calculation of the final angle α based on the above depends on the positioner to be applied.
[0132] Although the number of MR sensors is two in the third and fourth embodiments, the number of MR sensors may be three or more.
[0133] The storage unit 113, the offset calculation units 114, 114a to 114c, the offset storage unit 115, the judgment units 116, 116b, 117, 117b, the angle calculation units 118, 118b, the control signal generation units 119, 121, and the opening actual measurement value generation units 120, 120c described in the first to fourth embodiments can be realized by a computer having a CPU (Central Processing Unit), a storage device, and an interface, and a program that controls these hardware resources. An example of the configuration of this computer is shown in FIG.
[0134] The computer includes a CPU 300, a storage device 301, and an interface device (I / F) 302. The sensor output measuring units 111, 111-1, 111-2, 112, 112-1, 112-2, the electro-pneumatic converting unit 13, and the like are connected to the I / F 302. A program for implementing the method of the present invention is stored in the storage device 301. The CPU 300 executes the processes described in the first to fourth embodiments in accordance with the program stored in the storage device 301. [Industrial Applicability]
[0135] The present invention can be applied to an angle detection device that uses an MR sensor. [Explanation of symbols]
[0136] 1, 1b...angle detection device, 1a, 1c...positioner, 2...operator, 3...valve, 4...host device, 10, 10-1, 10-2...MR sensor, 11, 11a to 11c...data processing control unit, 12...magnetic field generating unit, 13...electrical-pneumatic converting unit, 14...pneumatic amplifier, 100, 101...bridge circuit, 110...power supply, 111, 111-1, 111-2, 112, 112-1, 112-2...sensor output measuring unit, 113...memory unit, 114, 114a, 114b...offset calculation unit, 115...offset memory unit, 116, 116b, 117, 117b...judgment unit, 118, 118b...angle calculation unit, 119, 121...control signal generating unit, 120, 120c...actual opening value generating unit.
Claims
1. an MR sensor including a first bridge circuit including first to fourth magnetoresistance effect elements, and a second bridge circuit including fifth to eighth magnetoresistance effect elements arranged so that the output voltage of the first bridge circuit is out of phase with that of the second bridge circuit; a sensor output measuring unit configured to measure output voltages of the first and second bridge circuits, respectively; an angle calculation unit configured to calculate an angle of a magnetic field applied to the MR sensor from an external magnetic field generation unit based on the output voltages of the first and second bridge circuits measured by the sensor output measurement unit; a first determination unit configured to determine whether an output voltage of the first and second bridge circuits satisfies a predetermined geometric relationship, thereby determining whether a timing is available for accurate angle calculation by the MR sensor; An angle detection device characterized in that the angle calculation unit determines whether to adopt the calculated value as an accurate value of the angle of the magnetic field based on the result obtained from the first judgment unit.
2. 2. The angle detection device according to claim 1, A plurality of the MR sensors are provided, the sensor output measuring unit measures output voltages of the first and second bridge circuits for each of the plurality of MR sensors; the angle calculation unit calculates an angle of a magnetic field applied from the magnetic field generation unit to each of the plurality of MR sensors; the first determination unit determines, for each MR sensor, whether output voltages of the first and second bridge circuits satisfy a predetermined geometric relationship, thereby determining, for each MR sensor, whether a timing at which an accurate angle can be calculated has arrived; An angle detection device characterized in that the angle calculation unit determines whether to adopt the value calculated for each of the multiple MR sensors as an accurate value of the magnetic field angle based on the result obtained from the first judgment unit.
3. 2. The angle detection device according to claim 1, a second determination unit configured to determine whether an average rate of change in output voltage of the first and second bridge circuits in response to an angular change in the magnetic field satisfies a predetermined condition, thereby determining whether a timing is available for accurate angle calculation by the MR sensor; An angle detection device characterized in that the angle calculation unit determines whether to adopt the calculated value as an accurate value of the magnetic field angle based on the result obtained from the second judgment unit in addition to the result obtained from the first judgment unit.
4. 4. The angle detection device according to claim 3, A plurality of the MR sensors are provided, the sensor output measuring unit measures output voltages of the first and second bridge circuits for each of the plurality of MR sensors; the angle calculation unit calculates an angle of a magnetic field applied from the magnetic field generation unit to each of the plurality of MR sensors; the first determination unit determines, for each MR sensor, whether output voltages of the first and second bridge circuits satisfy a predetermined geometric relationship, thereby determining, for each MR sensor, whether a timing at which an accurate angle can be calculated has arrived; the second determination unit determines, for each MR sensor, whether an average rate of change of output voltages of the first and second bridge circuits in response to an angular change of the magnetic field satisfies a predetermined condition, thereby determining, for each MR sensor, whether it is a timing at which an accurate angle can be calculated; An angle detection device characterized in that the angle calculation unit determines whether to adopt the value calculated for each of the multiple MR sensors as an accurate value of the magnetic field angle based on the results obtained from the first and second judgment units.
5. 5. The angle detection device according to claim 1, The first determination unit determines the output voltage of the first bridge circuit as V 1 , the output voltage of the second bridge circuit is V 2 , the output voltage V 1 Let the known offset of V 1 off, the output voltage V 2 Let the known offset of V 2 off, the output voltage V 1 Let the known amplitude of V m1 , the output voltage V 2 Let the known amplitude of V m2 and the first axis is -V m1 From V m1 , a second axis perpendicular to the first axis is −V m2 From V m2 In a two-dimensional ellipse on a plane, the distance from the first focus of the ellipse to a point (V 1 -V 1 off, V 2 -V 2 The distance from the second focus of the ellipse to the point (V 1 -V 1 off, V 2 -V 2 When the distance to the m1 >V m2 In the case of C + D = 2 × V m1 When holds, or V m1 <V m2 In the case of C + D = 2 × V m2 When the above expression is satisfied, it is determined that this is the timing at which an accurate angle can be calculated by the MR sensor.
6. In the angle detection device according to claim 3 or 4, the first to eighth magnetoresistance effect elements are AMR elements, The second determination unit determines the output voltage of the first bridge circuit as V 1 , the output voltage of the second bridge circuit is V 2 , the output voltage V 1 Let the known amplitude of V m1 , the output voltage V 2 Let the known amplitude of V m2 When the angle calculation unit outputs the output voltage V 1 , V 2 The magnetic field angle α calculated based on B and the angle calculation unit calculates the output voltage V 1 , V 2 The magnetic field angle α calculated based on A Therefore, the output voltage V 1 , V 2 Change in ΔV 1 , ΔV 2 ΔV 1 = V m1 cos2α B -V m1 cos2α A , ΔV 2 = V m2 sin2α B -V m2 sin2α A Calculate the calculated ΔV 1 , ΔV 2 and the amplitude V m1 , V m2 and the angle α B and α A and the difference Δα between [{(1 / V m1 ) × (ΔV 1 / Δα) 2 + {(1 / V m2 ) × (ΔV 2 / Δα) 2 ] / 4≈1 is satisfied, it is determined that this is the timing at which accurate angle calculation is possible by the MR sensor.
7. In the angle detection device according to claim 3 or 4, the first to eighth magnetoresistance effect elements are GMR elements or TMR elements, The second determination unit determines the output voltage of the first bridge circuit as V 1 , the output voltage of the second bridge circuit is V 2 , the output voltage V 1 Let the known amplitude of V m1 , the output voltage V 2 Let the known amplitude of V m2 When the angle calculation unit outputs the output voltage V 1 , V 2 The magnetic field angle α calculated based on B and the angle calculation unit calculates the output voltage V 1 , V 2 The magnetic field angle α calculated based on A Therefore, the output voltage V 1 , V 2 Change in ΔV 1 , ΔV 2 ΔV 1 = V m1 cosα B -V m1 cosα A , ΔV 2 = V m2 sin α B -V m2 sin α A Calculate the calculated ΔV 1 , ΔV 2 and the amplitude V m1 , V m2 and the angle α B and α A and the difference Δα between [{(1 / V m1 ) × (ΔV 1 / Δα) 2 + {(1 / V m2 ) × (ΔV 2 / Δα) 2 ]≈1 is satisfied, it is determined that this is the timing at which accurate angle calculation is possible by the MR sensor.
8. 5. The angle detection device according to claim 1, the first to eighth magnetoresistance effect elements are AMR elements, The angle calculation unit calculates the output voltage of the first bridge circuit as V 1 , the output voltage of the second bridge circuit is V 2 , the output voltage V 1 Let the known amplitude of V m1 , the output voltage V 2 Let the known amplitude of V m2 Then, the angle α of the magnetic field is defined as α=(1 / 2) tan -1 [{V m1 (V 2 -V 2 off)) / {V m2 (V 1 -V 1 off))).
9. 5. The angle detection device according to claim 1, the first to eighth magnetoresistance effect elements are GMR elements or TMR elements, The angle calculation unit calculates the output voltage of the first bridge circuit as V 1 , the output voltage of the second bridge circuit is V 2 , the output voltage V 1 Let the known amplitude of V m1 , the output voltage V 2 Let the known amplitude of V m2 Then, the angle α of the magnetic field is α=tan -1 [{V m1 (V 2 -V 2 off)) / {V m2 (V 1 -V 1 off))).
10. An angle detection device according to any one of claims 1 to 4, an actual opening value generating unit configured to calculate an actual opening value of the valve based on the angle of the magnetic field adopted as an accurate value by the angle calculating unit during a valve control operation; a control signal generating unit configured to generate a control signal for controlling the opening of the valve based on an opening set value of the valve and the actual opening value during the valve control operation, The positioner is characterized in that the MR sensor is disposed so as to detect an angle of a magnetic field applied from the magnetic field generating unit which moves in response to opening and closing of the valve.
Citation Information
Patent Citations
Magnetic sensor arrangement
EP2672285A1
Position detection device
JP2021148447A
Method for determining the position of a magnet relative to a row of sensors
US10571305B2
Magnetic position determination systems and methods
US20200191546A1
