Switching range control device

The shift range control device uses a brushless DC motor and dual output shaft sensors with learning algorithms to address accuracy issues in existing systems, achieving precise motor control despite cogging torque.

DE112018003042B4Active Publication Date: 2024-08-29DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
DE112018003042
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2017-06-16
Filing Date
2018-06-08
Publication Date
2024-08-29
Estimated Expiration
2038-06-08

AI Technical Summary

Technical Problem

Existing shift range control systems using output shaft sensors with stepwise output values suffer from reduced detection accuracy, leading to lower motor control precision and potential misalignment due to cogging torque, especially in brushless DC motors.

Method used

A shift range control device that incorporates a brushless DC motor, a rotating member with valley and ridge sections, and dual output shaft sensors, along with an angle calculation unit, target angle setting, and learning unit to calculate and adjust motor angles accurately, compensating for cogging torque through learning correction values.

Benefits of technology

Ensures high-accuracy positioning of the engaging member into target switching ranges by accurately controlling motor angles, even in the presence of cogging torque, enhancing system precision and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure DE112018003042B4_0000_ABST
    Figure DE112018003042B4_0000_ABST
Patent Text Reader

Abstract

Switching range control device (40) for switching a switching range by controlling the drive of a motor (10) in a switching range switching system (1), which includes the following: a motor (10); a rotary element (21) having a plurality of valley sections (221, 222, 223, 224) and a plurality of comb sections (226, 227, 228) formed between the valley sections (221, 222, 223, 224) and rotatable integrally with an output shaft (15) to which the rotation of the motor (10) is transmitted; an engagement element (26) that can engage with the valley section (221, 222, 223, 224) corresponding to a switching range; a motor rotation angle sensor (13) for outputting a motor rotation angle signal corresponding to a rotational position of the motor (10) corresponds;and an output shaft sensor (16) for outputting an output shaft signal (Sg1, Sg2) corresponding to a rotational position of the output shaft (15), wherein the switching range control device (40) comprises: an angle calculation unit (51) for calculating a motor angle based on the motor rotation angle signal; a setpoint angle setting unit (55) for setting a motor angle setpoint corresponding to a setpoint switching range; a learning unit (52) for learning a correction value to be used when calculating the motor angle setpoint based on the motor angle and the output shaft signal (Sg1, Sg2);and a drive control unit (56) for controlling the driving of the motor so that the motor angle achieves the motor angle setpoint, wherein a direction of rotation of the rotating component (21) at the time when switching from a P-area to an area other than the P-area is a first direction, and a direction of rotation opposite to the first direction is a second direction, the output wave signal (Sg1, Sg2) changes stepwise to different values ​​before and after a movement when the engagement component (26) moves from a state in which the engagement component (26) is fitted into a valley section (221, 222, 223, 224) to an adjacent valley section (221, 222, 223, 224);and the learning unit (52) learns the correction value based on at least one first change point value, which is the motor angle at a time when the output wave signal (Sg1, Sg2) changes when the rotating component (21) rotates in the first direction starting from a state in which the engagement component (26) is located at a midpoint of the valley section, and / or learns from a second change point value, which is the motor angle at a time when the output wave signal (Sg1, Sg2) changes when the rotating component (21) rotates in the second direction starting from a state in which the engagement component (26) is located at a midpoint of the valley section.
Need to check novelty before this filing date? Find Prior Art

Description

