Detection device and control unit

By introducing a multi-rotation detection unit and a position detector into the detection device, and using a magnetic storage method to continue detecting the rotation angle when the ignition switch is turned off, the problem of battery depletion due to power consumption is solved, and the vehicle can be detected in different states. Steering angle detection continuity.

CN111750901BActive Publication Date: 2024-10-11DENSO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010224495.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-10
Filing Date
2020-03-26
Publication Date
2024-10-11
Estimated Expiration
2040-03-26

AI Technical Summary

Technical Problem

The existing technology has a problem that the battery may be exhausted due to power consumption when the ignition switch is turned off, especially when the vehicle is stopped and the rotation angle needs to be continuously detected, resulting in excessive battery power consumption.

Method used

A detection device is designed, including a multi-turn detection unit, a position detector and a multi-turn position calculator, which can continuously detect the rotation position of multi-turn rotations without receiving external power supply, and maintain the rotation position through a magnetic storage method information and read it to continue detection when power is supplied.

Benefits of technology

It achieves the ability to properly detect the rotational position of multiple rotations even when the ignition switch is turned off, avoids the problem of battery depletion due to power consumption, and ensures the continuity of steering angle detection of the vehicle in different states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111750901B_ABST
    Figure CN111750901B_ABST
Patent Text Reader

Abstract

The invention relates to a detection device and a control unit. The control unit includes a detection device, the detection device including: a multi-turn detection unit (45) capable of continuously detecting the rotational position of a steering shaft (92) driven by a motor (80) for multiple turns without external power supply; a position detector (40) detecting the rotational position in one turn of the rotor; a counter calculator (55) calculating multi-turn rotational position information related to the rotational position of the multiple turns based on the detection value of the multi-turn detection unit; and an angle calculator (50) calculating the motor rotation angle (θg) related to the rotational position in one turn based on the detection value of the position detector (40). The multi-turn detection unit (45) is arranged at a position different from the motor so that the detection of the rotational position of the multiple turns can be continued even when the power supply from the outside is interrupted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a detection device and a control unit. Background Art

[0002] The prior art includes a rotation angle detection device that detects the rotation angle of a motor. For example, in Patent Document 1, the steering angle is calculated based on the rotation angle, the number of revolutions, the gear ratio of the motor to the steering shaft, etc. by continuing to calculate the number of revolutions even during the ignition switch off period.

[0003] (Patent Document 1) Japanese Patent No. 5958572

[0004] Since the number of revolutions is an integrated value of the motor rotations, detection must be continued even when the vehicle is stopped. Therefore, in Patent Document 1, power is continuously supplied to the rotation angle detection device even when the ignition switch is turned off. Therefore, there is a possibility that the battery may be exhausted due to power consumption when the ignition switch is turned off. Summary of the invention

[0005] An object of the present disclosure is to provide a detection device and a control unit capable of appropriately detecting a rotational position of multiple rotations even when power is interrupted.

[0006] In one aspect, a detection device of the present disclosure includes a multi-turn detection unit, a position detector, and a multi-turn rotation position calculator.

[0007] The multi-turn detection unit can continuously detect the rotational position of the detection object for multiple turns without receiving power supply from the outside (for example, without having an external power supply outside the control unit). The position detector detects the rotational position of the detection unit and the counting calculation unit in one turn. The rotation detection unit detects the rotation of the detection object. The counting calculation unit calculates a count value that is counted up or down n times (n is an integer of 1 or greater than 1) according to the rotation direction during one turn of the detection object. The counting calculation unit can count a number m (m is an integer of 2n or greater than 2n) between the lower limit value and the upper limit value as a count value, which is set to the lower limit value when the count value is counted up next time after the upper limit value is reached, or is set to the upper limit value when the count value is counted down next time after the lower limit value is reached. In this way, the rotational position of multiple turns of rotation can be appropriately detected.

[0008] On the other hand, the detection device includes a rotation detection unit and a count calculation unit. The rotation detection unit detects the rotation of the detection object. The count calculation unit calculates a count value that is counted up or down n times (n is an integer of 1 or greater) according to the rotation direction during one rotation of the detection object. The count calculation unit can count a number m (m is an integer of 2n or greater) between a lower limit value and an upper limit value as a count value, which is set to the lower limit value when the count value is counted up next time after reaching the upper limit value, or is set to the upper limit value when the count value is counted down next time after reaching the lower limit value. In this way, the rotation position of multiple rotations can be appropriately detected.

[0009] Furthermore, the detection device according to the present disclosure includes a multi-turn detection unit, a position detection unit, a multi-turn rotation position calculation unit, and an angle calculation unit.

[0010] In this aspect of the present invention, the multi-turn detection unit can continuously detect the rotational position of the detection object driven by the motor in multiple (i.e., multiple turns) rotations without receiving power supply from the outside (e.g., from an external device outside the detection device). The position detection unit detects the rotational position during one rotation or in one rotation. The multi-turn rotation position calculation unit calculates the multi-turn rotation position information related to the rotational position of the multiple rotations based on the detection value of the multi-turn detection unit. The angle calculation unit calculates the rotation angle information related to the rotational position during one rotation based on the detection value of the position detection unit. The multi-turn detection unit is set at a different position from the motor. Therefore, even when the power supply from the outside is interrupted, the rotational position of multiple (i.e., multiple turns) rotations can continue to be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The objects, features and advantages of the present disclosure will become more apparent from the following detailed description with reference to the accompanying drawings, in which:

[0012] Figure 1 is a schematic configuration diagram of a steering system according to a first embodiment;

[0013] Figure 2 is a cross-sectional view of a driving device according to a first embodiment;

[0014] Figure 3 is along Figure 2 A cross-sectional view taken along line III-III in FIG.

[0015] Figure 4 is a block diagram of an electronic control unit (ECU) according to a first embodiment;

[0016] Figure 5 is a block diagram of an ECU according to a second embodiment;

[0017] Figure 6 is a flowchart of the abnormality monitoring process according to the second embodiment.

[0018] Figure 7 is a block diagram of an ECU according to a third embodiment;

[0019] Figure 8 is an explanatory diagram of how to recognize an abnormality according to the third embodiment and the seventeenth embodiment;

[0020] Fig. 9 is a block diagram of an ECU according to the fourth embodiment and the nineteenth embodiment, and

[0021] Fig.10 is a block diagram of an ECU according to a fifth embodiment;

[0022] Fig.11 is a block diagram of an ECU according to a sixth embodiment;

[0023] Fig.12 is a block diagram of an ECU according to a seventh embodiment;

[0024] Fig.13 is a flowchart of a count calculation process according to an eighth embodiment;

[0025] Fig.14 is another flowchart of the count calculation process according to the eighth embodiment;

[0026] Fig.15 is a schematic diagram of a multi-turn detection unit according to one of other embodiments;

[0027] Fig.16 is a schematic configuration diagram of a steer-by-wire system according to one of other embodiments;

[0028] Fig.17 is a schematic configuration of a steering system provided with a steering sensor;

[0029] Fig.18 is a schematic diagram of a steering sensor;

[0030] Fig.19 is the time diagram of the steering angle and the gear angle of the steering sensor;

[0031] Fig. 20 is another schematic diagram of the steering sensor;

[0032] Fig.21 is a schematic configuration diagram of a steering system in which a torque sensor and a steering sensor are integrated;

[0033] Fig. 22 is a schematic diagram of a steering system including a drive device according to a ninth embodiment;

[0034] Fig.23 is an exploded perspective view of a sensor unit according to a ninth embodiment;

[0035] Fig.24 is a block diagram of a detection device and an electronic control unit (ECU) according to a ninth embodiment;

[0036] Fig.25 is a block diagram of a detection device and an ECU according to a ninth embodiment;

[0037] Fig.26A , Fig.26B They are schematic diagrams of a gear fixing mechanism according to a ninth embodiment;

[0038] Fig. 27 is an explanatory diagram of the relationship between the rotational position and the count value according to the ninth embodiment;

[0039] Fig.28 is a flowchart of an intermediate point learning process according to a ninth embodiment;

[0040] Fig.29 is a side view of a detection device according to a tenth embodiment;

[0041] Fig.30 is a side view of a detection device according to an eleventh embodiment;

[0042] Fig.31 is a side view of a detection device according to a twelfth embodiment;

[0043] Fig.32 is a side view of a detection device according to a thirteenth embodiment;

[0044] Fig.33 is a block diagram of a detection device and an ECU according to a fourteenth embodiment;

[0045] Fig.34 is a block diagram of a detection device and an ECU according to a fifteenth embodiment;

[0046] Fig.35 is a flowchart of an abnormality detection process according to the fifteenth embodiment;

[0047] Fig.36 is a block diagram of a rotation angle sensor and an ECU according to a sixteenth embodiment;

[0048] Fig.37 is a flowchart of an abnormality monitoring process according to a sixteenth embodiment;

[0049] Fig.38 is a block diagram of a rotation angle sensor and an ECU according to a seventeenth embodiment;

[0050] Fig.39 is a block diagram of a rotation angle sensor and an ECU according to an eighteenth embodiment;

[0051] Fig.40 is a block diagram of a rotation angle sensor and an ECU according to a twentieth embodiment; and

[0052] Fig.41 is a block diagram of a rotation angle sensor and an ECU according to a twenty-first embodiment. DETAILED DESCRIPTION

[0053] Hereinafter, the detection device and the control unit according to the present disclosure are described based on the accompanying drawings. In the following multiple embodiments, the same reference numerals are used to indicate substantially the same structural configuration, thereby simplifying the description.

[0054] (First Embodiment)

[0055] exist Figures 1 to 4 FIG. 2 shows a detection device and a control unit according to a first embodiment. Figure 1 As shown, an electronic control unit 10 or ECU 10 as a detection unit is applied to an electric power steering apparatus 8 to assist a steering operation of a vehicle together with a motor 80 as a rotary electric machine. Figure 1 The overall configuration of a steering system 90 including the electric power steering device 8 is shown. The steering system 90 includes a steering wheel 91, a steering shaft 92, a pinion 96, a rack shaft 97, wheels 98, the electric power steering device 8, and the like.

[0056] The steering wheel 91 is connected to a steering shaft 92. A torque sensor 94 is provided on the steering shaft 92 to detect a steering torque.

[0057] A pinion 96 is provided at an axial end of the steering shaft 92. The pinion 96 meshes with a rack shaft 97. A pair of wheels 98 are coupled to both ends of the rack shaft 97 via, for example, a tie rod. When a driver of the vehicle rotates the steering wheel 91, the steering shaft 92 connected to the steering wheel 91 rotates. The rotational motion of the steering shaft 92 is converted into a linear motion of the rack shaft 97 by the pinion 96. The pair of wheels 98 are steered to an angle corresponding to the displacement amount of the rack shaft 97.

[0058] The electric power steering device 8 includes a drive device 400 including a motor 80 and an ECU 10, and includes a reduction gear 89 as a power transmission mechanism, etc. The drive device 400 includes a motor 80 and an ECU 10, and the reduction gear 89 reduces the rotation speed of the motor 80 and transmits the rotation to the steering shaft 92. The electric power steering device 8 of this embodiment is a column-assisted type. However, the electric power steering device may alternatively be a rack-assisted type that transmits the rotation of the motor 80 to the rack shaft 97. In this embodiment, the steering shaft 92 is a driven object. Assuming that the mechanical part from the steering wheel 91 to the wheel 98 is a "steering system", the reduction gear 89 can be represented as a component connecting the motor 80 and the steering system.

[0059] like Figure 2 and Figure 3 As shown, the motor 80 outputs part of the torque or the entire torque required for the steering operation for rotating the reduction gear 89 in the forward / reverse rotation direction when driven by the power supply from the battery not shown. The motor 80 is a three-phase brushless motor, and as shown Figure 2 Shown are a rotor 860 and a stator 840 .

[0060] The motor 80 has a first motor winding 180 and a second motor winding 280 as winding wire groups, respectively. The motor windings 180 and 280 have the same electrical characteristics and are cancel-wound around a common stator 840 with an electrical angle offset of 30° from each other. Accordingly, phase currents are controllably supplied to the motor windings 180 and 280 so that the phase currents have a phase difference of 30 degrees. By optimizing the current supply phase difference, the output torque is improved. It can also reduce the sixth-order torque pulsation. In addition, since the current is evenly distributed between the motor windings by the current supply with such a phase difference, the advantages of eliminating noise and vibration can be maximized. Heat generation is also evenly distributed between the motor windings (i.e., between the two systems of the motor windings and other components). Therefore, the temperature-related inter-system error of the detection value or torque of each sensor between the systems can also be reduced, and the available supply of current can also be evenly distributed. The electrical characteristics of the motor windings 180 and 280 can be different from each other.

[0061] Hereinafter, the configuration of the first drive circuit 120 and the like related to the drive control of the first motor winding 180 is referred to as the first system L1, and the configuration of the second drive circuit 220 and the like related to the drive control of the second motor winding 280 is referred to as the second system L2. The configuration related to the first system L1 is basically represented by the reference numeral 100, and the configuration related to the second system L2 is basically represented by the reference numeral 200. In addition, in the first system L1 and the second system L2, the same or similar configurations are represented by the same reference numerals in the least significant two digits. For other configurations described below, the term "first" is indicated by the suffix "1", and the term "second" is indicated by the suffix "2", and the description may be appropriately omitted.

[0062] In the drive device 40, the ECU 10 is integrally arranged on one side along the axial direction of the motor 80. That is, the drive device 40 is provided as a mechanism-circuit integrated type. The motor 80 and the ECU 10 may alternatively be separately arranged. The ECU 10 is coaxially arranged with the axis Ax of the shaft 870 on the side opposite to the output shaft of the motor 80. The ECU 10 may alternatively be arranged on the output shaft side of the motor 80. By adopting a mechanism-circuit integrated configuration, it is possible to achieve an effective arrangement of the ECU 10 and the motor 80 within a limited installation space of the vehicle.

[0063] The motor 80 includes a stator 840, a rotor 860, and a housing 830 accommodating the stator 840 and the rotor 860. The stator 840 is fixed to the housing 830, and the motor windings 180 and 280 are wound around the stator 840. The rotor 860 is disposed radially inside the stator 840 to be rotatable relative to the stator 840.

[0064] The shaft 870 is fixed in the rotor 860 to rotate integrally with the rotor 860. The shaft 870 is rotatably supported by the housing 830 through bearings 835 and 836. The end of the shaft 870 on the ECU 10 side protrudes from the housing 830 toward the ECU 10. The magnet 875 is provided at the axial end of the shaft 870 on the ECU 10 side. The center of the magnet 875 is provided on the axis Ax.

[0065] The housing 830 includes a bottomed cylindrical housing 834 having a rear frame end 837 and a front frame end 838 provided on the opening side of the housing 834. The housing 834 and the front frame 838 are fastened to each other by bolts or the like. A lead insertion hole 839 is formed in the rear frame end 837. Leads 185 and 285 of each phase connected to the motor windings 180 and 280 are inserted through the lead insertion hole 839. The leads 185 and 285 are led out from the lead insertion hole 839 toward the ECU 10, and are connected to the circuit board 470.

[0066] The ECU 10 includes a cover 460 , a heat sink 465 fixed to the cover 460 , a circuit board 470 fixed to the heat sink 465 , and other electronic components mounted on the circuit board 470 .

[0067] A cover 460 is provided to protect electronic components from external impacts and to prevent dust and water from entering the ECU 10. In the cover 460, a cover body 461 and a connector member 462 are formed integrally. Note that the connector member 462 may alternatively be separated from the cover body 461. The terminal 463 of the connector member 462 is connected to the circuit board 470 via wiring (not shown) or the like. The number of connectors and the number of terminals can be appropriately changed according to the number of signals, etc. The connector member 462 is disposed at the end in the axial direction of the drive device 400 and is open on the side opposite to the motor 80.

[0068] The circuit board 470 is, for example, a printed circuit board, and is positioned to face the rear frame end 837. On the circuit board 470, electronic components of the two systems are mounted separately in two areas for each system. Note that in the present embodiment, electronic components such as the control unit 70 used in common by the two systems are implemented on one circuit board 470. However, the electronic components may also be implemented on a plurality of circuit boards.

[0069] Of the two main surfaces of the circuit board 470, one surface on the motor 80 side is referred to as a motor side surface 471, and the other surface opposite to the motor 80 is referred to as a cover side surface 472. Figure 3 As shown, the switching element 121 constituting the drive circuit 120, the switching element 221 constituting the drive circuit 220, the rotation angle sensor 31 as the detection device, and the microcomputer and the custom IC 79 constituting the control unit 70 are implemented on the motor side surface 471. Figure 3 , 70 is a number about a microcomputer including the control unit 70. At least one of the custom IC 79 and the control unit 70 may be provided on the cover side surface 472. The rotation angle sensor 876 is installed at a portion facing the magnet 875 so as to be able to detect a change in a magnetic field caused by the rotation of the magnet 875.

[0070] Capacitors 128 and 228, inductors 129 and 229, etc. are mounted on the cover side surface 472. Capacitors 128 and 228 smooth the input of power from the battery. Capacitors 128 and 228 assist in supplying power to the motor 80 by storing charge therein. Capacitors 128, 228 and inductors 129, 229 respectively constitute filter circuits to reduce noise transmitted from other devices that share a battery with the drive device 40, and also reduce noise transmitted from the drive device 40 to other devices that share a battery. Note that power relays, motor relays, current sensors, etc. (not shown in the figure) are also mounted on the motor side surface 471 or the cover side surface 472.

[0071] like Figure 4 As shown in FIG. 1 , the ECU 10 includes drive circuits 120 and 220, a control unit 70, a rotation angle sensor 31, and the like. Figure 4 , a driver circuit which is generally an inverter is described as “INV” (i.e., inverter). The first drive circuit 120 is a three-phase inverter having six switching elements 121, and converts the power supplied to the first motor winding 180. The second drive circuit 220 is a three-phase inverter having six switching elements 221, and converts the power supplied to the second motor winding 280. The on / off operation of the switching elements 121 and 221 is controlled based on a control signal output from the control unit 70.

[0072] The rotation angle sensor 31 has a position detector 40, a multi-turn detection unit 45, an angle calculator 50, a count calculator 55 and a communication unit 58, and when a start switch such as an ignition switch (not shown) of a vehicle is turned on, power is supplied from a power supply 391. The power supply 391 is, for example, a constant voltage power supply such as a regulator. Hereinafter, the start switch will be appropriately described as IG. The position detector 40 detects changes in the magnetic field of the magnet 875 according to the rotation of the motor 80, and the position detector 40 is a magnetoresistive element such as an AMR (magnetic) sensor, a TMR (tunnel magnetoresistance) sensor, a GMR (giant magnetoresistance) sensor, a Hall element, etc. Alternatively, an inductive sensor or a rotary transformer may also be used.

