Detection device, control device, and control method

The detection device and control method address inefficient wide angular range rotations by using multiple sensors with different output behaviors to dynamically adjust feedback control, enhancing precision and efficiency.

JP7586019B2Active Publication Date: 2024-11-19DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021122566
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-27
Publication Date
2024-11-19
Estimated Expiration
2041-07-27

AI Technical Summary

Technical Problem

Existing feedback control systems for actuators rotating objects beyond 360° suffer from unnecessary wide angular range rotations due to sensor output reversals in transition ranges, leading to inefficient control.

Method used

A detection device and control method that utilizes two sensors with distinct output behaviors to identify and adjust rotation angles, selecting one sensor output as a reference based on angular deviations to minimize wide angular range rotations.

Benefits of technology

Reduces the likelihood of objects rotating through unnecessarily wide angular ranges by dynamically switching sensor references, ensuring precise and efficient control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007586019000001
    Figure 0007586019000001
  • Figure 0007586019000002
    Figure 0007586019000002
  • Figure 0007586019000003
    Figure 0007586019000003
Patent Text Reader

Abstract

To reduce the possibility of an object rotating in an unnecessarily wide angle range in feedback control for causing the object to rotate.SOLUTION: A sensor 7 outputs a first and a second sensor output X1, X2 that change in different behavior in accordance with a change of rotation angle of an object 6. A target calculation unit 10 calculates a first and a second target angle θt1, θt2 that are the target values to be realized with regard to a first and a second actual angle θa1, θa2 that correspond to the first and second sensor outputs X1, X2. A selection unit 13 selects one of the first and second sensor outputs X1, X2 as a reference destination to be used for driving the object 6. The selection unit 13 is more poised to select the first sensor output X1 as the reference destination, the smaller the absolute value of a first angle deviation Δθ1 which is the difference between the first actual angle θa1 and the first target angle θt1, and is more poised to select the second sensor output X2 as the reference destination, the larger the absolute value of the first angle deviation Δθ1.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a detection device, a control device, and a control method. [Background technology]

[0002] 2. Description of the Related Art Conventionally, there is known a control device that performs feedback control of an actuator so as to bring the rotation angle of an object driven by the actuator closer to a target. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2008-139108 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, even with the sensor described in Patent Document 1, when the target rotates beyond 360°, a range occurs in which the amount of change in the sensor is reversed at a location where the direction of the magnetic flux passing through the magnetic sensing surface of the Hall IC is reversed. Hereinafter, such a range is referred to as a transition range.

[0005] In general, the output of a sensor that detects the angle of an object has a transition range, not limited to the sensor described in Patent Document 1. In addition, in general, in feedback control of an actuator, in order to rotate an object to a target, the object is rotated in a direction that brings the current angle detected by the sensor closer to the target angle.

[0006] For example, suppose that the transition range is a 2° range centered on 360°, the current angle detected by the sensor is 350°, and the target rotation angle is set to 30°. In this case, the object is controlled to rotate in a direction that gradually decreases the angle detected by the sensor from 350° to 30°. In other words, the object rotates in a wide angle range of 320°. However, it is actually desirable to rotate in a narrow angle range of 40° from 350° to 30° through the transition range.

[0007] In view of the above, an object of the present invention is to reduce the possibility that an object will rotate through an unnecessarily wide angular range in feedback control for rotating the object. [Means for solving the problem]

[0008] The invention described in claim 1 to achieve the above object is: The actuator (2) is rotated by the feedback control unit (17). A detection device for determining the rotation angle of an object (6) that can rotate by more than 60°, a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in the rotation angle, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object. 、 the feedback control unit, when the selection unit selects the first sensor output, controls the actuator to change the rotation angle of the object from the first actual angle to the first target angle, and when the selection unit selects the second sensor output, controls the actuator to change the rotation angle of the object from the second actual angle to the second target angle; the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; The selection unit is more likely to select the first sensor output as the reference as the first angle deviation (Δθ1) that is the difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the first angle deviation is larger. This prevents the actuator from rotating the object through a wider angle range than the actual rotation in a direction opposite to the actual rotation. It is a detection device 。 The invention described in claim 4 is a detection device for identifying a rotation angle of an object (6) that can rotate over 360°, a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in the rotation angle, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; the selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, the selection unit selects the second sensor output as the reference when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation based on the first angle deviation and a second angle deviation (Δθ2) that is a difference between the second actual angle and the second target angle, and selects the first sensor output as the reference when the absolute value of the second angle deviation is greater than an absolute value of the first angle deviation; the selection unit repeatedly performs a process of selecting one of the first sensor output and the second sensor output as the reference output, The selection unit is a detection device that selects the second sensor output as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), and selects the first sensor output or the second sensor output, which was previously selected, as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value.

[0009] Also, claims 5 The invention described in is a control device for controlling an actuator (2) that rotates an object (6) that can rotate by more than 360 degrees, a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to the change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; a feedback control unit (17) that controls the actuator so as to cause a rotation angle of the object to approach the first target angle from the first actual angle when the selection unit selects a first sensor output, and controls the actuator so as to cause a rotation angle of the object to approach the second target angle from the second actual angle when the selection unit selects a second sensor output, the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; The selection unit is more likely to select the first sensor output as the reference as the first angle deviation (Δθ1) that is the difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the first angle deviation is larger. This prevents the actuator from rotating the object through a wider angle range than the actual rotation in a direction opposite to the actual rotation. It is a control device 。 The invention described in claim 6 is a control device for controlling an actuator (2) that rotates an object (6) that can rotate over 360°, a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to the change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; a feedback control unit (17) that, when the selection unit selects the first sensor output, controls the actuator so as to cause the rotation angle of the object to approach the first target angle from the first actual angle, and, when the selection unit selects the second sensor output, controls the actuator so as to cause the rotation angle of the object to approach the second target angle from the second actual angle, the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; the selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, the selection unit selects the second sensor output as the reference when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation based on the first angle deviation and a second angle deviation (Δθ2) that is a difference between the second actual angle and the second target angle, and selects the first sensor output as the reference when the absolute value of the second angle deviation is greater than an absolute value of the first angle deviation; the selection unit repeatedly performs a process of selecting one of the first sensor output and the second sensor output as the reference output, The selection unit is a control device that selects the second sensor output as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), and selects the first sensor output or the second sensor output, which was previously selected, as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value.

[0010] The invention described in claim 7 is a control method for controlling an actuator (2) that rotates an object (6) that can rotate over 360°, a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle, and acquires the first sensor output and the second sensor output from the sensor (7), and calculates (10) a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; selecting (13) one of the first sensor output and the second sensor output as a reference for use in driving the object; When a first sensor output is selected in the selecting, the actuator is controlled so as to cause a rotation angle of the object to approach the first target angle from the first actual angle; In the selecting, When a second sensor output is selected, controlling (17) the actuator so as to cause a rotation angle of the object to approach the second target angle from the second actual angle. the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; In the selection, the smaller the first angle deviation (Δθ1), which is the difference between the first actual angle and the first target angle, the easier it is to select the first sensor output as the reference, and the larger the first angle deviation, the easier it is to select the second sensor output as the reference, thereby preventing the actuator from rotating the object through a wider angle range than actual rotation in the opposite direction to actual rotation. The invention described in claim 8 is a control method for controlling an actuator (2) that rotates an object (6) that can rotate over 360°, comprising: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle, and acquires the first sensor output and the second sensor output from the sensor (7), and calculates (10) a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; selecting (13) one of the first sensor output and the second sensor output as a reference for use in driving the object; When the first sensor output is selected in the selecting, the actuator is controlled so as to cause the rotation angle of the object to approach the first target angle from the first actual angle; ,before When the second sensor output is selected, the actuator is controlled (17) so that the rotation angle of the object approaches the second target angle from the second actual angle. the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from that of the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from that of the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart; In the selection, the smaller the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle, the easier it is to select the first sensor output as the reference, and the larger the absolute value of the first angle deviation, the easier it is to select the second sensor output as the reference, in the selecting, based on the first angle deviation and a second angle deviation (Δθ2) which is a difference between the second actual angle and the second target angle, when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation, the second sensor output is selected as the reference, and when an absolute value of the second angle deviation is greater than an absolute value of the first angle deviation, the first sensor output is selected as the reference; In the selecting, a process of selecting one of the first sensor output and the second sensor output as the reference output is repeatedly performed; In the selecting, if the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), the second sensor output is selected as the reference, and if the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value, the one previously selected of the first sensor output and the second sensor output is selected as the reference.

