Fault diagnosis method and device of four-wheel drive system, electronic equipment and storage medium
By acquiring four-wheel drive status information and position sensor signals, identifying anomalies and recording their duration, faults are only identified at specific stages. This solves the problem of false alarms due to electromagnetic interference in the four-wheel drive system, achieving cost savings and improved user experience at the software diagnostic level.
Patent Information
- Application Number
- CN202411611752.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-10-31
AI Technical Summary
The position sensor feedback signal of the four-wheel drive system is susceptible to electromagnetic interference, which can lead to false alarms. Existing technology requires a large number of hardware shielding layers, which increases the cost of the whole vehicle.
By acquiring four-wheel drive status information and position sensor feedback signals, the system determines signal anomalies and records the duration of the anomalies. Faults are only identified when the anomaly duration exceeds a preset value and the four-wheel drive system is in the shifting or gear learning phase, thus avoiding false alarms.
It effectively avoids false alarms in the four-wheel drive system caused by electromagnetic interference, saves on hardware shielding costs, improves the software completeness of diagnostic strategies, and enhances user experience.
Smart Images

Figure CN120863520A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and in particular to a fault diagnosis method, device, electronic device, and storage medium for a four-wheel drive system. Background Technology
[0002] As people's living standards improve, users have higher demands for vehicles, leading to the development of off-road vehicles that can handle both urban commuting and outdoor adventures. These vehicles are typically equipped with a four-wheel drive system. A four-wheel drive system consists of two parts: the transfer case (actuator) and the four-wheel drive controller (controller). The four-wheel drive controller identifies the transfer case's gear position using position sensors within the transfer case.
[0003] Currently, with the development of vehicle intelligence, the number of electronic and control components in the vehicle body is increasing, their functions are becoming more sophisticated, and the interaction between these components is becoming more frequent. This interaction between electrical signals inevitably brings about electromagnetic compatibility (EMC) related interference problems. The position signals fed back by position sensors can also be affected by electromagnetic interference under certain operating conditions, causing anomalies and resulting in the illumination of the four-wheel drive system fault warning light, leading to false alarms. Summary of the Invention
[0004] This application provides a fault diagnosis method, device, electronic device, and storage medium for a four-wheel drive system to solve the problem in the prior art where the position signal fed back by the position sensor of the transfer case becomes abnormal after being subjected to electromagnetic interference, resulting in false fault reports in the four-wheel drive system.
[0005] In a first aspect, embodiments of this application provide a fault diagnosis method for a four-wheel drive system, including:
[0006] Acquire four-wheel drive status information and position signals fed back from the position sensors corresponding to the transfer case;
[0007] Determine whether the position signal is abnormal;
[0008] When the location signal becomes abnormal, the duration of the abnormality corresponding to the location signal is obtained;
[0009] When the duration of the abnormality exceeds a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase or gear learning phase, it is determined that the four-wheel drive system has malfunctioned.
[0010] Secondly, embodiments of this application also provide a fault diagnosis device for a four-wheel drive system, comprising:
[0011] The first acquisition module is used to acquire four-wheel drive status information and position signals fed back by the position sensor corresponding to the transfer case.
[0012] The first judgment module is used to determine whether the position signal is abnormal;
[0013] The second acquisition module is used to acquire the duration of the abnormality corresponding to the location signal when the location signal is abnormal;
[0014] The determination module is used to determine that the four-wheel drive system has malfunctioned when the duration of the abnormality is longer than a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage.
[0015] Thirdly, embodiments of this application also provide an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the above-described fault diagnosis method for a four-wheel drive system.
[0016] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described fault diagnosis method for a four-wheel drive system.
[0017] The embodiments of this application include at least the following technical effects:
[0018] The technical solution of this application embodiment obtains four-wheel drive status information and position signals fed back by the position sensor corresponding to the transfer case. When the position signal is abnormal and the duration of the abnormality is longer than a preset duration, and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it is determined that the four-wheel drive system has a fault. It can prevent the four-wheel drive system from reporting a fault when the position signal is briefly abnormal, thereby effectively avoiding false fault reports of the four-wheel drive system caused by electromagnetic interference. It realizes a better diagnostic strategy for the four-wheel drive system from the software diagnostic level, and also saves the cost of the hardware shielding layer to a certain extent. Attached Figure Description
[0019] Figure 1 This is a flowchart illustrating the fault diagnosis method for a four-wheel drive system provided in an embodiment of this application;
[0020] Figure 2 This is a schematic diagram of the structure of the fault diagnosis device for the four-wheel drive system provided in the embodiments of this application;
[0021] Figure 3 A block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0024] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0025] In related technologies, the four-wheel drive controller identifies the transfer case gear position through a position sensor in the transfer case to verify the current drive mode of the four-wheel drive system. The position sensor provides feedback on the current transfer case position through the voltage duty cycle; different duty cycle signal ranges correspond to different positions. For example, a duty cycle of 5% to 95% is considered a normal signal value; exceeding this range indicates a fault in the four-wheel drive system and illuminates the four-wheel drive system malfunction indicator lamp. However, with the development of vehicle intelligence, the number of electronic and electronic control components in the vehicle body is increasing, their functions are becoming more sophisticated, and the interaction between various components is becoming more frequent. The interaction between electrical signals inevitably brings electromagnetic compatibility (EMC) related interference problems. The duty cycle of the voltage used by the position sensor to characterize the transfer case position can also be affected by electromagnetic interference under certain operating conditions. Due to high-frequency pulse currents generated by other modules of the vehicle, such as electromagnetic interference generated at the moment of starting the side pedal motor, some current will be coupled to the wiring harness of the position sensor, causing the sensor power supply voltage to rise. This will affect the position sensor in sending erroneous signal values with duty cycles of less than 5% or greater than 95%, thus leading to the assumption that there is a fault in the system and causing the electric four-wheel drive system fault warning light to give a false alarm.
[0026] To address this issue, hardware modifications would require extensive hardware shielding layers, inevitably increasing overall vehicle costs. Therefore, this application provides a fault diagnosis method, device, electronic equipment, and storage medium for a four-wheel drive system. This addresses the issue of electromagnetic interference affecting position signals from position sensors in four-wheel drive systems from a software diagnostic perspective, improving the four-wheel drive diagnostic strategy, enhancing the user experience, and to some extent saving on hardware shielding layer costs.
[0027] like Figure 1 As shown in the figure, this application provides a fault diagnosis method for a four-wheel drive system, the method comprising:
[0028] Step 101: Obtain the four-wheel drive status information and the position signal fed back by the position sensor corresponding to the transfer case.
[0029] The fault diagnosis method for a four-wheel drive system provided in this application embodiment is applied to a four-wheel drive controller.
[0030] The four-wheel drive controller obtains the position signal fed back by the position sensor in the transfer case based on the connection with the position sensor. This position signal can characterize the position of the motor in the transfer case, and the four-wheel drive controller can determine the drive mode of the four-wheel drive system based on this position signal.
[0031] The four-wheel drive controller can also receive four-wheel drive shift requests triggered by the user via the four-wheel drive switch and gear learning requests triggered by the vehicle's power-on. The four-wheel drive controller can determine the four-wheel drive status information based on whether it receives these requests, indicating the current stage of the four-wheel drive system. Specifically, upon receiving a four-wheel drive shift request, the status information indicates that the four-wheel drive system is in the shifting phase; upon receiving a gear learning request, the status information indicates that the four-wheel drive system is in the gear learning phase.
[0032] In some embodiments, obtaining four-wheel drive status information can be based on whether the four-wheel drive system receives a shift request to determine the four-wheel drive status information; wherein, the shift request includes a four-wheel drive shift request triggered by the user and a gear learning request triggered by the vehicle power-on; when the shift request received by the four-wheel drive system is the four-wheel drive shift request, the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage; when the shift request received by the four-wheel drive system is the gear learning request, the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning stage.
[0033] Specifically, the four-wheel drive controller determines the drive mode based on this position signal in the following two ways.
[0034] The first scenario involves the vehicle's four-wheel drive system operating in the current drive mode. When the user needs to shift gears, a four-wheel drive shift request is triggered via the vehicle's four-wheel drive switch to the four-wheel drive controller. This request includes the target drive mode. Upon receiving the request, the four-wheel drive controller rotates the transfer case motor to switch the drive mode. Furthermore, to determine if the target drive mode has been correctly entered (i.e., whether the switch from the current drive mode to the target drive mode), the four-wheel drive controller monitors the position signal from the transfer case's position sensor while the drive motor is rotating. This monitors the motor's position within the transfer case, thus determining whether the shift is complete.
[0035] The second scenario involves the four-wheel drive controller determining the location of the four-wheel drive system and its current drive mode when the vehicle is powered on. Therefore, upon powering on, a gear learning request is sent to the four-wheel drive controller. Based on this request, the controller controls the motor in the transfer case to rotate, causing specific mechanical movements and signal changes in various components of the four-wheel drive system. It also uses position sensors to detect the location of the transfer case within the four-wheel drive system, thereby determining the position of the motor and ultimately the current drive mode of the four-wheel drive system.
[0036] Step 102: Determine whether the position signal is abnormal.
[0037] Specifically, with the development of vehicle intelligence, the number of electronic and control components in the vehicle body is increasing, their functions are becoming more sophisticated, and the interaction between these components is becoming more frequent. This interaction between electrical signals inevitably brings about electromagnetic compatibility (EMC) related interference problems. The position signal fed back by the position sensor can also be affected by electromagnetic interference under certain operating conditions. For example, the electromagnetic interference generated at the moment the side pedal motor starts, due to the high-frequency pulse current generated by other modules in the vehicle, will cause some current to couple to the position sensor wiring harness, resulting in a rise in the sensor's power supply voltage, which in turn affects the position sensor and causes it to send erroneous signal values with duty cycles exceeding the normal range.
[0038] Therefore, when the four-wheel drive controller acquires a position signal, it first determines whether the position signal is abnormal. An abnormality here refers to the duty cycle of the voltage in the position signal exceeding the normal range. If the duty cycle exceeds the normal range, it may simply be due to electromagnetic interference affecting the position signal, or it may indicate a malfunction in the four-wheel drive system.
[0039] In the specific implementation process, the step of determining whether the position signal is abnormal includes: obtaining the duty cycle corresponding to the position signal; determining whether the duty cycle is within a preset duty cycle range; when the duty cycle is within the preset duty cycle range, determining that the position signal is not abnormal; when the duty cycle is not within the preset duty cycle range, determining that the position signal is abnormal.
[0040] Specifically, after acquiring the position signal, the duty cycle corresponding to the position signal is obtained, that is, the duty cycle of the voltage signal in the position signal. Then, this duty cycle is compared with a preset duty cycle range. This preset duty cycle range can be the duty cycle range calibrated by the vehicle manufacturer before the vehicle leaves the factory based on parameters such as the transfer case characteristics of the vehicle. In this embodiment of the application, the preset duty cycle range is not specifically limited. For example, the preset duty cycle range can be 5%~95%, 10%~90%, or 5%~90%, etc.
[0041] When the duty cycle is within the preset duty cycle range, the position signal is determined to be normal; when it is outside the preset duty cycle range, the position signal is determined to be abnormal.
[0042] The above implementation process determines whether the position signal is abnormal by judging whether the duty cycle of the position signal is within the preset duty cycle range. The duty cycle detection method can identify those abnormal position signals, providing the possibility for early detection of faults, ensuring driving safety and reducing the occurrence of traffic accidents.
[0043] Step 103: When the location signal is abnormal, obtain the duration of the abnormality corresponding to the location signal.
[0044] Specifically, when an anomaly is detected in the location signal, a timer is started to determine the duration of the anomaly.
[0045] Step 104: When the duration of the abnormality is longer than the preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage, it is determined that the four-wheel drive system has malfunctioned.
[0046] Since electromagnetic interference is caused by high-frequency pulse current generated by other modules of the vehicle, some current is coupled to the wiring harness of the position sensor, causing the sensor's power supply voltage to rise. Therefore, when the high-frequency pulse current disappears, the electromagnetic interference will also disappear, and the position signal will return to normal. Therefore, if the abnormal position signal lasts for a longer than the preset duration, it indicates that the cause of the abnormal position signal is not electromagnetic interference. At this time, if the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage, it is determined that the four-wheel drive system has malfunctioned.
[0047] The preset duration here can be the duration of electromagnetic interference specified by the vehicle manufacturer before the vehicle leaves the factory. In this embodiment, the preset duration is not specifically limited. For example, the preset duration can be 1200ms, 1500ms, or 1800ms, etc.
[0048] In this embodiment, by acquiring the four-wheel drive status information and the position signal fed back by the position sensor corresponding to the transfer case, and when the position signal is abnormal and the duration of the abnormality is longer than a preset duration, and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it is determined that the four-wheel drive system has malfunctioned. It can prevent the four-wheel drive system from reporting a malfunction when the position signal is briefly abnormal, thereby effectively avoiding false malfunctions of the four-wheel drive system caused by electromagnetic interference. This realizes a better diagnostic strategy for the four-wheel drive system from the software diagnostic level, and also saves the cost of the hardware shielding layer to a certain extent.
[0049] Depending on the stage of the four-wheel drive system when determining the drive mode based on position signals from position sensors, different handling methods are needed when a fault is detected in the four-wheel drive system. In an optional embodiment of this application, after determining that the four-wheel drive system has malfunctioned, the method further includes:
[0050] When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, the four-wheel drive system malfunction indicator lamp is illuminated.
[0051] When the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning stage, an unknown gear signal is output.
[0052] In practice, when the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, the four-wheel drive malfunction indicator lamp is illuminated to alert the driver that the four-wheel drive mode switching has failed. When the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase, an unknown gear signal is output to alert the driver that the current four-wheel drive system mode is unknown.
[0053] The above-described implementation scheme employs different fault warning methods depending on the stage of the four-wheel drive system, thus avoiding driving safety issues caused by four-wheel drive system malfunctions. During gear shifting, the driver is intuitively aware of a problem with the four-wheel drive system, allowing them to take necessary safety measures, such as reducing speed or finding a safe place to park. During gear learning, by outputting an unknown gear signal, other systems on the vehicle can make corresponding adjustments based on this signal, avoiding system incoordination caused by receiving incorrect gear information. For example, if the power control system is unaware that the four-wheel drive system is in the gear learning stage and receives an inaccurate gear signal, it may incorrectly adjust the engine's output power, affecting the vehicle's normal operation.
[0054] In some embodiments, when the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, that is, when the four-wheel drive controller needs to determine whether the mode switching is successful based on the position signal fed back by the position sensor, if the position signal obtained by the four-wheel drive controller is abnormal, it will stop responding to the four-wheel drive shifting request, that is, stop executing the shifting operation. Furthermore, if the duration of the abnormal position signal is less than a preset duration, it indicates that the cause of the abnormal position signal may be electromagnetic interference, which will disappear in a short time. Therefore, if the duration of the abnormal position signal is less than the preset duration, the four-wheel drive controller will continue to respond to the four-wheel drive shifting request to complete the drive mode switching.
[0055] Since position signals are crucial for determining gear positions during gear learning, in some embodiments, when the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase—that is, when the four-wheel drive controller needs to determine the current drive mode of the four-wheel drive system based on the position signals fed back by the position sensors—if the position signal obtained by the four-wheel drive controller is abnormal, it will stop responding to the gear learning request to prevent continuing gear learning from resulting in the learning of an incorrect gear position, affecting the stability of the entire powertrain system and the accuracy of subsequent gear shifts. Furthermore, if the duration of the abnormal position signal is less than a preset duration, it indicates that the cause of the abnormal position signal may be electromagnetic interference, which will disappear within a short time. Therefore, if the duration of the abnormal position signal is less than the preset duration, the four-wheel drive controller will continue to respond to the gear learning request to determine the current drive mode of the four-wheel drive system. The above solution fully considers the short-term fluctuations in position signals, avoiding a complete halt to gear learning. Furthermore, by setting a reasonable preset duration, gear learning can be quickly resumed after a short period of position signal anomaly, allowing for faster completion of gear learning operations. This enables the vehicle's transmission or four-wheel drive system to adapt to various operating conditions, improving vehicle performance and the user's driving experience.
[0056] In an optional embodiment of this application, before determining whether the location signal is abnormal, the method further includes:
[0057] Determine whether the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase and the gear learning phase;
[0058] Determining whether the position signal is abnormal includes:
[0059] When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it is determined whether the position signal is abnormal.
[0060] In practice, when the four-wheel drive system is neither in the shifting phase nor the gear learning phase, the four-wheel drive controller may not perform fault diagnosis after receiving an abnormal position signal, and may maintain the current state until it receives a shift request. At this time, it will perform further fault diagnosis. The shift request can be a four-wheel drive shift request or a gear learning request. That is, the four-wheel drive controller will only perform fault diagnosis when the user triggers a mode switching request, or when the vehicle is powered on and off again and a gear learning request is triggered.
[0061] This application embodiment can determine whether the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or the gear learning stage before determining whether the position signal is abnormal. And when the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or the gear learning stage, it further determines whether the position signal is abnormal.
[0062] The implementation scheme described in this application first determines whether the four-wheel drive status information indicates that the four-wheel drive system is in the shifting or gear learning phase. If the four-wheel drive status information indicates that the four-wheel drive system is not in the shifting or gear learning phase, there is no need to further determine whether the position signal is abnormal. This avoids unnecessary judgments on position signal anomalies during normal operation of the four-wheel drive system, saving system computing resources and time. By focusing on position signal anomalies only when the four-wheel drive system is in the shifting or gear learning phase, problems that may affect the normal operation of the system can be detected more accurately. In non-critical phases, some small fluctuations or brief anomalies in the position signal may not have a substantial impact on the normal operation of the four-wheel drive system. If no phase distinction is made, and alarms or measures are taken for every slight anomaly in the position signal, it may lead to a large number of false alarms, confusing the driver and even causing them to ignore truly important warning information. Through this targeted monitoring, the incidence of false alarms can be effectively reduced, and the reliability and effectiveness of alarm information can be improved.
[0063] like Figure 2 As shown, this embodiment of the invention also provides a fault diagnosis device for a four-wheel drive system, the device comprising:
[0064] The first acquisition module 201 is used to acquire four-wheel drive status information and position signals fed back by the position sensor corresponding to the transfer case.
[0065] The first judgment module 202 is used to determine whether the position signal is abnormal;
[0066] The second acquisition module 203 is used to acquire the duration of the abnormality corresponding to the location signal when the location signal is abnormal;
[0067] The determination module 204 is used to determine that the four-wheel drive system has malfunctioned when the duration of the abnormality is longer than a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage.
[0068] Optionally, the judgment module includes:
[0069] The acquisition submodule is used to acquire the duty cycle corresponding to the position signal;
[0070] The judgment submodule is used to determine whether the duty cycle is within a preset duty cycle range;
[0071] The first determining submodule is used to determine that the position signal is normal when the duty cycle is within the preset duty cycle range;
[0072] The second determining submodule is used to determine that the position signal is abnormal when the duty cycle is not within the preset duty cycle range.
[0073] Optionally, after determining that the four-wheel drive system has malfunctioned, the device further includes:
[0074] The control module is used to control the four-wheel drive system malfunction indicator lamp to illuminate when the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage.
[0075] The output module is used to output a gear unknown signal when the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning stage.
[0076] Optionally, the first acquisition module includes:
[0077] The third determining submodule is used to determine the four-wheel drive status information based on whether the four-wheel drive system receives a shift request;
[0078] The shift request includes a user-triggered four-wheel drive shift request and a gear learning request triggered by vehicle power-on; when the shift request received by the four-wheel drive system is the four-wheel drive shift request, the four-wheel drive status information indicates that the four-wheel drive system is in the shift phase; when the shift request received by the four-wheel drive system is the gear learning request, the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase.
[0079] Optionally, when the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, the device further includes:
[0080] The first processing module is used to stop performing the shift operation based on the four-wheel drive shift request when the position signal is abnormal.
[0081] The first response module is used to continue responding to the four-wheel drive shift request when the duration of the abnormality corresponding to the position signal is less than the preset duration.
[0082] Optionally, when the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase, the device further includes:
[0083] The second processing module is used to stop performing the gear learning operation based on the gear learning request when the position signal is abnormal.
[0084] The second response module is used to continue responding to the gear learning request when the duration of the abnormality corresponding to the position signal is less than the preset duration.
[0085] Optionally, before determining whether the position signal is abnormal, the device further includes:
[0086] The second judgment module is used to determine whether the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage and the gear learning stage.
[0087] The first judgment module is further used for:
[0088] When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it is determined whether the position signal is abnormal.
[0089] The fault diagnosis device for the four-wheel drive system provided in this application obtains the four-wheel drive status information and the position signal fed back by the position sensor corresponding to the transfer case. When the position signal is abnormal and the duration of the abnormality is longer than a preset duration, and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it determines that the four-wheel drive system has a fault. It can not report the four-wheel drive system fault when the position signal is briefly abnormal, thereby effectively avoiding false fault reports of the four-wheel drive system caused by electromagnetic interference. It realizes the improvement of the four-wheel drive system diagnosis strategy from the software diagnosis level, and also saves the cost of hardware shielding layer to a certain extent.
[0090] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0091] This application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described four-wheel drive system fault diagnosis method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0092] For example, Figure 3 A schematic diagram of the physical structure of an electronic device is shown. (For example...) Figure 3As shown, the electronic device may include a processor 310, a communication interface 320, a memory 330, and a communication bus 340. The processor 310, communication interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions stored in the memory 330. The processor 310 is used to execute the following steps: acquiring four-wheel drive status information and position signals fed back by the position sensors corresponding to the transfer case; determining whether the position signals are abnormal; when the position signals are abnormal, acquiring the duration of the abnormality corresponding to the position signals; when the duration of the abnormality is greater than a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in a shifting phase or a gear learning phase, determining that the four-wheel drive system has malfunctioned. The processor 310 can also execute other schemes in the embodiments of this application, which will not be further described here.
[0093] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0094] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described four-wheel drive system fault diagnosis method embodiment and achieves the same technical effect. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0095] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0096] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0097] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0098] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled 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 this application.
[0099] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0100] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0101] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0102] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0103] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0104] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A fault diagnosis method for a four-wheel drive system, characterized in that, The method includes: Acquire four-wheel drive status information and position signals fed back from the position sensors corresponding to the transfer case; Determine whether the position signal is abnormal; When the location signal becomes abnormal, the duration of the abnormality corresponding to the location signal is obtained; When the duration of the abnormality exceeds a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase or gear learning phase, it is determined that the four-wheel drive system has malfunctioned.
2. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, Determining whether the position signal is abnormal includes: Obtain the duty cycle corresponding to the position signal; Determine whether the duty cycle is within a preset duty cycle range; When the duty cycle is within the preset duty cycle range, it is determined that the position signal is normal; When the duty cycle is not within the preset duty cycle range, the position signal is determined to be abnormal.
3. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, After determining that the four-wheel drive system has malfunctioned, the method further includes: When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, the four-wheel drive system malfunction indicator lamp is illuminated. When the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning stage, an unknown gear signal is output.
4. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, Obtain four-wheel drive status information, including: The four-wheel drive status information is determined based on whether the four-wheel drive system receives a shift request. The shift request includes a user-triggered four-wheel drive shift request and a gear learning request triggered by vehicle power-on; when the shift request received by the four-wheel drive system is the four-wheel drive shift request, the four-wheel drive status information indicates that the four-wheel drive system is in the shift phase; when the shift request received by the four-wheel drive system is the gear learning request, the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase.
5. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase, the method further includes: When the position signal is abnormal, stop performing the shift operation based on the four-wheel drive shift request; If the duration of the abnormality corresponding to the position signal is less than the preset duration, continue to respond to the four-wheel drive shift request.
6. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, When the four-wheel drive status information indicates that the four-wheel drive system is in the gear learning phase, the method further includes: When the position signal is abnormal, stop performing the gear learning operation based on the gear learning request; If the duration of the anomaly corresponding to the position signal is less than the preset duration, continue to respond to the gear learning request.
7. The fault diagnosis method for a four-wheel drive system according to claim 1, characterized in that, Before determining whether the location signal is abnormal, the method further includes: Determine whether the four-wheel drive status information indicates that the four-wheel drive system is in the shifting phase and the gear learning phase; Determining whether the position signal is abnormal includes: When the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage or gear learning stage, it is determined whether the position signal is abnormal.
8. A fault diagnosis device for a four-wheel drive system, characterized in that, include: The first acquisition module is used to acquire four-wheel drive status information and position signals fed back by the position sensor corresponding to the transfer case. The first judgment module is used to determine whether the position signal is abnormal; The second acquisition module is used to acquire the duration of the abnormality corresponding to the location signal when the location signal is abnormal; The determination module is used to determine that the four-wheel drive system has malfunctioned when the duration of the abnormality is longer than a preset duration and the four-wheel drive status information indicates that the four-wheel drive system is in the shifting stage.
9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the fault diagnosis method for a four-wheel drive system as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the fault diagnosis method for a four-wheel drive system as described in any one of claims 1 to 7.