[0073] The multi-turn detection unit 45 is configured to capture the change of the magnetic flux accompanying the rotation of the magnet 875 even without the supply of electricity. In other words, the multi-turn detection unit 45 uses a storage method other than electricity (i.e., a magnetic storage method in the present embodiment). More specifically, in the multi-turn detection unit 45, the magnetic detection element is arranged in a spiral shape, and the element initially faces a specific magnetic direction. When the magnet 875 rotates, the magnetic detection element sequentially changes its magnetic direction from one end of the spiral shape, and each time the rotor 860 rotates a full circle, the position where the magnetic flux changes outward or inward changes according to the rotation direction of the rotor 860. The magnetic detection element changes its resistance value according to the magnetic direction. Changing the magnetic direction of the magnetic detection element does not require electricity. In addition, the rotation position of the rotor 860 can be detected by supplying current to the magnetic detection element and by detecting the output from the magnetic detection element. That is, the multi-turn detection unit 45 does not require electricity when detecting rotation, but requires electricity when reading the detection value.

[0074] The multi-rotation detection unit 45 may be a detector capable of detecting a preset number of rotation positions between the rotation start end and the rotation end end, or a detector capable of detecting a practically unlimited number of rotation positions by connecting the rotation start end and the rotation end end.

[0075] Angle calculator 50 calculates motor rotation angle θm based on the detection value of position detector 40 AD-converted by AD conversion unit (not shown). Motor rotation angle θm is a value corresponding to the rotation angle of rotor 860 and may be any value that can be converted into a rotation angle.

[0076] The count calculator 55 calculates the count value TC based on the output of the multi-turn detection unit 45 when the multi-turn detection unit 45 is powered on (i.e., receives the supply of power). In one rotation of the rotor 860, the count value TC is counted up or down n times (i.e., n is an integer of 1 or greater than 1) according to the direction of rotation. When n is 3 or greater than 3, the direction of rotation is detectable. In the present embodiment, n is set to 4 (i.e., n=4), and up-counting or down-counting is performed each time the rotor 860 rotates 90°. In the present embodiment, the count value TC is counted up when rotating in the forward direction and counted down when rotating in the reverse direction. In addition, taking into account the rotation speed of the rotor 860, sampling of the rotation of the rotor 860 is performed at sufficiently short intervals. In the figure, the block surrounded by the double-dotted line is a power-free block that does not require power supply, and the block surrounded by the dotted line receives power supply when the IG is turned on.

[0077] The communication unit 58 generates an output signal including the motor rotation angle θm and the count value TC, and outputs the output signal to the control unit 70 through digital communication such as SPI communication. The communication method may be a method other than SPI communication. In addition, the motor rotation angle θm and the count value TC may be output to the control unit 70 separately. In addition, the absolute angle θa may be calculated based on the motor rotation angle θm and the count value TC, and the absolute angle θa may be output to the control unit 70.

[0078] The control unit 70 is mainly composed of a microcomputer and the like, and includes a CPU, a ROM, a RAM, an I / O, and a bus connecting these components, which are not shown in the figure. Each process in the control unit 70 may be a software process by executing a program pre-stored in a tangible storage device (i.e., a readable, non-transitory, tangible recording medium) such as a ROM by the CPU, or may be a hardware process by using a dedicated circuit. The same applies to the control units 170 and 270 according to the embodiments described later.

[0079] The control unit 70 includes an absolute angle calculator 75, a control calculator 76, an abnormality monitoring unit 77, and the like. The absolute angle calculator 75 calculates the absolute angle θa by using the count value TC and the motor rotation angle θm. The absolute angle θa is a rotation angle starting from a reference position and includes multi-turn rotation position information. The control calculator 76 performs various control calculations by using information obtained from the rotation angle sensor 31 and the like. In the present embodiment, control calculations related to the drive control of the motor 80 are performed using the information obtained from the rotation angle sensor 31. The abnormality monitoring unit 77 monitors the abnormality of the rotation angle sensor 31.

[0080] The calculation of the absolute angle θa is shown in formula (1). INT(TC / n) in formula (1) means the integer part of the quotient obtained by dividing the count value TC by the number of counts n per rotation, and indicates the number of revolutions of the motor 80. Note that if the count value TC is different from the zero point of the motor rotation angle θm, INT(TC / n) is calculated as an erroneous number. Therefore, before being used for the calculation of INT(TC / n), the count value TC can be corrected by the TC correction value TC_c, which is added to the count value TC to match the motor rotation angle θm in terms of the zero point. In this case, the number of revolutions can be calculated as INT{(TC+TC_c) / n}. The TC correction value TC_c needs to be calculated each time the count value TC is reset, and the TC correction value TC_c is stored in the non-volatile area of ​​the memory. Although in Figure 4 In the example of FIG. 7 , the absolute angle calculator 75 is provided in the control unit 70, but the rotation angle sensor 31 may calculate the absolute angle θa and may output the absolute angle θa to the control unit 70. The same applies to the embodiments described later.

[0081] θa=INT(TC / n)×360+θm...(1)

[0082] like Fig.17 As shown, the steering sensor 95 may be provided on the steering shaft 92 to detect the steering angle θs which is the rotation angle of the steering wheel 91. Figure 1 , Fig.16 , Fig.17 and Fig.21 In the figure, the function of the torque sensor 94 is marked as "TASTOS", the function of the steering sensor 95 is marked as "SAS", and the function of the rotation angle sensor 31 is marked as "MPS", which are respectively circled with double-dashed lines.

[0083] Since the steering wheel 91 rotates more than one circle, the steering sensor 95 for detecting the steering angle θs is configured to obtain information of multiple circles of rotation (i.e., information of rotation of 360° or more). Fig.18 As shown, the steering sensor 95 includes a rotating gear 930, a first gear 931, a second gear 932, and detection magnets 935 and 936. The rotating gear 930 is provided on the steering shaft 92, and rotates integrally with the steering wheel 91 and the steering shaft 92. The first gear 931 and the second gear 932 are engaged with the rotating gear 930, and the number of teeth is different from each other. The detection magnets 935 and 936 detect the rotation angles of the gears 931 and 932, respectively. The rotation angle of the first gear 931 is the first gear angle θg1, and the rotation angle of the second gear 932 is the second gear angle θg2.

[0084] like Fig.19 As shown, since the first gear angle θg1 and the second gear angle θg2 have different periods, the steering angle θs of 360° or more can be detected based on the difference between the first gear angle θ1 and the second gear angle θ2 .

[0085] also, Fig. 20 The steering sensor 950 shown in the figure includes a ball screw 951 and a sensor 952. The ball screw 951 is set on the steering shaft 92, and moves up and down according to the rotation of the steering shaft 92. The sensor 952 measures the gap distance Lgap relative to the ball screw 951, and calculates the steering position based on the gap distance Lgap. Here, although an example in which the steering sensor 950 is set on the steering shaft 92 has been described, even if the ball screw 951 is set on the rack shaft 97, the measurement can be performed in the same way. However, such steering sensors 95 and 950 have a large number of components and therefore have low detection accuracy.

[0086] In addition, by using the torque sensor 94 and the steering sensor 95 (see Fig.21) are integrated together, or by integrating the driving device 400 of the electric power steering device 8 and the steering sensor 95 together, the functions can be integrated and the size can be reduced. However, even after integration by simply combining the two components, the number of components is still large.

[0087] In this embodiment, if Figure 1 and Figure 4 As shown, the steering angle θs is calculated based on the motor rotation angle θm detected by the rotation angle sensor 31 that detects the rotation of the motor 80 of the electric power steering device 8 and the count value TC (see formula (2)). Rg in the formula is the transmission ratio of the gear (i.e., the reduction gear 89 in this embodiment) provided between the motor 80 and the steering wheel 91. In such a case, this function can be added to the rotation angle sensor 31, and the steering angle θs can be calculated using a small number of components. In addition, since the resolution of the motor rotation angle θm is high, the steering angle θs can be calculated with high accuracy.

[0088] θs={INT(TC / n)×360+θm} / Rg=θa / Rg…(2)

[0089] In order to calculate the steering angle θs from the information of the rotation angle sensor 31, it is necessary to constantly detect the count value TC. Therefore, in the case of detecting the count value TC using an element that requires power, it is necessary to supply power to the rotation angle sensor 31 even during the IG-off time. In addition, after the battery is exhausted or after the battery is replaced, the steering angle θs cannot be detected until the learning of the neutral position is completed.

[0090] Therefore, in the present embodiment, the multi-turn detection unit 45 is configured to be able to detect changes in the magnetic field without supplying power, and to continue to detect changes in the magnetic field associated with the count value TC even when power is not supplied. Therefore, when the IG is turned on and power is supplied to the rotation angle sensor 31, current is supplied to the multi-turn detection unit 45, and an output is detected from the multi-turn detection unit 45, whereby the steering angle θs can be appropriately calculated even when the steering wheel 91 rotates during the IG off time. Note that the motor rotation angle θm is required only during the IG-on time, and the detection of the motor rotation angle θ does not need to be continued during the IG-off time.

[0091] As described above, the rotation angle sensor 31 includes the multi-turn detection unit 45, the position detector 40, the count calculator 55, and the angle calculator 51. The multi-turn detection unit 45 can continuously detect the rotation position of the rotor 860 for multiple turns of the rotor 860 without using power. The position detector 40 detects the rotation position of the rotor 860 in one turn. Note that the position detector 40 has a higher resolution than the multi-turn detection unit 45.

[0092] Based on the detection value of the multi-turn detection unit 45, the count calculator 55 calculates the multi-turn rotation position information related to the rotation position of the multi-turn rotation. The multi-turn rotation position information is a value related to the number of revolutions of the rotor 860, and in the present embodiment, the value is counted up or down n times (that is, n is an integer of 1 or greater than 1) according to the rotation direction in one revolution of the rotor 860, that is, the count value TC. The angle calculator 50 calculates the motor rotation angle θm related to the rotation position in one revolution based on the detection value of the position detector 40. Since the multi-turn detection unit 45 can continue to detect the rotation position of the multi-turn rotation, for example, without using power, the detection of the count value TC can be continued even when the supply of power is interrupted due to, for example, replacement of the battery.

[0093] The multi-rotation detection unit 45 of this embodiment magnetically holds the rotational position of multiple rotations, and can read the magnetically held rotational position when power is supplied. Thus, the detection of the rotational position of multiple rotations can be appropriately continued without using power.

[0094] The ECU 10 includes a rotation angle sensor 31 and a control unit 70. The rotation angle sensor 31 or the control unit 70 includes an absolute angle calculator 75 that calculates an absolute angle θa based on a count value TC and a motor rotation angle θm, the absolute angle θa being the amount of displacement from a reference position. In the present embodiment, since the count value TC is calculated based on the detection value of the multi-turn detection unit 45 that does not require power, the absolute angle θa can continue to be calculated even when the power supply is removed or replaced. In addition, the absolute angle calculator 75 calculates the absolute angle θa by using a value obtained by correcting the count value TC with a TC correction value TC_c. In this way, the calculation of an erroneous number of revolutions (e.g., skipping of the number of revolutions) caused by a zero point offset between the count value TC and the motor rotation angle θm can be prevented, so that proper calculation of the absolute angle θa can always be achieved.

[0095] (Second Embodiment)

[0096] The second embodiment is Figure 5 and Figure 6 As shown in Figure 5As shown, the ECU 11 includes drive circuits 120 and 220, a control unit 70, a rotation angle sensor 32, and the like. The rotation angle sensor 32 includes a main detection unit 41, a sub-detection unit 42, a multi-turn detection unit 45, angle calculators 51 and 52, counter calculators 55 and 56, and communication units 58 and 59, and is supplied with power from power supplies 391 and 392. The power supply 391 is capable of supplying power to the rotation angle sensor 32 via the IG when the IG is turned on, and the power supply 392, which is a constant voltage power supply such as a regulator, is capable of supplying power to the rotation angle sensor 32 from a battery not shown in the figure regardless of the on / off state of the IG. In the figure, a block surrounded by a single-point chain line constantly receives a supply of power.

[0097] Similar to the position detector 40, the main detection unit 41 and the sub-detection unit 42 detect the change of the magnetic field of the magnet 875 according to the rotation of the motor 80. Preferably, the main detection unit 41 and the sub-detection unit 42 have different sensor characteristics. For example, the main detection unit 41 is an AMR element and the sub-detection unit 42 is a TMR element. Here, even if the type of the element is the same, differences such as the circuit layout and the ratio of the materials used, the number of wafers in the manufacturing batch, and the chip position in the wafer can be regarded as "differences in the configuration related to the detection element". In addition, not only the element but also the difference in the type and voltage of the detection circuit, the calculation circuit, and the power supply applied thereto connected to the element can be regarded as "differences in the configuration related to the detection element". By using sensors with different sensor characteristics, for example, it is less likely to suffer from common cause failures such as abnormal magnetic flux density, which is preferred from the viewpoint of functional safety. The sub-detection unit 42 preferably uses a TMR element when reducing power consumption, or preferably uses an AMR element when giving priority to magnetic field reluctance.

[0098] Here, the reason why "main" is attached to the detection unit 41 and "sub" is attached to the detection unit 42 is to establish a distinction between the two, but they may be functionally identical. In addition, for example, the functions may be divided in such a way that the main detection unit 41 is used for control, while the sub-detection unit 42 is used for abnormality monitoring. This also applies to the following embodiments. Hereinafter, "A" is appropriately attached to the configuration and value related to the main detection unit 41, and "B" is attached to the configuration and value related to the sub-detection unit 42.

[0099] The angle calculator 51 calculates the motor rotation angle θm_A based on the detection value of the main detection unit 41 that has been AD-converted by the AD conversion unit (not shown in the figure). The angle calculator 52 calculates the motor rotation angle θm_B based on the detection value of the sub-detection unit 42 that has been AD-converted by the AD conversion unit (not shown in the figure). Hereinafter, in the case where the values ​​calculated by the angle calculators 51 and 52 are appropriately distinguished, the values ​​are designated as the motor rotation angles θm_A and θm_B, and in the case where no distinction is required, the values ​​are designated only as the motor rotation angle θm. By comparing the motor rotation angles θm_A and θm_B, the presence or absence of abnormality can be detected.

[0100] The count calculator 56 constantly receives power supply from the power supply 392, and calculates the count value TC of the rotor 860 based on the detection value of the sub-detection unit 42. Hereinafter, in order to distinguish the value calculated by the count calculator 55 from the value calculated by the count calculator 56, the value calculated by the count calculator 55 is referred to as the count value NPTC (i.e., the No Power Turn Count), and the value calculated by the count calculator 56 is referred to as the LPTC (i.e., the Low Power Turn Count). The count values ​​NPTC and LPTC are calculated by using the detection values ​​of respectively different detection methods, and have different types of redundant configurations (i.e., heterogeneous redundancy). Note that, for example, the count value NPTC can be counted once in one rotation of the rotor 860, and the count value LPTC can be counted four times in one rotation of the rotor 860. In other words, the number of counts can be different in the count value NPTC and the count value LPTC, respectively. That is, for example, when comparing the count values ​​NPTC and LPTC, conversion can be performed appropriately. Hereinafter, when there is no need to distinguish the detection units, the count value TC is simply used.

[0101] By comparing the count values ​​NPTC and LPTC, the presence or absence of an abnormality can be detected. The comparison of the count values ​​can be performed in the rotation angle sensor 32, or can be performed by the control unit 70. The same applies to the motor rotation angles θm_A and θm_B. In addition, even in the case where the comparison is performed after calculating (i.e., converting to) the absolute angles θa_A and θa_B, the same effect can be obtained. The communication unit 58 outputs the motor rotation angle θm_A and the count value NPTC to the control unit 70, and the communication unit 59 outputs the motor rotation angle θm_B and the count value LPTC to the control unit 70.

[0102] Although the multi-turn detection unit 45 has the advantage of not requiring power supply, the multi-turn detection unit 45 may suffer from a deviation of the corresponding number of revolutions, or may lose data due to external interference of the magnetic field and / or long-term data retention. Therefore, in the present embodiment, in addition to calculating the count value NPTC by using the detection value of the multi-turn detection unit 45, power is constantly supplied to the auxiliary detection unit 42 and the count calculator 56 for calculating the count value LPTC. In this way, the calculation of the count value TC is made redundant, and anomalies in the calculation are detectable. In addition, by making the multi-turn detection unit 45 and the auxiliary detection unit 42 different from each other in configuration, common cause failures hardly occur, and anomalies caused therein can be easily detected.

[0103] The absolute angle calculator 75 calculates the absolute angle θa_A based on the motor rotation angle θm_A and the count value LPTC, and calculates the absolute angle θa_B based on the motor rotation angle θm_B and the count value NPTC. The abnormality monitoring unit 77 performs abnormality monitoring based on the absolute angles θa_A and θa_B.

[0104] based on Figure 6 The abnormality monitoring process of the present embodiment is described by a flowchart. The abnormality monitoring process is performed by the control unit 70. Here, when the count value TC is used in the first calculation after startup and the count value TC is not used during operation, the process is performed when the IG is switched from off to on or when the control unit 70 is reset. When the count value TC is used not only in the initial calculation after startup but also during operation, the process is performed at a predetermined cycle during operation. Hereinafter, the "step" of step S101 is simply indicated as the symbol "S".

[0105] In S101, the control unit 70 obtains the motor rotation angles θm_A, θm_B and the count values ​​NPTC, LPTC. In S102, the control unit 70 calculates the absolute angle θa_A by using the count value NPTC and the motor rotation angle θm_A, and calculates the absolute angle θa_B by using the count value LPTC and the motor rotation angle θm_B (see equation (1)).

[0106] In S103, the control unit 70 performs abnormality determination by comparing the absolute angles θa_A and θa_B. In the case where the number of values ​​calculated in S102 is two, if the difference between the two values ​​is within the normal range, it is determined to be normal, and when the difference is outside the normal range, it is determined to be abnormal, that is, the values ​​are determined to be two different values. In addition, for example, when there are three or more detection units and three or more normal angles θa can be calculated, the normal value is identified by majority decision. The motor rotation angle θm and the count value TC used to calculate the normal absolute angle θa are called "normal signals".

