Visual control method for car window and skylight
By multiplexing the diagnostic functions and closed-loop control methods of the current controller, visual control of car windows and sunroofs without changing the communication matrix of the electrical architecture is achieved, solving the problem of missing functions in the existing technology and meeting user needs .
Patent Information
- Application Number
- CN202410017469.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, without changing the communication matrix of electrical appliance architecture, it is difficult to realize visual control of vehicle windows and sunroofs on the vehicle machine, resulting in lack of functions and inability to meet user needs.
By multiplexing the diagnostic functions of the current controller and adopting a closed-loop control method, visual control of car windows and sunroofs is realized through CAN bus communication without changing the communication matrix of the electrical architecture. The specific steps include sending UDS commands, activating the window or sunroof motor, reading position information and performing closed-loop control until the expected position is reached.
The function of controlling windows and sunroofs on the HMI interface of the car machine is realized, making full use of the existing electrical architecture communication matrix signals, and quickly realizes visual control of windows and sunroofs to meet user needs.
Smart Images

Figure CN119389130A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile control, and in particular to a method for visualizing and controlling vehicle windows and skylights. Background Art
[0002] The local control functions of automobiles are gradually enriched, and windows, sunroofs, seats, etc. can be visually controlled through HMI in the car computer, becoming one of the symbols of automobile intelligence.
[0003] The electrical architecture determines the functions that can be supported on the platform and also clarifies the communication matrix between the controllers. For car companies with a high degree of platformization, the adoption cycle of a generation of electrical architecture may be more than 10 years. The earlier developed electrical architecture does not have the function of controlling windows and sunroofs in the car computer.
[0004] The existing solution is to change the communication matrix of the electrical architecture to support the control functions of windows and sunroofs in the vehicle computer. However, some global OEMs would rather lose functions than easily change the communication matrix of the electrical architecture because they have to consider dozens of models in dozens of countries, which leads to the loss of functions and the failure to meet user needs.
[0005] In view of the above problems, the inventors of the present invention finally obtained the present invention after a long period of research and practice. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a method for visual control of vehicle windows and sunroofs, which reuses the current controller diagnostic function and, through closed-loop control, quickly realizes visual control of vehicle windows and sunroofs on the vehicle computer without changing the electrical architecture communication matrix.
[0007] The technical solution adopted by the present invention is:
[0008] On the one hand, a vehicle window visualization control method is provided, wherein a door controller communicates with a vehicle computer via a CAN bus, and the method comprises the following steps:
[0009] S1. The vehicle driver or passenger inputs a window action command to the vehicle computer, wherein the window action command includes expected window glass position information;
[0010] S2: After receiving the window action command, the vehicle computer sends a UDS command to the door controller, and the door controller enters the EOL mode after receiving the UDS command;
[0011] S3, the vehicle computer sends an actuator actuation command to the door controller, and the door controller actuates the window glass to move after receiving the actuator actuation command;
[0012] S4, the vehicle computer sends a command to request the vehicle window glass position information to the vehicle door controller, and the vehicle door controller sends the current vehicle window glass position information to the vehicle computer after receiving the request command;
[0013] S5, the vehicle computer determines whether the current window glass position reaches the expected window glass position based on the current window glass position information and the expected window glass position information; if not, return to step S4; if reached, execute step S6;
[0014] S6. The vehicle computer sends an actuator stop actuation command to the door controller. After receiving the stop actuation command, the door controller stops the window glass from moving.
[0015] In some implementations, the door controller and the vehicle computer are connected to the same CAN bus under the gateway.
[0016] In some implementations, the door controller, the sunroof controller, and the vehicle computer are connected to the same CAN bus under the gateway.
[0017] In some implementations, in step S1, the vehicle driver or passenger inputs a window action instruction to the vehicle computer, specifically:
[0018] The vehicle driver and passengers input the window action command through the HMI interface of the vehicle computer. The HMI interface provides action command options, including the specific opening value or opening range of the window.
[0019] In some implementations, in step S3, the door controller actuates the window glass to move after receiving the actuator actuation instruction, specifically:
[0020] After receiving the actuator actuation instruction, the door controller determines the actuator actuation direction based on the current window glass position information and the expected window glass position information, and actuates the window glass to move according to the actuation direction.
[0021] On the other hand, a sunroof visualization control method is provided, wherein the sunroof controller communicates with the vehicle computer via a CAN bus, and the method comprises the following steps:
[0022] S10, the vehicle driver or passenger inputs a sunroof action command to the vehicle computer, where the sunroof action command includes expected sunroof position information;
[0023] S20: After receiving the sunroof action command, the vehicle computer sends a UDS command to the sunroof controller, and the sunroof controller enters the EOL mode after receiving the UDS command;
[0024] S30, the vehicle computer sends an actuator actuation instruction to the sunroof controller, and the sunroof controller actuates the sunroof to move after receiving the actuator actuation instruction;
[0025] S40, the vehicle computer sends a request for sunroof position information to the sunroof controller, and the sunroof controller sends current sunroof position information to the vehicle computer after receiving the request;
[0026] S50, the vehicle computer determines whether the current sunroof position reaches the expected sunroof position based on the current sunroof position information and the expected sunroof position information; if not, the process returns to step S4; if reached, the process executes step S6;
[0027] S60: The vehicle computer sends an actuator stop actuation instruction to the sunroof controller. After receiving the stop actuation instruction, the sunroof controller stops the sunroof from moving.
[0028] In some implementations, the sunroof controller and the vehicle computer are connected to the same CAN bus under the gateway.
[0029] In some implementations, the door controller, the sunroof controller, and the vehicle computer are connected to the same CAN bus under the gateway.
[0030] In some implementations, in step S10, the vehicle driver or passenger inputs a sunroof action instruction to the vehicle computer, specifically:
[0031] The vehicle driver and passengers input the sunroof action command through the HMI interface of the vehicle computer. The HMI interface provides action command options, which include the specific opening value or opening range of the sunroof.
[0032] In some embodiments, in step S30, the sunroof controller actuates the sunroof to perform an action after receiving the actuator actuation instruction, specifically:
[0033] After receiving the actuator actuation instruction, the sunroof controller determines the actuator actuation direction based on the current sunroof position information and the expected sunroof position information, and actuates the sunroof to move according to the actuation direction.
[0034] The method of the present invention sends corresponding diagnostic instructions to the window / sunroof controller through the vehicle computer, thereby activating the window / sunroof motor, and continuously reading the position information of the windows and sunroof, and continuously performing closed-loop control, thereby achieving the function of controlling the sunroof and the windows on the HMI interface of the vehicle computer. The existing electrical architecture communication matrix signal can be fully utilized in a very short time, and the UDS diagnosis method is adopted to realize the control of the windows and sunroof by the vehicle computer. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic diagram showing a CAN line connection method of a sunroof controller, a door controller and a vehicle computer according to an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a vehicle window visualization control method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0038] The above and other technical features and advantages of the present invention are described in more detail below in conjunction with the accompanying drawings.
[0039] During the development process, the door controller and sunroof controller will reserve the function of actuator diagnosis, which is used to activate the door and sunroof motors through specific UDS (Unified Diagnostic Services) instructions, and then determine whether the actuators such as window and sunroof motors are faulty. The present invention is based on the current controller diagnosis function and quickly realizes the visual intelligent control function through closed-loop control.
[0040] Example 1
[0041] like Figure 1 As shown, a vehicle window visualization control method is provided, wherein the vehicle window refers to a liftable glass window on a vehicle side door, and the door controller communicates with the vehicle computer via a CAN bus. The method comprises the following steps:
[0042] Step 1: The vehicle driver or passenger inputs a window action command into the vehicle computer, and the window action command includes expected window glass position information; preferably, the vehicle driver or passenger inputs the window action command through the HMI interface of the vehicle computer screen, and the HMI interface provides action command options, and the action command options include specific window opening values or opening ranges.
[0043] Step 2: After receiving the window action command, the vehicle computer sends a UDS command to the door controller. After receiving the UDS command, the door controller enters the EOL (End of Line Testing) mode. EOL is a way to perform end-of-line testing on the controller quality before the car leaves the factory.
[0044] Step 3: The vehicle computer sends an actuator actuation instruction to the door controller, and the door controller actuates the window glass to move after receiving the actuator actuation instruction; preferably, after receiving the actuator actuation instruction, the door controller determines the actuator actuation direction based on the current window glass position information and the expected window glass position information, and actuates the window glass to move according to the actuation direction. Exemplarily, for example, if the current window opening is 60% and the expected window opening is 20%, the window glass moves upward. If the current window opening is 20% and the expected window opening is 90%, the window glass moves downward. It can be understood that the judgment of the actuation direction can also be performed by the vehicle computer.
[0045] Step 4: The vehicle computer sends a window glass position information request instruction to the door controller, and after receiving the request instruction, the door controller sends the current window glass position information to the vehicle computer.
[0046] Step 5: The vehicle computer determines whether the current window glass position reaches the expected window glass position based on the current window glass position information and the expected window glass position information; if the current window glass position does not reach the expected window glass position, return to step 4; if the current window glass position reaches the expected window glass position, execute step 6.
[0047] Step 6: The vehicle computer sends an actuator stop actuation command to the door controller, and the door controller stops the window glass after receiving the stop actuation command.
[0048] Preferably, the door controller and the vehicle computer are connected to the same CAN bus under the gateway, and can communicate directly without gateway forwarding.
[0049] For example, when a person controls the door opening through the HMI on the vehicle screen, for example, the current opening is 10% and the desired opening is 90%, the process is as follows:
[0050] 1. The vehicle computer sends a UDS command to the door controller, causing the door controller to enter EOL mode.
[0051] 2. The vehicle computer sends an actuator actuation command to the door controller to drive the window glass down.
[0052] 3. The vehicle computer requests the window position information from the door controller and continues to read it.
[0053] 4. When the vehicle computer obtains 90% of the window position information, the vehicle computer immediately sends a command to stop the actuator actuation.
[0054] 5. The HMI in the car computer displays that the current window opening is 90%.
[0055] The above steps can be used to open and close the car windows in the same way.
[0056] Example 2
[0057] A sunroof visualization control method is provided, wherein the sunroof controller communicates with the vehicle computer via a CAN bus, and the method comprises the following steps:
[0058] Step 1: The vehicle driver or passenger inputs a sunroof action command into the vehicle computer, and the sunroof action command includes the expected sunroof position information; preferably, the vehicle driver or passenger inputs the sunroof action command through the HMI interface of the vehicle computer screen, and the HMI interface provides action command options, and the action command options include the specific opening value or opening range of the sunroof.
[0059] Step 2: After receiving the sunroof action command, the vehicle computer sends a UDS command to the sunroof controller. After receiving the UDS command, the sunroof controller enters the EOL mode.
[0060] Step 3: The vehicle computer sends an actuator actuation instruction to the sunroof controller, and the sunroof controller actuates the sunroof to move after receiving the actuator actuation instruction; preferably, after receiving the actuator actuation instruction, the sunroof controller determines the actuator actuation direction based on the current sunroof position information and the expected sunroof position information, and actuates the sunroof to move according to the actuation direction. It is understandable that the determination of the actuation direction can also be performed by the vehicle computer.
[0061] Step 4: The vehicle computer sends a request for sunroof position information to the sunroof controller, and the sunroof controller sends the current sunroof position information to the vehicle computer after receiving the request.
[0062] Step 5: The vehicle computer determines whether the current sunroof position reaches the expected sunroof position based on the current sunroof position information and the expected sunroof position information; if the current sunroof position does not reach the expected sunroof position, return to step 4; if the current sunroof position reaches the expected sunroof position, execute step 6;
[0063] Step 6: The vehicle computer sends an actuator stop actuation command to the sunroof controller, and the sunroof stops moving.
[0064] Preferably, the sunroof controller and the vehicle computer are connected to the same CAN bus under the gateway, and can communicate directly without the need for gateway forwarding.
[0065] Example 3
[0066] like Figure 2As shown, in this embodiment, the door controller, sunroof controller and vehicle computer are connected to the same CAN bus under the gateway, and direct communication can be performed without gateway forwarding. It can be understood that, thus, the communication conditions of the window visualization control method and the sunroof visualization control method in Example 1 and Example 2 can be met, and then the corresponding diagnostic instructions can be sent to the window / sunroof controller through the vehicle computer, thereby activating the window / sunroof motor, and at the same time continuously reading the position information of the window and sunroof, and continuously performing closed-loop control, thereby achieving the function of controlling the sunroof and the window on the HMI interface of the vehicle computer. The present invention provides a method for multiplexing the current controller diagnostic function and quickly providing users with more intelligent functions through closed-loop control. This method can make full use of the existing electrical architecture communication matrix signal in a very short time, and use UDS diagnosis to realize the vehicle computer's control of the window and sunroof.
[0067] The above are only preferred embodiments of the present invention, which are only illustrative and not restrictive to the present invention. Any equivalent transformation and improvement based on the technical solution of the present invention should not be excluded from the protection scope of the present invention.
Claims
1. A vehicle window visualization control method, wherein the vehicle door controller communicates with the vehicle computer via a CAN bus, characterized in that: The method comprises the following steps: S1. The vehicle driver or passenger inputs a window action command to the vehicle computer, wherein the window action command includes expected window glass position information; S2: After receiving the window action command, the vehicle computer sends a UDS command to the door controller, and the door controller enters the EOL mode after receiving the UDS command; S3, the vehicle computer sends an actuator actuation command to the door controller, and the door controller actuates the window glass to move after receiving the actuator actuation command; S4, the vehicle computer sends a command to request the vehicle window glass position information to the vehicle door controller, and the vehicle door controller sends the current vehicle window glass position information to the vehicle computer after receiving the request command; S5, the vehicle computer determines whether the current window glass position reaches the expected window glass position based on the current window glass position information and the expected window glass position information; if not, return to step S4; if reached, execute step S6; S6. The vehicle computer sends an actuator stop actuation command to the door controller. After receiving the stop actuation command, the door controller stops the window glass from moving.
2. A vehicle window visualization control method as claimed in claim 1, characterized in that: The door controller and the vehicle computer are connected to the same CAN bus under the gateway.
3. A vehicle window visualization control method as claimed in claim 1, characterized in that: The door controller, sunroof controller and vehicle computer are connected to the same CAN bus under the gateway.
4. A vehicle window visualization control method as claimed in claim 1, characterized in that: In step S1, the vehicle driver and passenger inputs a window action instruction to the vehicle computer, specifically: The vehicle driver and passengers input the window action command through the HMI interface of the vehicle computer. The HMI interface provides action command options, including the specific opening value or opening range of the window.
5. A vehicle window visualization control method as claimed in claim 1, characterized in that: In step S3, the door controller actuates the window glass to move after receiving the actuator actuation instruction, specifically: After receiving the actuator actuation instruction, the door controller determines the actuator actuation direction based on the current window glass position information and the expected window glass position information, and actuates the window glass to move according to the actuation direction.
6. A sunroof visualization control method, wherein the sunroof controller communicates with the vehicle computer via a CAN bus, characterized in that: The method comprises the following steps: S10, the vehicle driver or passenger inputs a sunroof action command to the vehicle computer, where the sunroof action command includes expected sunroof position information; S20: After receiving the sunroof action command, the vehicle computer sends a UDS command to the sunroof controller, and the sunroof controller enters the EOL mode after receiving the UDS command; S30, the vehicle computer sends an actuator actuation instruction to the sunroof controller, and the sunroof controller actuates the sunroof to move after receiving the actuator actuation instruction; S40, the vehicle computer sends a request for sunroof position information to the sunroof controller, and the sunroof controller sends current sunroof position information to the vehicle computer after receiving the request; S50, the vehicle computer determines whether the current sunroof position reaches the expected sunroof position based on the current sunroof position information and the expected sunroof position information; if not, the process returns to step S4; if reached, the process executes step S6; S60: The vehicle computer sends an actuator stop actuation instruction to the sunroof controller. After receiving the stop actuation instruction, the sunroof controller stops the sunroof from moving.
7. A skylight visualization control method as claimed in claim 6, characterized in that: The sunroof controller and the vehicle computer are connected to the same CAN bus under the gateway.
8. A skylight visualization control method as claimed in claim 6, characterized in that: The door controller, sunroof controller and vehicle computer are connected to the same CAN bus under the gateway.
9. A skylight visualization control method as claimed in claim 6, characterized in that: In step S10, the vehicle driver and passenger inputs a sunroof action command to the vehicle computer, specifically: The vehicle driver and passengers input the sunroof action command through the HMI interface of the vehicle computer. The HMI interface provides action command options, which include the specific opening value or opening range of the sunroof.
10. The skylight visualization control method according to claim 6, characterized in that: In step S30, the sunroof controller actuates the sunroof to perform an action after receiving the actuator actuation instruction, specifically: After receiving the actuator actuation instruction, the sunroof controller determines the actuator actuation direction based on the current sunroof position information and the expected sunroof position information, and actuates the sunroof to move according to the actuation direction.