Communication Fault Handling Method, System and Storage Medium for Automobile Sunroof
By automatically detecting fault information in the automotive sunroof controller and analyzing the fault types of the LAN subsystem, the problems of cumbersome operation and high maintenance costs in the existing technology are solved, and the effect of simplifying operation and reducing maintenance costs is achieved.
Patent Information
- Application Number
- CN202310194945.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2043-02-28
AI Technical Summary
The communication fault detection method of existing car sunroofs is cumbersome, resulting in high maintenance costs and affecting user experience.
The method of automatically detecting fault information in the sunroof controller includes determining communication failures in the LAN subsystem, obtaining the sunroof glass status, and analyzing the fault type according to the sunshade and glass status, simplifying the operation process.
It realizes automatic detection of communication fault information of car sunroof, simplifies the operation process, reduces maintenance costs, and improves user experience.
Smart Images

Figure CN116142113B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobiles, and in particular to a method, a system and a storage medium for processing communication faults of an automobile sunroof. Background Art
[0002] Currently, vehicles generally adopt a panoramic sunroof design, and the closing or opening of the panoramic sunroof is fully automatic. Therefore, when a communication fault occurs in the sunroof, the sunroof glass cannot be normally closed or opened, thus affecting the user experience. In the current detection methods for LIN communication faults of the sunroof, the inspection steps are relatively numerous, resulting in frequent operations and high maintenance costs. Summary of the Invention
[0003] The present invention aims to at least solve one of the technical problems existing in the prior art. For this purpose, the present invention provides a method, a system and a storage medium for processing communication faults of an automobile sunroof, which can automatically detect fault information and simplify the operation process.
[0004] On the one hand, an embodiment of the present invention provides a method for processing communication faults of an automobile sunroof, which is applied to a sunroof controller. The method includes the following steps:
[0005] Determine that a communication fault occurs in the local area network subsystem of the automobile sunroof, and obtain the state of the first sunroof glass;
[0006] When it is determined that the sunroof glass is fully closed according to the state of the first sunroof glass, obtain the long-press signal of the sunroof glass opening button as the first signal;
[0007] Obtain the state of the first sunroof sunshade and the state of the second sunroof glass according to the first signal;
[0008] Analyze the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass. The fault type includes an external local area network subsystem fault and an internal local area network subsystem fault.
[0009] In some embodiments, the analyzing the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass includes:
[0010] When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is fully closed, determine that both the external local area network subsystem and the internal local area network subsystem have failed;
[0011] When the state of the first sunroof sunshade is half-closed and the state of the second sunroof glass is half-closed, determine that the external local area network subsystem has failed and the internal local area network subsystem is normal;
[0012] When the first sunroof blind is in the fully closed state and the second sunroof glass is in the half-closed state, it is determined that the external local area network subsystem is normal and the internal local area network subsystem has a fault.
[0013] In some embodiments, the method further includes the following steps:
[0014] Determine that there is a communication fault in the local area network subsystem of the vehicle sunroof, and control the indicator light to execute the first display state;
[0015] Wherein, the sunroof controller includes a glass controller and a sunshade blind controller, the indicator light is connected to the glass controller, the glass controller is connected to the body control module through the external local area network subsystem, and the glass controller is connected to the sunshade blind controller through the internal local area network subsystem.
[0016] In some embodiments, the method further includes the following steps:
[0017] When it is determined according to the state of the first sunroof glass that the sunroof glass is not fully closed, control the indicator light to execute the second display state, and obtain a jog close signal of the sunroof glass, where the jog close signal of the sunroof glass is used to indicate closing the sunroof glass.
[0018] In some embodiments, the indicator light includes a plurality of light-emitting diodes, and the display state of each light-emitting diode corresponds to each fault type.
[0019] In some embodiments, the plurality of light-emitting diodes include a first diode, a second diode, and a third diode. The anodes of the first diode, the second diode, and the third diode are all connected to the output terminal of the glass controller, and the cathodes of the first diode, the second diode, and the third diode are grounded through resistors.
[0020] On the other hand, an embodiment of the present invention provides a communication fault processing system for a vehicle sunroof. The system is applied to a sunroof controller, and the system includes:
[0021] A first module, configured to determine that there is a communication fault in the local area network subsystem of the vehicle sunroof and obtain the state of the first sunroof glass;
[0022] A second module, configured to obtain a long-press signal of the sunroof glass opening button as a first signal when it is determined according to the state of the first sunroof glass that the sunroof glass is fully closed;
[0023] A third module, configured to obtain the state of the first sunroof blind and the state of the second sunroof glass according to the first signal;
[0024] The fourth module is configured to analyze the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass, where the fault type includes an external local area network subsystem fault and an internal local area network subsystem fault.
[0025] In some embodiments, the analyzing the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass includes:
[0026] When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is fully closed, it is determined that both the external local area network subsystem and the internal local area network subsystem have failed;
[0027] When the state of the first sunroof sunshade is half-closed and the state of the second sunroof glass is half-closed, it is determined that the external local area network subsystem has failed and the internal local area network subsystem is normal;
[0028] When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is half-closed, it is determined that the external local area network subsystem is normal and the internal local area network subsystem has failed.
[0029] On the other hand, an embodiment of the present invention provides a communication fault handling system for an automotive sunroof, including:
[0030] At least one memory for storing a program;
[0031] At least one processor for loading the program to execute the communication fault handling method for the automotive sunroof.
[0032] On the other hand, an embodiment of the present invention provides a storage medium storing a computer-executable program, where the computer-executable program, when executed by a processor, is used to implement the communication fault handling method for the automotive sunroof.
[0033] An embodiment of the present invention provides a communication fault handling method for an automotive sunroof, which has the following beneficial effects:
[0034] In this embodiment, when a communication fault occurs in the local area network subsystem of the automotive sunroof, after the sunroof glass opening button is controlled to perform a long-press action according to the state of the first sunroof glass, the state of the first sunroof sunshade and the state of the second sunroof glass are obtained, and then the fault type of the local area network subsystem is analyzed according to the state of the first sunroof sunshade and the state of the second sunroof glass, so that the communication fault information of the automotive sunroof can be effectively obtained while simplifying the operation process.
[0035] The additional aspects and advantages of the present invention will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the present invention. Brief Description of the Drawings
[0036] The present invention will be further described below in conjunction with the drawings and embodiments, where:
[0037] Figure 1 is a flowchart of a communication fault handling method for a vehicle sunroof according to an embodiment of the present invention;
[0038] Figure 2 is a schematic diagram of a vehicle sunroof fault type according to an embodiment of the present invention;
[0039] Figure 3 is another schematic diagram of a vehicle sunroof fault type according to an embodiment of the present invention;
[0040] Figure 4 is another schematic diagram of a vehicle sunroof fault type according to an embodiment of the present invention;
[0041] Figure 5 is a schematic diagram of a control structure of a sunroof glass and a sunshade curtain according to an embodiment of the present invention;
[0042] Figure 6 is a flowchart of a communication fault detection according to an embodiment of the present invention;
[0043] Figure 7 is another schematic diagram of a control structure of a sunroof glass and a sunshade curtain according to an embodiment of the present invention. Detailed Description of the Embodiments
[0044] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are only used to explain the present invention and should not be construed as a limitation of the present invention.
[0045] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by terms such as up, down, front, back, left, right, etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention.
[0046] In the description of the present invention, the meaning of several is more than one, the meaning of multiple is more than two, greater than, less than, exceeding, etc. are understood as not including the number itself, and above, below, within, etc. are understood as including the number itself. If there is a description of first and second, it is only for the purpose of distinguishing technical features and should not be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.
[0047] In the description of the present invention, unless otherwise clearly defined, terms such as "setting", "installation", "connection", etc. should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.
[0048] In the description of the present invention, the description with reference to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0049] Referring to Figure 1 , an embodiment of the present invention provides a method for handling communication faults of an automotive sunroof, and this method is applied to a sunroof controller. During the application process, this method includes but is not limited to the following steps:
[0050] Step S110: Determine that a communication fault occurs in the local area network subsystem of the automotive sunroof, and obtain the state of the first sunroof glass;
[0051] Step S120: When it is determined that the sunroof glass is fully closed according to the state of the first sunroof glass, obtain the long-press signal of the sunroof glass opening button as the first signal;
[0052] Step S130: Obtain the state of the first sunroof sunshade and the state of the second sunroof glass according to the first signal;
[0053] Step S140: Analyze the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass, where the fault type includes an external local area network subsystem fault and an internal local area network subsystem fault.
[0054] In the embodiment of the present application, a target fault execution program can be preset in the sunroof controller, and the states of the sunroof and the sunshade corresponding to different fault types are set in this program. Specifically, when analyzing the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass, in combination with the preset state correspondence relationship, the judgment process can be executed through the following steps:
[0055] When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is fully closed, it is determined that both the external local area network subsystem and the internal local area network subsystem have failed;
[0056] When the first sunroof sunshade is in the semi-closed state and the second sunroof glass is in the semi-closed state, it is determined that the external local area network subsystem has a fault and the internal local area network subsystem is normal;
[0057] When the first sunroof sunshade is in the fully closed state and the second sunroof glass is in the semi-closed state, it is determined that the external local area network subsystem is normal and the internal local area network subsystem has a fault.
[0058] It can be understood that, in combination with the judgment process of this embodiment, the corresponding fault types can be represented by Table 1:
[0059] Table 1
[0060]
[0061] For the corresponding fault types in Table 1, when it is found during the detection process that as Figure 2 shown, when both the sunroof sunshade 220 and the sunroof glass 210 are in the fully closed state, it can be determined that both local area network subsystems (Local Interconnect Network, LIN) are in a fault state. When it is found during the detection process that as Figure 3 shown, when both the sunroof sunshade 220 and the sunroof glass 210 are in the semi-closed state, it can be determined that the external local area network subsystem in the LIN has a fault but the internal local area network subsystem is normal. When it is found during the detection process that as Figure 4 shown, when the sunroof sunshade 220 is in the fully closed state and the sunroof glass 210 is in the semi-closed state, it can be determined that the external local area network subsystem in the LIN is in a normal state but the internal local area network subsystem is in a fault state.
[0062] In the embodiment of the present application, when it is determined that there is a communication fault in the local area network subsystem of the vehicle sunroof, the control indicator light executes the first display state; when it is determined according to the state of the first sunroof glass that the sunroof glass is not fully closed, the control indicator light executes the second display state, and a jog-close signal for the sunroof glass is obtained; wherein, the jog-close signal for the sunroof glass is used to indicate closing the sunroof glass. Specifically, the sunroof controller in this embodiment includes a glass controller and a sunshade controller. Specifically, as Figure 5As shown, the glass controller is provided with a communication failure standby action interface, a LIN communication failure signal output terminal, and a communication failure warning light terminal. Moreover, the glass controller is connected to the body control module through an external local area network subsystem, and the glass controller is connected to the sunshade controller through an internal local area network subsystem. The indicator light is connected to the communication failure warning light terminal of the glass controller. In this embodiment, when the glass controller internally detects an external LIN or internal LIN communication failure, through an internal program, the glass controller and the sunshade controller will be determined to be in the "communication failure mode". At this time, a high-level signal is output at the "LIN communication failure signal output" interface, the collector and emitter of the triode are turned on, the relay is attracted, and at the same time, a high-level signal is given to the "communication failure standby action interface of the glass controller", and the "communication failure standby action mode" is started inside the glass controller. At the same time, a high-level signal is output at the "communication failure warning light output", and the light-emitting diode is turned on to emit light to remind the user that the sunroof is in the communication failure mode.
[0063] When entering the "communication failure standby action" mode, as Figure 6 shown, first, it is detected whether the sunroof glass is in the fully closed state. If the glass is not fully closed, the fault warning light flashes to remind the user that there is a communication failure in the sunroof system, and the sunroof is closed by operating the sunroof glass closing button; if the sunroof glass is fully closed, the fault warning light is on constantly to remind the user that there is a communication failure in the sunroof system and do not open it again. Next, the sunroof system will start the "communication failure detection" mode.
[0064] When entering the "communication failure detection" mode, as Figure 6 shown, first, it is necessary to long-press the sunroof glass opening button. At this time, the system detects the long-press action of the glass opening button. The sunroof system controller will judge whether the external LIN communication is faulty. If the external LIN communication is normal, the system internally determines it as fault mode C in Table 1. At this time, the sunroof performs Figure 4 the actions shown, the sunroof glass opens to the halfway position, the sunshade does not open, and the warning light flashes. If the external LIN communication is faulty, the system then judges whether the internal LIN communication is faulty. If the internal LIN communication is normal, the system internally determines it as fault mode B in Table 1. At this time, the sunroof performs Figure 3 the actions shown, the glass opens fully, the sunshade opens fully, and the warning light flashes. If the internal LIN communication is faulty, the system internally determines it as fault mode A in Table 1. At this time, the sunroof performs Figure 2 the actions shown, neither the sunroof glass nor the sunshade opens, and the warning light is on constantly.
[0065] In the embodiment of the present application, for different fault types, corresponding fault types can be displayed by setting multiple light-emitting diodes. Specifically, as Figure 7As shown in the figure, multiple light-emitting diodes include a first diode D1, a second diode D2, and a third diode D3. The anodes of the first diode D1, the second diode D2, and the third diode D3 are all connected to the output terminal of the glass controller, and the cathodes of the first diode D1, the second diode D2, and the third diode D3 are grounded through a resistor R. In this embodiment, by setting multiple light-emitting diodes corresponding to different fault types, the effect of classifying and judging the skylight communication fault is achieved, and the process of judging the classification by saving the skylight operation situation and the warning light situation is saved.
[0066] In summary, the embodiment of the present application provides a skylight communication fault reminder function for users. When a communication fault occurs, the skylight glass can take an emergency closing measure to avoid the risk of vehicle damage caused by external foreign objects, rain, and dust entering the vehicle in the case of a communication fault. And by controlling the internal program to add a communication fault self-check mode, maintenance personnel can, without using an OBD detection tool to read the fault code, achieve the effect of detecting the communication fault through the skylight actuation action and the warning light flashing situation, thereby improving the skylight fault detection and maintenance efficiency.
[0067] An embodiment of the present invention provides a communication fault processing system for an automotive skylight. The system is applied to a skylight controller and includes:
[0068] A first module for determining that a communication fault occurs in the local area network subsystem of the automotive skylight and obtaining the state of the first skylight glass;
[0069] A second module for, when it is determined that the skylight glass is fully closed according to the state of the first skylight glass, obtaining the long-press signal of the skylight glass opening button as a first signal;
[0070] A third module for obtaining the state of the first skylight sunshade and the state of the second skylight glass according to the first signal;
[0071] A fourth module for analyzing the fault type of the local area network subsystem according to the state of the first skylight sunshade and the state of the second skylight glass, wherein the fault type includes an external local area network subsystem fault and an internal local area network subsystem fault.
[0072] In the embodiment of the present application, when analyzing the fault type of the local area network subsystem according to the state of the first skylight sunshade and the state of the second skylight glass, it can be realized through the following steps:
[0073] When the state of the first skylight sunshade is fully closed and the state of the second skylight glass is fully closed, it is determined that both the external local area network subsystem and the internal local area network subsystem have failed;
[0074] When the state of the first skylight sunshade is half-closed and the state of the second skylight glass is half-closed, it is determined that the external local area network subsystem has failed and the internal local area network subsystem is normal;
[0075] When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is semi-closed, it is determined that the local area network subsystem is normal and the internal local area network subsystem has a fault.
[0076] The content of the method embodiments of the present invention is applicable to the system embodiments of the present invention. The functions specifically implemented by the system embodiments of the present invention are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method.
[0077] An embodiment of the present invention provides a communication fault handling system for an automotive sunroof, including:
[0078] At least one memory for storing a program;
[0079] At least one processor for loading the program to execute Figure 1 The communication fault handling method for the automotive sunroof as shown.
[0080] The content of the method embodiments of the present invention is applicable to the system embodiments of the present invention. The functions specifically implemented by the system embodiments of the present invention are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method.
[0081] An embodiment of the present invention provides a storage medium, in which a computer-executable program is stored. When the computer-executable program is executed by a processor, it is used to implement Figure 1 The communication fault handling method for the automotive sunroof as shown.
[0082] The content of the method embodiments of the present invention is applicable to the storage medium embodiments of the present invention. The functions specifically implemented by the storage medium embodiments of the present invention are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method.
[0083] In addition, an embodiment of the present invention further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The communication fault handling method for the automotive sunroof as shown.
[0084] The above has described the embodiments of the present invention in detail with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made without departing from the spirit of the present invention within the knowledge scope of those of ordinary skill in the art. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
Claims
1. A method for handling communication faults of a vehicle sunroof, characterized in that, The method is applied to a sunroof controller, and the method includes the following steps: Determine that a communication failure occurs in the local area network subsystem of the vehicle sunroof, and obtain the state of the first sunroof glass; When it is determined that the sunroof glass is fully closed according to the state of the first sunroof glass, obtain the long-press signal of the sunroof glass opening button as the first signal; Obtain the state of the first sunroof sunshade and the state of the second sunroof glass according to the first signal; Analyze the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass, and the fault type includes an external local area network subsystem fault and an internal local area network subsystem fault; Among them, the analyzing the fault type of the local area network subsystem according to the state of the first sunroof sunshade and the state of the second sunroof glass includes: When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is fully closed, determine that both the external local area network subsystem and the internal local area network subsystem have failed; When the state of the first sunroof sunshade is half-closed and the state of the second sunroof glass is half-closed, determine that the external local area network subsystem has failed and the internal local area network subsystem is normal; When the state of the first sunroof sunshade is fully closed and the state of the second sunroof glass is half-closed, determine that the external local area network subsystem is normal and the internal local area network subsystem has failed.
2. The communication fault handling method for an automotive sunroof according to claim 1, characterized in that, The method further includes the following steps: Determine that a communication failure occurs in the local area network subsystem of the vehicle sunroof, and control the indicator light to execute a first display state; Among them, the sunroof controller includes a glass controller and a sunshade controller, the indicator light is connected to the glass controller, the glass controller is connected to the body control module through the external local area network subsystem, and the glass controller is connected to the sunshade controller through the internal local area network subsystem.
3. The communication fault handling method of an automotive sunroof according to claim 2, characterized in that, The method further includes the following steps: When it is determined that the sunroof glass is not fully closed according to the state of the first sunroof glass, control the indicator light to execute a second display state, and obtain a jog-close signal of the sunroof glass, where the jog-close signal of the sunroof glass is used to indicate closing the sunroof glass.
4. A communication fault handling method for an automotive sunroof according to claim 2, characterized in that, The indicator light includes a plurality of light-emitting diodes, and the display state of each light-emitting diode corresponds to each fault type.
5. The communication fault handling method of an automotive sunroof according to claim 4, characterized in that, The plurality of light-emitting diodes include a first diode, a second diode, and a third diode. The anodes of the first diode, the second diode, and the third diode are all connected to the output end of the glass controller, and the cathodes of the first diode, the second diode, and the third diode are grounded through resistors.
6. A communication fault handling system for a vehicle sunroof, characterized in that, The system is applied to a sunroof controller, and the system includes: A first module, configured to determine that a communication failure occurs in the local area network subsystem of the vehicle sunroof, and obtain the state of the first sunroof glass; A second module, configured to obtain the long-press signal of the sunroof glass opening button as the first signal when it is determined that the sunroof glass is fully closed according to the state of the first sunroof glass; A third module, configured to obtain the state of the first sunroof sunshade and the state of the second sunroof glass according to the first signal; The fourth module is configured to analyze the fault type of the local area network subsystem according to the first sunroof sunshade state and the second sunroof glass state, where the fault type includes an external local area network subsystem fault and an internal local area network subsystem fault; Among them, the analyzing the fault type of the local area network subsystem according to the first sunroof sunshade state and the second sunroof glass state includes: When the first sunroof sunshade state is fully closed and the second sunroof glass state is fully closed, it is determined that both the external local area network subsystem and the internal local area network subsystem have failed; When the first sunroof sunshade state is half-closed and the second sunroof glass state is half-closed, it is determined that the external local area network subsystem has failed and the internal local area network subsystem is normal; When the first sunroof sunshade state is fully closed and the second sunroof glass state is half-closed, it is determined that the external local area network subsystem is normal and the internal local area network subsystem has failed.
7. A communication fault handling system for a vehicle sunroof, characterized in that, Including: At least one memory for storing programs; At least one processor for loading the program to execute the communication fault handling method of the vehicle sunroof according to any one of claims 1-5.
8. A storage medium, characterized in that, Wherein there is stored a computer-executable program, and when the computer-executable program is executed by the processor, it is used to implement the communication fault handling method of the vehicle sunroof according to any one of claims 1-5.
Citation Information
Patent Citations
Device and method for controlling skylight of vehicle
CN106627064A
Method and system for detecting relay faults
CN106772013A