[0107] At S104, the control unit 70 determines whether there is a normal absolute angle θa. When it is determined that there is a normal absolute angle θa (S104: Yes), the process proceeds to S105, and various control calculations such as calculation of the steering angle θS are performed by using any normal signal or by using an aggregate value of multiple normal signals. If it is determined that there is no normal absolute angle θa (S104: No), the process proceeds to S106, and the absolute angle θa is reset. In such a case, since the relationship (i.e., the corresponding relationship) between the absolute angle θa and the steering angle θs becomes uncertain, when the steering wheel 91 is in a neutral position, that is, when the vehicle is traveling straight, the relationship between the absolute angle θa and the steering angle θs is learned and re-established based on the detection of the absolute angle θa, etc. In addition, depending on the system configuration, the detection of the absolute angle θa can be stopped.

[0108] The rotation angle sensor 32 includes a counter calculator 56 that calculates a count value TC based on the detection value of the sub-detection unit 42. Electric power is constantly supplied to the sub-detection unit 42 and the counter calculator 56 whose detection value is used to calculate the count value TC. In this way, even when an abnormality due to external interference of a magnetic field or the like occurs in the multi-turn detection unit 45, the detection of the count value TC can be continued. In addition, abnormality detection can be performed by comparing the count values ​​NPTC and LPTC. In addition, since the detection principles of the detection values ​​used in the calculation of the count values ​​NPTC and LPTC are respectively different, the probability of having a common cause failure in the calculation of the two count values ​​can be reduced.

[0109] In the present embodiment, the main detection unit 41 and the auxiliary detection unit 42 are provided as position detectors, respectively. In other words, the position detector of the present embodiment is implemented as a plurality of units. The detection value of the auxiliary detection unit 42 as at least one position detector is shared by the angle calculator 52 and the count calculator 56. Thus, the calculation of the motor rotation angle θm and the count value TC can be made redundant with a relatively simple configuration.

[0110] The main detection unit 41 and the sub-detection unit 42 are different in configuration related to the detection element. In this way, the functional safety of the system can be improved because the occurrence of abnormalities due to the same cause can be prevented. "Configuration related to the element" means: (i) the type of element is different (e.g., TMR element, AMR element, Hall element, etc.), (ii) the internal configuration of the element is different (e.g., different wafers, different layouts, different materials used therein, different manufacturing conditions, different manufacturing batches, etc.), (iii) the circuit configuration connected to the element is different, or (iv) the type and / or voltage of the power supplied to the element is different.

[0111] At least two absolute angles θa_A and θa_B are calculated by using different count values ​​NPTC and LPTC and different motor rotation angles θm_A and θm_B. The control unit 70 has an abnormality monitoring unit 77 that performs abnormality monitoring based on a plurality of absolute angles θa_A and θa_B calculated by using different detection values. Thus, abnormality monitoring of the rotation angle sensor 32 can be appropriately performed. In addition, the same effects as those of the above-described embodiment can be achieved.

[0112] (Third embodiment, fourth embodiment)

[0113] The third embodiment is Figure 7 and Figure 8 As shown in the fourth embodiment, Fig. 9 As shown in Figure 7 and Fig. 9 As shown, the control unit 70 of this embodiment can obtain the external detection value that can be converted into the absolute angle θa from the external sensor 500. Figure 7 The rotation angle sensor 32 of the second embodiment is shown as the rotation angle sensor, and the rotation angle sensor of the fourth embodiment is shown as the rotation angle sensor. Fig. 9 The rotation angle sensor 31 of the first embodiment is shown as the rotation angle sensor. The communication between the external sensor 500 and the control unit 70 may be any communication method, such as CAN (Controller Area Network), LIN (Local Interconnect Network), FlexRay, etc. The external sensor 500 is, for example, a steering sensor, a torque sensor with a built-in steering sensor, a stroke sensor, a torque sensor with a built-in stroke sensor, etc. The value obtained by converting the detection value of the external sensor 500 into a comparable absolute angle (i.e., comparable to the absolute angle θa_A or θa_B) using the transmission ratio of the gear connecting the motor 80 and the steering system, etc., is designated as the absolute angle θa_C.

[0114] Hereinafter, the abnormality monitoring will be described focusing on the third embodiment. In the third embodiment, since three values ​​can be used as the absolute angle θa, Figure 6 In S103, the value different from the other two values ​​is identified as abnormal. Figure 8 In the comparison (1), the comparison is between the absolute angle θa_A and the absolute angle θa_B, the comparison (2) is between the absolute angle θa_A and the absolute angle θa_C, and the comparison (3) is between the absolute angle θa_B and the absolute angle θa_C. If all the comparisons (1), (2), and (3) are normal, the absolute angles θa_A, θa_B, and θa_C are all identified as normal, and if all the comparisons (1), (2), and (3) are abnormal, the normal value and the abnormal value cannot be identified. In addition, in the case where two of the comparisons (1), (2), and (3) are normal and one is abnormal, identification is also impossible.

[0115] If comparisons (1) and (2) are abnormal and comparison (3) is normal, the absolute angle θa_A is identified as abnormal. The abnormality of the absolute angle θa_A may include a case causing a detection continuation disabling failure and a case causing data jumps in the multi-turn detection unit 45 due to external interference of the magnetic field.

[0116] If comparisons (1) and (3) are abnormal and comparison (2) is normal, the absolute angle θa_B is identified as abnormal. The abnormality of the absolute angle θa_B may include a case where the sub-detection unit 42 has a detection continuation failure failure, and a power failure such as a battery replacement.

[0117] If comparisons (2) and (3) are abnormal and comparison (1) is normal, the absolute angle θa_C is identified as abnormal. The abnormality of the absolute angle θa_C may include a case where the external sensor 500 has a detection failure failure, and a case where a gear or belt jumps at the joint between the motor 80 and the steering shaft 92.

[0118] That is, even in the case where the absolute angles θa_A, θa_B, θa_C are abnormal, it is possible that the abnormality is not caused by a device failure but by abnormal data. Therefore, by using the internal monitoring function of each sensor or by using an external monitoring function, it is possible to independently determine whether the situation is caused by a device failure, and when the situation is determined to be abnormal and not caused by a device failure, correction processing can be performed according to the difference amount from the data of a normal sensor.

[0119] Alternatively, by configuring the sensor so that each of the absolute angles θa_A, θa_B, and θa_C is calculated multiple times, such as the absolute angles θa_Ax and θa_Ay, and when both the absolute angles θa_Ax and θa_Ay corresponding to the absolute angle θa_A, respectively, are identified as abnormal, it can be determined that it is not a device failure but a continuously detectable data abnormality that can be corrected. When one of the absolute angles θa_Ax and θa_Ay is abnormal, it can be determined as a device failure.

[0120] The control unit 70 has an abnormality monitoring unit 77 that performs abnormality monitoring by obtaining an external detection value that can be converted into an absolute angle θa_A from the external sensor 500 and by performing a comparison between (i) an absolute angle θa_C calculated based on the detection value of the external sensor 500 and (ii) absolute angles θa_A and θa_B calculated based on the detection values ​​of the rotation angle sensors 31 and 32. That is, in the present embodiment, the absolute angles θa_A, θa_B, and θa_C correspond to "a plurality of absolute positions calculated by using respectively different detection values". In this way, by using the detection value of the external sensor 500, abnormality monitoring can be appropriately performed. In addition, if at least one of (i) an absolute angle based on the detection values ​​of the rotation angle sensors 31 and 32 and (ii) an absolute angle based on the detection value of the external sensor 500 is available in a plurality (for example, two values), totaling at least three available absolute angles, the position of the abnormality can be determined by majority decision. In addition, the same effect as the above-mentioned embodiment can be achieved.

[0121] (Fifth Embodiment)

[0122] The fifth embodiment is Fig.10 The ECU 12 according to the present embodiment includes drive circuits 120 and 220, control units 170 and 270, and rotation angle sensors 133 and 233. In the present embodiment, since two control units 170 and 270 are provided, even when one of the two control units fails, the drive control of the motor 80 can be continued.

[0123] The first control unit 170 includes an absolute angle calculator 175, a control calculator 176, and an abnormality monitoring unit 177. The second control unit 270 includes an absolute angle calculator 275, a control calculator 276, and an abnormality monitoring unit 277. The absolute angle calculators 175 and 275 calculate a steering angle θs in addition to the absolute angle θa.

[0124] The control calculator 176 controls the energization of the motor winding 180 by controlling the on / off operation of the first switching element 121. The control calculator 276 controls the energization of the motor winding 280 by controlling the on / off operation of the second switching element 221. The abnormality monitors 177, 277 perform abnormality monitoring by mutually monitoring the absolute angle. The control units 170 and 270 can send and receive information through communication. Hereinafter, the communication of the control units 170, 270 is appropriately referred to as inter-microcomputer communication.

[0125] The first rotation angle sensor 133 includes a main detection unit 141, a sub detection unit 142, a multi-turn detection unit 145, angle calculators 151 and 152, a count calculator 155, and a communication unit 158. The second rotation angle sensor 233 includes a main detection unit 241, a sub detection unit 242, a multi-turn detection unit 245, angle calculators 251 and 252, a count calculator 255, and a communication unit 258. When the IG is turned on, the first rotation angle sensor 133 receives a supply of power from the power supply 191, and when the IG is turned on, the second rotation angle sensor 233 receives a supply of power from the power supply 291. The power supplies 191 and 291 are constant voltage power supplies, such as regulators like the power supply 391 of the above-described embodiment.

[0126] The main detection units 141 and 241 are the same as the main detection unit 41 of the second embodiment, the sub-detection units 142 and 242 are the same as the sub-detection unit 42 of the second embodiment, the angle calculators 151 and 251 are the same as the angle calculator 51, and the angle calculators 152 and 252 are the same as the angle calculator 52. Hereinafter, the configuration and value of the main detection unit 141 have the symbol "A1", the configuration and value of the sub-detection unit 142 have the symbol "B1", the configuration and value of the main detection unit 241 have the symbol "A2", and the configuration and value of the sub-detection unit 242 have the symbol "B2". The multi-turn detection units 145 and 245 are similar to the multi-turn detection unit 45, and the counter calculators 155, 255 are similar to the counter calculator 55.

[0127] Here, the value calculated by the angle calculator 151 is designated as the motor rotation angle θm_A1, the value calculated by the angle calculator 152 is designated as the motor rotation angle θm_B1, the value calculated by the angle calculator 251 is designated as the motor rotation angle θm_A2, and the value calculated by the angle calculator 252 is designated as the motor rotation angle θm_B2. In addition, the value calculated by the count calculator 155 is designated as the count value NPTC1, and the value calculated by the count calculator 255 is designated as the count value NPTC2.

[0128] The communication unit 158 ​​transmits the motor rotation angles θm_A1 and θm_B1 and the count value NPTC1 to the first control unit 170. The communication unit 258 transmits the motor rotation angles θm_A2, θm_B2 and the count value NPTC2 to the second control unit 270.

[0129] In the present embodiment, the first rotation angle sensor 133 and the first control unit 170 are included in the first system, and the second rotation angle sensor 233 and the second control unit 270 are included in the second system. In each system, a count value NPTC and two motor rotation angles θm are calculated. In the present embodiment, since the rotation angle sensors 133 and 233 and the control units 170 and 270 are similarly configured in the first system and the second system, the processing in the first control unit 170 is mainly described. Since the processing in the second control unit 270 can be replaced with the value of the object system (i.e., the first system) for calculation purposes, the description is appropriately omitted.

[0130] The first control unit 170 calculates the steering angle θs by using the count value NPTC1 in the first calculation after the IG is switched from off to on, and thereafter calculates the steering angle θs by integrating the amount of change in the motor rotation angle θm to the value of the first calculation after the first calculation of the steering angle θs is performed. In this way, the need for constant monitoring of the count value NPTC is eliminated. For the count value NPTC1, abnormality monitoring is performed at regular intervals before the first calculation and after the IG-on, (i) as the in-system self-monitoring described in the third embodiment, or (ii) as abnormality monitoring by comparison with the count value NPTC2 obtained by inter-microcomputer communication.

[0131] In addition, the motor rotation angle θm is configured to be calculable as two values ​​in each system, and by comparison in the system, the two values ​​can be compared in the system at a predetermined period when the IG is turned on for constant monitoring. Compared with the case where the motor rotation angle is obtained from other systems through inter-microcomputer communication for abnormality monitoring, the load of inter-microcomputer communication can be reduced in this way. In addition, since abnormality monitoring can be performed within the system, the absolute angle θa can be calculated at high speed by using a value determined to be normal. By designing such a configuration, abnormality monitoring can be appropriately performed without the need for a constant power supply. The fifth embodiment also provides the same advantages as the above-mentioned embodiment.

[0132] (Sixth Embodiment)

[0133] The sixth embodiment is Fig.11. The ECU 13 of the present embodiment includes drive circuits 120 and 220, control units 170 and 270, and rotation angle sensors 133 and 234. The second rotation angle sensor 234 includes a main detection unit 241, a sub-detection unit 242, angle calculators 251 and 252, a count calculator 256, and a communication unit 258, and is supplied with power from power supplies 291 and 292. Similar to the power supply 391, the power supply 291 can supply power via the IG when the IG is turned on, and the power supply 292 can constantly supply power from the battery regardless of the on / off state of the IG, just like the power supply 392.

[0134] In the present embodiment, the multi-turn detection unit is omitted from the second rotation angle sensor 234, and the count calculator 256 calculates the count value LPTC2 by using the detection value of the sub-detection unit 242. The count calculator 256 is similar to the count calculator 56. The communication unit 258 transmits the motor rotation angles θm_B2 and θm_B2 and the count value LPTC2 to the second control unit 270. In addition, the first control unit 170 can obtain the detection value of the external sensor 500.

[0135] In the present embodiment, the following three values ​​are used for abnormality monitoring, namely: (i) an absolute angle θa_A1 calculated by using the count value NPTC in the first system, (ii) an absolute angle θa_B2 calculated by using the count value LPTC in the second system, and (iii) an absolute angle θa_C based on detection of the external sensor 500. The absolute angles θa_A1, θa_B2, and θa_C are shared by the control units 170 and 270 through inter-microcomputer communication.

[0136] The details of the abnormality monitoring are substantially the same as those of the third embodiment, wherein comparison is performed between the three values ​​of the absolute angle θa_A1, θa_B2, and θa_C at normal times. If a power failure occurs due to battery exhaustion or battery replacement, abnormality monitoring is performed by comparing the absolute angles θa_A1 and θa_C, and if the count value NPTC becomes abnormal due to external disturbances such as a strong magnetic field, abnormality monitoring is performed by comparing the absolute angles θa_B2 and θa_C. In addition, based on the comparison between the absolute angles θa_A1, θa_B2 and the absolute angle θa_C, the runout of the teeth of the gear at the joint between the motor 80 and the steering system can be detected.

[0137] In the present embodiment, since the three values ​​of the absolute angle θa_A1, θa_B2, and θa_C are available, it is possible to appropriately detect an abnormality due to a power failure or external disturbance. In addition, in a case such as when the drive device 400 is removed from the steering system, abnormality detection can still be performed by comparing (i) the absolute angle θa_C based on the detection value of the external sensor 500 with (ii) the value from a component closer to the steering wheel side than the engagement portion with the gear. In addition, the present embodiment also provides the same advantages as the above-described embodiment.

[0138] (Seventh Embodiment)

[0139] The seventh embodiment is Fig.12 . The ECU 14 of the present embodiment includes drive circuits 120 and 220, control units 170 and 270, and rotation angle sensors 135 and 235. The first rotation angle sensor 135 has a counter calculator 156 in addition to the configuration of the first rotation angle sensor 133 of the fourth embodiment, and is supplied with power from the power supply 191 when the IG is turned on, and is also constantly supplied with power from the power supply 192 regardless of the on / off state of the IG. The counter calculator 156 calculates the count value LPTC1 by using the detection value of the sub-detection unit 142. The communication unit 158 ​​transmits the motor rotation angles θm_A1 and θm_B1 and the count values ​​NPTC1 and LPTC1 to the first control unit 170.

[0140] The second rotation angle sensor 235 has a counter calculator 256 in addition to the configuration of the second rotation angle sensor 233 of the fourth embodiment, supplies power from the power supply 291 when the IG is turned on, and constantly supplies power from the power supply 292 regardless of the on / off state of the IG. The communication unit 258 sends the motor rotation angles θm_A2, θm_B2 and the count values ​​NPTC2, LPTC2 to the second control unit 270. Although there is one multi-turn detection unit 245 provided in the second rotation angle sensor 235, by redundantly providing a plurality of detection units 245 in the second rotation angle sensor 235, a more robust system can be configured. The same applies to the first rotation angle sensor 135.

[0141] The control units 170 and 270 can obtain external detection values ​​that can be converted into absolute angles from two external sensors 500 and 501. The external sensors 500 and 501 are, for example, a steering sensor, a torque sensor with a built-in steering sensor, a stroke sensor, a torque sensor with a built-in stroke sensor, etc., and can be of the same type or different types. Also in the third and fourth embodiments, external detection values ​​can be obtained from a plurality of external sensors.

[0142] In the present embodiment, in each system, two motor rotation angles θm, count values ​​NPTC, LPTC, and external detection values ​​from two external sensors 500 and 501 can be used, and abnormality identification can be performed in one system by majority decision. In addition, control using normal detection values ​​is continuable. In addition, even when one of the rotation angle sensors 135 and 235 fails, the detection value of the normal rotation angle sensor can be shared between the control units 170 and 270 through inter-microcomputer communication, whereby two system motor control is continuable. In addition, the same advantages as those of the above-described embodiment can be achieved.

[0143] (Eighth Embodiment)

[0144] The eighth embodiment is Fig.13 and 14 In the present embodiment, the ECU 11 of the second embodiment is taken as an example. However, the present embodiment can be applied to any of the foregoing embodiments.

[0145] When the rotating magnetic field of the magnet 875 is applied thereto a number of times exceeding the detectable range, the multi-turn detection unit 45 outputs a count value NPTC that sticks to the upper limit value x_max or the lower limit value x_min.

[0146] Therefore, in this embodiment, by configuration, when the count value TC reaches the upper limit value, the count value TC is counted "up" to the lower limit value in the subsequent up-counting, or the count value TC is counted "down" to the upper limit value in the subsequent down-counting. In this way, the count value TC is cyclically counted up / down, thereby preventing sticking to the upper limit value / lower limit value.