[0011] In this way, the smaller the first angle deviation, the more likely the selection unit is to select the first sensor output as a reference, and the larger the first angle deviation, the more likely the selection unit is to select the second sensor output as a reference. Therefore, the larger the first angle deviation, the higher the possibility that the object 6 will unintentionally rotate through an unnecessarily wide angle range by avoiding the first transition range. Therefore, by doing as described above, it is possible to reduce the possibility that the object will rotate through an unnecessarily wide angle range.

[0012] The reference symbols in parentheses attached to each component indicate an example of the correspondence between the component and specific components described in the embodiments described below. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic configuration diagram of a mechanical system according to a first embodiment. [Diagram 2] FIG. 2 is a view taken along the arrow II in FIG. [Diagram 3] FIG. 2 is a view taken along the arrow II in FIG. [Figure 4] FIG. 11 is a diagram showing the processing contents of a calculation unit of the first Hall IC. [Diagram 5] FIG. 11 is a diagram showing the processing contents of a calculation unit of the second Hall IC. [Figure 6] 5 is a diagram showing behavior of a first sensor output and a second sensor output according to a rotation angle. FIG. [Figure 7]FIG. 2 is a block diagram showing the processing contents of an ECU. [Figure 8] 13 is a flowchart showing the process content of a selection unit. [Figure 9] FIG. 13 is a diagram showing examples of the behavior of various quantities over time. [Figure 10] FIG. 13 is a diagram showing examples of the behavior of various quantities over time. [Figure 11] 13 is a diagram showing behavior of a first sensor output and a second sensor output according to a rotation angle in the second embodiment. FIG. [Figure 12] 13 is a flowchart showing the process content of a selection unit. [Figure 13] 13 is a diagram showing behavior of a first sensor output and a second sensor output according to a rotation angle in the third embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] An embodiment of the present invention will be described below. The rotation system in this embodiment includes an ECU 1, an actuator 2, a motor gear 3, an intermediate gear 4, an output gear 5, an object 6, and a sensor 7, as shown in FIG.

[0015] The ECU 1 is a device including a processing circuit, a non-volatile storage medium, a volatile storage medium, etc., and can be realized by, for example, a microcomputer. The processing circuit realizes various processes described below by executing a program recorded in the non-volatile storage medium, and in the processes, uses the volatile storage medium as a working area, acquires a sensor output described below from a sensor 7, and controls the actuator 2. The non-volatile storage medium and the volatile storage medium of the ECU 1 are both non-transient substantial recording media, for example, a semiconductor memory.

[0016] The actuator 2 is a device, such as an electric motor, that rotates the motor gear 3 under control of the ECU 1. When the output shaft of the actuator 2 rotates, the motor gear 3 rotates.

[0017] The motor gear 3 includes a central shaft and gears. The central shaft is connected to the output shaft of the actuator 2, and rotates when the rotational torque of the output shaft is transmitted to the central shaft. The gears are fixed to the central shaft, and rotate integrally with the central shaft, with the central shaft as an axis. The outer periphery of the gears is annular, and external teeth are formed thereon.

[0018] The outer periphery of the intermediate gear 4 is annular and has external teeth formed thereon. These external teeth mesh with the external teeth of the motor gear 3. Due to this meshing, the intermediate gear 4 rotates in synchronization with the rotation of the motor gear 3.

[0019] The output gear 5 includes a transmission shaft and a gear. The outer periphery of the gear is annular and has external teeth. These external teeth mesh with the external teeth of the intermediate gear 4. This meshing causes the gear of the output gear 5 to rotate in synchronization with the rotation of the intermediate gear 4. The transmission shaft is fixed to the gear and rotates integrally with the gear around the transmission shaft as an axis. The transmission shaft is connected to an object 6.

[0020] The object 6 is connected to the transmission shaft of the output gear 5, and rotates around the output shaft as a central axis by transmitting rotational torque from the transmission shaft. The object 6 can rotate at an angle exceeding 360° in both the positive direction 6a and the negative direction 6b. The object 6 may be, for example, a shift drum used in a vehicle transmission. However, the object 6 is not limited to a shift drum, and may be various objects that can rotate (i.e., rotate) at an angle exceeding 360° in both the positive direction and the negative direction.

[0021] When the actuator 2 operates to generate a rotational torque, the rotational torque is transmitted from the output shaft of the actuator 2 to the motor gear 3, intermediate gear 4, and output gear 5, in that order, and is further transmitted from the transmission shaft of the output gear 5 to the object 6. In this way, the object is rotated by the drive of the actuator 2. When the output shaft of the actuator 2 rotates in the positive direction, the object 6 also rotates in the positive direction 6a, and when the output shaft of the actuator 2 rotates in the negative direction, the object 6 also rotates in the negative direction 6b.

[0022] 1 and 2, the sensor 7 has a first Hall IC 71, a second Hall IC 72, a first yoke 73, a second yoke 74, a first magnet 75, and a second magnet 76. The first yoke 73, the second yoke 74, the first magnet 75, and the second magnet 76 are connected to the output gear 5, and thereby rotate integrally in synchronization with the output gear 5.

[0023] The first Hall IC 71 and the second Hall IC 72 are disposed at a position surrounded by the first yoke 73, the second yoke 74, the first magnet 75, and the second magnet 76. As shown in Fig. 3, even if the motor gear 3, the intermediate gear 4, and the output gear 5 rotate and the first yoke 73, the second yoke 74, the first magnet 75, and the second magnet 76 rotate in synchronization with the output gear 5, the first Hall IC 71 and the second Hall IC 72 do not rotate and their postures do not change. Therefore, the magnetic flux penetrating the first Hall IC 71 and the second Hall IC 72 changes due to the rotation of the output gear 5 and the target object 6.

[0024] The first magnet 75 and the second magnet 76 are disposed in positions facing each other with the center of rotation therebetween. The first yoke 73 and the second yoke 74 connect the first magnet 75 and the second magnet 76. The first yoke 73 connects the N pole of the first magnet 75 to the N pole of the second magnet 76. The second yoke 74 connects the S pole of the first magnet 75 to the S pole of the second magnet 76.

[0025] The first Hall IC 71 has two Hall elements (not shown), a calculation circuit, and a casing that houses them. One of the two Hall elements is a horizontal Hall element that uses the Hall effect to output a Hall voltage V11 corresponding to the magnetic flux along the direction FV in FIG. 2 to the calculation circuit. The other of the two Hall elements is a vertical Hall element that uses the Hall effect to output a Hall voltage V12 corresponding to the magnetic flux along the direction FH in FIG. 2 to the calculation circuit.

[0026] The arithmetic circuit of the first Hall IC 71 is a circuit including a CPU, a non-volatile storage medium, and a volatile storage medium (not shown), and the CPU executes a program recorded in the non-volatile storage medium, and uses the volatile storage medium as a working area during the execution. Specifically, the arithmetic circuit outputs a voltage corresponding to the rotation angle of the object 6 to the ECU 1 outside the first Hall IC 71 based on the Hall voltages V11 and V12 from the two Hall elements. Hereinafter, the output from this arithmetic circuit is referred to as a first sensor output X1. The voltage of the first sensor output X1 is adjusted to, for example, 0.5V to 4.5V.

[0027] The second Hall IC 72 may be disposed, for example, so as to face the first Hall IC 71 in the direction FV. The second Hall IC 72 has two Hall elements (not shown), a calculation circuit, and a casing that houses them. One of the two Hall elements is a horizontal Hall element that uses the Hall effect to output a Hall voltage V21 corresponding to the magnetic flux along the direction FV in FIG. 2 to the calculation circuit. The other of the two Hall elements is a vertical Hall element that uses the Hall effect to output a Hall voltage V22 corresponding to the magnetic flux along the direction FH in FIG. 2 to the calculation circuit.

[0028] The arithmetic circuit of the second Hall IC 72 is a circuit including a CPU, a non-volatile storage medium, and a volatile storage medium (not shown), and the CPU executes a program recorded in the non-volatile storage medium, and uses the volatile storage medium as a working area during the execution. Specifically, the arithmetic circuit outputs a voltage corresponding to the rotation angle of the object 6 to the ECU 1 outside the second Hall IC 72 based on the Hall voltages V21 and V22 from the two Hall elements. Hereinafter, the output from this arithmetic circuit is referred to as the second sensor output X2. The voltage of the second sensor output X2 is adjusted to, for example, 0.5V to 4.5V.

[0029] The non-volatile storage medium and the volatile storage medium of the arithmetic circuits in the first Hall IC 71 and the second Hall IC 72 are both non-transient tangible recording media, such as semiconductor memories.

