Shift diagnosis method, shift control device, and recording medium having

By using the combined detection of brake plate sensors and motor signals in the electric transmission, the accuracy of gear position detection after battery replacement is solved, the initial gear setting and error judgment are prevented, and the accuracy and safety of gear shift control are improved.

CN120344787APending Publication Date: 2025-07-18LG INNOTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380084693.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-12-08
Filing Date
2023-11-10
Publication Date
2025-07-18

Smart Images

  • Figure CN120344787A_ABST
    Figure CN120344787A_ABST
Patent Text Reader

Abstract

According to an embodiment, a gear diagnosis method is disclosed, comprising the steps of: sensing a voltage of a battery; when the voltage is sensed, a first control signal used for shifting is output; receiving a first signal that is a signal corresponding to a position of a rotating gear connected to the brake, and comparing whether a first movement angle of the brake is greater than or equal to the first angle using the first signal; when the first moving angle is greater than or equal to the first angle, judging whether the first signal and the second signal are kept for a specified time or not; when the first signal and the second signal, which is a signal corresponding to the position of the motor connected to the brake, are held for a prescribed time, the gear stage is determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiment relates to a gear position diagnosis method, a shift control device, and a recording medium storing a computer program. Background Art

[0002] In an electric motor, a rotor generally rotates due to an electromagnetic interaction between the rotor and a stator. In this case, a shaft connected to the rotor also rotates to generate a rotational driving force.

[0003] The rotational driving force of the electric motor can be used in an electric transmission. Since there is no mechanical connection between a shift lever or a shift button and the electric transmission, the electric motor directly operates an actuator of the transmission in response to an operation of the driver on the shift lever or the shift button. Here, a shaft of the electric motor is connected to a detent plate. The detent plate rotates together with the shaft of the electric motor to determine positions of switching devices for gear positions P, R, N, and D. In the detent plate, recesses corresponding to the positions of the gear positions P, R, N, and D are arranged.

[0004] Since there is no mechanical connection between the shift lever or the shift button and the electric transmission, an inhibitor switch may be arranged to detect an actual position of the gear position. The inhibitor switch is a sensor that measures a position of the gear position P, R, N, or D and sends a signal to a transmission controller.

[0005] Therefore, recently, in a system where a shift-by-wire (SBW) controller is separated from an actuator, the inhibitor switch for determining a shift of P, R, N, or D is located outside near a detent, but in an electric vehicle SBW system integrating a controller and an actuator, there is also an increasing need to install the inhibitor switch in the controller.

[0006] In addition, there is a gap in an axis-brake connection structure, so it is necessary to detect the position of the gear position. Moreover, functional safety requires separate shift detection. Summary of the Invention

[0007] Technical Problem

[0008] The present invention relates to providing a gear position diagnosis method and a shift control device for setting a gear position to an initial gear position after battery replacement / installation by using a first sensor and a second sensor connected to a detent plate.

[0009] The present invention also relates to providing a gear position diagnosis method and a shift control device for preventing misjudgment of a gear position caused by a gap by using a first signal and a second signal.

[0010] The present invention also relates to providing a gear position diagnosis method and a shift control device capable of performing individual gear shifting based on a separate signal.

[0011] The purpose to be achieved by the embodiments is not limited to the above purposes, and may also include purposes or effects that can be confirmed according to the technical solutions or embodiments described below.

[0012] Technical solution

[0013] One aspect of the present invention provides a gear diagnosis method, including: detecting the voltage of a battery; when the voltage is detected, outputting a first control signal for shifting gears; receiving a first signal as a signal corresponding to the position of a rotating gear connected to a brake, and using the first signal to determine whether a first moving angle of the brake is greater than or equal to a first angle through comparison; when the first moving angle is greater than or equal to the first angle, determining whether the first signal and a second signal are maintained for a specified time; when the first signal and the second signal are maintained for the specified time, determining the gearshift, where the second signal is a signal corresponding to the position of a motor connected to the brake.

[0014] The determination of the gearshift may include: when the first signal and the second signal are maintained for the specified time, outputting a second control signal for shifting gears; receiving the first signal and using the first signal to determine whether a second moving angle of the brake is less than or equal to a second angle through comparison; when the second moving angle is less than or equal to the second angle, determining whether the first signal and the second signal are maintained for the specified time; when the first signal and the second signal are maintained for the specified time, determining the gearshift as a first gearshift.

[0015] The gear diagnosis method may include the following steps: after receiving the first signal and using the first signal to determine whether the second moving angle of the brake is less than or equal to the second angle through comparison, when the second moving angle is less than or equal to the second angle, comparing the number of peak currents of the motor with a threshold number.

[0016] When the number of peak currents of the motor is equal to the threshold number, perform the step of determining whether the first signal and the second signal are maintained for the specified time when the second moving angle is less than or equal to the second angle.

[0017] When the number of peak currents is different from the threshold number, return to the step of outputting the second control signal.

[0018] The second control signal may have a different direction or magnitude from the first control signal.

[0019] In the step of outputting the first control signal, the first control signal is output when the voltage of the battery is greater than or equal to a specific value. The first control signal may be a signal corresponding to the gearshift from the first gearshift to the second gearshift, and the second control signal may be a signal corresponding to the gearshift from the second gearshift to the first gearshift.