[0147] In addition, the multi-turn detection unit 45 holds the information of the rotational position without receiving the supply of power. In other words, when the power is turned off, the multi-turn detection unit 45 is not initialized. Therefore, in the present embodiment, at any timing, that is, when the assembly work of the multi-turn detection unit 45 and the like is completed, for example, the count value TC is configured to be initialized.

[0148] Reference Fig.13 The flowchart in FIG. 5 shows the count calculator 55 that performs the count calculation process. In the case where the count value NTPC needs to be initialized, the count calculation process is started by the count calculator 55. Note that in the case where the supply of power to the count calculator 55 is restarted after the power supply is stopped, if the count value NPTC does not need to be initialized, only the process after S504 can be executed.

[0149] In S501, initialization of the count value NTPC is performed. In the present embodiment, a strong magnetic field, a high voltage and / or a large current may be applied to the multi-turn detection unit 45 for physically initializing the unit 45. In addition, initialization may also be performed by a software reset in the counter calculator 55, with which the current rotation position is regarded as the initialization position. In addition, the counter calculator 55 initializes the count value NTPC to an initial value x0. The initial value x0 may be set to any value between the lower limit value x_min and the upper limit value x_max, which may be the median of x_min and x_max, or may be a value having an offset from the median. The same applies to the count value LPTC described later.

[0150] In S502, the count calculator 55 determines whether the count value NTPC is equal to the initial value x0. Initialization abnormality may occur not only due to the abnormality of the multi-turn detection unit 45, but also due to the internal abnormality of the count calculator 55. When it is determined that the count value NTPC is not equal to the initial value x0 (S502: No), the process proceeds to S503, and the control unit 70 is notified of an error. The notification of the error can be performed by using a flag, etc., or the notification of the error can be performed as an output having an error value that does not exist as a normal count value. When it is determined that the count value NTPC is equal to the initial value x0 (S502: Yes), the process proceeds to S504.

[0151] In S504, the counter calculator 55 determines whether the forward rotation (i.e., the rotation of the rotor 80 in the forward direction) is detected based on the detection value of the multi-rotation detection unit 45. When it is determined that the forward rotation is not detected (S504: No), the process proceeds to S508. When it is determined that the forward rotation is detected (S504: Yes), the process proceeds to S505.

[0152] In S505, the count calculator 55 determines whether the count value NPTC is equal to the upper limit value x_max. When it is determined that the count value NPTC is equal to the upper limit value x_max (S505: Yes), the process proceeds to S506, the count value NPTC is set to the lower limit value x_min, and the process returns to S504. When it is determined that the count value NPTC is not equal to the upper limit value x_max (S505: No), the process proceeds to S507, the count value NPTC is counted up, and the process returns to S504.

[0153] In the case where it is determined that the forward rotation is not detected (S504: No), the process proceeds to S508, where the counter calculator 55 determines whether the reverse rotation is detected based on the detection value of the multi-turn detection unit 45. When it is determined that the reverse rotation is not detected (S508: No), the process proceeds to S512, the count value NPTC is maintained and the process returns to S504. When it is determined that the reverse rotation is detected (S508: Yes), the process proceeds to S509.

[0154] In S509, the count calculator 55 determines whether the count value NPTC is equal to the lower limit value x_min. When it is determined that the count value NPTC is equal to the lower limit value x_min (S509: Yes), the process proceeds to S510, the count value NPTC is set to the upper limit value x_max, and the process returns to S504. When it is determined that the count value NPTC is not equal to the lower limit value x_min (S509: No), the process proceeds to S511, the count value NPTC is counted down, and the process returns to S504.

[0155] Furthermore, the count value LPTC calculated by the count calculator 56 is also cyclically counted to prevent the count value LPTC from being stuck to the upper limit value y_max / lower limit value y_min.

[0156] Reference Fig.14 The flowchart in FIG. 1 shows the count calculator 56 executing the count calculation process. The count calculation process is started by the count calculator 56 when initialization of the count value LTPC is required, for example, at the time of completion of assembly work or the like.

[0157] The process from S601 to S612 is Fig.13 The processes from S501 to S512 in the embodiment are the same, except that LPTC is replaced by NPTC, and x_max / min is replaced by y_max / min. In addition, after S606, S607, S610 or S611, the process proceeds to S613.

[0158] In S613, the count calculator 56 determines whether the supply voltage Vin from the power supply 392 is lower than the low voltage determination threshold value Vth. When it is determined that the supply voltage Vin is equal to or higher than the low voltage determination threshold value Vth (S613: No), the process returns to S604. When it is determined that the supply voltage Vin is lower than the low voltage determination threshold value Vth (S613: Yes), the process returns to S603, notifying the control unit 70 of an error.

[0159] In the present embodiment, the counter calculator 55 counts the count value NPTC as a value between the lower limit value x_min and the upper limit value x_max, that is, the count is a number m (m is an integer of 2 or greater than 2). The "count width" represented by the number m may be a value defined by the detection range of the multi-turn detection unit 45, or may be a value defined by the countable range of the counter calculator 55. Here, n is an integer of 1 or greater than 1, and is the number of counts representing the count in one rotation of the rotor 860. When the count value NPTC reaches the upper limit value x_max, the counter calculator 55 counts the value NPTC "upward" to the lower limit value x_min in the subsequent upward counting, or when the count value NPTC reaches the lower limit value x_min, the value NPTC "downward" to the upper limit value x_max in the subsequent downward counting. In this way, the count value NPTC is prevented from being fixed to a certain value, and the counting of the number of revolutions can be continued without the upper limit count or the lower limit count.

[0160] The counter calculator 55 can initialize the count value NPTC, and when the count value NPTC is initialized normally, the count of the count value NPTC is started. In this way, like the multi-turn detection unit 45, the counter calculator 55 can properly perform initialization even when a sensor that is not reset due to power disconnection is used. In addition, the same effect as the aforementioned embodiment can be achieved. The same applies to the count value LPTC calculated by the counter calculator 56.

[0161] The rotation angle sensor 32 includes a sub-detection unit 42 serving as a rotation detection unit and a counter calculator 56. The sub-detection unit 42 detects the rotation position of the rotor 860 as a detection object. The counter calculator 56 calculates a count value counted up or down n times (n is an integer of 1 or more) in one rotation of the rotor 860 according to the rotation direction based on the detection value of the sub-detection unit 42.

[0162] The counter calculator 56 counts the count value LPTC to a value between the lower limit value y_min and the upper limit value y_max, that is, counts to a number m (m is an integer of 2n or greater), and when the count value LPTC reaches the upper limit value y_max, the value LPTC is counted "up" to the lower limit value y_min in the subsequent up-counting, or when the count value LPTC reaches the lower limit value y_min, the value LPTC is counted "down" to the upper limit value y_max in the subsequent down-counting. In this way, the count value LPTC is prevented from being fixed to a certain value, and the counting of the number of revolutions can be continued without the upper limit count or the lower limit count.

[0163] In the above embodiment, the rotor 860 corresponds to the "detection object", the ECUs 10 to 14 correspond to the "detection units", respectively, the rotation angle sensors 31, 32, 133, 135 and 233 to 235 correspond to the "detection means", respectively, the position detector 40 and the main detection units 41, 141, 241 and the auxiliary detection units 42, 142, 242 correspond to the "position detectors", respectively. The counter calculators 55, 155, 255 correspond to the "multi-turn rotation position calculator" and the "first multi-turn rotation position calculator", respectively, and the count value TC corresponds to the "multi-turn rotation position information", and the TC correction value TC_c corresponds to the "rotation information correction value".

[0164] Furthermore, the count calculators 155 and 255 correspond to the “first multi-turn rotation position calculator”, respectively, and the count calculators 56, 156, and 256 correspond to the “second multi-turn rotation position calculator”, respectively. Furthermore, the absolute angle calculators 75, 175, and 275 correspond to the “absolute position calculator”, respectively, and the absolute angle θa corresponds to the “absolute position”. Furthermore, the sub-detection units 42, 142, 242 and the multi-turn detection units 45, 145, 245 correspond to the “rotation detection unit”.

[0165] (Other embodiments)

[0166] In the above-described embodiment, the multi-turn detection unit magnetically maintains the rotational position of multiple turns (e.g., the rotation angle from the reference position after multiple 360-degree rotations). In other embodiments, the multi-turn detection unit may be configured to be able to continue the detection of the rotational position of multiple turns without using electricity by using any means other than magnetic force. For example, Fig.13 As shown, a gear 873 may be included, the gear 873 is meshed with a gear 871 that rotates integrally with the shaft 870 of the motor 80, and the gear 873 rotates once every multiple rotations of the motor 80, and a magnet 877 that rotates integrally with the gear 873 is provided for detecting the number of revolutions of the motor 80 from the rotation position of the gear 873 after the supply of power is restored. Even in such a configuration, the rotation position of multiple revolutions can be detected without using power. In addition, the number of components can be reduced compared to a conventional steering sensor.

[0167] Furthermore, in addition, “the detection of the rotational position of multiple rotations is continuable without the supply of power from the outside” is not limited to the detection by using magnetic force without the supply of power or the like as shown in the above-mentioned embodiment. By providing an internal battery in the sensor, the detection of the rotational position of multiple rotations can be continued without the supply of power from the outside. In other embodiments, when the count value TC reaches the maximum value Cmax, the count value can then be counted “up” to the minimum value Cmin, and when the count value TC reaches the minimum value Cmin, the count value can then be counted “down” to the maximum value Cmax. That is, the TC value can be counted cyclically.

[0168] In the above embodiment, the control unit is used for an electric power steering device. In other embodiments, such as Fig.16 As shown, the control unit can be used in a wire control steering system. The wire control steering system 591 includes a reaction force device 401 and a wheel steering device 402. The reaction force device 401 includes a reaction force control unit 411 and a reaction force motor 801. The wheel steering device 402 includes a wheel steering control unit 412 and a wheel steering motor 802. The reaction force control unit 411 and the wheel steering control unit 412 can communicate via a vehicle communication network such as CAN.

[0169] exist Fig.16 In the embodiment, the steering shaft 921 is mechanically separated from the rack shaft 97. The reaction force motor 801 is arranged on the steering shaft 921, and gives the steering wheel 91 a reaction force according to the driver's steering operation to provide the driver with an appropriate steering feeling. The steering motor 802 is arranged on the rack shaft 97 side to control the steering angle of the steering wheel.

[0170] The reaction force device 401 and the wheel steering device 402 can be configured in the same manner as the drive device 400 of the above-described embodiment. In addition, absolute angle calculation can be performed by providing the reaction force control unit 411 and the wheel steering control unit 412 with the same rotation angle sensor as that of the above-described embodiment. Note that although Fig.16 2 shows the rotation angle sensor 31 of the first embodiment, but a rotation angle sensor other than the rotation angle sensor used in the first embodiment may be used.

[0171] In addition, the control unit can also be appropriately applied to applications other than the steer-by-wire system that require detection of the number of revolutions and detection of the rotation angle. In addition, if the stroke position is converted into a rotation system by using gears, the detection unit can also be applied to a stroke sensor.

[0172] In the third embodiment, a steering sensor, a torque sensor with a built-in steering sensor, a stroke sensor, and a torque sensor with a built-in stroke sensor are exemplified as external sensors. In other embodiments, analysis values ​​of images captured by a camera or a laser displacement meter can also be used as external sensors.

[0173] In the above-described embodiment, the communication between the control units is performed by inter-microcomputer communication. In other embodiments, the communication between the control units may be performed via a vehicle communication network such as CAN instead of inter-microcomputer communication.

[0174] In the above embodiments, one sensor unit (eg, rotation angle sensor 31) includes one multi-turn detection unit and one or two position detectors. In other embodiments, two or more multi-turn sensors may be provided in one sensor unit, or three or more position detectors may be provided.

[0175] In the above-mentioned embodiment, one control unit is provided for one sensor unit, and the number of systems is one or two. In other embodiments, the number of systems may be three or more. In addition, one control unit may be provided for multiple sensor units, or one sensor unit may be provided for multiple control units.

[0176] In the above-mentioned embodiment, the motor is a three-phase brushless motor. In other embodiments, the motor is not limited to the three-phase brushless motor, but can also be any type of motor. In addition, the motor is not limited to the motor, but can also be a generator, or can also be a so-called electric generator having both the function of a motor and the function of a generator. In the above-mentioned embodiment, the inverter and the motor winding are arranged in two systems. In other embodiments, a plurality of inverters and motor windings can be arranged in one system or in three or more systems. In addition, the number of inverters and the number of motor windings can be different from each other. In the above-mentioned embodiment, the control unit is applied to an electric power steering device. In other embodiments, the control unit can also be applied to other devices besides the electric power steering device.

[0177] The control unit and method thereof described in the present disclosure can be implemented by a special-purpose computer, which is configured as a combination of a processor and a memory, and the processor and the memory are programmed to perform one or more functions embodied by a computer program. Alternatively, the control unit and method thereof described in the present disclosure can be implemented by a special-purpose computer, which is provided as a configuration of a processor including one or more special-purpose hardware logic circuits. Alternatively, the control unit and method described in the present disclosure can be implemented by one or more special-purpose computers, which are provided as a combination of (i) a processor and a memory programmed to perform one or more functions and (ii) a processor configured by one or more hardware logic circuits. In addition, the computer program mentioned above can be stored in a tangible, non-transient computer-readable storage medium as an instruction executable by a computer. The present disclosure is not limited to the above-mentioned embodiments, but can include various modifications that can be implemented without departing from the spirit of the present disclosure.

[0178] (Ninth Embodiment)

[0179] Figure 22 to Figure 28 A detection device and a control unit according to a ninth embodiment are shown. Fig. 22 There is shown an overall configuration of a steering system 90 including the electric power steering device 8. The steering system 90 includes a steering wheel 91, a steering shaft 92, a pinion gear 96, a rack shaft 97, wheels 98, the electric power steering device 8, and the like.

[0180] The steering wheel 91 is connected to the steering shaft 92. The steering shaft 92 has an input shaft 11 as a first shaft and an output shaft 12 as a second shaft (see Fig.23 ). The steering shaft 92 is provided with a sensor unit 4 for detecting a steering torque.

[0181] A pinion 96 is provided at an axial end of the steering shaft 92. The pinion 96 meshes with a rack shaft 97. A pair of wheels 98 are coupled to both ends of the rack shaft 97 via, for example, a tie rod. When the driver of the vehicle rotates the steering wheel 91, the steering shaft 92 connected to the steering wheel 91 rotates. The rotational motion of the steering shaft 92 is converted into a linear motion of the rack shaft 97 by the pinion 96. The pair of wheels 98 are turned to an angle corresponding to the displacement amount of the rack shaft 97.

[0182] The electric power steering device 8 includes: a driving device 400 having a motor 80 and an ECU 10; a sensor unit 4 and a reduction gear 89 as a power transmission unit, which reduces the rotation of the motor 80 and transmits the rotation to the steering shaft 92. The electric power steering device 8 of the present embodiment is a column-assisted type. However, alternatively, it can be a rack-assisted type that transmits the rotation of the motor 80 to the rack shaft 97. In the present embodiment, the steering shaft 92 is a driven object. If the mechanical part from the steering wheel 91 to the wheel 98 is called a "steering system", it can be said that the reduction gear 89 is a component that connects the motor 80 to the steering system.

[0183] The motor 80 outputs part or all of the torque required for steering. The motor 80 is driven by receiving a supply of electricity from a battery (not shown), and the motor 80 rotates the reduction gear 89 in the forward and backward directions. The drive device 400 is integrally provided with the ECU 10 on one side of the motor 80 in the axial direction, and the drive device 400 is a so-called "mechanical integration type". However, the motor 80 and the ECU 10 can be provided separately. The ECU 10 is arranged coaxially with the axis of the motor shaft (not shown) on the side of the motor 80 opposite to the output shaft. Alternatively, the ECU 10 can be arranged on the output shaft side of the motor 80. By adopting the machine electronic integration type, the ECU 10 and the motor 80 can be space-efficiently arranged in a vehicle with a limited installation space.

[0184] The motor 80 is a three-phase brushless motor and has a first motor winding 180 and a second motor winding 280 as a winding group wound around a rotor (see Fig.25 ). The motor windings 180 and 280 have the same electrical characteristics and are wound around a common stator at an electrical angle offset by 30° from each other. Accordingly, the phase currents to be supplied to the motor windings 180 and 280 are controlled so that the phase currents have a phase difference of 30 degrees. By optimizing the current supply phase difference, the output torque is improved. The sixth-order torque ripple can also be reduced. In addition, since the current is averaged by the supply of current with a phase difference, the advantages of eliminating noise and vibration can be maximized. Heat generation is also averaged. Therefore, the temperature-related error in the detection value or torque of each sensor between the two systems can also be reduced, and the amount of current that can be supplied can be averaged. Note that the motor windings 180 and 280 can have different electrical characteristics.

[0185] like Fig.23As shown, the sensor unit 4 includes an input shaft 11, an output shaft 12, a torsion bar 13, a multi-pole magnet 15, a yoke 16, a detection device 401, etc. One end of the torsion bar 13 is fixed to the input shaft 11 and the other end of the torsion bar 13 is fixed to the output shaft 12 by using a fixing pin 14, and the torsion bar 13 connects the input shaft 11 and the output shaft 12 coaxially with the rotation axis O. The torsion bar 13 is a rod-shaped elastic member and converts the torque applied to the steering shaft 92 into a torsional displacement. The multi-pole magnet 15 is formed in a cylindrical shape and is fixed to the input shaft 11. In the multi-pole magnet 15, the N pole and the S pole are alternately magnetized in the circumferential direction. In the present embodiment, the number of the N pole and the S pole is 12 pairs, a total of 24 poles.

[0186] The yoke 16 is held by a yoke holding member (not shown) formed of a non-magnetic material such as resin, and forms a magnetic circuit in the magnetic field generated by the multi-polar magnet 15. The yoke 16 has a first yoke 17 provided on the input shaft 11 side and a second yoke 18 provided on the output shaft 12 side. The first yoke 17 and the second yoke 18 are both formed in an annular shape from a soft magnetic material, and are fixed to the output shaft 12 outside the multi-polar magnet 15 in the radial direction. The first yoke 17 has a ring portion 171 and claws 172. The claws 172 are arranged at equal intervals around the entire circumference along the inner edge of the ring portion 171. The second yoke 18 has a ring portion 181 and claws 182. The claws 182 are arranged at equal intervals around the entire circumference along the inner edge of the ring portion 181.