[0030] The operation of the rotation system configured as above will be described below. First, the operation of the arithmetic circuit of the first Hall IC 71 will be described. The arithmetic circuit of the first Hall IC 71 repeats the process shown in FIG. 4 based on the Hall voltages V11 and V12 output from the two Hall elements of the first Hall IC 71 according to the program in the non-volatile storage medium of the device.

[0031] In the process of FIG. 4, the arithmetic circuit first acquires Hall voltages V11 and V12 from the two Hall elements of the first Hall IC 71 in step S110. As shown in FIG. 4, the Hall voltages V11 and V12 change in a 360° cycle in proportion to the magnetic flux that changes according to the rotation angle of the target object 6. The phases of the Hall voltages V11 and V12 are shifted by 90° from each other. This is because the directions FV and FH of the magnetic flux that affect the outputs of the two Hall elements are shifted by 90°. In other words, the magnetic sensing surfaces of the two Hall elements are shifted by 90°. For example, the Hall voltage V11 is a sine curve with a cycle of 360°, and the Hall voltage V12 is a cosine curve with a cycle of 360°.

[0032] Next, in step S120, the calculation circuit calculates the first sensor output X1 by linearization calculation using the Hall voltages V11 and V12. The first sensor output X1 calculated at this time is a voltage value having a periodicity of a 360° cycle. The first sensor output X1 gradually increases from a lower limit value to an upper limit value in a predetermined first normal range as the rotation angle of the object 6 increases within one cycle. The first sensor output X1 passes through a first transition range outside the first normal range as the rotation angle of the object 6 increases, and changes more abruptly than in the first normal range from the upper limit value to the lower limit value in an increase / decrease direction (i.e., a decrease direction) different from the first normal range.

[0033] Here, the angle width of the first normal range is sufficiently larger than the angle width of the first transition range. In this embodiment, the first normal range is a range of approximately 360° from 0° to 360°, and the first transition range is a range with a width of approximately 0° centered around 0°, 360°, etc. However, the angle width of the first normal range may be narrower, and the angle width of the first transition range may be wider. In this embodiment, the first sensor output X1 increases monotonically linearly with respect to the rotation angle in the first normal range, but may increase monotonically nonlinearly or may increase in a stepwise manner. In addition, the first normal range covers the entire second transition range described later. In this embodiment, the first sensor output X1 changes discontinuously in the first transition range, but may change continuously.

[0034] Specifically, the first sensor output X1 is calculated by the following formula: X1=K×atan2(V11 / V12)+V0. Here, atan2(V11 / V12) is an arctangent function whose range is expanded to a range of -180° to 180°. Specifically, it is obtained by the formula: atan2(V11 / V12)=arctan(V11 / V12)-180°×sgn(V11)×{1-U(V12)}. Here, arctan() is a normal arctangent function whose range g ranges from -90° to 90°. Also, sgn() is a sign function that is 1 if the argument is positive, -1 if negative, and 0 if zero. Also, U() is a unit step function that is 1 if the argument is 0 or more, and 0 if negative. Also, V0 is a positive voltage value that is predetermined to be a reference value such as a median value. Furthermore, K is a predetermined positive coefficient.

[0035] Next, in step S130, the arithmetic circuit outputs a voltage equivalent to the calculated first sensor output X1 to the ECU 1. The arithmetic circuit of the first Hall IC 71 repeats the processes of steps S110 to S130, thereby sequentially outputting a voltage equivalent to the first sensor output X1 to the ECU 1.

[0036] Next, we will explain the operation of the arithmetic circuit of the second Hall IC 72. The arithmetic circuit of the second Hall IC 72 repeatedly performs the process shown in Figure 5 based on the Hall voltages V21 and V22 output from the two Hall elements of the second Hall IC 72, in accordance with the program in its non-volatile storage medium.

[0037] In the process of FIG. 5, the arithmetic circuit first acquires Hall voltages V21 and V22 from the two Hall elements of the second Hall IC 72 in step S210. The Hall voltages V21 and V22 change in a 360° cycle in proportion to the magnetic flux that changes according to the rotation angle of the target object 6. The phases of the Hall voltages V21 and V22 are shifted by 90° from each other. This is because the directions FV and FH of the magnetic flux that affect the output of the two Hall elements are shifted by 90°. That is, the magnetic sensing surfaces of the two Hall elements are shifted by 90°. For example, the Hall voltage V21 is a sine curve with a cycle of 360°, and the Hall voltage V22 is a cosine curve with a cycle of 360°. More specifically, in this embodiment, the Hall voltage V21 is the same as the Hall voltage V11, and the Hall voltage V22 is the same as the Hall voltage V12, but in other examples, they may not be the same.

[0038] Next, in step S220, the calculation circuit calculates the second sensor output X2 by linearization calculation using the Hall voltages V21 and V22. The second sensor output X2 calculated at this time is a voltage value having a periodicity of 360°. The second sensor output X2 gradually increases from the lower limit value to the upper limit value in a predetermined second normal range within one period of the second sensor output X2 as the rotation angle of the object 6 increases. The second sensor output X2 passes through a second transition range outside the second normal range as the rotation angle of the object 6 increases, and changes more abruptly than in the second normal range from the upper limit value to the lower limit value in an increase / decrease direction (i.e., a decrease direction) different from the second normal range. The second normal range and the second transition range are ranges for the rotation angle of the object 6.

[0039] Here, the angle width of the second normal range is sufficiently larger than the angle width of the second transition range. In this embodiment, the second normal range is a range of approximately 360° from 180° to 540° as shown in FIG. 6, and the second transition range is a range of approximately 0° with the width centered on 180°, 540°, etc. However, the angle width of the second normal range may be narrower, and the angle width of the second transition range may be wider. In this embodiment, the second sensor output X2 increases monotonically linearly with respect to the rotation angle in the second normal range, but may increase monotonically nonlinearly or may increase in a stepwise manner. In addition, the second normal range covers the entire first transition range. In this embodiment, the second sensor output X2 changes discontinuously in the second transition range, but may change continuously.

[0040] Specifically, the second sensor output X2 is calculated by the following formula: X2=K×{atan3(V21 / V22)+180°}+V0. Here, atan3(V21 / V22) is an arctangent function whose range is expanded to the range of -180° to 180°. Specifically, it is obtained by the formula: atan3(V21 / V22)=arctan(V21 / V22)+180°×sgn(V21)×{1-U(-1×V22)}. arctan(), sgn(), U(), V0, and K are as already explained.

[0041] The second sensor output X2 calculated in this way is shifted in phase by 180° with respect to the first sensor output X1, as shown in Fig. 6. That is, the phase difference D between the first sensor output X1 and the second sensor output X2 is 180°. Therefore, the angle difference between the center of the first transition range and the center of the second transition range is 180°. The first transition range and the second transition range do not overlap and are separated from each other. In this way, the first sensor output X1 and the second sensor output X2 change in different manners according to the change in the rotation angle of the object 6.

[0042] The above method is merely one of several methods for making the second sensor output X2 out of phase with the first sensor output X1 by 180°, and other methods may be adopted. Specifically, the above method is a method in which the Hall voltages V21 and V22 are made equal to the Hall voltages V11 and V12, respectively, and further, the calculation formula for the second sensor output X2 is made different from the calculation formula for the first sensor output X1.

[0043] Another possible method is to use the same formula for calculating the second sensor output X2 as the formula for calculating the first sensor output X1. In this method, the arrangement of the two Hall elements of the second Hall IC 72 is adjusted so that the Hall voltages V21 and V22 are shifted 180° out of phase with the Hall voltages V11 and V12, respectively.

[0044] Next, in step S230, the arithmetic circuit outputs a voltage equivalent to the calculated second sensor output X2 to the ECU 1. The arithmetic circuit of the second Hall IC 72 repeats the processes of steps S210 to S230, thereby repeatedly outputting a voltage equivalent to the second sensor output X2 to the ECU 1 in a sequential manner.

[0045] Next, the operation of the ECU 1 will be described. The ECU 1 executes a program recorded in a non-volatile storage medium of the ECU 1, and functions as a target calculation unit 10, a first deviation calculation unit 11, a second deviation calculation unit 12, a selection unit 13, a proportional controller 14, an integrator 15, an integral controller 16, and a feedback control unit 17 shown in Fig. 7. Alternatively, the ECU 1 may include dedicated hardware corresponding to each of the target calculation unit 10, the first deviation calculation unit 11, the second deviation calculation unit 12, the selection unit 13, the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17.