[0020] The gear position diagnosis method may include the following steps: after the step of determining the gear position, output a first control signal; receive a first sub-signal and a second sub-signal in the first signal; and determine whether the phase difference between the first sub-signal and the second sub-signal is within a specified range.

[0021] The gear position diagnosis method may include the following steps: when the phase difference is within the specified range, determine that it is normal driving.

[0022] The gear position diagnosis method may include the following steps: when the phase difference is outside the specified range, determine that it is abnormal driving.

[0023] Another aspect of the present invention provides a non-transitory computer-readable storage medium having recorded thereon a program including at least one instruction for executing a gear position diagnosis method, the gear position diagnosis method including the following steps: detecting the voltage of a battery; when the voltage is detected, outputting a first control signal for shifting gears; receiving a first signal as a signal corresponding to the position of a rotating gear connected to a brake, and determining whether a first moving angle of the brake is equal to or greater than a first angle by comparison using the first signal; when the first moving angle is equal to or greater than the first angle, determining whether the first signal and a second signal are maintained for a specified time; when the first signal and the second signal are maintained for the specified time, determining the gear position, wherein the second signal is a signal corresponding to the position of a motor connected to the brake.

[0024] Another aspect of the present invention provides a shift control device including a processor, wherein the processor detects the voltage of a battery, and when the voltage is detected, outputs a first control signal for shifting gears; receives a first signal as a signal corresponding to the position of a rotating gear connected to a brake, so as to determine whether a first moving angle of the brake is equal to or greater than a first angle by comparison using the first signal; when the first moving angle is equal to or greater than the first angle, determining whether the first signal and a second signal are maintained for a specified time; when the first signal and the second signal are maintained for the specified time, determining the gear position, wherein the second signal is a signal corresponding to the position of a motor connected to the brake.

[0025] Advantageous Effects

[0026] According to an embodiment, a gear position diagnosis method and a shift control device for setting a gear position to an initial gear position by using a first sensor and a second sensor connected to a brake plate after battery replacement / installation can be provided.

[0027] According to an embodiment, a gear position diagnosis method and a shift control device for preventing misjudgment of the gear position caused by a gap by using a first signal and a second signal can also be provided.

[0028] According to an embodiment, a gear position diagnosis method and a shift control device capable of performing individual gear shifting based on an individual signal can also be provided.

[0029] The various advantages and beneficial effects of the present invention are not limited to the foregoing, and will be more easily understood through the description of specific embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a configuration diagram of a shift control system according to an embodiment of the present invention.

[0031] Figure 2 is a diagram showing a brake plate in a shift control system according to an embodiment of the present invention and a graph showing the waveform of a current.

[0032] Figure 3 is a diagram of a motor in a shift control system according to an embodiment of the present invention.

[0033] Figure 4 is a diagram showing the structure of a brake plate in a shift control system according to an embodiment of the present invention.

[0034] Figure 5 is a set of graphs of signals received from a first sensor and a second sensor, a first signal and a second signal in a shift control system according to an embodiment of the present invention.

[0035] Figure 6 is a flowchart of a gear position diagnosis method according to an embodiment of the present invention.

[0036] Figure 7 is a detailed flowchart of a gear position diagnosis method according to an embodiment of the present invention.

[0037] Figure 8 is an additional flowchart of a gear position diagnosis method according to an embodiment of the present invention.

[0038] Figure 9 is a set of graphs of a first sub-signal, a second sub-signal, and a phase difference in a gear position diagnosis method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0039] Since the present invention can be variously modified and has several embodiments, specific embodiments will be shown and described in the drawings. However, this is not intended to limit the present invention to specific embodiments, and the present invention should be understood to include all modifications, equivalents, and alternatives within the spirit and technical scope of the present invention.

[0040] Terms including ordinal numbers such as "second", "first", etc. may be used to describe various components, but the components are not limited by the terms. The sole purpose of using these terms is to distinguish one component from another. For example, without departing from the scope of the present invention, a second component may be referred to as a first component, and similarly, a first component may be referred to as a second component. The term "and / or" includes combinations of multiple related listed items or any one of the multiple related listed items.

[0041] When a component is described as "connected" or "joined" to another component, it should be understood that the component can be directly connected or joined to the other component, or there may be another component between them. On the other hand, when a component is described as "directly connected" or "directly joined" to another component, it should be understood that there are no other components between them.

[0042] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. Unless clearly defined otherwise in the context, singular expressions include plural expressions. Throughout the application, it should be understood that the terms "comprising", "having", etc. indicate the presence of the features, quantities, steps, operations, components, elements, or combinations thereof described herein, but do not exclude the presence or addition of one or more other features, quantities, steps, operations, components, elements, or combinations thereof.

[0043] Unless otherwise defined, the terms used herein (including technical terms or scientific terms) have the same meaning as commonly understood by those of ordinary skill in the art. For example, those terms defined in common dictionaries should be interpreted as having meanings equivalent to their meanings in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense unless clearly defined in this specification.

[0044] Functional block elements and various processing steps can be used to describe some embodiments. Some or all of the functional blocks can be implemented by various numbers of hardware and / or software components for performing specific functions. For example, the functional blocks of the present invention can be implemented by more than one processor or more than one microprocessor or circuit elements for performing the intended functions. In addition, the functional blocks of the present invention can be implemented in various programming or scripting languages. The functional blocks can be implemented by algorithms executed by more than one processor. Additionally, the present invention can adopt related technologies for electronic environment setting, signal processing, data processing, etc. Terms such as "module", "element", etc. can be widely used and are not limited to mechanical elements and physical elements.