[0187] The number of claws 172 and 182 is the same as the number of pole pairs of the multipolar magnet 15 (i.e., 12 in the present embodiment). The claws 172 and the claws 182 are alternately arranged to be offset in the circumferential direction. The first yoke 18 is opposite to the second yoke 17 via an air gap. When no torsion displacement occurs in the torsion bar 13, that is, when no steering torque is applied to the steering shaft 92, the centers of the claws 172 and 182 are arranged to coincide with the boundary between the N pole and the S pole of the multipolar magnet 15.

[0188] The magnetic flux collecting rings 21 and 22 are radially arranged outside the yoke 16 and collect magnetic flux from the yoke 16. The first magnetic flux collecting ring 21 is provided on the input shaft 11 side, and the second magnetic flux collecting ring 22 is provided on the output shaft 12 side. The first magnetic flux collecting ring 21 and the second magnetic flux collecting ring 22 are held by a magnetic flux collecting ring holding member (not shown) by insert molding or the like.

[0189] The first magnetic flux collecting ring 21 is made of a soft magnetic material and includes a ring portion 211 formed in a substantially annular shape and two magnetic flux collecting portions 215 protruding radially outward from the ring portion 211. Similar to the first magnetic flux collecting ring 21, the second magnetic flux collecting ring 22 is formed of a soft magnetic material and has a substantially annular ring portion 221 and two magnetic flux collecting portions 225 protruding radially outward from the ring portion 221. The magnetic flux collecting portion 215 of the first magnetic flux collecting ring 21 and the magnetic flux collecting portion 225 of the second magnetic flux collecting ring 22 are arranged so that their relative surfaces are substantially parallel. The torque sensor 421 is arranged at a position between the magnetic flux collecting portions 215 and 225.

[0190] The torque sensor 421 has a magnetic detection element such as a Hall element, and detects magnetic flux between the magnetic flux collecting parts 215 and 225. When no steering torque is applied between the input shaft 11 and the output shaft 12, the center of the claw 172 of the first yoke 17 and the center of the claw 182 of the second yoke 18 are arranged to coincide with the boundary of the N pole and the S pole of the multipolar magnet 15. In such an arrangement, since the same number of magnetic lines of force enter and exit from the N pole of the multipolar magnet 15 to the claws 172 and 182 and from the claws 172 and 182 to the S pole of the multipolar magnet 15, the magnetic lines of force form closed loops inside the first yoke 17 and the second yoke 18, respectively. Therefore, no magnetic flux leaks into the gap between the yokes 17 and 18, and the magnetic flux density detected by the magnetic detection element becomes zero.

[0191] When a steering torque is applied (i.e., caused) between the input shaft 11 and the output shaft 12 to cause torsional displacement of the torsion bar 13, the position of the multipolar magnet 15 fixed to the input shaft 11 is displaced in the circumferential direction relative to the yokes 17 and 18 fixed to the output shaft 12. As a result, the magnetic flux density passing through the magnetic detection element is approximately proportional to the amount of torsional displacement of the torsion bar 13 and the polarity is reversed according to the torsional direction of the torsion bar 13. The magnetic detection element detects the intensity of the magnetic field in the thickness direction of the torque sensor 421, and outputs the detected magnetic field intensity to the ECU 10 as a detected steering torque value (i.e., as a detection value).

[0192] The detection device 401 has a substrate 411, a rotation angle sensor 31, and a torque sensor 421. The rotation angle sensor 31 and the torque sensor 421 are mounted on the substrate 411. The torque sensor 421 is arranged close to one side of the substrate 411 and inserted between the magnetic flux collecting parts 215 and 225. By slotting the substrate 411 at the position where the magnetic flux collecting parts 215 and 225 are arranged and inserting the magnetic flux collecting part 225 into the slotted part, the distance between the magnetic flux collecting parts 215 and 225 can be reduced, thereby reducing the gap in the magnetic flux loop. In this way, magnetic flux leakage is reduced and torque detection accuracy is improved.

[0193] like Fig.24 and Fig.25 As shown, the rotation angle sensor 31 includes a position detection unit 40, a multi-turn detection unit 45, an angle calculation unit 50, a counter calculator 55, and a communication unit 58. When a start switch such as an ignition switch is turned on, power is supplied from a power supply 391. The power supply 391 is a constant voltage power supply such as a regulator, etc. Hereinafter, the start switch will be appropriately described as "IG".

[0194] The position detection unit 40 detects the rotation of the detection gear 27 meshing with the output shaft gear 26, wherein the output shaft gear 26 rotates integrally with the output shaft 12 (see Fig.23 ). The detection gear 27 is provided with a magnet 28, and the position detection unit 40 detects the change of the magnetic field of the magnet 28 according to the rotation of the detection gear 27. The position detection unit 40 is, for example, a magnetoresistive element such as an AMR sensor, a TMR sensor, a GMR sensor, etc., or may also be a Hall element, etc. In addition, an inductive sensor, a resolver, etc. may be used as the position detection unit 40.

[0195] The transmission ratio between the output shaft gear 26 and the detection gear 27 can be set arbitrarily, and the resolution is determined according to the transmission ratio. For example, if the transmission ratio between the output shaft gear 26 and the detection gear 27 is 2:1, the detection gear 27 rotates two times when the steering shaft 92 rotates one time, so that the rotation can be detected with high accuracy. In addition, if the detection gear 27 is made larger than the output shaft gear 26, it is not necessary to detect the number of revolutions.

[0196] The multi-turn detection unit 45 is configured to be able to detect the change in magnetic flux caused by the rotation of the magnet 28 without power supply. In other words, the multi-turn detection unit 45 uses a storage method different from the storage method using power (i.e., the magnetic storage method in the present embodiment). More specifically, in the multi-turn detection unit 45, the magnetic detection element is arranged in a spiral shape and initially has a magnetic direction aligned in a specific direction. When the magnet 28 rotates, the magnetic direction of the magnetic detection element changes in sequence from one end, and the position where the magnetic flux changes to the outside or inside can change according to the rotation direction of the magnet 28, the rotation of the detection gear 27 (i.e., each rotation). The resistance of the magnetic detection element changes according to the magnetic direction. No power is required to change the magnetic direction of the magnetic sensing element. In addition, by supplying current to the magnetic detection element and detecting the output of the magnetic detection element, the rotation position of the detection gear 27 can be measured. That is, the multi-turn detection unit 45 does not require power when detecting the magnetic direction, and requires power when reading the detection value.

[0197] The multi-rotation detection unit 45 can detect a predetermined number of rotation positions from one end to the other end (eg, from the start end to the end end of rotation), or may be configured to infinitely detect rotation positions by connecting the start end and the end end.

[0198] The angle calculation unit 50 calculates the gear rotation angle θg of the detection gear 27 based on the detection value of the position detection unit 40 AD-converted by the AD conversion unit (not shown). The gear rotation angle θg is a value corresponding to the rotation angle of the detection gear 27 and may be any value convertible into a rotation angle.

[0199] The counter calculator 55 calculates the count value TC based on the output when the multi-turn detection unit 45 is powered on (ie, receives power). The count value TC is counted up or down n times (ie, n is an integer of 1 or greater) during one rotation of the detection gear 27 according to the rotation direction.

[0200] In order to prevent the detection error of the gear rotation angle θg, when the gear rotation angle θg is switched from θg=359° to θg=0° (i.e., at the up-counting timing of the count value TC from TC=k to TC=k+1), n ​​can be preferably set to a value of 2 or greater than 2, that is, one rotation of the detection gear 27 can be preferably configured as 2 counts or greater than 2 counts of the count value TC. In addition, the detection error, i.e., the difference between the gear rotation angle θg and the count value TC accompanying the switching between 359° and 0°, can be appropriately corrected as needed. Note that for simplicity, the explanation is made by omitting the decimal part of the gear rotation angle θg.

[0201] When n is set to 3 or more, the rotation direction is detectable. In the present embodiment, a setting of n=4 is used, and the count value TC counts up or down each time the detection gear 27 rotates 90°. In the present embodiment, it is assumed that the count value TC counts up when the steering wheel 91 rotates forward (i.e., in one direction), and the count value TC counts down when the steering wheel 91 rotates backward (i.e., in the other direction). In addition, sampling is performed at a speed sufficient for the rotation speed of the detection gear 27. Fig.25 , blocks surrounded by double-dashed lines do not require power to operate, and blocks surrounded by dotted lines are supplied with power when the IG is turned on.

[0202] The communication unit 58 generates an output signal including the gear rotation angle θg and the count value TC, and outputs the output signal to the controller 70 through digital communication such as SPI communication. The communication method may be a method other than SPI communication, such as SENT communication, etc. In addition, the gear rotation angle θg and the count value TC may be output to the controller 70 individually (e.g., one by one). In addition, the absolute angle θa may be calculated based on the gear rotation angle θg and the count value TC, and the absolute angle θa may be output to the controller 70.

[0203] The ECU 10 includes drive circuits 120 and 220, a controller 70, a motor rotation angle sensor 85, etc. Fig.25 , the drive circuit is described as “INV”. The first drive circuit 120 is a three-phase inverter having six switching elements and converts the power supplied to the first motor winding 180. The second drive circuit 220 is a three-phase inverter having six switching elements and converts the power supplied to the second motor winding 280. The on / off operation of the switching elements included in the drive circuits 120 and 220 is controlled based on a control signal output from the controller 70.

[0204] The motor rotation angle sensor 85 detects the magnetic field of a magnet that rotates integrally with a rotor (not shown) according to the rotation of the motor 80. For example, the motor rotation angle sensor 85 may include a magnetoresistive element such as an AMR sensor, a TMR sensor, a GMR sensor, etc., or may include a Hall element, etc. In addition, an inductive sensor, a resolver, etc. may also be used as the motor rotation angle sensor 85.

[0205] The controller 70 is mainly configured by a microcomputer or the like, and includes a CPU, a ROM, a RAM, an I / O (none of which is shown), a bus for connecting these components, etc. Each process in the controller 70 may be a software process by executing a program pre-stored in a substantial memory device such as a ROM (i.e., a readable non-temporary tangible recording medium) by the CPU, or may be a hardware process by using a dedicated electronic circuit. The same applies to the controllers 170 and 270 according to the embodiments described later.

[0206] The controller 70 includes an absolute angle calculator 75, a control calculation unit 76, an abnormality monitoring unit 77, etc. The absolute angle calculator 75 calculates the absolute angle θa using the count value TC and the gear rotation angle θg. The absolute angle θa is the rotation angle of the detection gear 27 starting from the reference position, and includes multi-turn rotation information. The steering angle θs can be calculated by converting the absolute angle θa according to the gear ratio of the gears 26 and 27. In the following, the "absolute angle" is the rotation angle of the detection object starting from the reference position, and is a value including multi-turn rotation information.

[0207] The control calculation unit 76 performs various control calculations using information obtained from the rotation angle sensor 31, the motor rotation angle sensor 85, etc. In the present embodiment, control calculations related to the drive control of the motor 80 are performed using information obtained from the detection device 401 and the motor rotation angle sensor 85. The abnormality monitoring unit 77 monitors abnormalities of the detection device 401 and the motor rotation angle sensor 85.

[0208] Equation (3) shows the calculation of the steering angle θs. INT(TC / n) in the equation means the integer part of the quotient obtained by dividing the count value TC by the number of counts per revolution n, and indicates the number of revolutions of the detection gear 27. Note that the count value TC and the gear rotation angle θg having respective different zero points result in an error in the calculation of the number of revolutions by INT(TC / n). Therefore, before being used for calculation, the count value TC may be added with a TC correction value TC_c used to match the zero point with the zero point of the gear rotation angle θg. In this case, the number of revolutions is calculated as INT{(TC+TC_c) / n}. Each time the count value TC is reset, the TC correction value TC_c needs to be calculated and stored in the non-volatile storage area. Fig.25 In the example of , the absolute angle calculator 75 is provided in the controller 70. However, the absolute angle θa can be calculated by the rotation angle sensor 31 and output from the rotation angle sensor 31 to the controller 70. In addition, the steering angle θs after the gear ratio conversion can also be used. The same applies to the embodiment described later. In addition, Rg in the equation is the gear ratio of the gears 26 and 27.

[0209] θs={INT(TC / n)x360+θg} / Rg...(3)

[0210] The steering shaft 92 is configured to rotate two turns to the left and two turns to the right from the neutral position, that is, four turns from the leftmost rotation position to the rightmost rotation position. When the transmission ratio between the output shaft gear 26 and the detection gear 27 is set to 2:1 and the steering shaft 92 rotates from one end to the other end, the detection gear 27 rotates eight turns. In addition, in the present embodiment, since the number of counts n during one rotation of the detection gear 27 is 4, the multi-turn detection unit 45 is configured to be able to detect 8×4=32 counts or more.

[0211] If the number of counts that the multi-turn detection unit 45 can detect increases to an unnecessary degree, the circuit scale becomes large, resulting in an increase in the physique and cost of the IC product. In addition, when there is a sticking mode in which the count value TC of the multi-turn detection unit 45 cannot be counted when the count value TC becomes the minimum value Cmin or the maximum value Cmax, if the neutral position of the steering wheel 91 and the intermediate value Cmid in the multi-turn detection unit 45 are offset from each other, the absolute angle θa and the steering angle θs may not be calculated correctly (see Fig. 27 ).

[0212] In this embodiment, if Fig.26A , Fig.26BAs shown, the sensor unit 4 is provided with a gear fixing mechanism 29 capable of fixing the output shaft gear 26 and the detection gear 27. Since the multi-turn detection unit 45 is a magnetic storage type, the gear fixing mechanism 29 is formed by using a non-magnetic material. In the present embodiment, the detection device 401, the detection gear 27 and the output shaft gear 26 are (initially) positioned so that the count value TC has a specific value (for example, the middle value Cmid). More specifically, as Fig.26A As shown, the sensor unit 4 is assembled to the steering shaft 92 in a state where the output shaft gear 26 and the detection gear 27 are fixed by the gear fixing mechanism 29 and do not rotate, so as to correspond to the state where the count value TC has a specific value. That is, in other words, in a state where the count value TC is the intermediate value Cmid and the gears 26 and 27 are fixedly associated therewith, the steering wheel 91 that stays in the neutral position is equipped with the sensor unit 4.

[0213] like Fig.26B As shown, when the product assembly is completed, the gear fixing mechanism 29 is separated from the gears 26 and 27, thereby releasing the fixing of the gears 26 and 27. Fig.26A , Fig.26B In the example of FIG. 2 , the gear fixing mechanism 29 is a housing member that accommodates at least a portion of the gears 26 and 27. However, the gear fixing mechanism 29 may be a pin or the like as long as it can stop the rotation of the gears 26 and 27.

[0214] In addition, in the case where the multi-turn detection unit 45 has an initialization function, the rotational position of the steering shaft 92 can be adjusted according to the count value TC (i.e., the initialized value of TC). In such a case, the gear fixing mechanism 29 can be omitted. The initial value x0 as the initialized count value TC is preferably the intermediate value Cmid. However, the initial value x0 can be a different value from the intermediate value Cmid and can be appropriately offset according to, for example, assembly errors. In the present embodiment, the multi-turn detection unit 45 is physically initialized by applying a strong magnetic field, a high voltage, or a high current to the multi-turn detection unit 45. In addition, in addition to the physical initialization process, the initialization method can also be performed as a software initialization process, which initializes the current position to an initial neutral position in the internal processing of the counter calculator 55, for example.

[0215] At the same time, if Fig. 27As shown by the single-dot chain line in , when the rotation of the multi-turn detection unit 45 is detected outside the normal detection range, the value may stick to the value outside the detection range. In addition, when the count value TC can be changed from the minimum value Cmin or from the maximum value Cmax by rotating the detection object in the opposite direction, as shown by the solid line, the detection range of the multi-turn detection unit 45 can be matched with the operation range of the steering shaft 92 by rotating the steering shaft 92 to the rightmost rotation position or the leftmost rotation position. In such a case, the intermediate point learning of the steering operation is performed. Note that the present disclosure can be applied to a system in which the multi-turn detection unit 45 does not stick to the upper / lower limit detection value.

[0216] Will be based on Fig.28 The flowchart of describes the intermediate point learning process of this embodiment. When the learning of the intermediate value Cmid is necessary, for example, when the assembly is completed, the process is performed by the controller 70. This process can also be performed in the detection device 401. Hereinafter, the "step" in step S1101 is simplified to the symbol S.

[0217] In S1101 , the controller 70 calculates the rightmost steering angle θR using the count value TC_R, which is the count value when the steering wheel 91 is rotated to the rightmost rotation position, and stores the rightmost steering angle θR.

[0218] In S1102, the controller 70 calculates the leftmost steering angle θL using the count value TC_L, which is the count value when the steering wheel 91 is rotated to the leftmost rotation position, and stores the leftmost steering angle θL.

[0219] In S1103, the controller 70 determines whether the absolute value of the difference between the rightmost steering angle θR and the leftmost steering angle θL is greater than the operating range determination value α. The operating range determination value α is set according to the operating range between the rightmost rotation position and the leftmost rotation position of the steering wheel 91. For example, when the count value TC is fixed at a position between the rightmost position and the leftmost position, or when the rightmost / leftmost position is erroneously determined, S1103 produces a negative determination. When it is determined that the absolute value of the difference between the rightmost steering angle θR and the leftmost steering angle θL is equal to or less than the operating range determination value α (S1103: No), the process returns to S1101, and the rightmost steering angle θR and the leftmost steering angle θL are recalculated. In the event that no positive determination is made after performing several recalculations, the process may be terminated due to a decisive abnormality. When it is determined that the absolute value of the difference between the rightmost steering angle θR and the leftmost steering angle θL is greater than the operating range determination value α ( S1103 : YES), the process proceeds to S1104 , and the steering middle point θmid is calculated by using equation (4) and stored.

[0220] θmid=(θR+θL) / 2 ...(4)

[0221] In the present embodiment, the multi-turn detection unit 45 is configured to be able to detect magnetic changes without receiving power supply, and to continuously detect magnetic changes related to the count value TC even when power is not supplied to it. In addition, when the IG is turned on and power is supplied to the rotation angle sensor 31, current is supplied to the multi-turn detection unit 45 for detection output, so that the steering angle θs can be properly calculated even when the steering wheel 91 rotates when the IG is disconnected. Note that the value of the start switch start timing can be used as the gear rotation angle θg, so that for the IG disconnection period, continuous detection of the angle θg is not required.