[0046] The target calculation unit 10 calculates a first target angle θt1 and outputs it to a first deviation calculation unit 11, and calculates a second target angle θt2 and outputs it to a second deviation calculation unit 12. Both the first target angle θt1 and the second target angle θt2 are target values ​​of the rotation angle of the object 6, and are set as values ​​equal to or greater than 0° and less than 360°. The first target angle θt1 is a target value that the first actual angle θa1 of the object 6 should achieve, and the second target angle θt2 is a target value that the second actual angle θa2 of the object 6 should achieve. Both the first actual angle θa1 and the second actual angle θa2 are set as values ​​equal to or greater than 0° and less than 360°.

[0047] The first actual angle θa1 is a detection angle of the object 6 calculated by the first deviation calculation unit 11 based on the first sensor output X1. The first actual angle θa1 is 0° when the first sensor output X1 is at its minimum value, and 360° when the first sensor output X1 is at its maximum value, and changes linearly with respect to the first sensor output X1. The second actual angle θa2 is a detection angle of the object 6 calculated by the second deviation calculation unit 12 based on the second sensor output X2. The second actual angle θa2 is 0° when the second sensor output X2 is at its minimum value, and 360° when the second sensor output X2 is at its maximum value, and changes linearly with respect to the second sensor output X2.

[0048] The first target angle θt1 may be calculated by any method. For example, it may be determined according to some operation purpose of the target object 6. The second target angle θt2 is calculated based on the first target angle θt1. For example, in this embodiment, since the phase of the second sensor output X2 is shifted by D=180° from the first sensor output X1, the second target angle θt2 is set to a value obtained by adding 180° to the first target angle θt1. However, if the second target angle θt2 calculated by such addition is 360° or more, the result obtained by further subtracting 360° from the second target angle θt2 is set to the second target angle θt2.

[0049] The first deviation calculation unit 11 calculates the first angle deviation Δθ1 based on the first target angle θt1 output from the target calculation unit 10 and the first sensor output X1 output from the first Hall IC 71. Specifically, the first actual angle θa1 is calculated from the first sensor output X1 as described above, and the first actual angle θa1 is subtracted from the first target angle θt1 to obtain the first angle deviation Δθ1 as a result of the subtraction. The first deviation calculation unit 11 then outputs the first angle deviation Δθ1 to the selection unit 13.

[0050] The second deviation calculation unit 12 calculates the second angle deviation Δθ2 based on the second target angle θt2 output from the target calculation unit 10 and the second sensor output X2 output from the second Hall IC 72. Specifically, the second actual angle θa2 is calculated from the second sensor output X2 as described above, and the second actual angle θa2 is subtracted from the second target angle θt2 to obtain the second angle deviation Δθ2 as a result of the subtraction. The second deviation calculation unit 12 then outputs the second angle deviation Δθ2 to the selection unit 13.

[0051] The selection unit 13 selects one of the first angle deviation Δθ1 output from the first deviation calculation unit 11 and the second angle deviation Δθ2 output from the second deviation calculation unit 12, and outputs the selected one as the angle deviation Δθ to the proportional controller 14 and the integrator 15. That is, the selection unit 13 switchably selects one of the first sensor output X1 and the second sensor output X2 as a reference destination used to drive the target object 6. The processing contents of the selection unit 13 will be described in detail later.

[0052] The proportional controller 14 calculates a P term proportional to the angle deviation Δθ output from the selection unit 13, and outputs the calculated P term to the feedback control unit 17. The integrator 15 performs an integral calculation according to the multiple angular deviations Δθ output from the selection unit 13, and outputs the result of the integral calculation to the integral controller 16. The integral controller 16 calculates an I term proportional to the result of the integral calculation output by the integrator 15, and outputs the calculated I term to the feedback control unit 17.

[0053] The feedback control unit 17 outputs a control signal for controlling the actuator 2 so as to bring the rotation angle of the target object 6 closer to a target angle, based on the P term output from the proportional controller 14 and the I term output from the integral controller 16. Therefore, the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 as a whole perform feedback control by PI control.

[0054] Here, the process of the selection unit 13 will be described in detail with reference to Figs. 8, 9, and 10. The selection unit 13 executes the process shown in Fig. 8. Specifically, after starting operation, the selection unit 13 first initializes a reference destination in step S300. That is, one of the first sensor output X1 and the second sensor output X2 is set as the reference destination. Specifically, the first sensor output X1 may be set as the reference destination, or the second sensor output X2 may be set as the reference destination.

[0055] Next, in step S305, the first angle deviation Δθ1 and the second angle deviation Δθ2 are obtained from the first deviation calculation unit 11 and the second deviation calculation unit 12, respectively. Next, in step S310, the absolute value of the first angle deviation Δθ1 is compared with the absolute value of the second angle deviation Δθ2 to determine whether the former is equal to or greater than the latter. If the former is less than the latter, the process proceeds to step S320, and if the former is equal to or greater than the latter, the process proceeds to step S330.

[0056] In step S320, it is determined whether the value obtained by subtracting the absolute value of the second angle deviation Δθ2 from the absolute value of the first angle deviation Δθ1 is smaller than the negative threshold value P1. If it is smaller, the process proceeds to step S340, and if it is not smaller, the process proceeds to step S350.

[0057] In step S330, it is determined whether the value obtained by subtracting the absolute value of the second angle deviation Δθ2 from the absolute value of the first angle deviation Δθ1 is greater than a positive threshold value P2. If it is greater, the process proceeds to step S360, and if it is not greater, the process proceeds to step S350.

[0058] In step S350, it is determined whether the current reference destination is the first sensor output X1. If it is the first sensor output X1, the process proceeds to step S340 to maintain the current reference destination, and if it is not the first sensor output X1 (i.e., if it is the second sensor output X2), the process proceeds to step S360 to select the current reference destination.

[0059] In step S340, the current reference is set to the first sensor output X1. That is, the value of the first angle deviation Δθ1 is output as the angle deviation Δθ to the proportional controller 14 and the integrator 15. Then, after step S340, the process returns to step S305.

[0060] In step S360, the current reference is set to the second sensor output X2. That is, the value of the second angle deviation Δθ2 is output as the angle deviation Δθ to the proportional controller 14 and the integrator 15. Then, after step S360, the process returns to step S305.

[0061] 9 and 10 show examples of the behavior over time of various quantities according to the selection by the selection unit 13. In the example of Fig. 9, the reference is the first sensor output X1 at time t10, and the reference switches from the first sensor output X1 to the second sensor output X2 at the subsequent time t11. In the example of Fig. 10, the reference is the second sensor output X2 at time t11, and the reference switches from the second sensor output X2 to the first sensor output X1 at the subsequent time t21.

[0062] [Figure 9: From time t10 to just before time t11] First, the example of Fig. 9 will be described. In this example, from time t10 to immediately before time t11, the first target angle θt1 is constant, and the first actual angle θa1 is substantially constant at approximately the same value as the first target angle θt1. Similarly, from time t10 to immediately before time t11, the second target angle θt2 is constant, and the second actual angle θa2 is substantially constant at approximately the same value as the second target angle θt2. As described above, the second target angle θt2 is shifted by 180° from the first target angle θt1.

[0063] Therefore, from time t10 to just before time t11, the first angle deviation Δθ1 and the second angle deviation Δθ2 are approximately zero, and the value obtained by subtracting the absolute value of the second angle deviation Δθ2 from the absolute value of the first angle deviation Δθ1 is also approximately zero.

[0064] During the period from time t10 to just before time t11, the selection unit 13 obtains a first angle deviation Δθ1 and a second angle deviation Δθ2 that are almost zero in step S305, and then compares the absolute value of the first angle deviation Δθ1 with the absolute value of the second angle deviation Δθ2 in the subsequent step S310.

[0065] During this period, these two absolute values ​​are both approximately zero, and the magnitude relationship between them fluctuates depending on slight detection errors in the first Hall IC 71 and the second Hall IC 72. Since the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 are approximately the same, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is greater than the threshold value P1 and smaller than the threshold value P2.

[0066] Therefore, during this period, if the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S320, and from step S320 to step S350. On the other hand, if the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1 or is the same as the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S330, and from step S330 to step S350.

[0067] The thresholds P1 and P2 are set in advance to filter out slight differences between the first angle deviation Δθ1 and the second angle deviation Δθ2. For example, the absolute values ​​of the thresholds P1 and P2 may be smaller than ½ or ⅕ of the absolute value of the phase difference between the first sensor output X1 and the second sensor output X2.