[0045] Hereinafter, embodiments will be described in detail with reference to the drawings. Throughout the drawings, the same or corresponding components are given the same reference numerals, and their repeated descriptions will be omitted.

[0046] As an embodiment of the present invention, a parking range P or a range of P and a non-parking range Not P or a range of Not P for parking will be described as an example of a shift range.

[0047] Figure 1 is a configuration diagram of a shift control system according to an embodiment of the present invention, Figure 2 is a diagram showing a brake plate in a shift control system according to an embodiment of the present invention and a graph showing the waveform of an electric current, Figure 3 is a diagram of a motor in a shift control system according to an embodiment of the present invention, Figure 4 is a diagram showing the structure of a brake plate in a shift control system according to an embodiment of the present invention, Figure 5 is a set of graphs of signals received from a first sensor and a second sensor, a first signal and a second signal, in a shift control system according to an embodiment of the present invention. Figure 6 is a flowchart of a gear diagnosis method according to an embodiment of the present invention, Figure 7 is a detailed flowchart of a gear diagnosis method according to an embodiment of the present invention, Figure 8 is an additional flowchart of a gear diagnosis method according to an embodiment of the present invention, Figure 9 is a set of graphs of a first sub-signal and a second sub-signal and a phase difference in a gear diagnosis method according to an embodiment of the present invention.

[0048] Referring to Figure 1 , a shift control system according to an embodiment of the present invention may include a brake plate 10, a motor M, a rotating gear RG, and a shift control device 100. For example, the shift control system may be a shift-by-wire (SBW) system. The shift control system may correspond to a shift unit or a shift control system of a vehicle, etc.

[0049] The brake plate 10 may be connected to the motor M. The brake plate 10 may be connected to the shaft of the motor M and rotate together with the motor M to determine the position of a switching device between a gear position P and Not P. The brake plate 10 may include recesses corresponding to the positions of the gear positions. These recesses will be described below.

[0050] The motor M may rotate according to a control signal received from the shift control device 100. A first control signal and a second control signal, which will be described below, may drive the motor M to rotate. The motor M may include a gear and may be connected to the brake plate 10 via the gear. For example, the gear may provide the same rotation ratio or a different rotation ratio between the motor M and the brake plate 10. As an example, when the motor M rotates once, the brake plate 10 may not rotate once. When the motor M rotates multiple times (for example, 60 times), the brake plate 10 may rotate once.

[0051] The electric motor M may include a second-position magnet PM2. Alternatively, the second-position magnet may be connected to the electric motor M. The second-position magnet PM2 may be provided at the end of the electric motor M. The second-position magnet PM2 may move or rotate in response to the rotation of the electric motor M.

[0052] The rotating gear RG may be connected to the brake plate 10. The rotating gear RG may rotate in response to the rotation of the brake plate 10. For example, the rotating gear RG may rotate at the same angle as the brake plate 10. However, the present invention is not limited thereto. The rotating gear RG may include a first-position magnet PM1. Alternatively, the first-position magnet PM1 may be connected to the rotating gear RG. The first-position magnet PM1 may move or rotate in response to the rotation of the rotating gear RG. In other words, the first-position magnet PM1 may move or rotate in response to the rotation of the brake plate 10.

[0053] The shift control device 100 may be disposed adjacent to the electric motor M and the rotating gear RG. For example, the shift control device 100 may correspond to an SBW controller or an SBW control device. The shift control device 100 may be disposed adjacent to the first-position magnet PM1 and the second-position magnet PM2.

[0054] The shift control device 100 may include a first sensor SE1 and a second sensor SE2. The first sensor SE1 may correspond to the first-position magnet PM1. The first sensor SE1 may detect the magnetic force generated by the first-position magnet PM1. The first sensor SE1 may output a first signal Sg1, which is a signal corresponding to the position of the rotating gear. Alternatively, the first sensor SE1 may output a first signal Sg1, which is a signal corresponding to the position of the rotating gear RG connected to the brake or the brake plate 10. In other words, the first signal Sg1 may correspond to a signal (or information) regarding the position, rotation, rotation angle, or gear position of the brake plate 10. The first signal Sg1 may include at least one sub-signal. For example, the first signal Sg1 may include a first sub-signal Sg1a and a second sub-signal Sg1b. Therefore, errors in the device or signal may be detected and the operation accuracy of the control device may be improved.

[0055] The second sensor SE2 may correspond to the second position magnet PM2. The second sensor SE2 may detect the magnetic force generated by the second position magnet PM2. The second sensor SE2 may be disposed adjacent to the second position magnet PM2. The second sensor SE2 may output a second signal Sg2 as a signal corresponding to the position of the motor M. In other words, the second signal Sg2 may be a signal corresponding to the position of the motor M connected to the brake or the brake plate 10, or the position of the shaft of the motor M. Alternatively, the second signal Sg2 may be a signal for detecting the rotation, operation, or movement of the motor M. The second signal Sg2 may include at least one sub-signal. For example, the second signal Sg2 may include a third sub-signal Sg2a and a fourth sub-signal Sg2b. Therefore, errors in the device or signal can be detected and the operation accuracy of the control device can be improved.

[0056] The first signal Sg1 may be a signal output corresponding to a change in the magnetic field intensity of the first position magnet PM1. The second signal Sg2 is a signal output corresponding to a change in the magnetic field intensity of the second position magnet PM2. The first signal Sg1 and the second signal Sg2 may be voltage or current.