Technical area The present disclosure relates to a shift range control device. State of the art Conventionally, a shift range switching device is known that switches a shift range by controlling a motor in accordance with a shift range switching request from a driver. For example, in Patent Literature 1, an output shaft sensor is provided to detect a rotation angle of an output shaft that is tightly fitted and coupled to a rotating shaft of a speed reduction mechanism that transmits rotation of a motor after speed reduction. Literature on the state of the art Patent literature Patent Literature 1: JP 4385768 DE 11 2014 001 667 B4 discloses a device for switching the range of an automatic transmission, comprising: an actuator, a detent mechanism driven by the actuator and brought into engagement with a concave part formed at a position corresponding to a gear range to be positioned, so that the detent mechanism switches the gear range, and a control unit that sets a position of the detent mechanism as a target value for the position corresponding to the gear range, wherein the position of the detent mechanism is detected when the detent mechanism is driven to a limit position of the moving range of the detent mechanism, is driven by a predetermined amount to move away from the limit position, moves to the valley of the concave part without being driven by the actuator, and then naturally stops,and which, when setting a target value for a position corresponding to another gear range different from the gear range with a fully set position, sets a position of the detent mechanism as a target value for the position corresponding to the other gear range, wherein the position of the detent mechanism is detected when the detent mechanism is driven by a predetermined amount to move away from the target value for the gear range with the fully set position, moves to the valley of a concave part corresponding to the other gear range without being driven by the actuator, and then naturally stops. DE 10 2013 227 123 A1 discloses a range switching device that can switch a shift range despite resetting and restarting a control device. When the control device is reset and restarted during a shift range switching operation, and the shift range before or after the switching is a P range, the control device controls a motor to rotate the motor until a range switching mechanism abuts a first limiting position of a moving range of the range switching mechanism, and learns a rotational position of the motor as a reference position of the motor. When the shift ranges before or after the switching are ranges other than the P range, the control device starts the motor to rotate until the range switching mechanism abuts a second limiting position of the moving range, and learns the rotational position of the motor as the reference position. Summary of the invention When an output wave sensor that changes its output value stepwise is used, the detection accuracy is lower than a sensor that changes its output value linearly. When such an output wave sensor is used, the control accuracy of the motor is lowered. For example, when a motor such as a brushless DC motor that generates a cogging torque is used, there is a possibility that an engaging section cannot be properly fitted into a recessed section corresponding to a target range due to the cogging torque. It is an object of the present disclosure to provide a shift range control device capable of implementing positioning control with high accuracy. A shift range control device according to the present disclosure switches a shift range by controlling drive of a motor in a shift range switching system. The shift range switching system includes a motor, a rotating member, an engaging member, a rotation angle sensor, and an output shaft sensor. The rotating member has a plurality of valley sections and a plurality of crest sections between the valley sections and rotates integrally with an output shaft to which the rotation of the motor is transmitted. The engaging member can be engaged with the valley section corresponding to the shift range. The motor rotation angle sensor outputs a motor rotation angle signal corresponding to a rotation position of the motor. The output shaft sensor outputs an output shaft signal corresponding to a rotation position of the output shaft. The shift range control device includes an angle calculation unit, a target angle setting unit, a learning unit, and a drive control unit. The angle calculation unit calculates a motor angle based on the motor rotation angle signal. The target angle setting unit sets a motor angle target value corresponding to a target shift range. The learning unit learns a correction value to be used when calculating a motor angle target value based on a motor angle and an output shaft signal. The drive control unit controls driving of the motor such that the motor angle achieves the motor angle target value. The output wave signal gradually changes to different values before and after movement when the engagement member moves from a state in which the engagement member is fitted into one valley section to an adjacent valley section. A rotation direction of the rotating member at the time of switching from a P range to a range other than the P range is assumed to be a first direction, and a rotation direction opposite to the first direction is assumed to be a second direction.The learning unit learns the correction value based on at least a first change point value, which is the motor angle at a time point at which the output shaft signal changes when the rotary member rotates in the first direction from a state in which the engagement member is present at a center point of the valley section, and / or a second change point value, which is the motor angle at a time point at which the output shaft signal changes when the rotary member rotates in the second direction from a state in which the engagement member is present at the center point of the valley section. According to the present disclosure, the correction value is calculated based on the first change point value and the second change point value, which is the motor angle at a time when the output shaft signal changes in each case of rotation of the rotary member in the first direction or in the second direction. By setting the motor angle target value based on the calculated correction value, it is possible to control the positioning of the motor with high accuracy, so that the engagement member is properly fitted into the valley section corresponding to the target shift range, even when cogging torque is generated in the motor. Short description of the drawings The above and other objects, features, and advantages of the present disclosure will become apparent from the following detailed description when taken in conjunction with the accompanying drawings. FIG. 1 is a perspective view showing a shift-by-wire system according to an embodiment; FIG. 2 is a block diagram showing a general configuration of the shift-by-wire system according to the embodiment; FIG. 3 is an explanatory view showing learning of a shaking width based on an output wave signal according to the embodiment; FIG. 4 is a flowchart showing learning processing according to the embodiment; and FIG. 5 is a flowchart showing target angle setting processing according to the embodiment. Embodiment for carrying out the invention Embodiment A shift range control device will be described below with reference to the drawings. As shown in FIGS. 1 and 2, a shift-by-wire system 1 includes, as a shift range switching device, a motor 10, a shift range switching mechanism 20, a parking lock mechanism 30, a shift range control device 40, and the like. The motor 10 is rotated by power supplied from a battery installed in the vehicle (not shown) and functions as a drive source of the shift range switching mechanism 20. The motor 10 of the present embodiment is a permanent magnet brushless DC motor. As shown in Fig. 2, an encoder 13 as a motor rotation angle sensor detects a rotational position of a rotor (not shown) of the motor 10. The encoder 13 is a magnetic encoder and includes a magnet that rotates with a rotor, a Hall IC for detecting a magnetic field, and the like. The encoder 13 outputs A-phase and B-phase pulse signals for every predetermined angle in synchronism with the rotation of the rotor. Hereinafter, the signal output from the encoder 13 is referred to as a motor rotation angle signal SgE. In the present embodiment, the encoder 13 is configured as a single system that outputs a signal for each of the A-phase and the B-phase. In the present embodiment, the encoder 13 has a higher angle detection accuracy than the output shaft sensor 16. A speed reducer 14 is arranged between the motor shaft 105 (see Fig.3) of the motor 10 and an output shaft 15. The speed reducer 14 reduces the rotation of the motor 10 and outputs the rotation of the motor 10 to the output shaft 15. The rotation of the motor 10 is thus transmitted to the shift range switching mechanism 20. The output shaft sensor 16 includes a first sensor unit 161 and a second sensor unit 162, and detects the rotational position of the output shaft 15. The output shaft sensor 16 according to the present embodiment is a magnetic sensor that detects a change in the magnetic field of a target 215 (see FIG. 1) provided on a detent plate 21 as a rotating member, which will be described later. The output shaft sensor 16 is mounted at a position where the magnetic field of the target 215 can be detected. In the figure, the first sensor unit 161 is labeled as a first sensor, and the second sensor unit 162 is labeled as a second sensor. The sensor units 161 and 162 are so-called MR sensors, which include magnetoresistive (MR) elements that detect changes in the magnetic field of the target 215. The first sensor unit 161 detects a magnetic field corresponding to the rotational position of the target 215 and outputs the output wave signal Sg1 to the ECU 50. The second sensor unit 162 detects a magnetic field corresponding to the rotational position of the target 215 and outputs the output wave signal Sg2 to the ECU 50. The output wave sensor 16 of the present embodiment includes two sensor units 161 and 162 and independently transmits the output wave signals Sg1 and Sg2 to the ECU 50. That is, the output wave sensor 16 has a dual system. In the present embodiment, the output wave sensor 16 is a magnetic sensor that detects a change in the magnetic field of the target 215 in a non-contact manner. This allows the output wave signals Sg1 and Sg2 to be easily multiplexed compared to a contact-type sensor without significantly changing the configuration on the actuator side. The output wave signals Sg1 and Sg2 can be suitably used for abnormality monitoring such as diagnosis and fail-safe operation of the shift-by-wire system 1 because the output wave signals Sg1 and Sg2 can meet a requirement for relatively high safety by multiplexing the output wave signals Sg1 and Sg2 (twice in the present embodiment). As shown in Fig. 1, the shift range switching mechanism 20 includes a detent plate 21, a detent spring 25, and the like. The shift range switching mechanism 20 transmits the rotational drive force output from the speed reducer 14 to a manual valve 28 and a parking lock mechanism 30. The detent plate 21 is fixed to the output shaft 15 and rotates integrally with the output shaft 15 when the engine 10 is driven. The detent plate 21 has a pin 24 projecting parallel to the output shaft 15. The pin 24 is connected to the manual valve 28. As the detent plate 21 is driven by the motor 10, the manual valve 28 reciprocates in the axial direction. That is, the shift range switching mechanism 20 converts the rotational motion of the motor 10 into linear motion and transmits it to the manual valve 28. The manual valve 28 is provided on a valve body 29. The reciprocating motion in the axial direction of the manual valve 28 switches hydraulic pressure supply paths to a hydraulic clutch (not shown) to switch the engagement state of the hydraulic clutch, thereby switching the shift range. As schematically shown in Fig. 3, four valley sections 221 to 224 are provided on the detent spring 25 side of the detent plate 21. More specifically, a first valley section 221, a second valley section 222, a third valley section 223, and a fourth valley section 224 correspond to a P range, an R range, an N range, and a D range, respectively. Furthermore, a first crest section 226, a second crest section 227, and a third crest section 228 are provided between the first valley section 221 and the second valley section 222, between the second valley section 222 and the third valley section 223, and between the third valley section 223 and the fourth valley section 224, respectively. In Fig. 3, a dash-dot line indicates a center position of each valley section 221 to 224. With a focus on the first ridge section 226, the first valley section 221 corresponds to the "ridge section on the P-range side," and the second valley section 222 corresponds to the "ridge section on the opposite side of the P-range." With a focus on the second ridge section 227, the second valley section 222 corresponds to the "ridge section on the P-range side," and the third valley section 223 corresponds to the "ridge section on the opposite side of the P-range." With a focus on the third ridge section 228, the third valley section 223 corresponds to the "ridge section on the P-range side," and the fourth valley section 224 corresponds to the "ridge section on the opposite side of the P-range." As shown in Fig. 1, the detent plate 21 is provided with the target 215 whose magnetic field changes according to the rotation of the output shaft 15. The target 215 is formed of a magnetic material. The target 215 may be a separate component from the detent plate 21. Alternatively, the detent plate 21 may be formed by pressing, for example, in a case where the detent plate 21 is a magnetic material. The target 215 is configured such that output voltages, which are the output wave signals Sg1 and Sg2 of the output wave sensor 16, change stepwise in accordance with the rotational position of the output shaft 15. Details of the output wave signals Sg1 and Sg2 will be described later. The detent spring 25 is a resiliently deformable plate-like member provided with a detent roller 26 at a tip end. The detent roller 26 is an engagement member. The detent roller 26 fits into one of the valley sections 211 to 214. In the present embodiment, the number of engagement positions into which the detent roller 26 engages is four, since the number of valley sections 221 to 224 formed in the detent plate 21 is four. The detent spring 25 urges the detent roller 26 toward the rotation center of the detent plate 21. When a rotational force equal to or greater than a predetermined level is applied to the detent plate 21, the detent spring 25 is resiliently deformed to allow the detent roller 26 to move between the valley sections 221 to 224. When the detent roller 26 fits into one of the valley sections 221 to 224, a pivotal movement of the detent plate 21 is restricted. In this way, the axial position of the manual valve 28 and the state of the parking lock mechanism 30 are determined, and the shift range of the automatic transmission 5 is set. The parking lock mechanism 30 includes a parking rod 31, a tapered member 32, a parking lock member 33, a shaft 34, and a parking position 35. The parking rod 31 is generally L-shaped, and one end 311 side is fixed to the detent plate 21. The tapered member 32 is provided on the other end 312 side of the parking rod 31. The tapered member 32 is formed so as to taper toward the other end 312 side. When the detent plate 21 is pivoted in a reverse rotation direction, the tapered member 32 moves toward an arrow P direction. The parking lock member 33 is provided so as to abut a tapered surface of the tapered member 32 and pivot about the shaft 34. On the parking position 35 side of the parking lock member 33, the parking lock member 33 has a projection 331 engageable with the parking position 35. When the detent plate 21 rotates in the reverse rotation direction and the tapered member 32 moves in the direction of an arrow P, the parking lock member 33 is pushed upward, so that the projection 331 engages the parking position 35. In contrast, when the detent plate 21 rotates in the forward rotation direction and the tapered member 32 moves in the direction of a "non-P" arrow, the projection 331 is released from engagement with the parking position 35. The parking position 35 is placed on an axle (not shown) so as to be able to engage with the protrusion 331 of the parking lock member 33. The parking position 35, which engages with the protrusion 331, restricts the rotation of the axle. When the shift range is the non-P range, which is one of the ranges other than the P range, the parking position 35 is not locked by the parking lock member 33, and the rotation of the axle is not restricted by the parking lock mechanism 30. When the shift range is the P range, the parking position 35 is locked by the parking lock member 33, and the rotation of the axle is restricted. As shown in Fig. 2, the shift range control device 40 includes a motor driver 41, an ECU 50, and the like. The motor driver 41 outputs a drive signal related to energization of each phase (U-phase, V-phase, W-phase) of the motor 10. A motor relay 46 is provided between the motor driver 41 and a battery. The motor relay 46 is turned on when a start switch of a vehicle, such as an ignition switch or the like, is turned on, so that power is supplied to the motor 10. The motor relay 46 is turned off when the start switch is turned off, so that power supply to the motor 10 is cut off. An ECU 50 is mainly composed of a microcomputer or the like, and internally includes, although not shown in detail, a CPU, a ROM, a RAM, an input / output interface, a bus line for connecting these components, and the like. Each processing executed by the ECU 50 may be software processing or hardware processing. Software processing may be implemented by causing the CPU to execute a program. The program may be stored in advance in a storage device such as a ROM, that is, a readable, non-transitory, tangible storage medium. Hardware processing may be implemented by a special-purpose electronic circuit. The ECU 50 controls the switching of the shift range by controlling the drive of the motor 10 based on a driver-requested shift range, a brake switch signal, vehicle speed, and the like. The ECU 50 controls the drive of a transmission hydraulic control solenoid 6 based on the vehicle speed, an accelerator pedal position, a driver-requested shift range, and the like. By controlling the transmission hydraulic control solenoid 6, the shift speed is controlled. The transmission hydraulic control solenoid 6 is provided in number in accordance with the number of shift ranges and the like. In the present embodiment, one ECU 50 controls the drive of the motor 10 and the solenoid 6. However, the ECU 50 may be divided into an engine ECU for engine control and an AT ECU for solenoid control.In the following, a drive control for the motor 10 will be explained mainly. The ECU 50 includes an angle calculation unit 51, a learning unit 52, a target angle setting unit 55, a drive control unit 56, a first storage unit 61, a second storage unit 62, and the like. The angle calculation unit 51 calculates an encoder count value θen, which is a count value of the encoder 13, based on the motor rotation angle signal SgE output from the encoder 13. The encoder count value θen is a value corresponding to an actual mechanical angle and an electrical angle of the motor 10. In the present embodiment, the encoder count value θen corresponds to the "motor angle." The learning unit 52 calculates a vibration width θg based on the encoder count value θen and the output shaft signals Sg1 and Sg2. The target angle setting unit 55 sets a target shift range based on the driver's requested shift range, a gear shift or the like, the vehicle speed, the signal from the brake switch, and the like. Further, the target angle setting unit 55 sets a target count value θcmd, which is a motor angle command value, according to the target shift range. The drive control unit 56 controls the drive of the motor 10 through feedback control or the like so that the motor 10 is stopped at the rotational position where the encoder count value θen becomes the target count value θcmd. Details of the motor drive control for the motor 10 are not particularly limited. The first storage unit 61 is, for example, a volatile memory such as a RAM. Electric power is supplied to the first storage unit 61 via the start switch. Therefore, the information stored in the first storage unit 61 is erased when the start switch is turned off. The second storage unit 62 is, for example, a volatile memory such as an SRAM. Power is supplied directly to the second storage unit 62 from the battery without passing through the start switch. Therefore, the information stored in the second storage unit 62 is not erased even if the start switch is turned off, but is erased when the battery is disconnected. For example, a non-volatile memory such as an EEPROM can be used as the second storage unit 62. Fig. 3 schematically shows the detent plate 21 and the like in the upper part and the output wave signals Sg1 and Sg2 in the lower part. A design angle value Kr between the centers of the valley sections 221 and 222, a design angle value Kn between the centers of the valley sections 222 and 223, and a design angle value Kd between the centers of the valley sections 223 and 224 shown in Fig. 3 are stored in advance in the ROM or the like (not shown). In addition, a design angle value K1 between the angles θ1 and θ3, which will be described later, at which the output wave signals Sg1 and Sg2 change, and a design angle value K2 between the angle θ1 at which the output wave signals Sg1 and Sg2 change, as well as the center point of the first valley section 221 are also stored in advance in the ROM or the like.In the present embodiment, the angle design values Kn, Kr, Kd, K1 and K2 are not all values corresponding to the count value of the encoder 13, but may be any value that can be converted into angles. The angle θs of the output shaft is an angle corresponding to the rotational position of the output shaft 15. This angle is θ1 when the detent roller 26 is located at a predetermined position between the first valley section 221 and the first crest section 226. This angle is θ2 when the detent roller 26 is located at a peak of the second crest section 227. This angle is θ3 when the detent roller 26 is located at a predetermined position between the third crest section 228 and the fourth valley section 224. In the present embodiment, the angle θ1 is set in the same manner as a limit value of a P-lock ensuring range that ensures the parking lock by the parking lock mechanism 30. Further, the angle θ3 is set in the same manner as a limit value of a D hydraulic pressure guaranteeing range which guarantees the hydraulic pressure of the drive range in the automatic transmission 5. When the angle θs of the output shaft is smaller than the angle θ1, the output wave signals Sg1 and Sg2 are constant at a value V1. When the angle θs of the output shaft becomes the angle θ1, the output wave signals Sg1 and Sg2 change from the value V1 to a value V2. The output wave signals Sg1 and Sg2 are constant at the value V2 in a range in which the angle θs of the output shaft is greater than or equal to the angle θ1 and smaller than the angle θ2. When the angle θs of the output shaft becomes the angle θ2, the output wave signals Sg1 and Sg2 change from the value V2 to a value V3. The output wave signals Sg1 and Sg2 are constant at the value V3 in a range in which the angle θs of the output shaft is greater than or equal to the angle θ2 and smaller than an angle θ3. When the angle θs of the output shaft becomes the angle θ3, the output shaft signals Sg1 and Sg2 change to a value V4.When the angle θs of the output shaft is greater than or equal to the angle θ3, the output shaft signals Sg1 and Sg2 are constant at the value V4. The values V1, V2, V3, and V4 to which the output wave signals Sg1 and Sg2 change may be discrete and not an intermediate value of each value. Furthermore, a difference between the value V1 and the value V2, a difference between the value V2 and the value V3, and a difference between the value V3 and the value V4 are set to be a sufficiently large value compared to the resolution and the sensor error. That is, in the present embodiment, switching the value from the first value to the second value, which differs to such an extent that it cannot be regarded as a continuous value in the movement between the valley sections 221 to 224 of the detent roller 26, is referred to as "a step change." The differences between the value V1 and the value V2, between the value V2 and the value V3, and between the value V3 and the value V4 may be the same or different from each other.In the present embodiment, it is assumed that the values are in a size relationship of V1 < V2 < V3 < V4, but this size relationship of the values V1 to V4 may be different. In the present embodiment, the number of engagement positions of the detent roller 26 is four. The output shaft sensor 16 and the target 215 are provided so that the output shaft signals Sg1 and Sg2 change in four steps according to the engagement position of the detent roller 26. That is, in the present embodiment, the number of engagement positions and the number of steps of the output voltages that can be taken by the output shaft signals Sg1 and Sg2 coincide with each other. For example, in a case where the output shaft signal is an analog signal that continuously changes according to the rotational position of the output shaft 15 as a reference example, processing such as AD conversion is required. In the present embodiment, the output shaft signals Sg1 and Sg2 change stepwise according to the shift range.In the case where the output wave signals Sg1 and Sg2 have approximately four steps, processing such as AD conversion in the output wave sensor 16 becomes unnecessary, so the configuration of the output wave sensor 16 can be simplified. In the diagram provided in the upper part of Fig. 3, a "backlash" between the motor shaft 105 and the output shaft 15 is conceptually shown. Here, the diagram is made under an assumption that the output shaft 15 and the speed reducer 14 are integrated with each other, and that the motor shaft 105 is movable within the backlash range of the speed reducer 14. However, the motor shaft 105 and the speed reducer 14 may be integrated with each other, and the backlash exists between the speed reducer 14 and the output shaft 15. Here, the backlash between the motor shaft and the output shaft is assumed to exist between the gear of the speed reducer 14 and the motor shaft 105. Note that the backlash can be regarded as a sum of backlash, shaking, and the like.Hereinafter, the total clearance between the motor shaft 105 and the output shaft 15 is referred to as a vibration width θg. In practice, the detent roller 26 moves integrally with the output shaft 15 due to the rotation of the detent plate 21 between the valley sections 221 to 224. However, in Fig. 3, the detent roller 26 is illustrated assuming integral rotation with the output shaft 15. The speed reducer 14 is provided between the motor shaft 105 and the output shaft 15, and the backlash including tooth flank clearance exists therebetween. In the present embodiment, the motor 10 is a brushless DC motor. Therefore, when no power is supplied to the motor 10, the motor shaft 105 rotates within the backlash due to a cogging torque, for example, and the motor shaft 105 and the output shaft 15 tend to be arranged separately. In addition, when the power supply to the motor 10 is turned off at the position where the cogging torque is not present at the center of the valley section 221 to 224, the cogging roller 26 is likely to be unable to be properly pressed by the spring force of the cogging spring 25 due to the influence of the cogging torque at the center of the valley section 221 to 224.Therefore, in the present embodiment, the stop position of the motor 10 is accurately controlled by learning the shaking width θg based on the output shaft signals Sg1, Sg2 and the encoder count value θen and setting the target count value θcmd using the shaking width θg. Herein, the learning of the vibration width θg will be described. In Fig. 3, the rotational direction for rotating the detent plate 21 so that the detent roller 26 moves in a direction of an arrow A1 is referred to as a first direction, and the rotational direction for rotating the detent plate 21 in a direction of an arrow A2 is referred to as a second direction. When the start switch is turned off, the shift range is the P range, and the detent roller 26 is located at the midpoint of the first valley section 221. At this time, the motor 10 is likely to rotate within the range of the shaking width θg due to the cogging torque. Thus, it is difficult to specify at which position within the shaking width θg the motor 10 is located immediately after the start. When the target shift range is switched from the P range to a range other than the P range, as indicated by the arrow A1, the detent roller 26 moves from the first valley section 221 to the first crest section 226 side by the rotation of the detent plate 21. When the detent roller 26 passes through the midpoint of the first valley section 221 and is in a so-called rising state, the motor shaft 105 and the output shaft 15 are integrally rotated. In the present embodiment, the angle θ1, which is the change point at which the output wave signals Sg1 and Sg2 change, is set between the first valley section 221 and the first crest section 226. That is, when the detent plate 21 is rotated in the first direction from the state in which the detent roller 26 is fitted in the first valley section 221 corresponding to the P range, the motor shaft 105 contacts the speed reducer 14 at one end side of the shaking width θg at the point at which the output wave signals Sg1 and Sg2 first change. The encoder count value θen at this time is stored as a first change point value θenL in the first storage unit 61. When the target shift range is switched from the D range to a range other than the D range as indicated by the arrow A2, the detent roller 26 moves from the fourth valley section 224 to the third crest section 228 by the rotation of the detent plate 21. When the detent roller 26 passes through the center of the fourth valley section 224 and is in a so-called rising state, the motor shaft 105 and the output shaft 15 are integrally rotated. In the present embodiment, the angle θ3, which is the change point at which the output wave signals Sg1 and Sg2 change, is set between the third crest section 228 and the fourth valley section 224. That is, when the detent plate 21 is rotated in the second direction from the state in which the detent roller 26 is fitted in the fourth valley section 224, the motor shaft 105 contacts the speed reducer 14 on the other end side of the shaking width θg at the point at which the output wave signals Sg1 and Sg2 first change. The encoder count value θen at this time is stored as a second change point value θenR in the first storage unit 61. An angle between the angle θ1, which is the first change point, and the angle θ3, which is the second change point, is stored as the angle design value K1 in the second storage unit 62. Therefore, the vibration width θg can be calculated based on the first change point value θenL, the second change point value θenR, and the designed angle value K1 (see Equation (1)). A design angle value K2 between the angle θ1, which is the first change point, and the center point of the first valley section 221 is stored in advance. Therefore, based on the first change point value θenL, the design angle value K2, and the learned vibration width θg, the P-range center point count value θp can be calculated (see Equation (2)). This P-range center point count value θp is the encoder count value output at the time when the detent roller 26 is fitted into the first valley section 221 and positioned at the center point of the vibration width θg. Hereinafter, as appropriate, the state in which the motor shaft 105 is positioned at the center of the vibrating width θg when the detent roller 26 is fitted to the center of the valley section 221 to 224 is referred to as that in which the motor 10 is positioned at the center of the valley section 221 to 224. Furthermore, the R-range midpoint count θr, the N-range midpoint count θn, and the D-range midpoint count θd of the encoder counts can also be calculated (see equations (3) to (5)) when the motor 10 is positioned at the centers of the valley sections 222, 223, and 224, since the angles between the centers of the valley sections 221 to 224 are stored as the designed angle values Kr, Kn, and Kd. By setting the midpoint count values θp, θr, θn, and θd, which correspond to the target switching ranges and which control the motor 10 so that the encoder count value θen becomes the target count value θcmd, as the target count values θcmd, the motor 10 can be stopped at the midpoints of the valley sections 221 to 224. As long as the motor 10 is stopped at the midpoint of the valley section 221 to 224, the detent roller 26 can be properly fitted into the valley section 221 to 224 corresponding to the target switching range by the spring force of the detent spring 25 without being influenced by the cogging torque. Here, the learning processing of the vibration width θg will be described with reference to a flowchart of Fig. 4. This processing is executed at a predetermined cycle interval by the learning unit 52 when the start switch is turned on. Hereinafter, each "step" in the figures is simply indicated as a symbol "S". In the first step S101, the learning unit 52 checks whether a first learning completion flag X_LN1 has been set. In this figure, a state in which the flag is set is assumed to be "1", and a state in which it is not set is assumed to be "0". The first learning completion flag X_LN1 is set when the first change point value θenL is stored in the first storage unit 61. The first storage unit 61 is a volatile memory.When the start switch is turned off, the first change point value θenL is cleared and the first learning completion flag X_LN1 is reset. If it is determined that the first learning completion flag X_LN1 is set (S101: YES), processing proceeds to S108. If it is determined that the first learning completion flag X_LN1 is not set (S101: NO), processing proceeds to S102. In S102, the learning unit 52 checks whether the target shift range has been switched from the P range to a range other than the P range. Here, if the target shift range in the previous processing is the P range and the target shift range in the present processing is other than the P range, an affirmative determination is made. In other cases, a negative determination is made. If it is determined that the target shift range has been switched from the P range to the range other than the P range (S102: YES), the processing proceeds to S103, and a first learning execution flag X_EX1 is set. The first learning execution flag X_EX1 indicates that learning of the first change point value θenL is in progress. If it is determined that the target shift range has not changed (S102: NO), the processing proceeds to S104. In S104, the learning unit 52 checks whether the first learning execution flag X_EX1 is set. If it is determined that the first learning execution flag X_EX1 is not set (S104: NO), processing proceeds to S108. If it is determined that the first learning execution flag X_EX1 is set (S104: YES), processing proceeds to S105. In S105, the learning unit 52 checks whether the output wave signals Sg1 and Sg2 have changed from the value V1 to the value V2. If it is determined that the output wave signals Sg1 and Sg2 have not changed from the value V1 (S105: NO), the processing proceeds to S108. If it is determined that the output wave signals Sg1 and Sg2 have changed from the value V1 to the value V2 (S105: YES), the processing proceeds to S106. In S106, the learning unit 52 stores the present encoder count value θen in the first storage unit 61 as the first change point value θenL. In S107, the learning unit 52 sets the first learning completion flag X_LN1 and resets the first learning execution flag X_EX1. In S108, the learning unit 52 checks whether a second learning completion flag X_LN2 is set. The second learning completion flag X_LN2 is set when the vibration width θg is stored in the second storage unit 62. The second learning completion flag X_LN2 is not reset even if the start switch is turned off after the learning of the vibration width θg has been completed. Furthermore, the second learning completion flag X_LN2 is reset when the vibration width θg is cleared due to battery removal, battery discharge, or the like. In addition, when the start switch is turned on and off a predetermined number of times (for example, several thousand times) after the previous learning of the vibration width θg, the second learning completion flag X_LN2 is reset, and the vibration width θg is learned again.If it is determined that the second learning completion flag X_LN2 is set (S108: YES), this routine is terminated without executing processing S109 and subsequent steps. If it is determined that the second learning completion flag X_LN2 is not set (S108: NO), processing proceeds to S109. In S109, the learning unit 52 checks whether the target shift range has been switched from the D range to a range other than the D range. Here, if the target shift range in the previous processing is the D range and the target shift range in the present processing is other than the D range, an affirmative determination is made. In other cases, a negative determination is made, and the processing proceeds to S111. If it is determined that the target shift range has been switched from the D range to the range other than the D range (S109: YES), the processing proceeds to S110, and a second learning execution flag X_EX2 is set. The second learning execution flag X_EX2 is a flag indicating that learning of the second change point value θenR is in progress. In S111, the learning unit 52 checks whether the second learning execution flag X_EX2 is set. If it is determined that the second learning execution flag X_EX2 is not set (S111: NO), this routine is terminated without executing any subsequent processing. If it is determined that the second learning execution flag X_EX2 is set (S111: YES), processing proceeds to S112. In S112, the learning unit 52 checks whether the output wave signals Sg1 and Sg2 have changed from the value V4 to the value V3. If it is determined that the output wave signals Sg1 and Sg2 are V4 (S112: NO), this routine is terminated without executing the processing of S113 and subsequent steps. If it is determined that the output wave signals Sg1 and Sg2 have changed from the value V4 to the value V3 (S112: YES), the processing proceeds to S113. In S113, the learning unit 52 sets the current encoder count value θen as the second change point value θenR. In S114, the learning unit 52 sets the second learning completion flag X_LN2 and resets the second learning execution flag X_EX2. In S115, the learning unit 52 calculates the vibration width θg based on equation (1) and stores the vibration width θg in the second storage unit 62. Target angle setting processing will be described with reference to a flowchart of Fig. 5. This processing is executed at a predetermined interval by the target angle setting unit 55. In S201, the target angle setting unit 55 acquires the driver-requested shift range, which is input from the gearshift or the like, the vehicle speed, the brake signal, and the like. In S202, the target angle setting unit 55 sets a target shift range based on the driver-requested shift range, the vehicle speed, the brake signal, and the like. In S203, the target angle setting unit 55 sets the target count value θcmd based on equations (2) to (5) according to the target switching range. Alternatively, the center point count values θp, θr, θn, and θd may be calculated in advance after calculating the vibration width θg and stored in the first storage unit 61 or the like, and the stored values can be retrieved later. As described above, the shift range control device 40 switches the shift range of the vehicle by controlling the drive of the motor 10 in the shift-by-wire system 1. The shift-by-wire system 1 includes the motor 10, the detent plate 21, the detent roller 26, the encoder 13, and the output shaft sensor 16. The detent plate 21 is formed with a plurality of valley sections 221 to 224 and a plurality of crest sections 226 to 228 between the valley sections 221 to 224, and rotates integrally with the output shaft 15 to which the rotation of the motor 10 is transmitted. The detent roller 26 can engage with the valley sections 221 to 224 according to the shift ranges. The encoder 13 outputs the motor rotation angle signal SgE according to the rotational position of the motor 10. The output shaft sensor 16 outputs the output shaft signals Sg1 and Sg2 corresponding to the rotational position of the output shaft 15. The shift range control device 40 includes the angle calculation unit 51, the target angle setting unit 55, the learning unit 52, and the drive control unit 56. The angle calculation unit 51 calculates the encoder count value θen based on the motor rotation angle signal SgE. The target angle setting unit 55 sets the target count value θcmd corresponding to the target shift range. The learning unit 52 learns the vibration width θg, which is the correction value used to calculate the target count value θcmd, based on the encoder count value θen and the output shaft signals Sg1 and Sg2. The drive control unit 56 controls the drive of the motor 10 such that the encoder count value θen becomes the target count value θcmd. The output wave signals Sg1 and Sg2 change gradually so as to have different values before and after movement when the detent roller 26 moves from the state where it is fitted to the valley section 221 to 224 to the adjacent valley section. Here, it is assumed that the rotation direction of the detent plate 21 at the time of switching from the P range to the range other than the P range is the first direction, and the rotation direction opposite to the first direction is assumed to be the second direction. The first direction and the second direction simply define the direction of rotation and the rotation direction, respectively.It is assumed that the detent plate 21 rotates in the first direction even in the case that the detent plate 21 is rotated from the range other than the P range, for example, in the case of switching from the R range to the D range. The learning unit 52 learns the vibration width θg based on at least the first change point value θenL, which is the encoder count value θen at the time point at which the output wave signals Sg1 and Sg2 change when the detent plate 21 rotates in the first direction from the state in which the detent roller 26 is at the center of the valley section 221 to 223, and / or the second change point value θenR, which is the encoder count value θen at the time point at which the output wave signals Sg1 and Sg2 change when the detent plate 21 rotates in the second direction from the state in which the detent roller 26 is at the center of the valley section 222 to 224. In the present embodiment, the learning unit 52 learns the vibration width θg based on the first change point value θenL, which is the encoder count value θen at the time when the output shaft signals Sg1 and Sg2 change when the detent plate 21 rotates in the first direction from the state where the detent roller 26 is at the center of the first valley section 221, and the second change point value θenR, which is the encoder count value θen at the time when the output shaft signals Sg1 and Sg2 change when the detent plate 21 rotates in the second direction from the state where the detent roller 26 is at the center of the fourth valley section 224. Further, the correction value of the present embodiment is a value corresponding to the total sum of the backlashes between the motor shaft 105 and the output shaft 15. In the present embodiment, the output shaft signals Sg1 and Sg2 change stepwise in accordance with the switching range. In addition, the vibration width θg is calculated based on the first change point value θenL and the second change point value θenR, which are the encoder count values θen at the time of change in the output shaft signals Sg1 and Sg2 when the detent plate 21 rotates in the first direction and when it rotates in the second direction, respectively. Subsequently, the motor 10 can be driven to reach the center of the valley section 221 to 224 by setting the target count value θcmd using the calculated vibration width θg, regardless of the position of the motor shaft 105 in the vibration range when driving the motor 10 is started.As a result, even if the cogging torque is generated in the motor 10, positioning control of the motor 10 can be performed with high accuracy so that the cogging roller 26 appropriately fits into the valley section 221 to 224 corresponding to the target switching range. The output wave signals Sg1 and Sg2 change values when the detent roller 26 is located between the center point of the first valley section 221, which is the valley section on the P-range side of the first comb section 226, and the peak of the first comb section 226. The first change point value θenL is the encoder count value θen at the time when the value of the output wave signal changes during the movement of the detent roller 26 from the first valley section 221 to the peak of the first comb section 226. The output wave signals Sg1 and Sg2 change values when the detent roller 26 is located between the center point of the fourth valley section 224, which is located opposite the valley section on the P-range side of the third comb section 228, and the third comb section 228.The second change point value θenR is the encoder count value θen at the time when the values of the output wave signals Sg1 and Sg2 change during the movement of the detent roller 26 from the fourth valley section 224 to the third crest section 228. When the rotation direction of the detent plate 21 is the first direction and the detent roller 26 is between the center of the first valley section 221 and the tip of the first ridge section 226, the motor shaft 105 and the output shaft 15 are rotated integrally with the detent roller 26 being pushed in the moving direction to further contact the detent plate 21. When the rotation direction of the detent plate 21 is the second direction and the detent roller 26 is between the center of the fourth valley section 224 and the tip of the third ridge section 228, the motor shaft 105 and the output shaft 15 are rotated integrally with the detent roller 26 being pushed in the moving direction to further contact the detent plate 21. Therefore, it is possible to conveniently learn the vibration width θg by using the encoder count values θen determined when the motor shaft 105 and the output shaft 15 rotate integrally. The vibration width θg is stored in the second storage unit 62, which is the storage unit that retains information even when the vehicle's start switch is turned off. The learning unit 52 learns the first change point value θenL each time the start switch is turned on. Furthermore, the learning unit 52 learns the second change point value θenR when the information concerning the vibration width θg is not stored in the second storage unit 62. Even if the value of the encoder 13 is reset at the time the start switch is turned off, the target count value θcmd can be properly adjusted by learning the first change point value θenL each time the start switch is turned on. In addition, it is possible to omit the learning concerning the second change point value θenR as long as the vibration width θg is kept stored by storing the information in the second storage unit 62, which retains the information even when the start switch is turned off. The learning unit 62 relearns the second change point value θenR when the start switch is turned on and off the predetermined number of times since the second change point value θenR was learned. Thereby, the vibration width θg can be properly adjusted again in accordance with the change over time. Other embodiment In the above-described embodiment, the learning unit learns the vibration width, which is the correction value, based on the first change point value and the second change point value. In another embodiment, the learning unit may omit any one selected from the learning of the first change point value or the second change point value using, for example, a design value. In the above-described embodiment, the first change point value is learned at the time of switching from the P range to the range other than the P range. In another embodiment, the value of the output shaft signal may be changed when the detent roller 26 is between the midpoint of the second valley section 222 and the peak of the second crest section 227, and the motor angle at the change point at which the shift range is switched from the R range to the N range or the D range may be set as the first change point value.Further, the value of the output shaft signal may be changed when the detent roller 26 is present between the center of the third valley section 223 and the peak of the third crest section 228, and the motor angle at the change timing at which the shift range is switched from the N range to the D range may be set as the first change point value. In the above-described embodiment, the second change point value is learned at the time of switching from the D range to the range other than the D range. In another embodiment, the value of the output wave signal may be changed when the detent roller 26 is present between the third valley section 223 and the peak of the second crest section 227, and the motor angle at this change point time at which the shift range is switched from the N range to the R range or the P range may be set as the second change point value. Further, the value of the output wave signal may be changed when the detent roller 26 is present between the second valley section 222 and the peak of the first crest section 226, and the motor angle at the change point time at which the shift range is switched from the R range to the P range may be set as the second change point value.In another embodiment, the output wave signal can be varied between the centers of a plurality of valley sections on the P-range side and the peaks of the crest sections. Additionally, the output wave signal can be varied between the centers of the valley sections located on the opposite side of the P-range and the crest sections. In the above-described embodiment, the angle θ1 at which the output shaft signal changes is set in the same manner as the P-lock guarantee range. In another embodiment, the angle θ1 at which the output shaft signal changes may be different from the P-lock guarantee range. Furthermore, the angle θ1 at which the output shaft signal changes is set in the same manner as the D-hydraulic pressure guarantee range. In another embodiment, the angle θ3 at which the output shaft signal changes may be different from the D-lock guarantee range. In the above-described embodiment, the second change point value and the vibration width are learned when the vibration width is not stored in the storage unit, and when the start switch has been turned on and off the specified number of times after the previous learning. In another embodiment, the number of times the second change point value and the vibration width are learned is not limited to the above-described case, but may be performed, for example, every time the start switch is turned on, similar to the first change point value. In the above-described embodiment, the correction value is the vibration width corresponding to the sum of the clearances between the motor shaft and the output shaft. In another embodiment, the correction value may be any value capable of calculating the vibration width, for example, a value corresponding to a distance from a vibration center to a vibration end position, that is, (θg / 2) or the like. The correction value itself may be the first change point value and the second change point value. The target rotational position is calculated by an arithmetic equation corresponding to the correction value. In the above-described embodiment, the motor is a brushless DC motor. In another embodiment, the motor may be any motor, such as a switched reluctance motor. In the above-described embodiment, the number of winding sets may be one or more, although the number of winding sets of the motor is not referred to. In the above-described embodiment, the motor rotation angle sensor is an encoder. In another embodiment, the rotation angle sensor does not necessarily have to be an encoder, but may be any other device, such as a resolver or the like. That is, the motor angle is not limited to the encoder count value, but may be any value that can be converted into the motor angle. In the above-described embodiment, an MR sensor is used as the output shaft sensor. In another embodiment, a magnetic sensor other than the MR sensor may be used. Moreover, in the above-described embodiment, a dual system is configured such that two independent output shaft signals are output from the output shaft sensor. In another embodiment, the number of output shaft signals output from the output shaft sensor may be one or three or more. That is, the output shaft sensor may be a single-system type or a triple-input or more-input system type. The motor rotation angle sensor may be a multiple-system type. In the above-described embodiment, the rotary member is the detent plate, and the engaging member is the detent roller. In another embodiment, the rotary member and the engaging member are not limited to the detent plate and the detent roller, but may be of any other type in terms of shape or the like. In the above-described embodiment, the detent plate is provided with four valley sections. In another embodiment, the number of valley sections is not limited to four, but may be any number. The number of valley sections of the detent plate may be, for example, two, so that the P range and the non-P range can be switched. In the above-described embodiment, the number of engaging positions corresponds to the number of steps of the output wave signal.In another embodiment, the number of engagement positions and the number of steps of the output wave signal may be different. For example, the values of the output wave signal of the same crest section may be switched between the valley section on the P-range side and the valley section on the non-P-range valley section side. The shift range switching mechanism and the parking lock mechanism, or the like, may be different from those of the above-described embodiment. In the above-described embodiment, the speed reducer is placed between the motor shaft and the output shaft. Although the details of the speed reducer are not described in the above-described embodiment, it may be configured using, for example, a cycloidal gear, a planetary gear, a spur gear that transmits torque to a drive shaft from a reduction mechanism substantially coaxial with the motor shaft, or a combination of these gears. In another embodiment, the speed reducer may be omitted between the motor shaft and the output shaft, or a mechanism other than the speed reducer may be provided.The present disclosure is not limited to the above-described embodiment, but various modifications may be made within the scope of the present disclosure.