[0068] When the process proceeds to step S350 in this way, the selection unit 13 proceeds to step S340 and selects the first angle deviation Δθ1 as the angle deviation Δθ to be output, since the current reference is the first sensor output X1. That is, the current reference is maintained as the first sensor output X1. This operation is repeated from time t10 to immediately before time t11.

[0069] During this period, the angle deviation Δθ output from the selection unit 13 is approximately zero, so that the actuator 2 continues to maintain the rotation angle of the object 6 approximately the same through feedback control performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17.

[0070] [Figure 9: Time t11] In the example of Fig. 9, at time t11, the target calculation unit 10 changes the first target angle θt1 from 70° to 330° and outputs it. Note that the changed value is merely an example and is not limited to this. Accordingly, the second target angle is changed from 250° to 330°+180°-360°=150° and outputs it. The first actual angle θa1 and the second actual angle θa2 are the same as those before time t11.

[0071] Therefore, the first angle deviation Δθ1 calculated and output by the first deviation calculation unit 11 is 260°. Moreover, the second angle deviation Δθ2 calculated and output by the second deviation calculation unit 12 is −100°. Therefore, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is 160°, which is greater than the threshold value P2.

[0072] Therefore, at time t11, the selector 13 proceeds from step S310 to step S330 because the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1. Furthermore, because the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is greater than the threshold value P2, the selector 13 proceeds from step S330 to step S360. Then, in step S360, the reference is switched from the current first sensor output X1 to the second sensor output X2. That is, the value to be output as the angle deviation Δθ is switched from the first angle deviation Δθ1 to the second angle deviation Δθ2.

[0073] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the second target angle θt2 from the second actual angle θa2. This is because the angle deviation Δθ is the second angle deviation Δθ2 corresponding to the difference between the second target angle θt2 and the second actual angle θa2. As a result, the object 6 is driven to rotate in a direction in which the second actual angle θa2 decreases (i.e., the negative direction 6b).

[0074] If it is assumed that at this time point t11, the angle deviation Δθ is the first angle deviation Δθ1, and the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the first target angle θt1 from the first actual angle θa1. Then, the rotation angle of the object 6 must be changed by 260° in the positive direction 6a, ultimately avoiding the first transition range. In contrast, in this example, the rotation angle of the object 6 is changed by 100° in the negative direction 6b via the first transition range, avoiding the second transition range. In other words, by doing as in this example, it is possible to prevent the object 6 from rotating through an unnecessarily wide angle range.

[0075] [Figure 9: From just after time t11 to just before time t12] 9, during the period from after time t11 to immediately before time t12, the values ​​of the first target angle θt1 and the second target angle θt2 are the same as those at time t11. The first actual angle θa1 and the second actual angle θa2 change successively. Specifically, both the first actual angle θa1 and the second actual angle θa2 decrease due to feedback control, which will be described later.

[0076] During this period, the first angle deviation Δθ1 increases from 260° and moves away from zero, and the second angle deviation Δθ2 increases from −100° and approaches zero. Therefore, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 also increases and remains greater than the threshold value P2.

[0077] Therefore, during this period, the selector 13 proceeds from step S310 to step S330 because the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1. Furthermore, because the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is greater than the threshold value P2, the selector 13 proceeds from step S330 to step S360. Then, in step S360, the reference is maintained at the current second sensor output X2. That is, the value to be output as the angle deviation Δθ is maintained at the second angle deviation Δθ2.

[0078] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the second target angle θt2 from the second actual angle θa2. This is because the angle deviation Δθ is the second angle deviation Δθ2 corresponding to the difference between the second target angle θt2 and the second actual angle θa2. As a result, the object 6 is driven to rotate in a direction in which the second actual angle θa2 decreases (i.e., the negative direction 6b).

[0079] During this period, as at time t11, by changing the rotation angle of the object 6 in a direction that passes through the first transition range, it is possible to prevent the object 6 from rotating through an unnecessarily wide angle range.

[0080] [Figure 9: From time t12 onwards] 9, at time t12, the values ​​of the first target angle θt1 and the second target angle θt2 are the same as those at time t11. The second actual angle θa2 changes in a decreasing direction, as it did immediately before time t12. On the other hand, the first actual angle θa1 increases discontinuously from 0° to a value slightly smaller than 360° by passing through the first transition range.

[0081] Therefore, the first angle deviation Δθ1 rapidly decreases to 30°, changing from positive to negative, and the absolute value also rapidly approaches zero. Meanwhile, the second angle deviation Δθ2 continues to increase and approaches zero. Thus, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 rapidly decreases and approaches almost zero, becoming greater than P1 and smaller than P2. The magnitude relationship between the first angle deviation Δθ1 and the second angle deviation Δθ2 varies depending on slight detection errors in the first Hall IC 71 and the second Hall IC 72.

[0082] Therefore, in the period after time point t12, if the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S320, and from step S320 to step S350. On the other hand, if the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1 or is the same as the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S330, and from step S330 to step S350.

[0083] When the process proceeds to step S350 in this way, the selection unit 13 proceeds to step S360 where the current reference is the second sensor output X2, and so the selection unit 13 selects the second angle deviation Δθ2 as the angle deviation Δθ to be output. In other words, the current reference is maintained as the second sensor output X2.

[0084] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 from the second actual angle θa2 closer to the second target angle θt2. As a result, the second actual angle θa2 gradually approaches the second target angle θt2, and the first actual angle θa1 gradually approaches the first target angle θt1.

[0085] [Figure 10: From time t20 to just before time t21] Next, the case of Fig. 10 will be described. This case may occur in a period immediately after the case of Fig. 9, may occur in a period immediately before the case of Fig. 9, or may occur in a period significantly separated in time from the case of Fig. 9.

[0086] In this example, during the period from time t20 to just before time t21, the first target angle θt1 is constant, and the first actual angle θa1 is substantially constant at approximately the same value as the first target angle θt1. Similarly, during this period, the second target angle θt2 is constant, and the second actual angle θa2 is substantially constant at approximately the same value as the second target angle θt2. As described above, the second target angle θt2 is shifted by 180° from the first target angle θt1.

[0087] Therefore, during this period, the first angle deviation Δθ1 and the second angle deviation Δθ2 are approximately zero, and the value obtained by subtracting the absolute value of the second angle deviation Δθ2 from the absolute value of the first angle deviation Δθ1 is also approximately zero.

[0088] During this period, the selection unit 13 acquires the first angle deviation Δθ1 and the second angle deviation Δθ2 which are substantially zero in step S305, and then compares the absolute value of the first angle deviation Δθ1 with the absolute value of the second angle deviation Δθ2 in the subsequent step S310.

[0089] During this period, these two absolute values ​​are both approximately zero, and the magnitude relationship between them fluctuates depending on slight detection errors in the first Hall IC 71 and the second Hall IC 72. Since the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 are approximately the same, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is greater than the threshold value P1 and smaller than the threshold value P2.

[0090] Therefore, during this period, if the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S320, and from step S320 to step S350. On the other hand, if the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1 or is the same as the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S330, and from step S330 to step S350.

[0091] When the process proceeds to step S350 in this way, the selection unit 13 proceeds to step S360, where the current reference is the second sensor output X2, and the selection unit 13 selects the second angle deviation Δθ2 as the angle deviation Δθ to be output. That is, the current reference is maintained as the second sensor output X2. This operation is repeated from time t20 to immediately before time t21.

[0092] During this period, the angle deviation Δθ output from the selection unit 13 is approximately zero, so that the actuator 2 continues to maintain the rotation angle of the object 6 approximately the same through feedback control performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17.

[0093] [Figure 10: Time t21] In the example of Fig. 10, at time t21, the target calculation unit 10 changes the first target angle θt1 from 160° to 260° and outputs it. Note that the changed value is merely an example and is not limited to this. Accordingly, the second target angle is changed from 340° to 260° + 180° - 360° = 80° and outputs it. The first actual angle θa1 and the second actual angle θa2 are the same as before time t21.

[0094] Therefore, the first angle deviation Δθ1 is 100°. Also, the second angle deviation Δθ2 is −260°. Therefore, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is −160°, which is smaller than the threshold value P1.

[0095] Therefore, at time t21, the selector 13 proceeds from step S310 to step S320 because the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1. Furthermore, because the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is smaller than the threshold value P1, the selector 13 proceeds from step S320 to step S340. Then, in step S340, the reference is switched from the current second sensor output X2 to the first sensor output X1. That is, the value to be output as the angle deviation Δθ is switched from the second angle deviation Δθ2 to the first angle deviation Δθ1.

