A kind of transfer abnormality processing method, device and vehicle
By detecting motor status and position encoder information, recording fault codes, and controlling motor operation, the problem of poor anti-interference capability of transfer case fault handling strategy is solved, improving the reliability of four-wheel drive system and user experience, and avoiding the need for transfer case damage and power-off and power-on.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2026-03-20
AI Technical Summary
Existing transfer case fault handling strategies have poor anti-interference capabilities, are prone to damaging transfer case hardware, and result in a poor user experience.
By detecting the motor status and the motor position information fed back by the position encoder, fault codes are recorded. When the motor is running, the motor is controlled to run in a preset direction for a certain period of time to ensure that the motor reaches a safe position and avoids direct shutdown. When the motor is stopped, fault codes are recorded, the position information is re-detected to respond to the mode switching command, invalid commands are ignored, and fault codes are cleared.
It improves the reliability of the four-wheel drive system, avoids transfer case damage, enhances the user experience, reduces the need for power cycling due to vehicle power loss, and improves system recovery efficiency, especially during hill climbing.
Smart Images

Figure CN119022059B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of automobiles, in particular to a transfer case abnormality processing method and device and a vehicle. BACKGROUND
[0002] The electric control transfer case is an important transmission component in a longitudinal four-wheel drive vehicle, which outputs the transmission input torque to the front axle and the rear axle to realize the four-wheel drive function of the vehicle. The driver can realize the switching of the two-wheel drive mode, the high-speed four-wheel drive mode and the low-speed four-wheel drive mode by operating the four-wheel drive switch. The flexible driving mode can improve the driving pleasure and the passability and off-road capability of the vehicle. The four-wheel drive controller of the vehicle drives the motor of the transfer case to rotate to realize the switching of different driving modes of the vehicle. In order to determine whether each mode is correctly entered, the four-wheel drive controller also monitors the motor position information fed back by the position encoder while driving the motor to rotate.
[0003] At present, when the four-wheel drive controller monitors that the motor position information fed back by the position encoder is abnormal, it directly reports a four-wheel drive system fault and stops monitoring the position encoder and driving the motor. However, when the reason for the abnormal motor position information is external interference (such as a virtual connection of a wire harness), considering that the motor position information abnormality caused by external interference is usually accidental and temporary and can be quickly restored in a very short time, the driver still needs to power off and then power on the vehicle to trigger the four-wheel drive controller to perform self-checking on the position encoder. After determining that the motor position information is normal, the fault can be eliminated and the four-wheel drive system can be restored to normal. The anti-interference ability of this fault processing strategy is poor, which leads to poor user experience. Moreover, when the four-wheel drive system fails, the motor is directly stopped at the middle position of the shifting process, which may damage the hardware of the transfer case if there is torque input. SUMMARY
[0004] Embodiments of the present application provide a transfer case abnormality processing method and device and a vehicle to solve the problem of poor anti-interference ability of the fault processing strategy of the transfer case in the prior art and the risk of damaging the hardware of the transfer case.
[0005] In a first aspect, embodiments of the present application provide a transfer case abnormality processing method, which comprises:
[0006] detecting whether the motor state of a motor in a transfer case and motor position information fed back by a position encoder are valid;
[0007] when the motor state is a running state and the motor position information is invalid, controlling the motor to run in a preset direction for a first preset time length and then enter a shutdown state, and recording a position encoder fault code;
[0008] record a position encoder fault code when the motor state is the shutdown state and the motor position information is invalid;
[0009] re-detect the motor position information fed back by the position encoder if a driving mode switching instruction is received in a current power-on cycle in the case of recording the position encoder fault code;
[0010] ignore the driving mode switching instruction and output four-wheel drive system fault information when the re-detected motor position information is invalid;
[0011] clear the position encoder fault code and respond to the driving mode switching instruction when the re-detected motor position information is valid.
[0012] In a second aspect, the embodiments of the present application further provide a device for processing a transfer case abnormality, and the device comprises:
[0013] a first detection module, configured to detect a motor state of a motor in a transfer case and whether motor position information fed back by a position encoder is valid;
[0014] a first processing module, configured to control the motor to run in a preset direction for a first preset time length and then enter a shutdown state when the motor state is a running state and the motor position information is invalid, and record a position encoder fault code;
[0015] a second processing module, configured to record a position encoder fault code when the motor state is the shutdown state and the motor position information is invalid;
[0016] a second detection module, configured to re-detect the motor position information fed back by the position encoder if a driving mode switching instruction is received in a current power-on cycle in the case of recording the position encoder fault code;
[0017] an output module, configured to ignore the driving mode switching instruction and output four-wheel drive system fault information when the re-detected motor position information is invalid;
[0018] a third processing module, configured to clear the position encoder fault code and respond to the driving mode switching instruction when the re-detected motor position information is valid.
[0019] In a third aspect, the embodiments of the present application further provide a vehicle, which comprises the device for processing a transfer case abnormality.
[0020] In a fourth aspect, the embodiments of the present application further provide an electronic device, which comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to implement the method for processing a transfer case abnormality.
[0021] In a fifth aspect, the embodiments of the present application further provide a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to implement the above-mentioned transfer case abnormality processing method.
[0022] The embodiments of the present application at least have the following technical effects:
[0023] The technical scheme of the embodiments of the present application, by detecting the motor state and the motor position information fed back by the position encoder, can record the position encoder fault code when the motor position information is invalid during the running state of the motor, and control the motor to run in a preset direction for a first preset time length, so as to ensure that the motor rotates to a safe position, and the transfer case is in a safe state, so that the internal hardware of the transfer case will not be damaged when there is torque input, the reliability of the four-wheel drive system is improved, and the user experience is improved. In addition, when the motor position information is invalid during the shutdown state of the motor, the position encoder fault code is recorded, and for the case that the position encoder can recover abnormally, a drive mode switching instruction can be sent to the four-wheel drive controller, so that the four-wheel drive system of the vehicle is restored to normal in the current power-on cycle, without the need for the user to power off and power on the vehicle. Especially when the vehicle is climbing, if the vehicle needs to be powered off and powered on to make the four-wheel drive system recover to normal, the user experience will be reduced. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the technical schemes of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description.
[0025] Figure 1 is one of the flowcharts of the transfer case abnormality processing method provided by the embodiments of the present application;
[0026] Figure 2 is a code disc area division diagram of the position encoder in the transfer case abnormality processing method provided by the embodiments of the present application;
[0027] Figure 3 is a corresponding relationship diagram between the motor position information fed back by the position encoder and the actual position of the motor in the transfer case abnormality processing method provided by the embodiments of the present application;
[0028] Figure 4 is the second flowchart of the transfer case abnormality processing method provided by the embodiments of the present application;
[0029] Figure 5 is a structural diagram of the transfer case abnormality processing device provided by the embodiments of the present application;
[0030] Figure 6is a block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0032] It should be understood that the terms "one embodiment" or "an embodiment" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in any suitable manner in one or more embodiments.
[0033] As shown in Figure 1 The embodiments of the present application provide a transfer case abnormality processing method, applied to a four-wheel drive controller, and the method comprises the following steps.
[0034] Step 101, detecting whether the motor state of the motor in the transfer case and the motor position information fed back by the position encoder are valid.
[0035] The present application takes the transfer case of a four-wheel drive vehicle as an example for introduction, the transfer case comprises a motor and a position encoder, the position encoder comprises a scale and a code disc, and the motor can drive the scale of the position encoder to rotate on the code disc. The four-wheel drive vehicle comprises three driving modes, namely a two-wheel drive mode, a high-speed four-wheel drive mode and a low-speed four-wheel drive mode. When the four-wheel drive controller receives a mode switching instruction triggered by a user through a four-wheel drive switch, it first judges whether the vehicle meets the mode switching condition, and when the vehicle meets the mode switching condition, it realizes the switching of the driving mode of the vehicle by driving the motor to rotate. During the rotation of the motor, the four-wheel drive controller can determine the actual position of the motor by monitoring the motor position information fed back by the position encoder.
[0036] Specifically, as shown in Figure 2As shown, the code disc of the position encoder is divided into five incomplete closed annular position regions, which are A region, B region, C region, D region and OUT region respectively. The slicing disc includes five metal contacts, which are A contact, B contact, C contact, D contact and OUT contact respectively. The five metal contacts correspond to the five position regions on the code disc respectively. The metal contact is in contact with the code disc. The metal contact is also connected with the four-wheel controller through the wire harness. The A region, B region, C region and D region are composed of metal part and non-metal part. The OUT region is all metal part. During the rotation of the slicing disc, the OUT contact on the slicing disc is always in contact with the metal part. Figure 2 The metal part on the code disc is represented by the shaded part. Figure 3 The deformed code disc obtained by unfolding the A region, B region, C region, D region and OUT region of the code disc. The metal part is represented by the shaded part and the non-metal part is represented by the non-shaded part.
[0037] When the four-wheel controller needs to detect the motor position information feedback by the position encoder, the wire harness corresponding to the OUT contact is grounded first. The OUT contact can be used as the common ground of other contacts. The other contacts can form a loop with the OUT contact through the wire harness connected to the four-wheel controller. Then the four-wheel controller can determine whether the loop composed of each contact and the OUT contact is conductive by collecting the voltage value on the wire harness corresponding to the A contact, B contact, C contact and D contact. Then the four-wheel controller can determine whether each contact is in contact with the metal part on the corresponding position region. When the voltage value corresponding to the contact is high, it indicates that the loop corresponding to the contact is conductive and the contact is in contact with the metal part on the corresponding position region. When the voltage value corresponding to the contact is low, it indicates that the loop corresponding to the contact is disconnected and the contact is in contact with the non-metal part on the corresponding position region. Here, the detected voltage value can be encoded, with 0 representing high and 1 representing low. The four-wheel controller can obtain the motor position information by detecting the voltage value corresponding to the A contact, B contact, C contact and D contact respectively. The motor position information is composed of four-bit code. Figure 3The correspondence between the motor position information fed back by the position encoder and the actual motor position is also shown in the figure, where 1111 corresponds to the left stop zone (LEFT STOP) and the right stop zone (RIGHT STOP), 1010 corresponds to the two-wheel drive mode (2WD HIGH); 1011 corresponds to ZONE 1; 1001 corresponds to ZONE 2; 1011 corresponds to ZONE 3; 0011 corresponds to the high-speed four-wheel drive mode (4WD HIGH); 0111 corresponds to ZONE 4; 0110 corresponds to ZONE 5; 1110 corresponds to the transition zone (TRANSITION); 0110 corresponds to ZONE 5; 1110 corresponds to the transition zone (TRANSITION); 1110 corresponds to ZONE 6; 1100 corresponds to the low-speed four-wheel drive mode (4WD LOW), which is only an example. As shown in Figure 2 Different motor position information corresponds to different sector regions on the code disc, and the sizes of the sector regions are different. It should be noted that, as shown in Figure 2 The left limit and the right limit are provided on the code disc, and the wiper can only rotate in the region between the left limit and the right limit on the code disc. The wiper cannot rotate to the region of 302° to 329° on the code disc. For example, when the wiper is driven by the motor to the left limit, the motor will not continue to operate.
[0038] In the embodiment of the application, the four-wheel drive controller can detect the motor state of the motor in the transfer case and the motor position information fed back by the position encoder when the vehicle is in a power-on state. The motor state includes an operating state and a shutdown state. The four-wheel drive controller drives the motor to operate when receiving a mode switching instruction triggered by the user through the four-wheel drive switch, and the motor is in the operating state. After the mode is switched, the motor stops operating and enters the shutdown state. When the motor is in the shutdown state, the motor position information fed back by the position encoder matches the current drive mode of the vehicle. When the motor is in the operating state, the motor position information fed back by the position encoder changes with the operation of the motor.
[0039] Wherein, when the motor is in the running state, the running direction and the running angle of the motor are determined, and the scale in the position encoder passes through each sector area included in the running angle on the code disc in turn according to the running direction, so that the motor position information fed back by the position encoder should be regularly changed. If at least one bit of the four-bit code of the motor position information fed back by the position encoder abnormally jumps, that is, the motor position information does not change regularly, it is considered that the motor position information is invalid, indicating that the position encoder is abnormal, and the four-wheel drive controller cannot accurately determine the specific position of the motor. When the motor is in the shutdown state, the motor position information fed back by the position encoder should belong to the preset position code list corresponding to the position encoder. If it does not belong to the preset position code list, it is considered that the motor position information is invalid, indicating that the position encoder is abnormal, and the four-wheel drive controller cannot accurately determine the specific position of the motor.
[0040] Step 102, when the motor state is the running state and the motor position information is invalid, controlling the motor to run in a preset direction for a first preset time length and then enter the shutdown state, and recording the position encoder fault code.
[0041] In the prior art, when the motor is in the running state and the motor position information is invalid, the four-wheel drive controller cannot obtain the real position of the motor, and directly stops driving the motor to run, so that the motor enters the shutdown state. The four-wheel drive state signal sent by the four-wheel drive controller to the instrument and the four-wheel drive switch is a fault signal (Fault), the instrument displays a four-wheel drive system fault based on the fault signal, and the four-wheel drive switch controls the four-wheel drive mode indicator light to flash based on the fault signal. Since the transfer case moves the sliding sleeve on the spline shaft by running of the motor, and then realizes four-wheel drive mode switching. If the motor is directly stopped during running, that is, during mode switching, the motor may be in an intermediate position of two drive modes. For example, when switching from two-wheel drive mode to high-speed four-wheel drive mode, full spline combination is required for cutting in. Due to the shutdown of the motor, there may be only partial cutting in or just cutting in, and the spline combination length is insufficient. At this time, if a large torque is input to the transfer case, tooth clashing may occur, which may damage the internal hardware of the transfer case.
[0042] In the embodiment of the present application, when the motor position information is invalid, the four-wheel drive controller cannot obtain the real position of the motor through the position encoder, the four-wheel drive state signal sent by the four-wheel drive controller to the instrument and the four-wheel drive switch is a mode unknown signal (Mode Unknown), the instrument displays a four-wheel drive mode unknown based on the mode unknown signal, and the four-wheel drive switch controls the four-wheel drive mode indicator light to flash based on the mode unknown signal. That is, the embodiment of the present application does not directly report a four-wheel drive system fault.
[0043] It should be noted that when the motor position information is invalid, the four-wheel drive controller cannot determine the actual position of the motor through the position encoder, and the four-wheel drive controller will stop detecting the position encoder.
[0044] When the motor is in the running state and the motor position information fed back by the position encoder is detected to be invalid, the motor is not directly controlled to stop running, but is controlled to run in a preset direction for a first preset time length and then enter a stop state, and a position encoder fault code is recorded. The preset direction is the direction of the motor position corresponding to the two-wheel drive mode, and the first preset time length can be obtained through calibration and can be the first time length for the motor to drive the vane from the right limit to the left limit of the code disc. By controlling the motor to run in the preset direction for the first preset time length, the motor is ensured to rotate to a safe position, i.e., a left stop area (LEFT STOP), so that the sliding sleeve in the transfer case is completely disengaged under the driving of the motor, and the transfer case is in a safe state. When there is a large torque input, the transfer case will not have gear teeth, so as not to damage the internal hardware of the transfer case, thereby improving the reliability of the four-wheel drive system and improving the user experience.
[0045] In step 103, when the motor state is the stop state and the motor position information is invalid, a position encoder fault code is recorded.
[0046] In the embodiment of the application, the motor in the stop state includes two cases, the first case is that the motor is in the stop state before and after mode switching, and the second case is that the position encoder is abnormal during the mode switching process in step 102, and the motor enters the stop state after the four-wheel drive controller controls the motor to run in the preset direction for the first preset time length.
[0047] In step 104, in the case of recording the position encoder fault code, if a driving mode switching instruction is received in the current power-on cycle, the motor position information fed back by the position encoder is re-detected.
[0048] It is considered that the reason for the abnormality of the position encoder may be external interference, such as a virtual connection of a wire harness, and the abnormality of the position encoder caused by external interference is usually accidental, short-term, and can be quickly self-recovered in a very short time.
[0049] The four-wheel drive controller of the embodiment of the application can re-detect the motor position information fed back by the position encoder if a driving mode switching instruction is received in the current power-on cycle, that is, the user presses the four-wheel drive switch, in the case of recording the position encoder fault code. At this time, if the abnormality of the position encoder is caused by external interference, the re-detected motor position information is valid, the position encoder is determined to be normal, and the four-wheel drive system returns to normal.
[0050] Step 105, when the re-detected motor position information is invalid, ignoring the driving mode switching instruction, and outputting four-wheel drive system fault information.
[0051] Step 106, when the re-detected motor position information is valid, clearing the position encoder fault code, and responding to the driving mode switching instruction.
[0052] Specifically, if the re-detected motor position information is still invalid, it indicates that the reason for the abnormality of the position encoder may not be external interference, and cannot recover itself. At this time, it is determined that the four-wheel drive system has a fault, and four-wheel drive system fault information is output. Specifically, the way to output the four-wheel drive system fault information can be to set the four-wheel drive state signal sent to the instrument and the four-wheel drive switch to a fault signal (Fault), so that the instrument displays the four-wheel drive system fault based on the fault signal, and the four-wheel drive switch controls the four-wheel drive mode indicator light to flash based on the fault signal.
[0053] If the re-detected motor position information is valid, it indicates that the reason for the abnormality of the position encoder is external interference, and has recovered itself. At this time, the four-wheel drive controller clears the position encoder fault code and responds to the received driving mode switching instruction.
[0054] In the embodiment of the application, by detecting the motor state and the motor position information fed back by the position encoder, when the motor position information is invalid during the running state of the motor, the position encoder fault code can be recorded, and the motor is controlled to run in a preset direction for a first preset time to ensure that the motor rotates to a safe position, so that the transfer case is in a safe state, thereby the internal hardware of the transfer case will not be damaged when there is torque input, and the reliability of the four-wheel drive system is improved, and the user experience is improved. In addition, when the motor position information is invalid in the shutdown state of the motor, for the case that the position encoder can recover itself, the four-wheel drive system of the vehicle can be restored to normal in the current power-on cycle by sending a driving mode switching instruction to the four-wheel drive controller, without the need for the user to power off and power on the vehicle. Especially when the vehicle is climbing, if the vehicle needs to be powered off and powered on to make the four-wheel drive system recover to normal, the user experience will be reduced.
[0055] In an optional embodiment of the application, detecting whether the motor state of the motor in the transfer case and the motor position information fed back by the position encoder are valid, comprises:
[0056] When the motor state is a shutdown state, determining whether the motor position information belongs to a preset motor position information list corresponding to the position encoder;
[0057] When the motor position information does not belong to the preset motor position information list, determining that the motor position information is invalid.
[0058] determining whether the motor position information is abnormal jump when the motor state is running state;
[0059] determining that the motor position information is invalid when the motor position information is abnormal jump.
[0060] Specifically, since the motor position information fed back by the position encoder is different under different motor states, the motor position information fed back by the position encoder changes with the running of the motor when the motor is in the running state, and the motor position information fed back by the position encoder is the corresponding motor position when the motor is in the shutdown state. Therefore, it is necessary to determine whether the motor position information is valid based on the motor state.
[0061] When the motor state is the shutdown state, it can be determined whether the motor position information is valid by judging whether the motor position information belongs to the preset motor position information list corresponding to the position encoder. If it does not belong, it is determined to be invalid.
[0062] When the motor state is the running state, it can be determined whether the motor position information is valid by judging whether the motor position information is abnormal jump. If it is abnormal jump, it is determined to be invalid. Here, the abnormal jump specifically refers to that the motor position information does not change in order, which is determined by the running direction of the motor.
[0063] Wherein, determining whether the motor position information is abnormal jump comprises:
[0064] obtaining the running direction of the motor and the historical motor position information, the historical motor position information being the last motor position information corresponding to the motor position information;
[0065] determining the expected motor position information according to the historical motor position information, the running direction and the preset motor position information list;
[0066] determining that the motor position information is abnormal jump when the motor position information and the expected motor position information are inconsistent.
[0067] Specifically, when the motor is in the running state, it indicates that the driver has issued a mode switching instruction at this time, and the target driving mode is carried in the mode switching instruction. According to the current driving mode and the target driving mode, the running direction of the motor and the change order of the motor position information fed back by the position encoder can be determined, for example, see Figure 2 and Figure 3In the process of switching from two-wheel drive to four-wheel drive at high speed, the running direction of the motor is rightward rotation, and the change sequence of the motor position information is 1010, 1011, 1001, 1011, 0011. In the process of switching from four-wheel drive at high speed to two-wheel drive, the running direction of the motor is leftward rotation, and the change sequence of the motor position information is 0011, 1011, 1001, 1011, 1010. In the process of determining whether the motor position information abnormally jumps, the expected motor position information can be determined according to the running direction, the last motor position information and the preset motor position information list. For example, when the running direction of the motor is rightward rotation, the last motor position information is 1011, and the preset motor position information list is as shown in Table 1, the expected motor position information can be determined as 1001. At this time, if the detected motor position information is 1001, which is consistent with the expected motor position information, it can be determined that the motor position information does not abnormally jump. If the detected motor position information is 1000, which is inconsistent with the expected motor position information, it can be determined that the motor position information abnormally jumps. Figure 3
[0068] The above-mentioned embodiments of the present application can determine whether the motor position information fed back by the position encoder is valid in different states of the motor by distinguishing the motor states, so as to determine whether the position encoder abnormally jumps.
[0069] In an optional embodiment of the present application, the preset direction is the direction of the motor position corresponding to the two-wheel drive mode, and the motor is controlled to run in the preset direction for a first preset time length, including:
[0070] obtaining the current running direction of the motor;
[0071] when the current running direction is the same as the preset direction, controlling the motor to continue running in the current running direction for a first preset time length;
[0072] when the current running direction is different from the preset direction, controlling the motor to stop running in the current running direction and run in the preset direction for a first preset time length.
[0073] Specifically, the preset direction in step 102 is the direction of the motor position corresponding to the two-wheel drive mode. When the four-wheel drive controller receives the mode switching instruction triggered by the user through the four-wheel drive switch, the target direction of the motor can be determined according to the current drive mode and the target drive mode carried in the mode switching instruction, and the motor is driven to run in the target direction. The motor is in a running state.
[0074] When the motor position information detected by the position encoder is invalid during the operation of the motor, the motor needs to be controlled to operate in a preset direction for a first preset time period. At this time, the current operation direction of the motor, i.e., the target direction, needs to be obtained. When the current operation direction is the same as the preset direction, the motor is controlled to continue operating in the current operation direction for the first preset time period. When the current operation direction is different from the preset direction, the motor is controlled to stop operating in the current operation direction and operate in the preset direction for the first preset time period.
[0075] In the above-mentioned embodiments of the present application, when the motor is in an operating state and the motor position information fed back by the position encoder is invalid, the motor is not directly controlled to enter a shutdown state, but is controlled to operate in a preset direction for a first preset time period, so as to ensure that the motor rotates to a safe position, i.e., a left stop area (LEFT STOP), so that the sliding sleeve in the transfer case can be completely separated under the driving of the motor, and the transfer case is in a safe state. When there is a large torque input, the transfer case will not be subjected to tooth impact, so as to avoid damage to the internal hardware of the transfer case, improve the reliability of the four-wheel drive system, and improve the user experience.
[0076] In an optional embodiment of the present application, the method further includes:
[0077] When the position encoder fault code is recorded, the indicator light corresponding to the four-wheel drive mode is controlled to flash.
[0078] When the motor position information is invalid, the four-wheel drive controller can determine that the real position of the motor cannot be obtained through the position encoder. The four-wheel drive controller records the position encoder fault code and outputs a prompt information. The four-wheel drive state signal sent to the instrument and the four-wheel drive switch is set as a mode unknown signal (Mode Unknown). The instrument displays that the four-wheel drive mode is unknown based on the mode unknown signal, and the four-wheel drive switch controls the indicator light corresponding to the four-wheel drive mode to flash based on the mode unknown signal. That is, the present embodiment does not directly report a four-wheel drive system fault.
[0079] In the above-mentioned embodiments of the present application, when the motor position information is invalid, a prompt information is output instead of directly outputting a fault information, so that the driver can trigger a mode switching instruction to the four-wheel drive controller by pressing the mode switching button again, so that the four-wheel drive controller re-detects the motor position information fed back by the position encoder. If the invalid motor position information is caused by external interference that can be self-recovered, the four-wheel drive controller will detect valid motor position information, so that the four-wheel drive system of the vehicle can be restored to normal in the current power-on cycle without the need for the user to power off and power on the vehicle. Especially when the vehicle is climbing, if the vehicle needs to be powered off and powered on to restore the four-wheel drive system to normal, the user experience will be reduced.
[0080] In an optional embodiment of the present application, after detecting the motor state and whether the motor position information fed back by the position encoder is valid, the method further comprises:
[0081] When the motor state is the shutdown state and the motor position information is valid, if a driving mode switching instruction is received, the driving mode switching instruction is responded to.
[0082] Specifically, when the four-wheel drive controller detects that the motor state is the shutdown state and the motor position information is valid, it indicates that the position encoder is not abnormal and the motor position information fed back by the position encoder is the actual position of the motor. At this time, if a driving mode switching instruction is received, the driving mode switching instruction is responded to, specifically, the driving mode is switched by driving the motor to run.
[0083] In the above-mentioned embodiments of the present application, the four-wheel drive controller responds to the received driving mode switching instruction in the case that the position encoder is normal, and switches the driving mode of the vehicle.
[0084] In an optional embodiment of the present application, responding to the driving mode switching instruction comprises:
[0085] According to the motor position information, determining a current driving mode;
[0086] According to the current driving mode and a target driving mode carried in the driving mode switching instruction, determining a target direction;
[0087] Controlling the motor to run in the target direction, and controlling the motor to stop running when it is detected that the motor position information fed back by the position encoder is target motor position information corresponding to the target driving mode during the running of the motor.
[0088] Specifically, when responding to the driving mode switching instruction, the current driving mode can be determined according to the motor position information fed back by the position encoder, and then the target direction corresponding to the motor can be determined according to the current driving mode and the target driving mode carried in the driving mode switching instruction, for example, as shown in Figure 2 When the current driving mode is the two-wheel drive mode and the target driving mode is the high-speed four-wheel drive mode, the target direction is clockwise rotation, and when the current driving mode is the high-speed four-wheel drive mode and the target driving mode is the two-wheel drive mode, the target direction is counterclockwise rotation. After determining the target direction, the four-wheel drive controller drives the motor to run in the target direction, and detects the motor position information fed back by the position encoder. When the motor position information is the target motor position information corresponding to the target driving mode, the motor is controlled to stop running.
[0089] When the driving mode is switched to the target driving mode, the four-wheel drive controller sets the four-wheel drive state signal sent to the instrument and the four-wheel drive switch to the target driving mode, so that the instrument displays the target driving mode and the indicator light of the target driving mode in the four-wheel drive switch is always on to prompt the driver that the driving mode switching is completed.
[0090] In the above-mentioned embodiments of the present application, when the four-wheel drive controller responds to the driving mode switching instruction, the four-wheel drive controller detects the motor position information fed back by the position encoder while the driving motor is running, and when the motor position information is consistent with the target motor position information corresponding to the target driving mode, it is determined that the driving mode of the vehicle is switched to the target driving mode, the driving motor is stopped, and the switching operation of the driving mode of the vehicle is realized.
[0091] In an optional embodiment of the present application, the method further comprises:
[0092] In the case of recording the position encoder fault code, if it is detected that the whole vehicle is powered off, the position encoder fault code is cleared, and after the vehicle is powered on again, it is detected whether the motor position information fed back by the position encoder is valid.
[0093] In the specific implementation process, when the four-wheel drive controller records the position encoder fault code, if it is detected that the whole vehicle is powered off, the position encoder fault code is cleared, and after the vehicle is powered on again, it is detected whether the motor position information fed back by the position encoder is valid, so that the user can clear the position encoder fault code by powering off and powering on the vehicle.
[0094] The method for processing the transfer case abnormality provided by the embodiments of the present application is introduced below through an overall implementation process, as shown in Figure 4 , which comprises:
[0095] Step 401, the whole vehicle is powered on.
[0096] Step 402, it is detected whether the motor position information fed back by the position encoder is valid. If yes, step 403 is executed, otherwise step 404 is executed.
[0097] Step 403, it is determined that the driving system can respond to the driving mode switching instruction.
[0098] Step 404, the four-wheel drive state signal sent to the instrument and the four-wheel drive switch is set to the mode unknown signal, and the position encoder fault code is recorded.
[0099] Step 405, the driving mode switching instruction is received.
[0100] Step 406, the driving motor is operated and it is detected whether the motor position information fed back by the position encoder is valid. If yes, step 407 is executed, otherwise step 408 is executed.
[0101] Step 407, determine that the driving mode switching is successful, set the four-wheel drive state signal sent to the instrument and the four-wheel drive switch to the target driving mode.
[0102] Step 408, stop driving the motor, and drive the motor to rotate in the direction of the two-wheel drive position for 5s, and then stop driving the motor again.
[0103] Step 409, receive the driving mode switching instruction.
[0104] Step 410, detect whether the motor position information fed back by the position encoder is valid. If yes, execute step 411, otherwise execute step 412.
[0105] Step 411, determine that the driving system can respond to the driving mode switching instruction, and clear the position encoder fault code.
[0106] Step 412, set the four-wheel drive state signal sent to the instrument and the four-wheel drive switch to the fault signal.
[0107] Step 413, power off the whole vehicle and power on again.
[0108] In the above implementation process, after the whole vehicle is powered on, it is detected whether the motor position information fed back by the position encoder is valid. When the motor position information is valid, it is determined that the driving system can respond to the driving mode switching instruction. When the motor position information is invalid, the four-wheel drive state signal sent to the instrument and the four-wheel drive switch is set to the mode unknown signal, and the position encoder fault code is recorded. The instrument displays that the four-wheel drive mode is unknown based on the mode unknown signal, and the four-wheel drive switch controls the four-wheel drive mode indicator to flash based on the mode unknown signal. After receiving the driving mode switching instruction, the driving motor is operated, and it is detected whether the motor position information fed back by the position encoder is valid. If valid, it is determined that the driving mode switching is successful, and the four-wheel drive state signal sent to the instrument and the four-wheel drive switch is set to the target driving mode, so that the instrument displays the target driving mode, and the indicator of the target driving mode in the four-wheel drive switch is always on to prompt the driver that the driving mode switching is completed. If it is detected during the operation of the driving motor that the motor position information fed back by the position encoder is invalid, the driving motor is stopped, the driving motor is rotated in the direction of the two-wheel drive position for 5s, and then the driving motor is stopped again, and the four-wheel drive state signal sent to the instrument and the four-wheel drive switch is set to the mode unknown signal, and the position encoder fault code is recorded. The instrument displays that the four-wheel drive mode is unknown based on the mode unknown signal, and the four-wheel drive switch controls the four-wheel drive mode indicator to flash based on the mode unknown signal.
[0109] Specifically, when the four-wheel drive status signal is an unknown mode signal, if a drive mode switching command is received, the validity of the motor position information fed back by the position encoder is re-checked. If valid, it indicates that the position encoder malfunction was caused by external interference and has recovered on its own. In this case, the four-wheel drive controller can respond to the received drive mode switching command and also needs to clear the position encoder fault code. If the re-check of the motor position information fed back by the position encoder is still invalid, it indicates that the cause of the position encoder malfunction may not be external interference and cannot recover on its own. In this case, the four-wheel drive status signal sent to the instrument panel and four-wheel drive switch is set to a fault signal, causing the instrument panel to display a four-wheel drive system fault and the four-wheel drive mode indicator light in the four-wheel drive switch to flash. This allows the system to recover from external interference that can be recovered on its own, such as a loose wiring harness, without requiring the user to power off and on the vehicle. This is especially important when the vehicle is climbing a hill, as requiring the vehicle to power off and on again to restore the four-wheel drive system would degrade the user experience. This application can restore the vehicle's four-wheel drive system to normal operation within the current power-on cycle.
[0110] Additionally, when the four-wheel drive status signal is an unknown mode signal or a fault signal, the user can power off and then power on the vehicle to re-energize it, triggering the four-wheel drive controller to check the motor position information fed back by the position encoder. In other words, if the position encoder is invalid due to external interference that can be recovered on its own, such as a loose wiring harness, the user can still trigger the vehicle to check the position encoder by powering off and then powering on.
[0111] The above describes the transfer case fault handling method provided in the embodiments of this application. The transfer case fault handling device provided in the embodiments of this application will be described below with reference to the accompanying drawings.
[0112] like Figure 5 As shown, this embodiment of the invention also provides a transfer case malfunction handling device, the device comprising:
[0113] The first detection module 501 is used to detect the motor status of the motor in the transfer case and whether the motor position information fed back by the position encoder is valid.
[0114] The first processing module 502 is used to control the motor to run in a preset direction for a first preset time and then enter a stop state when the motor is in the running state and the motor position information is invalid, and to record the position encoder fault code.
[0115] The second processing module 503 is used to record the position encoder fault code when the motor is in a stopped state and the motor position information is invalid.
[0116] The second detection module 504 is configured to re-detect motor position information fed back by the position encoder if a driving mode switching instruction is received in a current power-on cycle when a position encoder fault code is recorded.
[0117] The output module 505 is configured to ignore the driving mode switching instruction and output four-wheel drive system fault information when the re-detected motor position information is invalid.
[0118] The third processing module 506 is configured to clear the position encoder fault code and respond to the driving mode switching instruction when the re-detected motor position information is valid.
[0119] Optionally, the first detection module comprises:
[0120] The first judgment sub-module is configured to determine whether the motor position information belongs to a preset motor position information list corresponding to the position encoder when the motor state is a shutdown state.
[0121] The first determination sub-module is configured to determine that the motor position information is invalid when the motor position information does not belong to the preset motor position information list.
[0122] The second judgment sub-module is configured to determine whether the motor position information abnormally jumps when the motor state is a running state.
[0123] The second determination sub-module is configured to determine that the motor position information is invalid when the motor position information abnormally jumps.
[0124] Optionally, the second judgment sub-module comprises:
[0125] The acquisition unit is configured to acquire a running direction of the motor and historical motor position information corresponding to the motor position information.
[0126] The first determination unit is configured to determine expected motor position information according to the historical motor position information, the running direction, and the preset motor position information list.
[0127] The second determination unit is configured to determine that the motor position information abnormally jumps when the motor position information is inconsistent with the expected motor position information.
[0128] Optionally, the preset direction is a direction of a motor position corresponding to a two-wheel drive mode, and the second processing module comprises:
[0129] The acquisition sub-module is configured to acquire a current running direction of the motor.
[0130] The first control submodule is configured to control the motor to continue running in the current running direction for a first preset time duration when the current running direction is the same as the preset direction.
[0131] The second control submodule is configured to control the motor to stop running in the current running direction and run in the preset direction for a first preset time duration when the current running direction is different from the preset direction.
[0132] Optionally, the device further comprises:
[0133] The control module is configured to control an indicator lamp corresponding to the four-wheel drive mode to flash when a position encoder fault code is recorded.
[0134] Optionally, after detecting the motor state and whether the motor position information fed back by the position encoder is valid, the device further comprises:
[0135] The fourth processing module is configured to respond to the driving mode switching instruction if the driving mode switching instruction is received when the motor state is the shutdown state and the motor position information is valid.
[0136] Optionally, the third processing module and the fourth processing module each comprise:
[0137] The third determination submodule is configured to determine a current driving mode according to the motor position information.
[0138] The fourth determination submodule is configured to determine a target direction according to the current driving mode and a target driving mode carried in the driving mode switching instruction.
[0139] The third control submodule is configured to control the motor to run in the target direction, and control the motor to stop running when the motor position information fed back by the position encoder is determined to be target motor position information corresponding to the target driving mode during the running of the motor.
[0140] Optionally, the device further comprises:
[0141] The fifth processing module is configured to, in the case of recording the position encoder fault code, clear the position encoder fault code if it is detected that the whole vehicle is powered off, and re-detect whether the motor position information fed back by the position encoder is valid after the vehicle is powered on.
[0142] The application provides a device for processing abnormality of a transfer case. The device can detect the motor state and the motor position information fed back by a position encoder, record the position encoder fault code when the motor position information is invalid during the running of the motor, and control the motor to run in a preset direction for a first preset time length, so that the motor rotates to a safe position and the transfer case is in a safe state. Therefore, the internal hardware of the transfer case cannot be damaged when torque is input, the reliability of the four-wheel drive system is improved, and the user experience is improved. In addition, when the motor position information is invalid during the shutdown of the motor, the position encoder fault code is recorded. In the case that the position encoder can be self-recovered abnormally, the four-wheel drive controller can be sent a driving mode switching instruction, so that the four-wheel drive system of the vehicle is recovered to normal in the current power-on cycle, and the vehicle does not need to be powered off and powered on again by the user. Especially when the vehicle is climbing, if the vehicle needs to be powered off and powered on again to recover the four-wheel drive system to normal, the user experience will be reduced.
[0143] For the device embodiment, it is basically similar to the method embodiment, so the description is relatively simple, and the relevant parts are described in the method embodiment.
[0144] The application also provides a vehicle comprising the above-mentioned device for processing abnormality of a transfer case, and the same technical effects can be achieved. To avoid repetition, the same technical effects can be achieved. To avoid repetition, the same technical effects can be achieved.
[0145] The application also provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor. The computer program is executed by the processor to implement the processes of the above-mentioned method for processing abnormality of a transfer case, and the same technical effects can be achieved. To avoid repetition, the same technical effects can be achieved. To avoid repetition, the same technical effects can be achieved.
[0146] For example, Figure 6 An entity structure diagram of an electronic device is shown. As Figure 6As shown, the electronic device can include a processor 610, a communications interface 620, a memory 630, and a communications bus 640, wherein the processor 610, the communications interface 620, and the memory 630 complete mutual communication through the communications bus 640. The processor 610 can invoke a logic instruction in the memory 630, and the processor 610 is configured to perform the following steps: detecting whether a motor state of a motor in a transfer case and motor position information fed back by a position encoder are valid; when the motor state is a running state and the motor position information is invalid, controlling the motor to run in a preset direction for a first preset time length and then enter a shutdown state, and recording a position encoder fault code; when the motor state is a shutdown state and the motor position information is invalid, recording the position encoder fault code; in the case of recording the position encoder fault code, if a driving mode switching instruction is received in a current power-on cycle, re-detecting the motor position information fed back by the position encoder; when the re-detected motor position information is invalid, ignoring the driving mode switching instruction and outputting four-wheel drive system fault information; and when the re-detected motor position information is valid, clearing the position encoder fault code and responding to the driving mode switching instruction. The processor 610 can also perform other solutions in the embodiments of the present application, which will not be further described here.
[0147] In addition, the logic instruction in the memory 630 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0148] The embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement each process of the above-mentioned transfer case abnormality processing method embodiments, and can achieve the same technical effects. To avoid repetition, this will not be described here. The computer readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0149] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0150] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods described in the various embodiments of the present application.
[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the specific embodiments described above, which are merely illustrative rather than restrictive, and those of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
[0152] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solutions. Those of ordinary skill in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0153] Those of ordinary skill in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0154] In the embodiments of the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the embodiments of the apparatus described above are merely schematic, and the division of the units is merely logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0155] The units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments.
[0156] In addition, each functional unit in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.
[0157] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc.
[0158] The above describes only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application.
Claims
1. A method of handling an anomaly of a transfer case, characterized by, The method includes: Detect the motor status of the motor in the transfer case and whether the motor position information fed back by the position encoder is valid; When the motor is in the running state and the motor position information is invalid, the motor is controlled to run in the preset direction for a first preset time and then enters the stop state, and the position encoder fault code is recorded. When the motor is in a stopped state and the motor position information is invalid, record the position encoder fault code; If a drive mode switching command is received within the current power-on cycle when the position encoder fault code is recorded, the motor position information fed back by the position encoder will be re-detected. When the re-detected motor position information is invalid, the drive mode switching command is ignored, and the four-wheel drive system fault information is output. When the re-detected motor position information is valid, the position encoder fault code is cleared, and the drive mode switching command is responded to. This includes detecting the motor status of the motor in the transfer case and whether the motor position information fed back by the position encoder is valid, including: When the motor is in a stopped state, determine whether the motor position information belongs to the preset motor position information list corresponding to the position encoder; If the motor position information does not belong to the preset motor position information list, the motor position information is determined to be invalid. When the motor is in the running state, determine whether the motor position information has undergone an abnormal change; When the motor position information undergoes an abnormal jump, the motor position information is determined to be invalid.
2. The method of claim 1, wherein: Determining whether the motor position information has undergone an abnormal jump includes: Obtain the motor's rotation direction and historical motor position information, wherein the historical motor position information is the previous motor position information corresponding to the motor position information; Based on the historical motor position information, the direction of rotation, and the preset motor position information list, the desired motor position information is determined. When the motor position information and the desired motor position information are inconsistent, it is determined that the motor position information has experienced an abnormal jump.
3. The transfer case malfunction handling method according to claim 1, characterized in that, The preset direction is the direction of the motor position corresponding to the two-wheel drive mode. Controlling the motor to run in the preset direction for a first preset time includes: Obtain the current rotation direction of the motor; When the current operating direction is the same as the preset direction, the motor is controlled to continue operating in the current operating direction for a first preset time. When the current operating direction is different from the preset direction, the motor is controlled to stop operating in the current operating direction and to operate in the preset direction for a first preset time.
4. The transfer case malfunction handling method according to claim 1, characterized in that, The method further includes: When recording a position encoder fault code, the indicator light corresponding to the four-wheel drive mode will flash.
5. The transfer case malfunction handling method according to claim 1, characterized in that, After detecting the motor status and whether the motor position information fed back by the position encoder is valid, the method further includes: When the motor is in a stopped state and the motor position information is valid, if a drive mode switching command is received, the driver will respond to the drive mode switching command.
6. The transfer case malfunction handling method according to claim 1 or 5, characterized in that, Responding to the drive mode switching command includes: The current drive mode is determined based on the motor position information; The target direction is determined based on the current driving mode and the target driving mode carried in the driving mode switching instruction; The motor is controlled to run in the target direction, and when the motor position information fed back by the position encoder is detected to be the target motor position information corresponding to the target drive mode during the operation of the motor, the motor is controlled to stop running.
7. The transfer case malfunction handling method according to claim 1, characterized in that, The method further includes: If a vehicle power failure is detected when a position encoder fault code is recorded, the position encoder fault code is cleared, and the validity of the motor position information fed back by the position encoder is re-checked after the vehicle is powered on.
8. A transfer case malfunction handling device, characterized in that, include: The first detection module is used to detect the motor status of the motor in the transfer case and whether the motor position information fed back by the position encoder is valid. The first processing module is used to control the motor to run in a preset direction for a first preset time and then enter a stop state when the motor is in the running state and the motor position information is invalid, and to record the position encoder fault code. The second processing module is used to record the position encoder fault code when the motor is in a stopped state and the motor position information is invalid. The second detection module is used to re-detect the motor position information fed back by the position encoder if a drive mode switching command is received within the current power-on cycle when a position encoder fault code is recorded. The output module is used to ignore the drive mode switching command and output four-wheel drive system fault information when the re-detected motor position information is invalid. The third processing module is used to clear the position encoder fault code and respond to the drive mode switching command when the re-detected motor position information is valid. The first detection module includes: The first judgment submodule is used to determine whether the motor position information belongs to the preset motor position information list corresponding to the position encoder when the motor state is a stopped state. The first determining submodule is used to determine that the motor position information is invalid when the motor position information does not belong to the preset motor position information list; The second judgment submodule is used to determine whether the motor position information has undergone an abnormal change when the motor is in the running state. The second determination submodule is used to determine that the motor position information is invalid when the motor position information undergoes an abnormal jump.
9. A vehicle, characterized in that, Includes the transfer case malfunction handling device as described in claim 8.
Citation Information
Patent Citations
Gear shifting fault processing method and system of transfer case and vehicle
CN115370740A
Position encoder monitoring method and device, electronic equipment, storage medium and vehicle
CN115773773A