[0057] The shaft of the motor M may be connected to the brake plate 10, and the brake plate 10 may rotate together with the shaft of the motor M so that the gear shift position desired by the user or the control device of the vehicle can be determined or set.

[0058] The shift control device 100 may include: a control unit 110 connected to the first sensor SE1 and the second sensor SE2; a communication unit 120; and a storage unit 130. The control unit 110 may include a first signal processing unit 111 and a second signal processing unit 112. The first signal processing unit 111 and the second signal processing unit 112 may not be in the control unit 110, but may correspond to a separate device connected to the control unit 110 or the like.

[0059] The first signal processing unit 111 may receive the first signal Sg1 and output the position, rotation information, etc. of the brake plate 10 or the rotating gear RG.

[0060] The second signal processing unit 112 may receive the second signal Sg2 and output the position, rotation information, etc. of the shaft of the motor M.

[0061] The control unit 110 can be connected to sensors (a first sensor and a second sensor). In addition, the control unit 110 can be connected to a first signal processing unit 111 and a second signal processing unit 112 to determine the gear position or gearshift, as will be described below. The control unit 110 can use the first signal Sg1 to detect the position of the brake plate 10. In addition, the control unit 110 can use the second signal Sg2 to detect which position the rotor of the motor is in. This will be described in detail below.

[0062] In addition, the control unit 110 can be connected to the motor M to control the driving of the motor. For example, the control unit 110 can output a first control signal and a second control signal to cause the motor to rotate. As an example, the control unit 110 can use the second signal Sg2 to detect which position the rotor of the motor is in based on 360°, and control the driving of the motor M.

[0063] The various functions of the control unit 110 will be described below. The control unit 110 can be expressed as a processor of a vehicle or a shift control device.

[0064] In addition, the control unit 110 can be connected to a communication unit 120. The communication unit 120 can be connected to various devices in the vehicle. The control unit 110 can receive a battery signal, shift information (or a shift signal or a shift control signal), etc. through the communication unit 120.

[0065] The storage unit 130 can store various information output or determined by the shift control device 100. Alternatively, the control unit 110 can be connected to the storage unit 130 and receive various information for shift control from the storage unit 130.

[0066] The communication unit 120 can send or receive data. In addition, the communication unit 120 can form a network with various devices. The network can be implemented as a wired network, for example, a local area network (LAN), a wide area network (WAN), a value-added network (VAN), etc., or any type of wireless network, for example, a mobile radio communication network, a satellite communication network, a Bluetooth network, a wireless broadband internet (WiBro) network, a high-speed downlink packet access (HSDPA) network, a long-term evolution (LTE) network, a 5th generation mobile telecommunications (5G) network, a controller area network (CAN) communication, etc. Alternatively, the network can include various networks (wired networks) or communications, for example, CAN.

[0067] Continue to refer to Figure 2, the brake plate 10 may include a first recess 11 and a second recess 12. The first recess 11 may correspond to the shift position P, and the second recess 12 may correspond to the shift position Not P. In this specification, cases where the gear position or shift position is "P" or "Not P" will be described. The brake plate 10 may further include a plurality of other recesses. In addition, the positions of the first recess 11 and the second recess 12 may vary differently.

[0068] The brake plate 10 may be linked to the motor M to rotate about the axis center.

[0069] A brake spring 20 may be disposed in either the first recess 11 or the second recess 12. For example, when the brake spring 20 is disposed in the first recess 11, the switching device of the transmission may be located at a position corresponding to the shift position P. When the motor M operates, the brake spring 20 may move from the first recess 1 to the second recess 12. When the brake spring 20 is disposed in the second recess 12, the switching device of the transmission may be located at a position corresponding to the shift position Not P.

[0070] Then, when the motor M or the tool connected to the motor M has no abnormality, it is possible to determine in which of the first recess 11 and the second recess 12 the brake spring 20 is currently disposed by detecting the number of revolutions of the rotor of the motor (second signal).

[0071] However, when replacing the battery or installing a new battery, the position of the shift position may be unknown or cannot be accurately known. Here, the functions of the control unit described below can be used to detect or determine the shift position or gear position.

[0072] In addition, each of the first recess 11 and the second recess 12 may be provided at the edge of the brake plate 10 and formed in a concave shape. In other words, the brake plate 10 may have a structure in which valleys are formed by the recesses. In addition, the boundary between the first recess 11 and the second recess 12 may be formed as a peak. For example, the brake plate 10 may have a structure in which valleys and peaks repeat. When switching the shift position, the brake spring 20 straddles these peaks, so the current value applied to the motor during the switching process may increase significantly. After the brake spring 20 straddles the peak, the load is lighter than when the brake spring 20 straddles the peak, and thus the current applied to the motor can be reduced. Therefore, the current value applied to the motor M during the shift position switching process may have a peak P1. Therefore, the current may have a peak P1 between the rising fluctuation U and the falling fluctuation D.

[0073] According to an embodiment, the peak P1 may correspond to the peak across the braking spring 20. Accordingly, the number of peaks P1 may correspond to the number of times of crossing the peak. Since the number of times of crossing the peak represents the gear shift process, the fluctuation of the current generated during the gear shift process can be used to determine whether there is an abnormality in the motor or the tool connected to the motor. When there is an abnormality, it can be determined whether it is the motor or the tool connected to the motor that has the abnormality. Such determination of whether there is an abnormality or the like can be performed by the control unit, which will be described below.