[0096] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the first target angle θt1 from the first actual angle θa1. This is because the angle deviation Δθ is the first angle deviation Δθ1 which corresponds to the difference between the first target angle θt1 and the first actual angle θa1. As a result, the object 6 is driven to rotate in the direction in which the first actual angle θa1 increases (i.e., the positive direction 6a).

[0097] If it is assumed that at this time point t21, the angle deviation Δθ is the second angle deviation Δθ2, and the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the second target angle θt2 from the second actual angle θa2. Then, the rotation angle of the object 6 must be changed by 260° in the negative direction 6b, ultimately avoiding the second transition range. In contrast, in this example, the rotation angle of the object 6 is changed by 100° in the positive direction 6a by passing through the second transition range, avoiding the first transition range. In other words, by doing as in this example, it is possible to prevent the object 6 from rotating through an unnecessarily wide angle range.

[0098] [Figure 10: From just after time t21 to just before time t22] 10, during the period from after time t21 to immediately before time t22, the values ​​of the first target angle θt1 and the second target angle θt2 are the same as those at time t21. The first actual angle θa1 and the second actual angle θa2 change successively. Specifically, both the first actual angle θa1 and the second actual angle θa2 increase due to feedback control, which will be described later.

[0099] During this period, the first angle deviation Δθ1 decreases from 100° and approaches zero. Also, the second angle deviation Δθ2 decreases from −260° and moves away from zero. Therefore, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 also decreases and remains smaller than the threshold value P1.

[0100] Therefore, during this period, the selector 13 proceeds from step S310 to step S320 because the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1. Furthermore, because the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is smaller than the threshold value P1, the selector 13 proceeds from step S320 to step S340. Then, in step S340, the reference is maintained at the current first sensor output X1. That is, the value to be output as the angle deviation Δθ is maintained at the first angle deviation Δθ1.

[0101] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 closer to the first target angle θt1 from the first actual angle θa1. This is because the angle deviation Δθ is the first angle deviation Δθ1 which corresponds to the difference between the first target angle θt1 and the first actual angle θa1. As a result, the object 6 is driven to rotate in the direction in which the first actual angle θa1 increases (i.e., the positive direction 6a).

[0102] During this period, as at time t21, by changing the rotation angle of the object 6 in a direction that passes through the second transition range, it is possible to prevent the object 6 from rotating through an unnecessarily wide angle range.

[0103] [Figure 10: From time t22 onwards] 10, at time t22, the values ​​of the first target angle θt1 and the second target angle θt2 are the same as those at time t21. The first actual angle θa1 changes in an increasing direction, as it did immediately before time t22. On the other hand, the second actual angle θa2 decreases discontinuously from a value slightly smaller than 360° to 0° as it passes through the second transition range.

[0104] Therefore, the second angle deviation Δθ2 increases rapidly up to 80°, changing from negative to positive, and its absolute value also rapidly approaches zero. Meanwhile, the first angle deviation Δθ1 continues to decrease and approach zero. Thus, the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 rapidly decreases and approaches almost zero, entering the range of P1 or more and P2 or less. The magnitude relationship between the first angle deviation Δθ1 and the second angle deviation Δθ2 varies according to slight detection errors in the first Hall IC 71 and the second Hall IC 72.

[0105] Therefore, in the period after time point t22, if the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S320, and from step S320 to step S350. On the other hand, if the absolute value of the second angle deviation Δθ2 is smaller than the absolute value of the first angle deviation Δθ1 or is the same as the absolute value of the first angle deviation Δθ1, the selection unit 13 proceeds from step S310 to step S330, and from step S330 to step S350.

[0106] When the process proceeds to step S350 in this way, the selection unit 13 proceeds to step S340 because the current reference is the first sensor output X1, and selects the first angle deviation Δθ1 as the angle deviation Δθ to be output. In other words, the current reference is maintained as the first sensor output X1.

[0107] As a result, feedback control is performed by the proportional controller 14, the integrator 15, the integral controller 16, and the feedback control unit 17 in accordance with the angle deviation Δθ output from the selection unit 13. Then, the feedback control unit 17 controls the actuator 2 so as to bring the rotation angle of the object 6 from the first actual angle θa1 closer to the first target angle θt1. As a result, the first actual angle θa1 gradually approaches the first target angle θt1, and the second actual angle θa2 gradually approaches the second target angle θt2.

[0108] As described above, the first transition range of the first sensor output X1 and the second transition range of the second sensor output X2 are separated in terms of the corresponding rotation angle of the object 6. The smaller the absolute value of the first angle deviation Δθ1, which is the difference between the first actual angle θa1 and the first target angle θt1, the more likely the selector 13 to select the first sensor output as a reference, and the larger the absolute value of the first angle deviation Δθ1, the more likely the selector 13 to select the second sensor output as a reference.

[0109] The larger the first angle deviation Δθ1, the higher the possibility that the object 6 will unintentionally rotate through an unnecessarily wide angle range by avoiding the first transition range. Therefore, by doing as described above, it is possible to reduce the possibility that the object 6 will rotate through an unnecessarily wide angle range.

[0110] (1) When the absolute value of the first angle deviation Δθ1 is greater than the absolute value of the second angle deviation Δθ2, the selector 13 selects the second sensor output X2 as the reference. When the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the selector 13 selects the first sensor output X1 as the reference.

[0111] In this way, it is possible to adopt either the feedback control using the first sensor output X1 or the feedback control using the second sensor output X2, whichever rotates through a narrower angle range. Therefore, by doing so, it is possible to more accurately reduce the possibility that the target object 6 rotates through an unnecessarily wide angle range.

[0112] (2) Furthermore, when the absolute value of the first angle deviation Δθ1 is greater than the absolute value of the second angle deviation Δθ2 and the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is greater than a threshold value P2, the selection unit 13 selects the previously selected one of the first sensor output X1 and the second sensor output X2 as the reference when the absolute value of the first angle deviation Δθ1 is greater than the absolute value of the second angle deviation Δθ2 and the difference is smaller than the threshold value P2.

[0113] In this way, when the first angle deviation Δθ1 and the second angle deviation Δθ2 are substantially the same, the possibility that the reference destination is unnecessarily frequently switched due to the detection error of the sensor 7 can be reduced.

[0114] Second embodiment Next, a second embodiment will be described with reference to Figures 11 and 12. This embodiment differs from the rotation system of the first embodiment in the behavior of the second sensor output X2 output by the second Hall IC 72.

[0115] Specifically, the second Hall IC 72 of this embodiment outputs a second sensor output X2 as shown in Fig. 11. This second sensor output X2 is calculated by the calculation circuit of the second Hall IC 72 in step S220 of the process of Fig. 5, similarly to the first embodiment.

[0116] The voltage of the second sensor output X2 is adjusted to, for example, 0.5V to 4.5V as in the first embodiment. The second sensor output X2 calculated at this time is a voltage value having a periodicity of 360° as in the first embodiment. The second sensor output X2 gradually decreases from an upper limit value to a lower limit value in a predetermined second normal range as the rotation angle of the object 6 increases within one period of the second sensor output X2. The second sensor output X2 passes through a second transition range outside the second normal range as the rotation angle of the object 6 increases, and changes more abruptly than in the second normal range from the lower limit value to the upper limit value in an increase / decrease direction (i.e., an increase direction) different from the second normal range.

[0117] Compared with the second sensor output X2 of the first embodiment, the second sensor output X2 of this embodiment increases and decreases in the opposite manner. Here, the arrangement and angular width of the second normal range and the arrangement and angular width of the second transition range are the same as those of the first embodiment. Therefore, the phase difference D between the first sensor output X1 and the second sensor output X2 is 180°. That is, the angle difference between the center of the first transition range and the center of the second transition range is 180°. And the first transition range and the second transition range do not overlap but are separated from each other.

[0118] In the present embodiment, the second sensor output X2 monotonically decreases linearly with respect to the rotation angle in the second normal range, but may monotonically decrease nonlinearly or may decrease stepwise. In the present embodiment, the second normal range straddles 0° and 360°, but may not straddle. However, the second normal range covers the entire first transition range. In the present embodiment, the second sensor output X2 changes discontinuously in the second transition range, but may change continuously.

[0119] For example, if the Hall voltages V21 and V22 are the same as those in the first embodiment, the second sensor output X2 is calculated by the following equation: X2=-K×{atan3(V21 / V22)+180°}+V0. Here, atan3(V21 / V22) is the same as in the first embodiment. Alternatively, the arrangement of the two Hall elements of the second Hall IC 72 may be adjusted so that the Hall voltages V21 and V22 that provide the second sensor output X2 as shown in FIG. 11 are obtained by the same calculation equation as in the first embodiment.