[0222] As described above, the detection device 401 includes a multi-turn detection unit 45, a position detection unit 40, a counter calculator 55, and an angle calculation unit 50. The multi-turn detection unit 45 can continuously detect the rotational position of the steering shaft 92 driven by the motor 80 for multiple turns without receiving power supply from the outside. The multi-turn detection unit 45 of the present embodiment can continuously detect the rotational position of the multiple turns without using power. The position detection unit 40 detects the rotational position of the rotor 860 during one rotation of the rotor 860. Note that the position detection unit 40 has a higher resolution than the multi-turn detection unit 45.

[0223] The counter calculator 55 calculates multi-turn rotation position information related to the rotation position of the multi-turn rotation based on the detection value of the multi-turn detection unit 45. The multi-turn rotation position information of the present embodiment is a count value TC, i.e., a value related to the number of revolutions of the detection gear 27, which is counted up or down n times (i.e., n is an integer of 1 or greater) according to the rotation direction during one revolution of the detection gear 27.

[0224] The angle calculation unit 50 calculates the rotation angle θg related to the rotation position during one rotation based on the detection value of the position detection unit 40. The multi-rotation detection unit 45 is provided at a position different from the motor 80. More specifically, the multi-rotation detection unit 45 is provided in the sensor unit 4 having the torque sensor 421 that detects the torque input to the steering shaft 92. More specifically, the multi-rotation detection unit 45 is arranged on the same substrate as the substrate 411 on which the torque sensor 421 is arranged.

[0225] Since the multi-turn detection unit 45 can continuously detect one or more rotational positions of a plurality of turns without using electric power, the detection of the count value TC can be continued even in the case where the power supply is interrupted, for example, after the battery is removed or replaced. In addition, the configuration can be simplified by arranging the multi-turn detection unit 45 together with the torque sensor 421 on one substrate 411, as compared with the case where the multi-turn detection unit 45 is separately provided at another position.

[0226] The multi-turn detection unit 45 of this embodiment holds the rotational position of the multi-turn rotation by magnetism, and the rotational position can be read by supplying power to the multi-turn detection unit 45. Therefore, the detection of the rotational position of the multi-turn rotation can be appropriately continued without using power.

[0227] The multi-turn detection unit 45 detects the rotational position of the detection gear 27 meshing with the output shaft gear 26 rotating integrally with the steering shaft 92. Therefore, the rotational position of the steering shaft 92 for multiple turns can be appropriately detected. In addition, the detection accuracy can be improved by appropriately setting the transmission ratio.

[0228] The detection device 401 is applied to the sensor unit 4. The sensor unit 4 is provided with a gear fixing mechanism 29 that can fix (that is, can immovably hold) the output shaft gear 26 and the detection gear 27 when the output shaft gear 26, the detection gear 27, and the multi-turn detection unit 45 are assembled to the steering shaft 92. Therefore, the sensor unit 4 can be properly assembled to the steering shaft 92 in a state in which the rotational position of multiple revolutions can be properly detected by using the multi-turn detection unit 45.

[0229] The multi-turn detection unit 45 can initialize the detection value by performing an initialization process. The initialization process according to the present embodiment is a process for applying a strong magnetic field, a high voltage, or a large current. In this way, the detection value can be appropriately initialized. In addition, by assembling the sensor unit 4 to the steering shaft 92 according to the detection value after initialization, the rotation position of the steering shaft 92 for multiple turns of rotation can be appropriately detected.

[0230] The counter calculator 55 learns the reference value after operating the steering shaft 92 from one end to the other end of the operating range of the steering shaft 92. In this embodiment, the intermediate value Cmid is learned as the reference value. In this way, the rotation position of the steering shaft 92 for multiple turns can be appropriately detected.

[0231] The control unit 1 includes a detection device 401 and a controller 70 having an absolute angle calculator 75 that calculates an absolute angle θa as a displacement amount relative to a reference position based on the count value TC and the gear rotation angle θg. Since the count value TC can be calculated based on the detection value of the multi-turn detection unit 45 that does not require a power source, the calculation of the absolute angle θa can be appropriately performed even during the removal time of a power source (e.g., a battery).

[0232] (Tenth Embodiment)

[0233] Fig.29 The tenth embodiment is shown. In this embodiment, the detection gear 27 is omitted, and the rotation angle sensor 31 detects the rotation of the multipolar magnet 15. That is, in this embodiment, the multipolar magnet 15 is used for the detection of the torque and the detection of the rotation position of the steering shaft 92.

[0234] like Fig.29 As shown, the magnetic flux collecting rings 21 and 22 are formed such that the ring portions 211 and 221 are larger in diameter than the yoke 16. The yoke 16 is arranged radially inward of the magnetic flux collecting rings 21 and 22 and opposed to the magnetic flux collecting portions 215 and 225.

[0235] In the detection device 402, the substrate 411 is arranged at a position between the magnetic flux collecting rings 21 and 22. One end of the substrate 411 is formed to extend to the vicinity of the yoke 16. The torque sensor 421 is mounted on a portion of the substrate 411 between the magnetic flux collecting portions 215 and 225. The rotation angle sensor 31 is arranged on the yoke 16 side of the substrate 411. The detection values ​​of the torque sensor 421 and the rotation angle sensor 31 are sent to the ECU 10 via the communication line 408, for example, by SENT communication or the like. In addition, a connector 409 is provided on the substrate 411 on the outside of the magnetic flux collecting rings 21 and 22. The detection device 402 and the ECU 10 can communicate via a wiring harness (not shown) connected to the connector 409.

[0236] The angle calculation unit 50 calculates the electrical angle θe based on the value detected by the position detection unit 40. In the present embodiment, one magnetic pole pair of the multi-pole magnet 15 corresponds to an electrical angle of 360°. The counter calculator 55 calculates the count value TC based on the detection value of the multi-turn detection unit 45. The count value TC according to the present embodiment corresponds to the number of times the magnetic poles of the multi-pole magnet 15 pass through the multi-turn detection unit 45. Therefore, the absolute angle θa can be calculated based on (i) a value obtained by converting the count value TC using the number of magnetic poles and (ii) the electrical angle θe. In the present embodiment, since the detection value of the multi-pole magnet 15 that rotates integrally with the steering shaft 92 is used, the absolute angle θa obtained by converting the number of magnetic poles matches the steering angle θs.

[0237] In this embodiment, the number of components can be reduced by sharing the multi-pole magnet 15. In addition, as indicated by arrow A1, the torque sensor 421 detects the axial magnetic field of the steering shaft 92, and as indicated by arrows A2 and A3, the rotation angle sensor 31 detects the circumferential magnetic flux of the multi-pole magnet 15, thereby improving the detection accuracy without causing mutual interference between the magnetic flux of arrow A2 and the magnetic flux of arrow A3.

[0238] The torque sensor 421 detects torque by detecting changes in the magnetic flux of the multipolar magnet 15 that rotates integrally with the steering shaft 92. The multi-turn detection unit 45 detects the rotational position of the multipolar magnet 15. Thus, the number of parts can be reduced compared to the case where the magnet for detecting the rotational position of the multi-turn rotation is provided as a magnet separate from the magnet 15. In addition, effects similar to those of the above-described embodiment can be achieved.

[0239] (Eleventh embodiment, twelfth embodiment)

[0240] Fig.30 An eleventh embodiment is shown, and Fig.31 In the above embodiment, the base plate 411 is arranged perpendicular to the steering shaft 92. Fig.30 As shown, in the detection device 403 of the eleventh embodiment, the substrate 411 is arranged parallel to the steering shaft 92. Here, the "vertical" positioning and the "parallel" positioning each allow errors, which allow the torque sensor 421 to be arranged at a position between the magnetic flux collecting parts.

[0241] The torque sensor 421 is arranged at a position between the magnetic flux collecting parts 215 and 225, and detects the strength of the magnetic field in the direction of the arrow A1. In addition, the substrate 411 may be formed with a recess for preventing interference with the magnetic flux collecting parts 215 and 225. The rotation angle sensor 31 is mounted on a surface of the substrate 411 facing the multi-pole magnet 15, and is located outside in the axial direction relative to the magnetic flux collecting rings 21 and 22. The connector 409 is provided on the surface opposite to the steering shaft 92.

[0242] exist Fig.30 In the eleventh embodiment shown, surface mount type components are used as the torque sensor 421 and the rotation angle sensor 31. Fig.31 In the detection device 404 of the twelfth embodiment shown, through-hole type elements are used as the torque sensor 422 and the rotation angle sensor 32. By using through-hole type elements, it becomes easier to collect magnetic flux. Except for the mounting type, the functions of the torque sensor 422 and the rotation angle sensor 32 are the same as the functions of the torque sensor 421 and the rotation angle sensor 31. The above configuration also achieves effects similar to those of the above embodiment.

[0243] (Thirteenth embodiment)

[0244] Fig.32 A thirteenth embodiment is shown. In the detection device 405 of this embodiment, the sensor unit 425 is arranged at a position between the magnetic flux collecting parts 215 and 225, and the functions of the torque sensor and the rotation angle sensor of the above embodiment are integrated into one body. The sensor element of the sensor unit 425 is, for example, a 3D sensor, which (i) detects the rotation angle and the number of revolutions of the steering shaft 92 by detecting the magnetic flux in the XY direction and (ii) detects the torque by detecting the magnetic flux in the Z direction when the radial direction of the multi-pole magnet 15 is the XY direction and the axial direction of the magnet 15 is the Z direction. In this way, the configuration of the detection device 405 is simplified. In addition, the thirteenth embodiment also provides the same effects as those of the aforementioned embodiments.

[0245] (Fourteenth Embodiment)

[0246] Fig.33 A fourteenth embodiment is shown. In this embodiment, the absolute angle calculator 75 calculates the absolute angle θa based on the count value TC obtained from the rotation angle sensor 33 and the motor rotation angle θm obtained from the motor rotation angle sensor 85. That is, in this embodiment, the count value TC and the motor rotation angle θm are values ​​related to different rotations rather than the same rotation. Therefore, the count value TC and the motor rotation angle θm are appropriately converted for calculation by using the number of magnetic poles and the gear ratio. Therefore, the configuration of the position detection unit 40 and the angle calculation unit 50 in the rotation angle sensor 31 is omitted from the rotation angle sensor 33. Note that in the rotation angle sensor 33, the functions of the position detection unit 40 and the angle calculation unit 50 related to rotation angle detection are omitted, but the sensor 33 is still referred to as a "rotation angle sensor" in this specification.

[0247] In such a case, the transmission ratio between the steering shaft 92 and the motor 80 is set so that one count of the count value TC corresponds to one rotation of the motor 80. In addition, for example, when the rotation of the gear 27 is detected as described in the ninth embodiment, the transmission ratio can be increased, thereby making it possible to reduce the size of the detection gear 27. In addition, when the sensor is integrated in one body as shown in the thirteenth embodiment, the sensor unit 425 can be provided with a sensor capable of detecting the number of rotations in addition to the sensor element for detecting the magnetic flux in the Z direction.

[0248] The control unit 1 includes a motor rotation angle sensor 85 that detects the rotation angle of the motor 80. The absolute angle calculator 75 calculates the absolute angle θa based on (i) the count value TC based on the detection value of the multi-turn detection unit 45 and (ii) the motor rotation angle θm based on the detection value of the motor rotation angle sensor 85. In this way, the detection and calculation of the gear rotation angle θg in the detection device 401 can be omitted, thereby simplifying the configuration. In addition, the same effects as those of the aforementioned embodiment can also be achieved.

[0249] (Fifteenth embodiment)

[0250] Fig.34 and Fig.35 A fifteenth embodiment is shown. In this embodiment, the detection device 401 of the ninth embodiment is described as an example. However, detection devices of embodiments other than the ninth embodiment may also be used. In addition to the motor rotation angle θm, the motor rotation angle sensor 86 calculates a count value TCm that can be converted into the number of revolutions of the rotor of the motor 80. Power is supplied to the sensor for detecting the motor rotation angle θm when a vehicle start switch such as an ignition switch is turned on, and power is always supplied to the sensor for detecting the count value TCm.

[0251] The absolute angle calculator 75 calculates the shaft side absolute angle θat and the motor side absolute angle θam. The shaft side absolute angle θat is a value calculated based on the gear rotation angle θg and the count value TC corresponding to the number of rotations of the detection gear 27 detected by the rotation angle sensor 31. The shaft side absolute angle θat is a rotation angle including multi-turn rotation information relative to a reference position. The motor side absolute angle θam is a value calculated based on the motor rotation angle θm and the count value TCm corresponding to the number of rotations of the motor 80 detected by the motor rotation angle sensor 85, and is calculated as the rotation angle including multi-turn rotation information of the motor 80 relative to the reference position.

[0252] The abnormality monitoring unit 77 performs abnormality monitoring based on the absolute angles θat and θam. After the gear ratio conversion, if the shaft side absolute angle θat and the motor side absolute angle θam are both normal, they match each other. Hereinafter, the absolute angles θat and θam are described as values ​​after the gear ratio conversion.

[0253] For example, when the wheel 98 rotates at a high speed due to external factors, the connection between the steering shaft 92 and the motor 80 may move. If the steering shaft 92 and the motor 80 are connected by a belt, belt jump occurs, and if the steering shaft 92 and the motor 80 are connected by a gear, gear jump occurs. Hereinafter, this situation is described as "belt jump".

[0254] In addition, the reset value of the motor side absolute angle θam may have a value different from the shaft side absolute angle θat due to the reset of the count value TC caused by a power failure caused by battery replacement, etc. Since such a belt jump or power failure is not an abnormality of an electronic component such as a sensor, it is desirable to distinguish such a case from other cases for restoration to normal operation.

[0255] Reference Fig.35 The flowchart in describes the abnormality detection processing according to the present embodiment. The processing is executed by the controller 70, for example, when the IG is turned on. In S1201, the absolute angle calculator 75 calculates the shaft side absolute angle θat based on the count value TC of the rotation angle sensor 31 and the gear rotation angle θg, and calculates the motor side absolute angle θam based on the count value TCm of the motor rotation angle sensor 86 and the motor rotation angle θm.

[0256] In S1202, the abnormality monitoring unit 77 determines whether the absolute value of the difference between the shaft-side absolute angle θat and the motor-side absolute angle θam is less than the abnormality determination value β. The abnormality determination value β is set according to the value allowed as the difference between the shaft-side absolute angle θat and the motor-side absolute angle θam. When it is determined that the absolute value of the difference between the absolute angles θat and θam is less than the abnormality determination value β (S1202: Yes), the process proceeds to S1203, and it is determined that the absolute angles θat and θam are normal. When it is determined that the absolute value of the difference between the absolute angles θat and θam is equal to or greater than the abnormality determination value β (S1202: No), the process proceeds to S1204.

[0257] In S1204, the abnormality monitoring unit 77 determines whether at least one of the detection device 401 and the ECU 10 has an abnormality history. When it is determined that there is no abnormality history in the detection device 401 and the ECU 10 (S1204: No), the process proceeds to S1205, and it is determined that the belt jump has occurred. When it is determined that there is an abnormality history in the detection device 401 or the ECU 10 (S1204: Yes), the process proceeds to S1206.

[0258] In S1206, the abnormality monitoring unit 77 determines whether there is a history of power failure. For example, when replacing the battery, the power supply to the motor rotation angle sensor 85 is interrupted, which is stored as a history of power failure abnormality. In addition, the power failure abnormality can be detected by setting a specific flag at power-on startup. When it is determined that there is a history of power failure (S1206: Yes), the process proceeds to S1207, and the fault is determined to be a power failure. When it is determined that there is no history of power failure (S1206: No), the process proceeds to S1209.

[0259] In the case where the fault is determined to be belt jumping (S1205) or in the case where the fault is determined to be a power fault (S1207), then in S1208, the controller 70 corrects the motor side absolute angle θam so that the shaft side absolute angle θat matches the motor side absolute angle θam. In S1209, it is determined that the absolute angles θat and θam are abnormal and the process proceeds to the backup operation.

[0260] In the present embodiment, since the absolute angles θat and θam are calculated using different configurations, abnormality can be appropriately detected. In addition, the same failure mode can be avoided.

[0261] Furthermore, by using the shaft-side absolute angle θat and the motor-side absolute angle θam, the belt runout can be appropriately detected.

[0262] The absolute angle calculator 75 (i) calculates the shaft side absolute angle θat based on the detection value of the multi-turn detection unit 45 and the detection value of the position detection unit 40 that detects the rotational position of the steering shaft 92 during one rotation, and (ii) calculates the motor side absolute angle θam based on the detection value of the motor rotation angle sensor 85. The controller 70 includes an abnormality monitoring unit 77 that performs abnormality monitoring based on the shaft side absolute angle θat and the motor side absolute angle θam. In this way, power failure, belt jumping, etc. can be appropriately detected. In addition, the same effects as those of the aforementioned embodiment can also be achieved.

[0263] (Sixteenth Embodiment)

[0264] Fig.36 and Fig.37 A sixteenth embodiment is shown. Fig.36 As shown, the rotation angle sensor 34 includes a main detection unit 41, a sub-detection unit 42, a multi-turn detection unit 45, an angle calculator 51, an angle calculator 52, a count calculator 55, a count calculator 56, a torque sensor 421, a communication unit 58, and a communication unit 59, and the rotation angle sensor 34 receives power supply from power supplies 391 and 392. In the following embodiment, the description of the motor rotation angle sensor 85 and the torque sensor 421 is appropriately omitted. The power supply 391 is capable of supplying power to the rotation angle sensor 34 via the IG when the IG is turned on. The power supply 392 is a constant voltage power supply such as a regulator, and supplies power from a battery (not shown) to the rotation angle sensor 34 regardless of the on / off state of the IG. In the accompanying drawings, the blocks surrounded by a single dotted line always receive power supply.

[0265] Similar to the position detection unit 40, the main detection unit 41 and the sub-detection unit 42 detect the rotation of the detection gear 27 meshing with the output shaft gear 26 that rotates integrally with the output shaft 12. In addition, the main detection unit 41 and the sub-detection unit 42 may alternatively detect the rotation of the multipolar magnet 15 as in the tenth embodiment, etc. The same applies to the following embodiments.