Claims

A shift range control device (40) for switching a shift range by controlling driving of a motor (10) in a shift range switching system (1), comprising: a motor (10); a rotary member (21) having a plurality of valley sections (221, 222, 223, 224) and a plurality of crest sections (226, 227, 228) formed between the valley sections (221, 222, 223, 224) and rotatable integrally with an output shaft (15) to which the rotation of the motor (10) is transmitted; an engagement member (26) engageable with the valley section (221, 222, 223, 224) corresponding to a shift range; a motor rotation angle sensor (13) for outputting a motor rotation angle signal corresponding to a rotation position of the motor (10);and an output shaft sensor (16) for outputting an output shaft signal (Sg1, Sg2) corresponding to a rotational position of the output shaft (15), wherein the shift range control device (40) comprises: an angle calculation unit (51) for calculating a motor angle based on the motor rotation angle signal; a target angle setting unit (55) for setting a motor angle target value corresponding to a target shift range; a learning unit (52) for learning a correction value to be used in calculating the motor angle target value based on the motor angle and the output shaft signal (Sg1, Sg2);and a drive control unit (56) for controlling driving of the motor so that the motor angle achieves the motor angle target value, wherein, assuming that a rotation direction of the rotary member (21) at the time of switching from a P range to a range other than the P range is a first direction, and a rotation direction opposite to the first direction is a second direction, the output wave signal (Sg1, Sg2) changes stepwise to different values ​​before and after moving when the engaging member (26) moves from a state in which the engaging member (26) is fitted into one valley section (221, 222, 223, 224) to an adjacent valley section (221, 222, 223, 224);and the learning unit (52) learns the correction value based on at least a first change point value, which is the motor angle at a time at which the output shaft signal (Sg1, Sg2) changes when the rotary member (21) rotates in the first direction from a state in which the engaging member (26) is present at a center point of the valley section, and / or learns from a second change point value, which is the motor angle at a time at which the output shaft signal (Sg1, Sg2) changes when the rotary member (21) rotates in the second direction from a state in which the engaging member (26) is present at a center point of the valley section. The shift range control device (40) according to claim 1, wherein:assuming that the valley section (221, 222, 223, 224) present on a P-range side of the crest section (226, 227, 228) is a valley section (221, 222, 223, 224) on the P-range side,the output wave signal (Sg1, Sg2) whose value (V1, V2, V3, V4) changes at least at one position when the engagement member (26) is present between a midpoint of the valley section (221, 222, 223, 224) on the P-range side and a peak point of the crest section (226, 227, 228); andthe first change point value is the motor angle at the time of a change in the value of the when the engagement member (26) moves from the valley section (221, 222, 223, 224) on the P range side toward the apex of the crest section (226, 227, 228). The shift range control device (40) according to claim 1 or 2, wherein:assuming that the valley section (221, 222, 223, 224) present on an opposite side of the P range from the crest section (226, 227, 228) is a valley section (221, 222, 223, 224) on an opposite side of the P range,the output wave signal (Sg1, Sg2) whose value (V1, V2, V3, V4) changes at least at one position when the engagement member (26) is present between a midpoint of the valley section (221, 222, 223, 224) on an opposite side of the P range and a peak point of the crest section (226, 227, 228); andthe second change point value is the motor angle at the time of a change in the value of the output shaft signal (Sg1, Sg2) when the engagement member (26) moves from the valley section (221, 222, 223, 224) on the opposite side of the P range toward the peak point of the crest section (226, 227, 228). The shift range control device (40) according to any one of claims 1 to 3, wherein: the correction value is stored in a storage unit (61, 62) which retains information therein even in a case where a start switch of a vehicle is turned off; the learning unit (52) learns the first change point value each time the start switch is turned on; and the learning unit (52) learns the second change point value when no information concerning the correction value is stored in the storage unit (61, 62). The shift range control device (40) according to claim 4, wherein:the learning unit (52) relearns the second change point value when the start switch is turned on and off as many times as predetermined after the previous learning of the second change point value.

Citation Information

Patent Citations

  • JP1970027896Y1

  • Area switching device

    DE102013227123A1

  • Device and method for shifting the range of an automatic transmission

    DE112014001667B4

  • motor controller

    JP4385768B2

  • JP000004385768B2