[0120] Other hardware configurations of the rotation system are the same as those in the first embodiment. The behavior of the first sensor output X1 output from the sensor 7 is also the same as in the first embodiment. The operations of the ECU 1 other than the target calculation unit 10 and the selection unit 13 are the same as in the first embodiment.

[0121] In the first embodiment, the second target angle θt2 calculated and output by the target calculation unit 10 is a value shifted by 180° from the first target angle θt1 within the range of 0° or more and less than 360°. However, in this embodiment, since the relationship between the first sensor output X1 and the second sensor output X2 is as shown in FIG. 12, the second target angle θt2 is not simply calculated to be shifted by 180° from the first target angle θt1. Specifically, when the first target angle θt1 is in the range of 0° or more and less than 180°, the second target angle θt2 is calculated by the formula θt2=180°-θt1, and when the first target angle θt1 is in the range of 180° or more and less than 360°, the second target angle θt2 is calculated by the formula θt2=360°-θt1. Other operations of the target calculation unit 10 are the same as those in the first embodiment.

[0122] Moreover, the selection unit 13 in the ECU 1 executes the process of FIG. 12 instead of FIG. 4. The process of FIG. 12 differs from FIG. 8 only in step S360. In step S360, the second sensor output X2 is used as the reference, as in the first embodiment, but the angle deviation Δθ is not the second angle deviation Δθ2, but the second angle deviation Δθ2 with its sign inverted is used. This is because the direction of increase / decrease of the second actual angle θa2 based on the second sensor output X2 is opposite to the direction of increase / decrease of the rotation angle of the object 6 due to the control of the actuator 2. In other words, the sign is inverted to correct the relationship between the second sensor output X2 and the inverse characteristic of the actuator 2.

[0123] By operating as described above, the rotation system of this embodiment can achieve the same functions and effects as the rotation system of the first embodiment.

[0124] Third embodiment Next, a third embodiment will be described with reference to Fig. 13. In this embodiment, the behavior of the second sensor output X2 output by the second Hall IC 72 is different from that of the rotation system of the first embodiment.

[0125] Specifically, the second Hall IC 72 of this embodiment outputs a second sensor output X2 as shown in Fig. 13. This second sensor output X2 is calculated by the arithmetic circuit of the second Hall IC 72 in step S220 of the process of Fig. 5, similarly to the first embodiment.

[0126] The voltage of the second sensor output X2 is adjusted to, for example, 0.5 V to 4.5 V, similarly to the first embodiment. The second sensor output X2 calculated at this time differs from the second sensor output X2 of the first embodiment only in phase.

[0127] Here, as shown in Fig. 13, the second normal range is a range of approximately 360° from 270° to 450°, and the second transition range is a range of approximately 0° with a width centered around 270°, 450°, etc. However, in the second sensor output X2, the angle width of the second normal range may be narrower, or the angle width of the second transition range may be wider. In addition, in this embodiment, the second sensor output X2 increases monotonically linearly with respect to the rotation angle in the second normal range, but may increase monotonically nonlinearly or in a stepwise manner.

[0128] In this embodiment, the second normal range crosses 0° and 360°, but it does not have to cross. However, the second normal range covers the entire first transition range. In this embodiment, the second sensor output X2 changes discontinuously in the second transition range, but it may change continuously.

[0129] Therefore, the phase difference D between the first sensor output X1 and the second sensor output X2 is 90°. The phase of the second sensor output X2 leads the phase of the first sensor output X1 by 90°. That is, the angle difference between the center of the first transition range and the center of the second transition range is 90°. The first transition range and the second transition range do not overlap but are separated from each other.

[0130] For example, if the Hall voltages V21 and V22 are the same as those in the first embodiment, the second sensor output X2 is calculated by the following formula: X2=K×{atan3(V21 / V22)+90°}+V0. Here, atan3(V21 / V22) is the same as in the first embodiment. Alternatively, the arrangement of the two Hall elements of the second Hall IC 72 may be adjusted so that the Hall voltages V21 and V22 that provide the second sensor output X2 as shown in FIG. 13 are obtained by the same calculation formula as in the first embodiment.

[0131] Other hardware configurations of the rotation system are the same as those in the first embodiment. The behavior of the first sensor output X1 output from the sensor 7 is also the same as in the first embodiment. The operation of the ECU 1 other than the target calculation unit 10 is the same as in the first embodiment.

[0132] The target calculation unit 10 adds 90° to the first target angle θt1 to obtain the second target angle θt2. However, if the second target angle θt2 calculated by this addition is equal to or greater than 360°, the target calculation unit 10 further subtracts 360° from the first target angle θt2 to obtain the second target angle θt2. Other operations of the target calculation unit 10 are the same as those in the first embodiment.

[0133] By operating as described above, the rotation system of this embodiment can achieve the same functions and effects as the rotation system of Embodiment 1. The phase difference D is not limited to 180° or 90°.

[0134] (Other embodiments) The present invention is not limited to the above-mentioned embodiment, and can be modified as appropriate. The above-mentioned embodiments are not unrelated to each other, and can be combined as appropriate, except when the combination is clearly impossible. In the above-mentioned embodiments, the elements constituting the embodiment are not necessarily essential, except when it is specifically stated that they are essential or when it is clearly considered essential in principle. In the above-mentioned embodiments, when the numbers, values, amounts, ranges, etc. of the components of the embodiment are mentioned, they are not limited to the specific numbers, except when it is specifically stated that they are essential or when it is clearly limited to a specific number in principle. In particular, when multiple values ​​are exemplified for a certain amount, it is also possible to adopt a value between the multiple values, except when it is specifically stated otherwise or when it is clearly impossible in principle. In the above-mentioned embodiments, when the shape, positional relationship, etc. of the components are mentioned, they are not limited to the shape, positional relationship, etc., except when it is specifically stated or when it is limited to a specific shape, positional relationship, etc. in principle. In addition, the present invention also allows the following modifications and modifications within an equivalent range to the above-mentioned embodiments. The following modifications can be independently selected to be applied or not applied to the above-mentioned embodiments. In other words, any combination of the following modifications can be applied to the above embodiment.

[0135] (Variation 1) In the above embodiment, when the first sensor output X1 is selected as the reference, the selector 13 does not necessarily change the reference to the second sensor output X2 even if the absolute value of the first angle deviation Δθ1 is greater than the absolute value of the second angle deviation Δθ2. In other words, if the difference between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2 is equal to or greater than the threshold value P1 and less than the threshold value P2, the selector 13 maintains the reference to the first sensor output X1.

[0136] However, this is not necessarily the case. When the first sensor output X1 is selected as the reference destination, if the absolute value of the first angle deviation Δθ1 is greater than the absolute value of the second angle deviation Δθ2, the reference destination may be changed to the second sensor output X2. Similarly, when the second sensor output X2 is selected as the reference destination, if the absolute value of the second angle deviation Δθ2 is greater than the absolute value of the first angle deviation Δθ1, the reference destination may be changed to the first sensor output X1.

[0137] In this way, the reference may be unnecessarily frequently switched depending on the detection error of the first Hall IC 71 and the second Hall IC 72. In other words, hunting may occur. However, even if this occurs, at the timing when hunting occurs, it is unlikely that control such that the target object 6 takes a detour occurs regardless of whether the first sensor output X1 or the second sensor output X2 is used.

[0138] (Variation 2) In the above embodiment, the selection unit 13 determines the reference destination based on a comparison result between the absolute value of the first angle deviation Δθ1 and the absolute value of the second angle deviation Δθ2. However, the reference destination may be determined based on a comparison between the absolute value of the first angle deviation Δθ1 and a predetermined reference value (e.g., 180°, 270°, etc.). Specifically, if the absolute value of the first angle deviation Δθ1 is smaller than the reference value, the reference destination may be the first sensor output X1, and if the absolute value of the first angle deviation Δθ1 is larger than the reference value, the reference destination may be the second sensor output X2. Even in such a process, the possibility of occurrence of control that causes the object 6 to take a detour can be reduced.

[0139] (Variation 3) In each of the above embodiments, the behavior of the first sensor output X1 and the behavior of the second sensor output X2 may be interchanged.