[0266] It is desirable that the main detection unit 41 and the sub-detection unit 42 have different sensor characteristics. For example, the main detection unit 41 may be an AMR element, and the sub-detection unit 42 may be a TMR element. Here, even if the type of the element is the same, the following differences may be regarded as "different configurations related to the detection element": differences in layout and proportion of materials, differences in manufacturing batches, differences in the number of wafers in a batch, differences in chip positions in a wafer. In addition, the following differences may also be regarded as "different configurations related to the detection element": not only differences in the element, but also differences in the type and voltage of the detection circuit, the calculation circuit, and the power supply to the above circuits connected to the element. The use of sensors with different sensor characteristics makes it difficult to cause malfunctions due to common causes such as abnormal magnetic flux density, which is preferred in terms of functional safety. TMR elements may be preferably used in cases where low power consumption is important, and AMR elements may be preferably used in cases where magnetic resistance is important.

[0267] Here, for the detection units 41 and 42, "main" and "sub" are added to distinguish the two, but the detection units 41 and 42 may be functionally equivalent to each other. In addition, for example, the functions may be divided between the two units so that the main detection unit 41 is used for control and the sub-detection unit 42 is used for abnormality monitoring. The same applies to the following embodiments. In the following, "A" is added to the configuration and value of the main detection unit 41, and "B" is added to the configuration and value of the sub-detection unit 42 as appropriate.

[0268] The angle calculator 51 calculates the gear rotation angle θg_A based on the detection value of the main detection unit 41 that has been AD-converted by an AD converter (not shown). The angle calculator 52 calculates the gear rotation angle θg_B based on the detection value of the sub-detection unit 42 that has been AD-converted by an AD conversion unit (not shown). In the following, when the values ​​calculated by the angle calculators 51 and 52 are appropriately distinguished, these values ​​are referred to as the gear rotation angles θg_A and θg_B. When there is no need to distinguish between them, both values ​​can be referred to as the gear rotation angle θg. Whether an abnormality occurs can be detected by comparing the gear rotation angles θg_A and θg_B.

[0269] The counter calculator 56 is continuously supplied with power from the power supply 392, and calculates the count value TC of the detection gear 27 based on the detection value of the auxiliary detection unit 42. In the following, when the value calculated by the counter calculator 55 and the value calculated by the counter calculator 56 are appropriately distinguished, the value calculated by the counter calculator 55 is referred to as the count value NPTC (i.e., no power rotation count), and the value calculated by the counter calculator 56 is referred to as LPTC (i.e., low power rotation count). The count values ​​NPTC and LPTC are calculated using the detection values ​​of different detection methods, which provides a heterogeneous redundant configuration. Note that the count value NPTC can be counted by one count in one rotation of the detection gear 27, and the count value LPTC can be counted by four counts in one rotation of the detection gear 27, and so on. In other words, the number of counts per revolution between NPTC and LPTC can be different. For example, when the count values ​​NPTC and LPTC are compared, they can be appropriately converted from one to another. In the following, when there is no need to distinguish the detection unit, the count value is referred to as the count value TC.

[0270] By comparing the count values ​​NPTC and LPTC, it is possible to detect whether an abnormality has occurred. In addition, the comparison of the count values ​​may be performed in the rotation angle sensor 34 or may be performed in the controller 70. The same applies to the gear rotation angles θg_A and θg_B. The same effect may be obtained by comparing the converted absolute angles θa_A and θa_B. The communication unit 58 outputs the gear rotation angle θg_A and the count value NPTC to the controller 70, and the communication unit 59 outputs the gear rotation angle θg_B and the count value LPTC to the controller 70.

[0271] Although the multi-turn detection unit 45 has the advantage of not requiring power supply, there is a risk of corresponding number of revolutions offset and / or data failure due to interference magnetic field or long-term data retention. Therefore, in the present embodiment, in addition to using the detection value of the multi-turn detection unit 45 to calculate the count value NPTC, power is constantly supplied to the sub-detection unit 42 and the count calculator 56 to calculate the count value LPTC. Thus, the calculation of the count value TC is made redundant and anomalies in the calculation are detectable. In addition, since the multi-turn detection unit 45 and the sub-detection unit 42 have different configurations, common cause failures are less likely to occur and anomalies can be easily detected.

[0272] The absolute angle calculator 75 calculates the absolute angle θa_A based on the gear rotation angle θg_A and the count value NPTC, and calculates the absolute angle θa_B based on the gear rotation angle θg_B and the count value LPTC. The abnormality monitoring unit 77 performs abnormality monitoring based on the absolute angles θa_A and θa_B.

[0273] Reference Fig.37The flowchart in describes the abnormality monitoring process according to the present embodiment. The process is executed by the controller 70. Here, in the case where the count value TC is used in the initial calculation at startup and the count value TC is not used during operation, the process is executed when the IG is switched from off to on or when the controller 70 is reset. In the case where the count value TC is used not only during the initial calculation at startup but also during operation, the process is executed at a predetermined cycle during operation. In the following, the "step" of step S1301 is simply indicated as the symbol "S".

[0274] In S1301, controller 70 obtains gear rotation angles θg_A and θg_B and count values ​​NPTC and LPTC. In S1302, controller 70 calculates absolute angle θa_A using count value NPTC and gear rotation angle θg_A, and calculates absolute angle θa_B using count value LPTC and gear rotation angle θg_B (see equation (1)).

[0275] In S1303, the controller 70 performs abnormality determination by comparing the absolute angles θa_A and θa_B. When the number of values ​​calculated in S1302 is two, the difference between the two values ​​is determined to be normal if it is within the normal range, and the difference is determined to be abnormal when it is outside the normal range. In addition, for example, when there are three or more detection units and three or more absolute angles θa are calculated, a normal value is identified by majority decision. The gear rotation angle θg and the count value TC used for the calculation of the normal absolute angle θa are referred to as a "normal signal".

[0276] In S1304, the controller 70 determines whether there is a normal absolute angle θa. When it is determined that there is a normal absolute angle θa (S1304: Yes), the process proceeds to S1305, and various control calculations, such as calculation of the steering angle θs, are performed by using any normal signal or the total value of multiple normal signals. When it is determined that there is no normal absolute angle θa (S1304: No), the process proceeds to S1306, and the absolute angle θa is reset. In such a case, since the correspondence between the absolute angle θa and the steering angle θs is uncertain, the relationship between the absolute angle θa and the steering angle θs is learned by, for example, detecting the absolute angle θa when the steering wheel 91 is in a neutral position during straight-line driving of the vehicle. Learn the correspondence. Alternatively, the detection of the absolute angle θa can be stopped according to the configuration.

[0277] The rotation angle sensor 34 includes a counter calculator 56 that calculates a count value TC based on the detection value of the auxiliary detection unit 42. Electric power is constantly supplied to the auxiliary detection unit 42 and the counter calculator 56 that uses the detection value to calculate the count value TC. In this way, even when an interference magnetic field abnormality or the like occurs in the multi-turn detection unit 45, the detection of the count value TC is continuous. In addition, the abnormality can be detected by comparing the count values ​​NPTC and LPTC. In addition, since the detection principles of the detection values ​​used to calculate the count values ​​NPTC and LPTC are different, the probability of a malfunction due to a common cause can be reduced.

[0278] In the present embodiment, the main detection unit 41 and the sub-detection unit 42 are provided as position detectors. In other words, there are a plurality of position detectors in the present embodiment. The detection value of the sub-detection unit 42 as at least one position detector is shared by the angle calculator 52 and the count calculator 56. Therefore, the calculation of the gear rotation angle θg and the count value TC can be made redundant with a relatively simple configuration.

[0279] The main detection unit 41 and the sub-detection unit 42 are different in configuration related to the detection element. As a result, the occurrence of abnormalities due to the same cause can be suppressed and functional safety can be improved. "Configuration related to the element" does not necessarily mean (i) the type of element is different (for example, the difference between TMR devices, AMR devices, Hall devices, etc.), (ii) the internal configuration of the element is different (for example, different wafers, different layouts, different materials, etc., different manufacturing conditions, different manufacturing batches, etc.), (iii) the circuit configuration connected to the element is different, or (iv) the type and / or voltage of the power supplied to the element is different.

[0280] At least two absolute angles θa_A and θa_B are calculated using different count values ​​NPTC and LPTC and different motor rotation angles θm_A and θm_B. The controller 70 includes an abnormality monitoring unit 77 that performs abnormality monitoring based on a plurality of absolute angles θa_A and θa_B calculated using different detection values. Thus, abnormality monitoring of the rotation angle sensor 34 can be appropriately performed. In addition, the same effects as those of the aforementioned embodiment can be achieved.

[0281] (Seventeenth embodiment, Eighteenth embodiment)

[0282] Fig.38 Together with Figure 8 A seventeenth embodiment is shown, and Fig.39 The eighteenth embodiment is shown. Fig.38 and Fig.39 As shown, the controller 70 of the present embodiment can obtain an external detection value which can be converted into an absolute angle θa from the external sensor 500. Fig.38 The rotation angle sensor 34 of the sixteenth embodiment is shown as the rotation angle sensor, and the rotation angle sensor of the eighteenth embodiment is shown as the rotation angle sensor. Fig.39 The rotation angle sensor 31 of the ninth embodiment is shown as the rotation angle sensor. The communication between the external sensor 500 and the controller 70 can be performed by any communication method such as CAN (Controller Area Network), LIN (Local Interconnect Network), Flexray, etc. The external sensor 500 is, for example, a steering sensor, a stroke sensor, etc. The value equivalent to the absolute angles θa_A and θa_B converted from the detection value of the external sensor 500 by using the transmission ratio of the gear connecting the motor 80 and the steering system is defined as the absolute angle θa_C.

[0283] Hereinafter, abnormality monitoring is described focusing on the seventeenth embodiment. In the seventeenth embodiment, three values ​​can be used as the absolute angle θa. Fig.37 In S1303 of , the value different from the other two values ​​is identified as abnormal. Figure 8 In this embodiment, the comparison (1) is a comparison of the absolute angles θa_A and θa_B, the comparison (2) is a comparison of the absolute angles θa_A and θa_C, and the comparison (3) is a comparison of the absolute angles θa_B and θa_C. If the comparisons (1), (2), and (3) are all normal, the absolute angles θa_A, θa_B, and θa_C are all identified as normal, and if the comparisons (1), (2), and (3) are all abnormal, it is impossible to identify the normal value and the abnormal value. In addition, when two of the comparisons (1), (2), and (3) are normal and one is abnormal, it is impossible to identify the normal value and the abnormal value.

[0284] If comparisons (1) and (2) are abnormal and comparison (3) is normal, the absolute angle θa_A is identified as abnormal. Abnormalities of the absolute angle θa_A include (i) causing a malfunction, thereby preventing continuous detection, and (ii) causing data jumps in the multi-turn detection unit 45 due to an interfering magnetic field.

[0285] When comparisons (1) and (3) are abnormal and comparison (2) is normal, the absolute angle θa_B is identified as abnormal. Abnormalities of the absolute angle θa_B include (i) causing a malfunction in the sub-detection unit 42, thereby preventing continuous detection, and (ii) power failure such as battery replacement.

[0286] When the comparisons (2) and (3) are abnormal and the comparison (1) is normal, the absolute angle θa_C is identified as abnormal. The abnormality of the absolute angle θa_C includes (i) causing a malfunction in the external sensor 500, thereby preventing continuous detection.

[0287] That is, even in the case where the absolute angles θa_A, θa_B, and θa_C are abnormal, the abnormality may not be due to a device failure but due to abnormal data. Therefore, the internal monitoring function and / or the external monitoring function of each sensor can be used to determine the failure, and if it is determined that there is no failure, a correction process can be performed based on the difference from a normal sensor that has been determined to be normal.

[0288] In addition, a sensor configuration capable of calculating each of the absolute angles θa_A, θa_B, and θa_C multiple times may be adopted, and when both the absolute angles θa_Ax and θa_Ay corresponding to the absolute angle θa_A are identified as abnormal, such a situation may be determined not as a device failure but as a data abnormality, in which case detection may still be continued by correcting the abnormal data. When one of the absolute angles θa_Ax and θa_Ay is abnormal, such a situation may be determined as a device failure.

[0289] The controller 70 has an abnormality monitoring unit 77, and the abnormality monitoring unit 77 performs abnormality monitoring by obtaining an external detection value that can be converted into an absolute angle θa from the external sensor 500, and performing a comparison between (i) an absolute angle θa_C calculated based on the detection value of the external sensor 500 and (ii) absolute angles θa_A and θa_B based on the detection value of the rotation angle sensor 34. That is, the absolute angles θa_A, θa_B, and θa_C are "a plurality of absolute positions calculated using different detection values". Therefore, abnormality monitoring can be appropriately performed using the detection value of the external sensor 500. If at least one of (i) an absolute angle based on the detection value of the rotation angle sensor 34 and (ii) an absolute angle based on the detection value of the external sensor 500 can be obtained as two values ​​(for example, as θa_Ax and θa_Ay), the abnormal position can be determined by majority decision. In addition, the same effects as those of the aforementioned embodiment can be achieved.

[0290] (Nineteenth Embodiment)

[0291] Fig. 9 The nineteenth embodiment is further shown. The ECU 79 of this embodiment includes drive circuits 120 and 220, controllers 170 and 270, motor rotation angle sensors 185 and 285, etc. In this embodiment, since two controllers 170 and 270 are provided, even if one of the two controllers fails, the drive control of the motor 80 is continuous.

[0292] The first controller 170 includes an absolute angle calculator 175, a control calculator 176, and an abnormality monitoring unit 177. The second controller 270 includes an absolute angle calculator 275, a control calculator 276, and an abnormality monitoring unit 277. The absolute angle calculators 175 and 275 calculate a steering angle θs in addition to the absolute angle θa.

[0293] The control calculator 176 controls the energization of the motor winding 180 by controlling the on / off operation of the first switching element included in the first drive circuit 120. The control calculator 276 controls the energization of the motor winding 280 by controlling the on / off operation of the second switching element included in the second drive circuit 220. The abnormality monitoring units 177 and 277 perform abnormality monitoring by monitoring the absolute angles with each other. The controllers 170 and 270 can send and receive information through communication. Hereinafter, the communication between the controllers 170 and 270 is appropriately referred to as communication between microcomputers, or as inter-microcomputer communication.

[0294] The first rotation angle sensor 133 includes a main detection unit 141, a sub detection unit 142, a multi-turn detection unit 145, angle calculators 151 and 152, a count calculator 155, and a communication unit 158. The second rotation angle sensor 233 has the main detection unit 241, the sub detection unit 242, the multi-turn detection unit 245, angle calculators 251 and 252, a count calculator 255, and a communication unit 258. When the IG is turned on, the first rotation angle sensor 133 receives supply of power from the power supply 191, and when the IG is turned on, the second rotation angle sensor 233 receives supply of power from the power supply 291. The power supplies 191 and 291 are constant voltage power supplies such as regulators, just like the power supply 391 of the previous embodiment.

[0295] The main detection units 141 and 241 are the same as the main detection unit 41 of the sixteenth embodiment, the sub-detection units 142 and 242 are the same as the sub-detection unit 42 of the sixteenth embodiment, the angle calculators 151 and 251 are the same as the angle calculator 51, and the angle calculators 152 and 252 are the same as the angle calculator 52. Hereinafter, the configuration and value of the main detection unit 141 have the symbol "A1", the configuration and value of the sub-detection unit 142 have the symbol "B1", the configuration and value of the main detection unit 241 have the symbol "A2", and the configuration and value of the sub-detection unit 242 have the symbol "B2", as appropriate. The multi-turn detection units 145 and 245 are the same as the multi-turn detection unit 45, and the counter calculators 155 and 255 are the same as the counter calculator 55.

[0296] Here, the value calculated by the angle calculator 151 is the gear rotation angle θg_A1, and the value calculated by the angle calculator 152 is the gear rotation angle θg_B1, the value calculated by the angle calculator 251 is the gear rotation angle θg_A2, and the value calculated by the angle calculator 252 is referred to as the gear rotation angle θg_B2. The value calculated by the count calculator 155 is referred to as the count value NPTC1, and the value calculated by the count calculation unit 255 is referred to as the count value NPTC2.

[0297] The communication unit 158 ​​transmits the gear rotation angles θg_A1 and θg_B1 and the count value NPTC1 to the first controller 170. The communication unit 258 transmits the gear rotation angles θg_A2 and θg_B2 and the count value NPTC2 to the second controller 270.

[0298] In the present embodiment, the first rotation angle sensor 133 and the first controller 170 are included in the first system, and the second rotation angle sensor 233 and the second controller 270 are included in the second system. In each system, a count value NPTC is calculated, and two gear rotation angles θg are calculated. In the present embodiment, the rotation angle sensors 133 and 233 and the controllers 170 and 270 are configured in the same manner in the first system and the second system. Therefore, the processing in the first controller 170 is mainly described. In addition, by replacing the values ​​of the first system with the values ​​of the second system, the processing in the second controller 270 can simply read the processing in the first system, so that the description about the second system is appropriately omitted.

[0299] The first controller 170 calculates the steering angle θs by using the count value NPTC1 in the first calculation after switching the IG from off to on, and then integrates the change in the gear rotation angle θg into the first calculation value for the calculation of the steering angle θs. This eliminates the need to continuously monitor the count value NPTC. The abnormality monitoring of the count value NPTC1 can be performed as the following abnormality monitoring at a time after the IG is turned on and before the first calculation: (i) self-monitoring in the object system described in the eleventh embodiment, or (ii) abnormality monitoring by comparison with the count value NPTC2 obtained through inter-microcomputer communication.

[0300] In addition, the gear rotation angle θg is configured so that two values ​​can be calculated for each system. By comparing the values ​​in the corresponding system, the IG is continuously monitored at a predetermined cycle when the IG is turned on. As a result, compared with the case where the gear rotation angle is obtained from other systems for abnormality monitoring through inter-microcomputer communication, the communication load of the inter-microcomputer communication can be reduced. In addition, since abnormality monitoring can be performed in the corresponding system, the absolute angle θa can be calculated at high speed by using a value determined to be normal. By designing such a configuration, a constant power supply is not required, and abnormality monitoring can be appropriately performed. In addition, the same effects as those of the aforementioned embodiment can be achieved.

[0301] (Twentieth Embodiment)

[0302] Fig.40 The twentieth embodiment is shown. The second rotation angle sensor 234 includes a main detection unit 241, a sub-detection unit 242, angle calculators 251 and 252, a count calculator 256, and a communication unit 258, and the second rotation angle sensor 234 receives supply of power from power supplies 291 and 292. Similar to the power supply 391, the power supply 291 can supply power via the IG when the IG is turned on, and similar to the power supply 392, the power supply 292 can supply power from a battery regardless of the on / off state of the IG.