[0074] The brake plate 10 and the motor M may have a gear ratio of K1:1. The motor M may be connected to the brake plate 10 via a gear. When the motor M rotates K1 times (for example, 60 rotations), the brake plate 10 may rotate once. The brake plate 10 and the rotating gear RG may have a gear ratio of K2:1. K1 and K2 may be specified values.

[0075] For example, when the motor M performs multiple 360-degree rotations, the rotating gear RG may have a rotation range of less than 360 degrees. As an example, the rotating gear RG may have a rotation radius from 0 degrees to 180 degrees or from 0 degrees to 90 degrees. In other words, the rotating gear RG may have a smaller rotation radius than the motor M. In addition, the brake plate 10 may have a rotation range of less than 360 degrees according to the rotating gear RG.

[0076] Refer to Figure 3 According to an embodiment, the motor may include a shaft 1, a rotor 2, a stator 3, a housing 4, and a second position magnet PM2. Hereinafter, the term "inward" refers to the direction from the housing 4 toward the shaft 1 which is the center of the motor, and the term "outward" is the opposite direction of inward, which is the direction from the shaft 1 toward the housing 4. In addition, each of the circumferential direction and the radial direction is based on the shaft center.

[0077] The shaft 1 may be combined with the rotor 2. When electromagnetic interaction occurs between the rotor 2 and the stator 3 due to current supply, the rotor 2 rotates, and the shaft 1 rotates in linkage with the rotor 2. The shaft 1 may be connected to the transmission of the vehicle to transmit power. The rotational driving force of the shaft 1 may be reduced to operate the actuator for changing the gear of the vehicle. The brake plate 10 may be fixed to the shaft 1.

[0078] The rotor 2 rotates by electrically interacting with the stator 3. The rotor 2 may be disposed correspondingly inside the stator 3. The rotor 2 may include a magnet.

[0079] The stator 3 is disposed outside the rotor 2. The stator 3 may include a coil that causes electrical interaction with the magnet of the rotor 2.

[0080] The housing 4 may be disposed outside the stator 3.

[0081] The second position magnet PM2 can be arranged at the end of the shaft 1. For example, the second position magnet PM2 can be arranged at the end of the shaft or arranged to penetrate the end. The second position magnet PM2 can be a dipole magnet with an N pole and an S pole attached. The second position magnet PM2 can be a disc-shaped circular magnet or an annular magnet.

[0082] The aforementioned second position sensor SE2 can be a Hall integrated circuit (IC) that detects the magnetic field generated by the second position magnet PM2. When rotating in linkage with the shaft 1, the second position sensor SE2 can output a voltage or current corresponding to the changing intensity of the magnetic field. The second position sensor SE2 is arranged to face the second position magnet PM2 in the axial direction. In addition, the second position sensor SE2, the first position sensor SE1, etc. can be located on the circuit board CB of the shift control device 100.

[0083] Referring to Figure 4 , between the transmission gear P and Not P, there can be a specified angular range θa based on the rotation center of the brake plate 10. For example, the angular range θa can be 30 degrees or less. As an example, the angular range θa can be 25 degrees. In addition, even when the brake spring 20 is in a position corresponding to the transmission gear Not P or P, the brake plate 10 can rotate by a threshold angle (e.g., 2°) or less due to the gap between the motor M and the connection hole, the wall adjacent to the recess, etc. For example, the "wall" can be a surface separately arranged at the center between the two surfaces of each recess extending from the recessed part or the lower part of the recess of the brake plate 10. Therefore, a constraint current can be generated by the wall in the motor M.

[0084] Referring to Figure 5 and Figure 6 , the gear position diagnosis method according to the embodiment can include: a step S310 of detecting the voltage of the battery; a step S320 of outputting a first control signal for shifting when the voltage is detected; a step S330 of receiving the first signal and determining whether the first moving angle of the brake is greater than or equal to a first angle by comparison using the first signal; a step S340 of determining whether the first signal and the second signal are maintained for a specified time when the first moving angle is greater than or equal to the first angle; and a step S350 of determining the transmission gear when the first signal and the second signal are maintained for the specified time.

[0085] The step S350 of determining the gear shift may include: step S351 of outputting a second control signal for shifting gears when the first signal and the second signal are maintained for a specified time; step S352 of receiving the first signal and using the first signal to determine by comparison whether the second moving angle of the brake is below the second angle; step S355 of determining whether the first signal and the second signal are maintained for a specified time when the second moving angle is below the second angle; and step S356 of determining the gear shift as the first gear shift when the first signal and the second signal are maintained for a specified time.

[0086] In particular, the method may further include: after step S352 of receiving the first signal and using the first signal to determine by comparison whether the second moving angle of the brake is below the second angle, step S353 of counting the number of peak currents of the motor when the second moving angle is below the second angle and step S353 of comparing the number of peak currents of the motor with a threshold number.

[0087] In addition, when the number of peak currents is equal to the threshold number, perform the step of determining whether the first signal and the second signal are maintained for a specified time when the second moving angle is below the second angle.

[0088] When the number of peak currents of the motor is different from the threshold number, the method may return to the step of outputting the second control signal.

[0089] This gear diagnosis method may be executed by a control unit.