[0140] (Variation 4) In each of the above embodiments, the sensor 7 has two different Hall ICs, the first Hall IC 71 and the second Hall IC 72, and the first Hall IC 71 outputs the first sensor output X1 and the second Hall IC 72 outputs the second sensor output X2. However, the second Hall IC 72 may be omitted from the sensor 7, and both the first sensor output X1 and the second sensor output X2 may be output from the first Hall IC 71. This is because voltage values ​​corresponding to the first sensor output X1 and the second sensor output X2 in each of the embodiments can be calculated from the Hall voltages V11 and V12 generated by the first Hall IC 71. [Explanation of symbols]

[0141] 1 ECU 6. Objects 7 Sensors 10. Goal Calculation Section 13 Selection section 17 Feedback control section

Claims

1. A detection device for determining a rotation angle of an object (6) that can rotate over 360° by rotational driving of an actuator (2) controlled by a feedback control unit (17), comprising: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in the rotation angle, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) which is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) which is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; the feedback control unit, when the selection unit selects the first sensor output, controls the actuator to change the rotation angle of the object from the first actual angle to the first target angle, and, when the selection unit selects the second sensor output, controls the actuator to change the rotation angle of the object from the second actual angle to the second target angle; the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, The selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1), which is the difference between the first actual angle and the first target angle, is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, thereby preventing the actuator from rotating the object through a wider angle range than actual rotation in a direction opposite to actual rotation.

2. 2. The detection device according to claim 1, wherein the selection unit selects the second sensor output as the reference when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation based on the first angle deviation and a second angle deviation (Δθ2) that is a difference between the second actual angle and the second target angle, and selects the first sensor output as the reference when the absolute value of the second angle deviation is greater than an absolute value of the first angle deviation.

3. the selection unit repeatedly performs a process of selecting one of the first sensor output and the second sensor output as the reference output, 3. The detection device according to claim 2, wherein the selection unit selects the second sensor output as the reference when an absolute value of the first angular deviation is greater than an absolute value of the second angular deviation and a difference between the absolute value of the first angular deviation and the absolute value of the second angular deviation is greater than a threshold value (P2), and selects one of the first sensor output and the second sensor output that was previously selected as the reference when the absolute value of the first angular deviation is greater than an absolute value of the second angular deviation and a difference between the absolute value of the first angular deviation and the absolute value of the second angular deviation is smaller than the threshold value.

4. A detection device for determining a rotation angle of an object (6) that can rotate over 360°, comprising: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in the rotation angle, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) which is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) which is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, the selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, the selection unit selects the second sensor output as the reference when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation based on the first angle deviation and a second angle deviation (Δθ2) that is a difference between the second actual angle and the second target angle, and selects the first sensor output as the reference when the absolute value of the second angle deviation is greater than an absolute value of the first angle deviation; the selection unit repeatedly performs a process of selecting one of the first sensor output and the second sensor output as the reference output, the selection unit selects the second sensor output as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), and selects one of the first sensor output and the second sensor output that was previously selected as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value.

5. A control device for controlling an actuator (2) that rotates an object (6) that is rotatable by more than 360°, comprising: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to the change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) which is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) which is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; a feedback control unit (17) that controls the actuator so as to cause the rotation angle of the object to approach the first target angle from the first actual angle when the selection unit selects the first sensor output, and controls the actuator so as to cause the rotation angle of the object to approach the second target angle from the second actual angle when the selection unit selects the second sensor output, the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, The selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1), which is the difference between the first actual angle and the first target angle, is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, thereby avoiding the actuator from rotating the object through a wider angle range than actual rotation in a direction opposite to actual rotation.

6. A control device for controlling an actuator (2) that rotates an object (6) that is rotatable by more than 360°, comprising: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to the change in the rotation angle; a target calculation unit (10) that calculates a first target angle (θt1) which is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) which is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; a selection unit (13) that selects one of the first sensor output and the second sensor output as a reference to be used for driving the object; a feedback control unit (17) that controls the actuator so as to cause the rotation angle of the object to approach the first target angle from the first actual angle when the selection unit selects the first sensor output, and controls the actuator so as to cause the rotation angle of the object to approach the second target angle from the second actual angle when the selection unit selects the second sensor output, the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, the selection unit is more likely to select the first sensor output as the reference as the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle is smaller, and is more likely to select the second sensor output as the reference as the absolute value of the first angle deviation is larger, the selection unit selects the second sensor output as the reference when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation based on the first angle deviation and a second angle deviation (Δθ2) that is a difference between the second actual angle and the second target angle, and selects the first sensor output as the reference when the absolute value of the second angle deviation is greater than an absolute value of the first angle deviation; the selection unit repeatedly performs a process of selecting one of the first sensor output and the second sensor output as the reference output, the selection unit selects the second sensor output as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), and selects one of the first sensor output and the second sensor output that was previously selected as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value.

7. A method for controlling an actuator (2) for rotating an object (6) rotatable by more than 360°, comprising the steps of: a sensor (7) that outputs a first sensor output (X1) that changes in response to a change in a rotation angle of the object, and outputs a second sensor output (X2) that changes in response to a change in the rotation angle in a manner different from the first sensor output, and acquires the first sensor output and the second sensor output from the sensor (7), and calculates (10) a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; selecting (13) one of the first sensor output and the second sensor output as a reference used to drive the object; When the first sensor output is selected in the selecting, the actuator is controlled so as to cause the rotation angle of the object to approach the first target angle from the first actual angle, and when the second sensor output is selected in the selecting, the actuator is controlled so as to cause the rotation angle of the object to approach the second target angle from the second actual angle (17). the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, In the selection, the smaller the absolute value of a first angle deviation (Δθ1) that is the difference between the first actual angle and the first target angle, the easier it is to select the first sensor output as the reference, and the larger the absolute value of the first angle deviation, the easier it is to select the second sensor output as the reference. By making it easier to select the output, the actuator rotates the object in the opposite direction to the actual direction. A control method that avoids rotating through a wider angle range than is actually possible.

8. A method for controlling an actuator (2) for rotating an object (6) rotatable by more than 360°, comprising the steps of: Changes according to the change in the rotation angle of the object acquiring a first sensor output (X1) and a second sensor output (X2) from a sensor (7) that outputs a first sensor output (X1) and also outputs a second sensor output (X2) that changes in a manner different from the first sensor output in response to a change in the rotation angle, and calculating (10) a first target angle (θt1) that is a target value to be realized for a first actual angle (θa1) corresponding to the first sensor output, and a second target angle (θt2) that is a target value to be realized for a second actual angle (θa2) corresponding to the second sensor output; selecting (13) one of the first sensor output and the second sensor output as a reference used to drive the object; When the first sensor output is selected in the selecting, the actuator is controlled so as to cause the rotation angle of the object to approach the first target angle from the first actual angle, and when the second sensor output is selected in the selecting, the actuator is controlled so as to cause the rotation angle of the object to approach the second target angle from the second actual angle (17). the first sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the first sensor output, as the rotation angle increases, increases or decreases within a predetermined first normal range, and changes in a direction of increase or decrease different from the first normal range by passing through a first transition range outside the first normal range; the second sensor output has a periodicity of 360° with respect to the rotation angle of the object, and within one period of the second sensor output, as the rotation angle increases, increases or decreases within a predetermined second normal range, and changes in a direction of increase or decrease different from the second normal range by passing through a second transition range outside the second normal range; the first transition range and the second transition range are spaced apart, In the selection, the smaller the absolute value of a first angle deviation (Δθ1) that is a difference between the first actual angle and the first target angle, the easier it is to select the first sensor output as the reference, and the larger the absolute value of the first angle deviation, the easier it is to select the second sensor output as the reference, in the selecting, based on the first angle deviation and a second angle deviation (Δθ2) which is a difference between the second actual angle and the second target angle, when an absolute value of the first angle deviation is greater than an absolute value of the second angle deviation, the second sensor output is selected as the reference, and when an absolute value of the second angle deviation is greater than an absolute value of the first angle deviation, the first sensor output is selected as the reference; In the selecting, a process of selecting one of the first sensor output and the second sensor output as the reference output is repeatedly performed; the selection comprises selecting the second sensor output as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is greater than a threshold value (P2), and selecting one of the first sensor output and the second sensor output that was previously selected as the reference when the absolute value of the first angle deviation is greater than the absolute value of the second angle deviation and a difference between the absolute value of the first angle deviation and the absolute value of the second angle deviation is smaller than the threshold value.

Citation Information

Patent Citations

  • Semiconductor rotary angle sensor

    JP1996005312A

  • Angle sensor, position sensor and automobile

    JP1999094512A

  • Turning-angle detecting device

    JP2001091208A

  • Potentiometer

    JP2008139108A

  • Motor drive device

    JP2021083196A