[0303] In the present embodiment, in the second rotation angle sensor 234, the multi-turn detection unit is omitted, and the count calculator 256 calculates the count value LPTC2 by using the detection value of the sub-detection unit 242. The count calculator 256 is the same as the count calculator 56. The communication unit 258 transmits the gear rotation angles θg_A2 and θg_B2 and the count value LPTC2 to the second controller 270. In addition, the first controller 170 can obtain the detection value of the external sensor 500.

[0304] In the present embodiment, three values ​​are used for abnormality monitoring, namely, (i) an absolute angle θa_A1 calculated by using the count value NPTC in the first system L1, (ii) an absolute angle θa_B2 calculated by using the count value LPTC in the second system L2, and (iii) an absolute angle θa_C based on a detection value of the external sensor 500. The controllers 170 and 270 share the absolute angles θa_A1, θa_B2, and θa_C through inter-microcomputer communication.

[0305] The details of the abnormality monitoring are substantially the same as those in the seventeenth embodiment, in which three values ​​of the absolute angles θa_A1, θa_B2, and θa_C are compared. When a power failure occurs due to a dead battery, battery replacement, etc., the abnormality monitoring is performed by comparing the absolute angles θa_A1 and θa_C, and when the count value NPTC becomes abnormal due to interference such as a strong magnetic field, the abnormality monitoring is performed by comparing the absolute angles θa_B2 and θa_C.

[0306] In the present embodiment, since three values ​​of the absolute angles θa_A1, θa_B2, and θa_C can be used, an abnormality due to a power failure or disturbance can be appropriately detected. In addition, in the case where the drive device 400 is removed from the steering system, abnormality monitoring can still be performed by comparing (i) the absolute value θa_C based on the detection value of the external sensor 500 and (ii) the absolute angle of the gear obtained from the portion of the steering system located on the steering wheel side. In addition, the same effects as those of the aforementioned embodiment can be achieved.

[0307] (Twenty-first embodiment)

[0308] Fig.41 The twenty-first embodiment is shown. The first rotation angle sensor 135 has a counter calculator 156 in addition to the configuration of the first rotation angle sensor 133 of the twelfth embodiment, and receives the supply of power from the power supply 191 when the IG is turned on, and constantly receives the supply of power from the power supply 192, that is, regardless of the on and off of the IG. The counter calculator 156 calculates the count value LPTC1 by using the detection value of the sub-detection unit 142. The communication unit 158 ​​sends the gear rotation angles θg_A1 and θg_B1 and the count values ​​NPTC1 and LPTC1 to the first controller 170.

[0309] The second rotation angle sensor 235 has a counter calculator 256 in addition to the configuration of the second rotation angle sensor 233 of the eighteenth embodiment, receives the supply of power from the power supply 291 when the IG is turned on, and constantly receives the supply of power from the power supply 292, that is, regardless of the turning on and off of the IG. The communication unit 258 sends the gear rotation angles θg_A2 and θg_B2 and the count values ​​NPTC2 and LPTC2 to the second controller 270. Although the second rotation angle sensor 235 has one multi-turn detection unit 245, a more robust system can be constructed by using a plurality of multi-turn detection units 245 for redundancy. The same applies to the first rotation angle sensor 135.

[0310] The controllers 170 and 270 can obtain external detection values ​​that can be converted into absolute angles from two external sensors 500 and 501. The external sensors 500 and 501 are, for example, steering sensors, travel sensors, etc., and can be of the same type or different types. In the seventeenth and eighteenth embodiments, as in the other embodiments, external detection values ​​can also be obtained from a plurality of external sensors.

[0311] In the present embodiment, in each system, two gear rotation angles θg, count values ​​NPTC, count values ​​LPTC, and external detection values ​​from two external sensors 500 and 501 can be used, which enables majority decision to be made in the corresponding system to identify abnormalities. In addition, control using normal detection values ​​is continuous. In addition, even when one of the rotation angle sensors 135 and 235 fails, the controllers 170 and 270 share the detection values ​​of the normal rotation angle sensors through inter-microcomputer communication, thereby enabling motor control to continue in both systems. In addition, the same effects as those of the aforementioned embodiment can be achieved.

[0312] In the above embodiment, the steering shaft 92 is the “detection object”, the output shaft gear 26 is the “detection object gear”, the multipolar magnet 15 is the “magnet”, the counter calculators 55, 155 and 255 are the “multi-turn rotation position calculation unit”, and the absolute angle calculators 75, 175 and 275 are the “absolute position calculators”. In addition, the count value TC is the “multi-turn rotation position information”, the gear rotation angle θg and the motor rotation angle θm are the “rotation angle information”, the shaft side absolute angle θat is the “detection object side absolute position”, and the motor side absolute angle θam is the “motor side absolute position”.

[0313] (Other embodiments)

[0314] In the above-described embodiment, the multi-turn detection unit utilizes magnetism to maintain the rotational position of multiple turns of rotation. In other embodiments, the multi-turn detection unit may use a device other than a magnetic device, as long as the detection of the rotational position of multiple turns of rotation is continuous without using electricity. In addition, the detection gear 27 may have a larger size than the output shaft gear 26. Even with such a configuration, the rotational position of multiple turns of rotation can be detected without using electricity. In addition, such a configuration makes it possible to reduce the number of parts compared to a standard steering sensor.

[0315] In addition, “the detection of the rotational position of multiple revolutions is continuous without the supply of power from the outside” is not limited to the detection by using magnetism without the supply of power, etc. as shown in the above-mentioned embodiment. By providing an internal battery in the sensor, the detection of the rotational position of multiple revolutions can be continued without the supply of power from the outside. In other embodiments, when the count value TC reaches the maximum value Cmax, the count value can then be counted “up” to the minimum value Cmin, and when the count value TC reaches the minimum value Cmin, the count value can then be counted down to the maximum value Cmax. That is, the TC value can be counted cyclically.

[0316] In the above embodiment, the control unit is used for an electric power steering device. In other embodiments, the control unit can be used in a wire-controlled steering system. In the above embodiment, the multi-turn detection unit is arranged in the torque sensor unit. In other embodiments, the multi-turn detection unit can be arranged at a position other than the torque sensor unit. For example, in a case where torque detection is not required, such as a wire-controlled steering system, the torque sensor unit can be arranged at any position where a detection gear can be arranged (such as a rack gear or a steering wheel side of a steering shaft).

[0317] Furthermore, the control unit can be appropriately applied to applications requiring the number of revolutions and the rotation angle other than the steer-by-wire system. Furthermore, if the stroke position is converted into a rotation system by using a gear, the present disclosure can be applied to a stroke sensor.

[0318] In the eleventh embodiment, the steering sensor and the travel sensor are described as external sensors. In other embodiments, analysis values ​​of images obtained by a laser displacement meter or a camera may be used as external sensors.

[0319] In the above-described embodiment, the communication between the controllers is performed by inter-microcomputer communication. In other embodiments, the communication between the controllers may be performed via a vehicle communication network such as CAN (rather than inter-microcomputer communication).

[0320] In the above embodiments, one sensor unit is provided with one multi-turn detection unit and one or two position detection units. In other embodiments, one or more sensor units may be provided with two or more multi-turn sensors or three or more position detection units.

[0321] In the above-mentioned embodiment, one controller is provided for one sensor unit, and the number of systems is one or two. In other embodiments, the number of systems may be three or more. In addition, one controller may be provided for multiple sensor units, or one sensor unit may be provided for multiple controllers.

[0322] In the above embodiment, the motor is a three-phase brushless motor. In other embodiments, the motor is not limited to the three-phase brushless motor, but may be any motor. In addition, the motor is not limited to the electric motor, but may be a generator, or may be a so-called electric generator having both functions of a motor and a generator. In the above embodiment, the inverter and the motor windings belong to two systems. In another embodiment, the number of inverters and motor windings may be one or three or more than three. In addition, the number of inverter windings and motor windings may be different. In the above embodiment, the control unit is applied to an electric power steering device. In other embodiments, the control unit may be applied to other devices other than the electric power steering device.

[0323] The controller and method thereof described in the present disclosure may be implemented by a special-purpose computer configured as a combination of a processor and a memory programmed to perform one or more functions embodied by a computer program. Alternatively, the controller and method thereof described in the present disclosure may be implemented by a special-purpose computer provided as a configuration of a processor including one or more special-purpose hardware logic circuits. Alternatively, the controller and method described in the present disclosure may be implemented by one or more special-purpose computers provided as a combination of: (i) a processor and a memory programmed to perform one or more functions; and (ii) a processor consisting of one or more hardware logic circuits. In addition, the above-mentioned computer program may be stored as a computer-executable instruction in a tangible non-transitory computer-readable storage medium. The present disclosure is not limited to the above-mentioned embodiments, but may include various modifications that can be implemented without departing from the spirit of the present disclosure. The present disclosure is not limited to the above-mentioned embodiments, and various modifications may be implemented without departing from the spirit of the present disclosure.

Claims

1. A detection device, include: a multi-turn detection unit (45, 145, 245) configured to continuously detect the rotational position of a detection object for multiple turns without power supply from the outside; a position detector (40, 41, 42, 141, 142, 241, 242) configured to detect a rotational position in one rotation of the detection object; a multi-turn rotation position calculator (55, 155, 255) configured to calculate multi-turn rotation position information related to the rotation position of the multi-turn rotation based on the detection value of the multi-turn detection unit; as well as an angle calculator (50, 51, 52, 151, 152, 251, 252) configured to calculate rotation angle information related to the rotation position in the one rotation based on the detection value of the position detector, wherein the multi-turn rotation position information is a count value (TC) of n upward or downward counts according to the rotation direction in one turn of the detection object, wherein n is an integer of 1 or greater than 1, and The multi-turn rotation position calculator is configured to count the count value to a number m between an upper limit value and a lower limit value, wherein m is an integer of 2n or greater, and when the count value reaches the upper limit value, count the count value up to the lower limit value in a subsequent up-count, and when the count value reaches the lower limit value, count the count value down to the upper limit value in a subsequent down-count, The detection device also includes in the multi-turn rotation position calculator: a first multi-turn rotation position calculator configured to calculate the multi-turn rotation position information based on the detection value of the multi-turn detection unit, and a second multi-turn rotation position calculator configured to calculate the multi-turn rotation position information based on the detection value of the position detector, wherein the first multi-turn rotation position calculator and the second multi-turn rotation position calculator are provided as a heterogeneous redundant configuration for calculating the multi-turn rotation position information, and Power is constantly supplied to the position detector and the second multi-turn rotation position calculator, which respectively provide detection values ​​for calculating the multi-turn rotation position information.

2. The detection device according to claim 1, wherein The multi-turn rotation position calculator is configured to initialize the count value and start counting the count value when having the multi-turn rotation position information that is normally initialized.

3. The detection device according to claim 1, wherein The multi-turn detection unit is configured to magnetically hold the rotational position of the multi-turn rotation, and the rotational position of the multi-turn rotation can be read by supplying electric power.

4. The detection device according to claim 1, wherein The detection device includes a plurality of position detectors, and A detection value of at least one position detector is shared between the angle calculator and the second multi-turn rotation position calculator.

5. The detection device according to claim 4, wherein Among the plurality of position detectors, arrangements of detection elements are respectively different.

6. A control unit, include: A detection device comprising: a multi-turn detection unit (45, 145, 245) configured to continuously detect the rotational position of a detection object for multiple turns without power supply from the outside; a position detector (40, 41, 42, 141, 142, 241, 242) configured to detect a rotational position in one rotation of the detection object; a multi-turn rotation position calculator (55, 155, 255) configured to calculate multi-turn rotation position information related to the rotation position of the multi-turn rotation based on the detection value of the multi-turn detection unit; as well as an angle calculator (50, 51, 52, 151, 152, 251, 252) configured to calculate rotation angle information related to the rotation position in the one rotation based on the detection value of the position detector; as well as A controller (70, 170, 270) is configured to obtain information related to the rotation of the detection object from the detection device, wherein The detection device or the controller includes an absolute position calculator (75, 175, 275) that calculates an absolute position as a displacement amount relative to a reference position based on the multi-turn rotation position information and the rotation angle. The multi-turn rotation position information is a count value (TC) of n upward or downward counts according to the rotation direction in one turn of the detection object, where n is an integer of 1 or greater, and The multi-turn rotation position calculator is configured to count the count value to a number m between an upper limit value and a lower limit value, wherein m is an integer of 2n or greater, and when the count value reaches the upper limit value, count the count value up to the lower limit value in a subsequent up-count, and when the count value reaches the lower limit value, count the count value down to the upper limit value in a subsequent down-count, The detection device also includes in the multi-turn rotation position calculator: a first multi-turn rotation position calculator configured to calculate the multi-turn rotation position information based on the detection value of the multi-turn detection unit, and a second multi-turn rotation position calculator configured to calculate the multi-turn rotation position information based on the detection value of the position detector, wherein the first multi-turn rotation position calculator and the second multi-turn rotation position calculator are provided as a heterogeneous redundant configuration for calculating the multi-turn rotation position information, and Power is constantly supplied to the position detector and the second multi-turn rotation position calculator, which respectively provide detection values ​​for calculating the multi-turn rotation position information.

7. The control unit according to claim 6, in, The absolute position calculator calculates the absolute position by using the correction value of the multi-turn rotation position information corrected by the rotation information correction value (TC_c).

8. A control unit according to claim 6 or 7, wherein The controller obtains an external detection value that can be converted into the absolute position from an external sensor (500, 501).

9. The control unit according to claim 6 or 7, in, The controller is provided with an abnormality monitor (77, 177, 277) configured to monitor abnormality based on the plurality of absolute positions calculated by using respectively different detection values.

10. A detection device, include: a rotation detection unit configured to continuously detect a rotation position of a rotor (860) as a detection object; as well as a count calculator configured to calculate a count value, the count value being counted up or down n times according to the rotation direction during one rotation of the detection object, wherein n is an integer of 1 or greater than 1, wherein The counter calculator is configured to count a number m between a lower limit value and an upper limit value as a count value, wherein m is an integer of 2n or greater, and the count value is (i) set to the lower limit value when the count value is counted up next time after reaching the upper limit value, or (ii) set to the upper limit value when the count value is counted down next time after reaching the lower limit value, The detection device also includes in the multi-turn rotation position calculator: a first multi-turn rotation position calculator configured to calculate multi-turn rotation position information based on a detection value of a multi-turn detection unit configured to continuously detect a rotation position of a detection object by multi-turn rotation without power supply from the outside, and a second multi-turn rotation position calculator configured to calculate the multi-turn rotation position information based on a detection value of a position detector configured to detect a rotation position in one rotation of the detection object, wherein the first multi-turn rotation position calculator and the second multi-turn rotation position calculator are provided as a heterogeneous redundant configuration for calculating the multi-turn rotation position information, and Power is constantly supplied to the position detector and the second multi-turn rotation position calculator, which respectively provide detection values ​​for calculating the multi-turn rotation position information.

11. A control unit, include: The detection device comprises: a multi-turn detection unit (45, 145, 245) configured to continuously detect the rotational position of a detection object driven by a motor (80) for multiple turns without power supply from the outside; a position detector (40, 41, 42, 141, 142, 241, 242) configured to detect a rotational position in one rotation of the detection object; a multi-turn rotation position calculator (55, 155, 255) configured to calculate multi-turn rotation position information related to the rotation position of the multi-turn rotation based on the detection value of the multi-turn detection unit; and an angle calculator (50, 51, 52, 151, 152, 251, 252) configured to calculate rotation angle information related to the rotation position of the detection object in the one rotation based on the detection value of the position detector, wherein The multi-turn detection unit is arranged at a position different from that of the motor, The multi-turn rotation position information is a count value of n counts upward or downward according to the rotation direction in one turn of the detection object, where n is an integer of 1 or greater, and The multi-turn rotation position calculator is configured to count the count value to a number m between an upper limit value and a lower limit value, wherein m is an integer of 2n or greater, and when the count value reaches the upper limit value, count up the count value to the lower limit value in a subsequent up-count, and when the count value reaches the lower limit value, count down the count value to the upper limit value in a subsequent down-count, and A controller for controlling the drive of the motor, wherein The detection device or the controller includes an absolute position calculator configured to calculate an absolute position representing a displacement amount of the detection object relative to a reference position based on the multi-turn rotation position information and the rotation angle information, a motor rotation angle sensor configured to detect a rotation angle of the motor, wherein the absolute position calculator calculates the absolute position based on (i) the multi-turn rotation position information based on the detection value of the multi-turn detection unit and (ii) the rotation angle information based on the detection value of the motor rotation angle sensor, and the controller includes an abnormality monitoring unit configured to monitor abnormality based on the detection object side absolute position and the motor side absolute position, wherein The abnormality monitoring unit determines that a shift has occurred at the connection between the detection object and the motor when (i) the difference between the absolute position on the detection object side and the absolute position on the motor side is equal to or greater than an abnormality threshold and (ii) no abnormality history is recorded for either the detection device or the controller.

12. The control unit according to claim 11, wherein The multi-turn detection unit is configured to magnetically hold the rotational position of the multi-turn rotation, and read the rotational position held therein by supplying electric power.

13. The control unit according to claim 11, wherein The multi-rotation detection unit is provided in a sensor unit (4), and the sensor unit (4) has a torque sensor (421) for detecting torque input to the detection object.

14. The control unit according to claim 11, wherein The multi-rotation detection unit is configured to detect a rotational position of a detection gear (27) meshing with a detection object gear (26) that rotates integrally with the detection object.

15. The control unit according to claim 14, wherein The multi-turn detection unit is provided in a sensor unit (4), the sensor unit (4) having a torque sensor for detecting a torque input to the detection object, and The sensor unit (4) has a gear fixing mechanism (29) applied thereto, and the gear fixing mechanism (29) is configured to fix the detection object gear (26) and the detection gear (27) when the detection object gear (26), the detection gear (27) and the multi-turn detection unit are assembled onto the detection object.

16. The control unit according to claim 13, wherein The torque sensor (421) is configured to detect changes in magnetic flux of a magnet (15) that rotates integrally with the detection object, and The multi-turn detection unit detects a rotational position of the magnet.

17. The control unit according to claim 11, wherein The multi-turn detection unit is configured to perform an initialization process of initializing the detection value.

18. The control unit according to claim 11, wherein The multi-turn detection unit is configured to learn a reference value after operating the detection object from one end to the other end of an operation range.

19. The control unit according to claim 11, wherein The absolute position calculator calculates the detection object side absolute position based on the detection values ​​of the multi-turn detection unit and the position detector, and calculates the motor side absolute position based on the detection value of the motor rotation angle sensor.