[0090] Specifically, the control unit may detect the voltage of the battery (S310). The control unit may detect the voltage of the battery through a communication unit. For example, when it is detected that the voltage of the battery is above a specified value (e.g., 6V), the control unit may detect the installation or replacement of the battery.

[0091] When the control unit detects the voltage of the battery, it may output a first control signal for shifting gears (S320). The first control signal may be a current. In other words, the control unit may send the first control signal to the motor M. Therefore, the motor M may rotate.

[0092] In response to the first control signal, the motor M may rotate, and the control unit may receive the first signal. Then, the control unit may calculate the first moving angle of the brake using the first signal.

[0093] Refer together Figure 5, the first sensor SE1 and the second sensor SE2 can be dual-mode sine-cosine (DSC) sensors. By comparing multiple sub-signals, the robustness of the functional safety mechanism can be ensured. For example, the first sub-signal Sg1a output by the first sensor SE1 can include a cosine signal Sg1ac and a sine signal Sg1as. The first position signal GP1 can be output using the cosine signal Sg1ac and the sine signal Sg1as of the first sub-signal Sg1a. The first position signal GP1 can be expressed as an angle or a phase. This is because the cosine signal Sg1ac and the sine signal Sg1as are used to calculate the angle. The first position signal GP1 can correspond to the position or the rotation angle of the rotating gear. The first position signal GP1 can correspond to Figure 8 the first sub-signal in the description of

[0094] The second sub-signal Sg1b output by the first sensor SE1 can include a cosine signal Sg1bc and a sine signal Sg1bs. The second position signal GP2 can be output using the cosine signal Sg1bc and the sine signal Sg1bs of the second sub-signal Sg1b. The second position signal GP2 can be expressed as an angle or a phase. This is because the cosine signal Sg1ac and the sine signal Sg1as are used to calculate the angle. The second position signal GP2 can correspond to the position or the rotation angle of the rotating gear. The second position signal GP2 can correspond to Figure 8 the second sub-signal in the description of

[0095] The control unit can calculate the first movement angle of the brake plate using the first signal Sg1. In other words, the control unit can calculate the position, the rotation degree, or the first movement angle of the brake using the above method.

[0096] In addition, the control unit can determine whether the first movement angle is greater than or equal to the first angle (S330) by comparison. The first angle can correspond to a threshold angle (for example, 2°). Since the first movement angle is greater than or equal to the first angle (threshold angle), the gear shift can be changed (for example, from P to Not P), or the brake plate can be rotated (the motor can rotate in one direction). In other words, when the movement angle is less than the threshold angle, the gear shift or the change of the shift may not be smoothly performed. That is to say, it is possible to prevent the movement angle caused by the gap in the brake connection structure from being misjudged as the change of the gear shift.

[0097] When the first moving angle is greater than or equal to the first angle, the control unit may determine whether the first signal and the second signal are maintained for a specified time (S340). Here, a current having a specified value may be applied to the motor. In particular, the peak current of the motor may correspond to this specific value. In addition, when a current higher than the peak current is applied to the motor, it may be determined whether the first signal and the second signal continue for a specified time (e.g., 250 ms) or more. In other words, it may be determined whether the gear position is maintained in a specified state (e.g., Not P).

[0098] When the first signal and the second signal are maintained for a specified time, the control unit may determine the gear position (S350). For example, the control unit may determine the gear position based on the result of the change in the gear position corresponding to the rotation direction of the brake plate according to the first control signal. As an example, the brake plate may rotate clockwise in the drawing according to the first control signal. The first control signal may be a signal corresponding to the switching from the first gear position P to the second gear position P. Therefore, the gear position may be switched from P to Not P in response to the first control signal. In other words, the control unit may determine that the gear position is Not P by using the first control signal through the above steps.

[0099] In addition, the second control signal may have a direction or magnitude different from that of the first control signal. For example, the brake plate may rotate counterclockwise in the drawing according to the second control signal. Therefore, the gear position may be switched from Not P to P in response to the second control signal. In other words, when the second control signal is applied, the control unit may determine the gear position as P by using the second control signal.

[0100] Specifically, in step S350 of determining the gear position, when the first signal and the second signal are maintained for a specified time (S351), the control unit may output a second control signal for shifting gears. As described above, the second signal may cause the gear position to switch from Not P to P.

[0101] The control unit may receive the first signal and calculate the second moving angle of the brake using the first signal.

[0102] As described above, similar to the first moving angle, the second moving angle may be calculated using the first sub-signal and the second sub-signal of the first sensor.

[0103] Then, the control unit can determine whether the second moving angle is below a second angle by comparison (S352). The second angle can correspond to a threshold angle (e.g., 2°). Since the second moving angle is above the second angle (threshold angle), the gear shift can be changed (e.g., from Not P to P), or the brake plate can be rotated (the motor can rotate in one direction). The first angle can have the same value as the second angle but in the opposite direction. For example, the first angle can be +2°, and the second angle can be -2°. Therefore, it is possible to determine the gear shift based on whether the second moving angle is below the second angle rather than whether the second moving angle is above the second angle.

[0104] When the second moving angle is above the second angle, the control unit can determine whether the first signal and the second signal are maintained for a specified time (S355). Here, a current having a specified value can be applied to the motor. In particular, the peak current of the motor can correspond to the specified value. In addition, when a current higher than the peak current is applied to the motor, it can be determined whether the first signal and the second signal are maintained for a specified time (e.g., 250 ms) or more. In other words, it can be determined whether the gear shift is maintained in a specified state (e.g., P).

[0105] When the first signal and the second signal are maintained for the specified time, the control unit can determine the gear shift (S356). For example, the control unit can determine the gear shift based on the result of the change in the gear shift corresponding to the rotation direction of the brake plate according to the second control signal. As an example, the brake plate can rotate counterclockwise in the drawing according to the second control signal. Therefore, the gear shift can be switched from Not P to P in response to the second control signal. In other words, the control unit can determine that the gear shift is P by using the second control signal through the above operations.

[0106] In addition, the control unit can receive the first signal and determine whether the second moving angle of the brake is below the second angle by comparison (S352). Subsequently, when the second moving angle is below the second angle, the control unit can count the number of peak currents of the motor (S353) and compare the number of peak currents with a threshold number (S353).

[0107] In addition, when the number of peak currents is equal to the threshold number, the step of determining whether the first signal and the second signal are maintained for a specified time when the second moving angle is below the second angle is executed (S355).

[0108] In addition, when the number of peak currents is different from the threshold number, the process can return to the step of outputting the second control signal (S351).

[0109] According to an embodiment, the second control signal can be a signal corresponding to the switch from the second gear shift P to the first gear shift Not P.

[0110] As described above, the control unit compares the number of peak currents of the motor with a threshold number, and compares the first movement angle and the second movement angle with the first angle and the second angle, thereby determining that the gear shift changes from the first gear P to the second gear Not P, and then changes back from the second gear Not P to the first gear P. In other words, the control unit can determine the gear shift as the first gear P or the initial gear. Therefore, since the gear shift is P, the control unit can stop the motor and enter the standby state. In this way, the gear diagnosis method or the shift control device according to the embodiment can easily detect failures of sensors, brakes (or brake plates), shift errors, etc.

[0111] The method may include: after the step of determining the gear shift, a step S361 of outputting a first control signal, and a step S362 of receiving a first sub-signal and a second sub-signal of the first signal and determining whether a phase difference between the first sub-signal and the second sub-signal is within a specified range by comparison.

[0112] In other words, the control unit can output a first control signal or a control signal for changing the gear shift. In addition, the control unit receives a first sub-signal and a second sub-signal of the first signal, and compares or determines whether a phase difference between the first position signal GP1 and the second position signal GP2 as described above is within a specified range or is maintained.

[0113] Refer to Figure 9 , the control unit can determine whether the phase difference dGP between the first position signal GP1 and the second position signal GP2 is 180° or within the range of 178° to 182° (S362).

[0114] When the phase difference dGP is within the specified range, the control unit can determine the corresponding operation as normal operation (S363).

[0115] In addition, when the phase difference dGP is outside the specified range, the control unit can determine the corresponding operation as abnormal operation (S364).

[0116] In other words, when the phase difference dGP increases, even if there is no gear shift, it can be determined whether the first position signal GP1 and the second position signal GP2 are almost the same. Therefore, failures or errors of sensors (e.g., the first sensor), failures of the first position magnet, etc. can be easily detected. Therefore, the SBW system or the control device can accurately ensure safety.

[0117] In addition, referring back to Figure 5, the third sub-signal Sg2a output by the second sensor SE2 may include a cosine signal Sg2ac and a sine signal Sg2as. Similar to the cosine and sine signals of the first sub-signal, the cosine signal Sg2ac and the sine signal Sg2as of the third sub-signal Sg2a are shown as current-versus-time curves.

[0118] The cosine signal Sg2ac and the sine signal Sg2as of the third sub-signal Sg2a can be used to output a third position signal MP1. The third position signal MP1 can be expressed as an angle or a phase. In the drawings, the third position signal MP1 can be expressed as an angle (0 degrees to 360 degrees) like the first position signal. This may be because the cosine signal Sg2ac and the sine signal Sg2as are used to calculate the angle. The third position signal MP1 can correspond to the position or the rotation angle of the motor. It can be seen that even when the third position signal repeats 0 degrees to 360 degrees multiple times, the first position signal does not change significantly. This may be the result of the rotation ratio corresponding to the gear ratio described above.

[0119] The fourth sub-signal Sg2b output by the second sensor SE2 may include a cosine signal Sg2bc and a sine signal Sg2bs. Similar to the cosine and sine signals of the second sub-signal, the cosine signal Sg2bc and the sine signal Sg2bs of the fourth sub-signal Sg2b are shown as current-versus-time curves.

[0120] The cosine signal Sg2bc and the sine signal Sg2bs of the fourth sub-signal Sg2b can be used to output a fourth position signal MP2. The fourth position signal MP2 can be expressed as an angle or a phase. This may be because the cosine signal Sg2bc and the sine signal Sg2bs are used to calculate the angle. The fourth position signal MP2 can correspond to the position or the rotation angle of the motor. It can be seen that even when the fourth position signal repeats 0 degrees to 360 degrees multiple times, the second position signal does not change significantly. This may be the result of the rotation ratio corresponding to the gear ratio described above.

[0121] The control unit can use the second signal Sg2 to calculate the number of revolutions of the motor M and the rotation of the brake corresponding to the rotation of the motor. In addition, the control unit can accurately detect the rotation of the brake itself or the brake plate (or the change of the gear position) not only using the second signal but also using the first signal.

[0122] The gear position diagnosis method according to the disclosed embodiments can be implemented in the form of program instructions executable by various computing devices and recorded on a computer-readable recording medium. In addition, an embodiment of the present invention can be a computer-readable recording medium on which one or more programs including instructions for executing the gear position diagnosis method are recorded.

[0123] A computer-readable medium may include program instructions, data files, data structures, etc., either alone or in combination. The program instructions recorded on the medium may be program instructions specially designed and constructed for the present invention, or may be program instructions known and available to those skilled in the art of computer software. Examples of computer-readable recording media may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as compact disc (CD) read-only memory (ROM) and digital versatile disc (DVD), magneto-optical media such as floppy optical discs, and hardware devices specially configured to store and execute program instructions, such as ROM, random access memory (RAM), flash memory, etc. Examples of program instructions include machine code generated by a compiler and high-level code executable by a computer using an interpreter, etc.

[0124] Here, a device-readable storage medium may be provided in the form of a non-transitory storage medium. The term "non-transitory" only means that the storage medium is tangible and does not include devices such as signals (e.g., electromagnetic waves), and this term does not distinguish between the case of semi-permanently storing data and the case of temporarily storing data. For example, a "non-transitory" storage medium may include a buffer for temporarily storing data.

[0125] According to an embodiment, the gear position diagnosis method according to various embodiments disclosed in this document may be included in a computer program product and provided in the computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a device-readable storage medium (e.g., CD-ROM), or directly distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store TM ) or distributed between two user devices (e.g., smart phones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0126] Specifically, the gear position diagnosis method according to the disclosed embodiments may be implemented as a computer program product including a recording medium storing a program for executing the gear position diagnosis method.

[0127] Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements made by those of ordinary skill in the art using the basic concepts defined in the appended claims also fall within the scope of the present invention.

[0128] The term "unit" used in this embodiment refers to a hardware component such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), and the "unit" performs a specific function. However, the "unit" is not limited to software or hardware. The "unit" can be configured to be stored in an addressable storage medium or to reproduce more than one processor. Thus, for example, the "unit" includes components such as software components, object-oriented software components, class components, and task components, processes, functions, attributes, routines, subroutines, program code segments, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and parameters. The functions provided by the components and the "unit" can be combined into fewer components or "units", or subdivided into additional components and "units". In addition, the components and the "unit" can be implemented to reproduce more than one central processing unit (CPU) in a device or a secure multimedia card.

[0129] Although the present invention has been described above with reference to the embodiments, these are merely illustrative and do not limit the present invention, and those of ordinary skill in the art will realize that various modifications and applications not shown herein can be made without departing from the essential features of this embodiment. For example, the various components specific to the embodiment can be modified to implement. The differences of these modifications and applications should be construed as falling within the scope of the present invention defined in the claims.

Claims

1. A gear position diagnosis method, comprising the following steps: Detect the voltage of the battery; When the voltage is detected, output a first control signal for shifting gears; Receive a first signal as a signal corresponding to the position of a rotating gear connected to a brake, and use the first signal to determine whether a first moving angle of the brake is greater than or equal to a first angle by comparison; When the first moving angle is greater than or equal to the first angle, determine whether the first signal and a second signal are maintained for a specified time; and When the first signal and the second signal are maintained for the specified time, determine the gear position, wherein the second signal is a signal corresponding to the position of a motor connected to the brake.

2. The gear position diagnosis method according to claim 1, wherein, The step of determining the gear position includes the following steps: When the first signal and the second signal are maintained for the specified time, output a second control signal for shifting gears; Receive the first signal and use the first signal to determine whether a second moving angle of the brake is less than or equal to a second angle by comparison; When the second moving angle is less than or equal to the second angle, determine whether the first signal and the second signal are maintained for a specified time; and When the first signal and the second signal are maintained for the specified time, determine the gear position as the first gear position.

3. The gear position diagnosis method according to claim 2 includes the following steps: After the step of receiving the first signal and using the first signal to determine whether the second moving angle of the brake is less than or equal to the second angle by comparison, when the second moving angle is less than or equal to the second angle, compare the number of peak currents of the motor with a threshold number of times.

4. The gear position diagnosis method according to claim 3, wherein, When the number of peak currents of the motor is equal to the threshold number of times, execute the step of determining whether the first signal and the second signal are maintained for a specified time when the second moving angle is less than or equal to the second angle.

5. The gear position diagnosis method according to claim 3, wherein: When the number of peak currents is different from the threshold number of times, return to the step of outputting the second control signal.

6. The gear position diagnosis method according to claim 2, wherein, The second control signal has a direction or magnitude different from that of the first control signal.

7. The gear position diagnosis method according to claim 2, wherein In the step of outputting the first control signal, the first control signal is output when the voltage of the battery is greater than or equal to a specified value, the first control signal is a signal corresponding to a shift from the first gear position to the second gear position, and the second control signal is a signal corresponding to a shift from the second gear position to the first gear position.

8. The gear diagnosis method according to claim 1 further includes the following steps: After the step of determining the gear position, output the first control signal; receive a first sub-signal and a second sub-signal in the first signal; and determine whether the phase difference between the first sub-signal and the second sub-signal is within a specified range.

9. The gear position diagnosis method according to claim 8 includes the following steps: When the phase difference is within the specified range, determine normal driving.

10. The gear position diagnosis method according to claim 8 includes the following steps: When the phase difference is outside the specified range, determine abnormal driving.