Device for testing function stability of electric air window of vehicle air conditioner
The testing device, consisting of a host computer, a CAN/LIN analyzer, and a camera, solved the problem of insufficient system-level stability in the testing of electric windshield functions, and achieved efficient and accurate fully automated testing, ensuring the stability assessment of electric windshield functions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SAIC GM WULING AUTOMOBILE CO LTD
- Filing Date
- 2025-12-30
- Publication Date
- 2026-05-05
AI Technical Summary
In existing technologies, the testing of vehicle air conditioning electric window functions lacks system-level functional stability testing, resulting in component-level tests passing but vehicle-level tests having compatibility issues. Manual testing is time-consuming and labor-intensive, and it is difficult to ensure the completeness and consistency of test coverage, leading to inaccurate data recording and result judgment.
The test device, consisting of a host computer, a CAN analyzer, a LIN analyzer, and a camera, simulates user operations through ADB sliding commands, monitors CAN and LIN bus messages, and calculates the electric window blade angle in real time using image recognition algorithms to achieve system-level functional stability testing.
It has achieved fully automated testing of the electric window function, which has improved testing efficiency and accuracy, covered a variety of working conditions, ensured the accuracy and reliability of link stability assessment, and simplified data management.
Smart Images

Figure CN121979172A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent connected vehicles, and in particular to a device for testing the stability of the electric windshield function of a vehicle's air conditioning system. Background Technology
[0002] With the increasing popularity of intelligent connected vehicles, the application of electric windshield functions that control air conditioning vents via the vehicle's infotainment interface is becoming more and more widespread. Unlike the manual adjustment of airflow direction in traditional mechanical air conditioning vents, electric windshields allow for one-click preset airflow direction settings (such as directing airflow towards people) via the vehicle's infotainment interface. Users can also precisely adjust the airflow direction through stepless adjustment via the interface. As a crucial function of the automotive air conditioning system, the electric windshield function plays a vital role in improving the comfort of using the air conditioning.
[0003] The implementation of the electric windshield function involves a complex interaction chain from the intelligent connected vehicle system to the air conditioning controller, then to the electric windshield controller, and finally to the electric windshield motor and fan blades. Currently, testing of the electric windshield function faces the following disadvantages: First, there is a lack of system-level functional testing. Current testing mainly focuses on individual testing of each component in the control chain and vehicle-level testing. It has failed to achieve system-level functional stability testing of the chain subsystems. There may be cases where component-level testing passes but functional stability is abnormal due to compatibility or bus communication issues. Vehicle-level testing, on the other hand, suffers from node lag and high vehicle manufacturing costs.
[0004] Secondly, traditional vehicle-level functional stability testing is usually conducted manually, which is time-consuming and labor-intensive, and makes it difficult to ensure the completeness and consistency of the test coverage. Third, the data recording and result judgment are inaccurate, and manual testing cannot accurately confirm the function implementation. For example, if the tester controls a certain electric windshield on the driver's side to blow air at a 45-degree upward angle, it is difficult for the tester to judge whether the electric windshield is blowing air at an accurate 45-degree upward angle, and therefore it is impossible to judge whether the electric windshield function is normal.
[0005] Therefore, the technical problems to be solved by the embodiments of the present invention include at least the lack of system-level functional testing for the stability testing of the electric windshield function of vehicle air conditioning. Summary of the Invention
[0006] In view of this, embodiments of the present invention provide a vehicle air conditioning electric window function stability testing device, which can provide system-level functional testing for vehicle air conditioning electric window function stability testing.
[0007] In a first aspect, embodiments of the present invention provide a vehicle air conditioning electric windshield function stability testing device, comprising: a host computer, a Controller Area Network (CAN) analyzer (also referred to herein as a CAN bus analyzer), a Local Interconnect Network (LIN) analyzer (also referred to herein as a LIN bus analyzer), and a camera; The host computer is electrically connected to the CAN analyzer, the LIN analyzer, and the camera. The host computer is used to connect to the vehicle's infotainment system. The vehicle infotainment system and the air conditioning controller are electrically connected; the air conditioning controller is also electrically connected to the electric window controller, and the electric window controller is also electrically connected to the electric window motor. When the electric window motor rotates, it drives the electric window fan blades to rotate. The CAN analyzer is used to electrically connect to the vehicle's infotainment system and the air conditioning controller. The LIN analyzer is used to be electrically connected to the air conditioner controller and the electric window controller; The camera is positioned to capture images of the motorized window sash blades.
[0008] Optionally, it also includes: a programmable power supply for electrically connecting to the vehicle infotainment system and providing power to the vehicle infotainment system.
[0009] Optionally, it also includes: an acrylic sheet box for covering the motorized fan blades and the camera.
[0010] Optionally, the host computer is used to: send Android Debug Bridge (ADB) sliding instructions to the vehicle system, wherein the ADB sliding instructions include a custom sliding speed and target angle, so that the vehicle system can simulate a human hand to perform a sliding operation on the windshield direction adjustment control on the screen and generate a CAN message according to the ADB sliding instructions.
[0011] Optionally, the CAN analyzer is used to monitor the CAN link between the vehicle unit and the air conditioning controller, obtain the CAN message (also referred to as CAN bus message) sent by the vehicle unit to the air conditioning controller, and upload the CAN message to the host computer.
[0012] Optionally, the host computer is also used to: determine whether the first angle in the CAN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
[0013] Optionally, the LIN analyzer is used to monitor the LIN link between the air conditioner controller and the electric window controller, obtain the LIN messages (also referred to as LIN bus messages) sent by the air conditioner controller to the electric window controller, and upload the LIN messages to the host computer.
[0014] Optionally, the host computer is further configured to: if it is determined that the first angle in the CAN message is consistent with the target angle, determine whether the second angle in the LIN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
[0015] Optionally, the camera is used to: capture images of the swinging motion of the electric window blades and upload the swinging images to the host computer.
[0016] Optionally, the host computer is also used for: If it is determined that the second angle in the LIN message is consistent with the target angle, the actual angle of the electric window fan blade is calculated by the image recognition algorithm based on the swing image. Determine whether the electric window fan blades are swinging in place based on the actual angle and the target angle; If it is determined that the electric window sash blades have swung into position, the operation of sending the ADB sliding command to the vehicle system continues. If it is determined that the electric window fan blades are not swinging properly, record the information in the log, save the swing photos, stop the test, and trigger an alarm.
[0017] The technical solution of the vehicle air conditioning electric window function stability testing device provided in this embodiment of the invention includes: a host computer, a CAN analyzer, a LIN analyzer, and a camera; the host computer is electrically connected to the CAN analyzer, the LIN analyzer, and the camera; the host computer is used to electrically connect to the vehicle's infotainment system; the infotainment system is electrically connected to the air conditioning controller; the air conditioning controller is also electrically connected to the electric window controller, and the electric window controller is also electrically connected to the electric window motor, which drives the electric window blades to rotate when it rotates; the CAN analyzer is used to electrically connect to the infotainment system and the air conditioning controller; the LIN analyzer is used to electrically connect to the air conditioning controller and the electric window controller; the camera is positioned to capture images of the electric window blades, providing system-level functional testing for the vehicle air conditioning electric window function stability testing. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of a vehicle air conditioning electric window function stability testing device provided in an embodiment of the present invention; Figure 2This is a flowchart illustrating a method for testing the stability of a vehicle's electric air conditioning window function, as provided in an embodiment of the present invention. Detailed Implementation
[0019] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0020] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0021] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0022] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0023] Figure 1 This is a schematic diagram of a vehicle air conditioning electric window function stability testing device provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the device includes: a host computer, a CAN analyzer, a LIN analyzer, and a camera.
[0024] The host computer is electrically connected to the CAN analyzer, LIN analyzer, and camera.
[0025] In this embodiment of the invention, the host computer can be a computer.
[0026] For example, such as Figure 1 As shown, the host computer is electrically connected to the CAN analyzer and LIN analyzer via a Universal Serial Bus (USB) cable, and electrically connected to the camera via a high-speed network cable.
[0027] The host computer is used for electrical connection with the vehicle's infotainment system.
[0028] like Figure 1 As shown, the host computer is electrically connected to the vehicle's infotainment system via a USB cable.
[0029] Among them, such as Figure 1As shown, the vehicle's infotainment system and air conditioning controller are electrically connected; the air conditioning controller is also electrically connected to the electric window controller, which is also electrically connected to the electric window motor (also referred to as a stepper motor in this article). When the electric window motor rotates, it drives the electric window fan blades (also referred to as fan blades or blades in this article) to rotate.
[0030] A CAN analyzer is used for electrical connection to the vehicle's infotainment system and air conditioning controller. For example... Figure 1 As shown, the vehicle infotainment system and the air conditioning controller are electrically connected via a CAN bus, and the CAN analyzer is electrically connected to the vehicle infotainment system and the air conditioning controller via the CAN bus.
[0031] The LIN analyzer is used for electrical connection to air conditioning controllers and electric window controllers. For example... Figure 1 As shown, the air conditioning controller and the electric window controller are electrically connected via a LIN bus, and the LIN analyzer is electrically connected to the air conditioning controller and the electric window controller via a LIN bus.
[0032] The camera is positioned to capture images of the motorized window sash blades.
[0033] like Figure 1 As shown, the device also includes a programmable power supply for electrically connecting to the vehicle's infotainment system and providing power to the system. In this embodiment, the programmable power supply provides 15V and 30V power to the intelligent connected vehicle infotainment system, the air conditioning controller, and the electric windshield.
[0034] like Figure 1 As shown, the device also includes an acrylic sheet box for covering the motorized window fan blades and the camera. This embodiment of the invention uses an acrylic sheet box to cover the motorized window fan, fan blades, and camera, reducing interference from ambient light.
[0035] In this embodiment of the invention, the host computer is used to: send ADB sliding commands to the vehicle system. The ADB sliding commands include a custom sliding speed and a target angle, so that the vehicle system can simulate a human hand performing a sliding operation on the windshield direction adjustment control on the screen and generate a CAN message according to the ADB sliding commands.
[0036] The host computer connects to the intelligent connected vehicle system via USB cable and controls the system using ADB sliding commands to simulate user sliding and clicking operations. By clicking or sliding the electric air vents on the air conditioning control interface, users can set the airflow mode of the electric windows with a single click or adjust it steplessly. Furthermore, the airflow direction of the electric windows can be accurately controlled by setting the start and end coordinates of the slide.
[0037] In this embodiment of the invention, the CAN analyzer is used to monitor the CAN link between the vehicle unit and the air conditioning controller, obtain the CAN message sent by the vehicle unit to the air conditioning controller, and upload the CAN message to the host computer.
[0038] The host computer connects to the CAN analyzer via USB cable. During the adjustment of the electric window blades, the CAN analyzer collects the CAN messages of the electric window in real time and feeds them back to the host computer.
[0039] In this embodiment of the invention, a programmable power supply provides 12V voltage to the vehicle's infotainment system. After the display screen is turned on, the host computer connects to the vehicle's pre-installed USB port via a USB cable. The vehicle's infotainment system connects to the air conditioning controller via a CAN bus. A CAN analyzer monitors this link and uploads CAN messages to the host computer, which then analyzes the CAN messages.
[0040] In this embodiment of the invention, the host computer is also used to: determine whether the first angle in the CAN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
[0041] The host computer performs a detailed comparative analysis of the collected CAN messages and the angles in the ADB sliding commands to determine the stability of the electric windshield link. If the deviation between the first angle and the target angle is within the allowable range, the link is considered stable; otherwise, if the deviation exceeds the allowable range, the link is considered to have a problem.
[0042] In this embodiment of the invention, the host computer includes the mapping relationship between the sliding distance and angle of the fan blade motion effect in the vehicle system, the mapping relationship between the angle and the CAN message, and the mapping relationship between the CAN message and the LIN message.
[0043] This invention does not specifically limit how to determine whether the first angle and the target angle are consistent. For example, the first angle and the target angle can be obtained, and then the consistency of these two angles can be directly compared; alternatively, the consistency of the first angle and the target angle can be indirectly compared by comparing whether the CAN message is consistent with the CAN message corresponding to the target angle.
[0044] In this embodiment of the invention, the LIN analyzer is used to monitor the LIN link between the air conditioner controller and the electric window controller, obtain the LIN messages sent by the air conditioner controller to the electric window controller, and upload the LIN messages to the host computer.
[0045] The host computer connects to the LIN analyzer via USB cable. During the adjustment of the electric window blades, the LIN analyzer collects the LIN messages of the electric window in real time and feeds them back to the host computer.
[0046] In this embodiment of the invention, the host computer is further configured to: if it is determined that the first angle in the CAN message is consistent with the target angle, determine whether the second angle in the LIN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
[0047] The host computer performs a detailed comparative analysis of the collected LIN messages and the angles in the ADB sliding commands to determine the stability of the electric window vent link. If the deviation between the second angle and the target angle is within the allowable range, the link is considered stable; otherwise, if the deviation exceeds the allowable range, the link is considered to have a problem.
[0048] This invention does not specifically limit how to determine whether the second angle and the target angle are consistent. For example, the second angle and the target angle can be obtained, and then the consistency of these two angles can be compared; alternatively, the consistency of the second angle and the target angle can be indirectly compared by comparing whether the LIN message is consistent with the LIN message corresponding to the target angle.
[0049] In this embodiment of the invention, the camera is used to: capture images of the swinging motion of the electric window blades and upload the images to the host computer.
[0050] For example, the camera is an industrial high-definition camera.
[0051] For example, the camera is a three-sensor camera that uses Time of Flight (TOF) technology to accurately acquire images of the swing of the electric window sash blades and transmits the images to the host computer.
[0052] In this embodiment of the invention, the host computer is further configured to: if it is determined that the second angle in the LIN message is consistent with the target angle, calculate the actual angle of the electric window sash blade in real time using an image recognition algorithm; determine whether the electric window sash blade swings to the correct position based on the actual angle and the target angle; if it is determined that the electric window sash blade swings to the correct position, continue to execute the operation of sending the ADB sliding command to the vehicle system; if it is determined that the electric window sash blade swings to the correct position, record the log, save the swing photo, stop the test and issue an alarm.
[0053] The host computer connects to the 3D sensor camera via a high-speed network cable to acquire image data from the camera. Displacement determination is implemented using the open-source computer vision library (OpenCV). A simplified implementation of the image-based fan blade angle determination process is as follows: 1) Image preprocessing Region of Interest (ROI) localization: The initial position of the motorized window fan blades in the image is accurately located using a template matching algorithm (normalized cross-correlation method), thus defining the ROI and eliminating background interference.
[0054] Grayscale conversion and noise reduction: The ROI image is converted to grayscale, and median filtering or Gaussian filtering is used to remove noise, thereby improving the accuracy of subsequent feature extraction.
[0055] 2) Edge feature extraction Contour detection: The contour edges of the motorized window sash blades are extracted using the Canny edge detection algorithm, and the contour continuity is optimized by combining morphological operations.
[0056] Feature line fitting: The key edge lines of the motorized window sash blades (such as the axis of symmetry of the motorized window sash blades and the line connecting the swing fulcrum) are fitted by Hough Line Transform to establish a geometric model of the motorized window sash blade attitude.
[0057] 3) Angle calculation Reference position calibration: Before the test, an image of the initial position of the electric window fan blades (such as 0-degree reference angle) is acquired, and the reference feature line is extracted as the reference coordinate system for angle calculation.
[0058] Dynamic angle measurement: The angle between the current electric window sash blade feature line and the baseline feature line is calculated in real time and converted into the actual swing angle using trigonometric functions (arctangent function). Angle accuracy is calibrated through camera calibration (pixel-angle mapping relationship), with the error controlled within ±2 degrees.
[0059] In this embodiment of the invention, the host computer uses an image recognition algorithm to calculate the current blade angle in real time to determine whether the fan blade swing is in place. If it is in place, the next round of testing is performed in a loop.
[0060] In this embodiment of the invention, the user can set the target number of tests or the target running time in the host computer. The test result is that when the fan swings to the position, if the number of tests has not reached the target number of tests or the running time has not reached the target running time, the next round of testing will be performed automatically; if the number of tests reaches the target number of tests or the running time reaches the target running time, the test will stop.
[0061] In this embodiment of the invention, the host computer generates test results after completing the test and generates a test report based on the test results.
[0062] The vehicle air conditioning electric window function stability testing device provided in this embodiment of the invention can cover the following three testing scenarios: 1) Normal operating condition test: Simulate normal user operations, such as slowly sliding the windshield air direction adjustment control, to verify the consistency of the link under stable load; 2) Extreme operating condition test: Quickly slide the windshield direction adjustment control (e.g., from 0 degrees to 90 degrees within 1 second) to test the link's response capability and anti-interference ability under high-frequency commands; 3) Fault injection test: Deliberately disconnect part of the bus connection or simulate signal interference to verify the system's ability to detect communication faults and its fault tolerance mechanism.
[0063] Through the above solution, the blade swing angle monitoring system works in conjunction with the vehicle control and bus monitoring systems to achieve fully automated testing of the stability of the electric windshield link, meeting the high reliability testing requirements of automotive air conditioning systems.
[0064] The vehicle air conditioning electric window function stability testing device provided in this embodiment of the invention consists of a host computer, a CAN analyzer, a LIN analyzer, a camera, and a programmable power supply. It can perform functional stability testing on the subsystems of intelligent connected vehicle system + air conditioning controller + electric window controller + electric window blades, and automatically judge the test results and generate test reports through the host computer.
[0065] This invention proposes an automated testing device architecture that includes a vehicle control system, a bus monitoring system, and a blade swing angle monitoring system, and clarifies the hardware composition (such as a host computer, CAN analyzer, LIN analyzer, and camera) and connection relationships of each subsystem.
[0066] This invention employs vehicle software layer control based on ADB technology. It achieves precise sliding control of the airflow direction adjustment slider of the vehicle's air conditioning application through the ADB protocol, including customizable sliding speed, target angle and other parameters, to simulate real user operation scenarios.
[0067] This invention employs multi-bus real-time monitoring and data verification, integrating a CAN / LIN analyzer to synchronously collect communication messages between the vehicle's infotainment system and the air conditioning controller, and between the air conditioning controller and the electric windshield controller. It combines timestamps to achieve real-time alignment and consistency verification of commands and feedback data.
[0068] This invention employs image recognition technology to measure blade angles. It utilizes the OpenCV library to implement algorithms such as ROI region localization, Canny edge detection, and Hough line fitting. By establishing a pixel-angle mapping relationship through camera calibration, it achieves non-contact blade swing angle measurement with an accuracy of ±2 degrees, thus solving the error problem of mechanical contact measurement.
[0069] The embodiments of the present invention adopt a stability determination mechanism of three-source data fusion. The host computer synchronously compares the target angle of the ADB sliding command, the first angle and the second angle of the bus message, and the actual angle of the blade recognized by the image. The stability of the link is determined by the deviation threshold, forming a closed-loop monitoring of the entire link of "control-communication-execution".
[0070] The vehicle air conditioning electric window function stability testing device provided in this embodiment of the invention has the following beneficial effects: (i) Highly efficient automated testing, significantly improving testing efficiency Replaces manual operation: The system automatically controls the airflow adjustment slider of the vehicle's air conditioning application through the host computer's ADB technology, eliminating the need for manual adjustment and avoiding tedious manual operations such as connecting equipment and setting parameters. The testing efficiency is improved by more than 80% compared to traditional methods.
[0071] Fully automated process: The entire testing process is highly automated, from command sending (controlling the vehicle's infotainment system) and data acquisition (bus monitoring and image recognition) to result judgment and data recording, all are completed automatically by the system. The system supports 24-hour continuous testing and can also customize the number of cycles as needed, greatly reducing the cost of manual intervention.
[0072] (ii) Multi-dimensional and precise monitoring to ensure the accuracy and reliability of testing. Precise control at the software layer: Based on the ADB protocol, it simulates real user operation scenarios (such as sliding speed and target angle), which solves the problem that manual control of wind direction is not possible, making the test results closer to actual use conditions.
[0073] Multi-source data cross-validation: By synchronously comparing three types of data—ADB commands (target angle), CAN / LIN messages (communication data), and image recognition (actual blade angle)—end-to-end monitoring of "software control-communication link-hardware execution" is formed. The deviation threshold (e.g., ±2 degrees) judgment mechanism ensures the accuracy of link stability assessment and avoids misjudgment from a single data source.
[0074] Anti-interference and fault tolerance capabilities: Real-time capture of bus communication anomalies (such as no message for more than 50ms) and blade jamming (image angle remains unchanged), automatically pausing the test and issuing an alarm, improving the timeliness of fault detection.
[0075] (iii) Standardize data management to simplify data analysis Digital data recording: Real-time storage of test time, target angle, bus messages, image recognition results and anomaly logs, supports export of comma-separated values (CSV) / Excel files, solving the problems of easy loss of paper records and difficulty in managing spreadsheets.
[0076] (iv) Full operating condition coverage to enhance the comprehensiveness of testing It supports normal operating conditions (slow sliding), extreme operating conditions (fast sliding), and fault injection testing, covering the entire angle range of the electric windshield (such as -90 degrees to +90 degrees), ensuring link stability verification under different usage scenarios.
[0077] The present invention provides a technical solution for a vehicle air conditioning electric window function stability testing device. The device includes: a host computer, a CAN analyzer, a LIN analyzer, and a camera. The host computer is electrically connected to the CAN analyzer, the LIN analyzer, and the camera. The host computer is electrically connected to the vehicle's infotainment system. The infotainment system is electrically connected to the air conditioning controller. The air conditioning controller is also electrically connected to the electric window controller, and the electric window controller is also electrically connected to the electric window motor. When the electric window motor rotates, it drives the electric window blades to rotate. The CAN analyzer is electrically connected to the infotainment system and the air conditioning controller. The LIN analyzer is electrically connected to the air conditioning controller and the electric window controller. The camera is positioned to capture images of the electric window blades, providing system-level functional testing for the vehicle air conditioning electric window function stability testing.
[0078] Based on the above-mentioned vehicle air conditioning electric window function stability testing device, this embodiment of the invention provides a method for testing the stability of vehicle air conditioning electric window function.
[0079] Figure 2 This is a flowchart illustrating a method for testing the stability of a vehicle's electric air conditioning window function, as provided in an embodiment of the present invention. Figure 2 As shown, the method includes: Step 1: The operator starts the host computer and edits the test script on the host computer to test the stability of the vehicle's air conditioning electric window function.
[0080] In this embodiment of the invention, the test script includes an image recognition algorithm, the mapping relationship between the sliding distance and angle of the fan blade motion effect in the vehicle system, the mapping relationship between the angle and the CAN message, and the mapping relationship between the CAN message and the LIN message.
[0081] Step 2: The operator sets the target number of runs or target running time of the test script on the host computer, so that the test script repeatedly executes the link test and link monitoring operations according to the target number of runs or target running time.
[0082] Step 3: The operator clicks "Run Test Script" on the host computer.
[0083] Step 4: Start automated testing.
[0084] Step 5: The host computer sends the ADB sliding command to the vehicle's infotainment system and records the sent ADB sliding command; after receiving the ADB sliding command, the vehicle's infotainment system simulates a human hand sliding the windshield direction adjustment control on the screen according to the ADB sliding command and generates a CAN message.
[0085] In this embodiment of the invention, the ADB sliding command includes a custom sliding speed (such as 50px / s or 100px / s) and a target angle (such as swinging upwards by 30 degrees).
[0086] Step 6: The air conditioning controller receives the CAN message sent by the vehicle's infotainment system and continues to execute steps 7 and 10.
[0087] In this embodiment of the invention, the vehicle's infotainment system transmits CAN messages to the air conditioning controller via the CAN bus.
[0088] Step 7: The CAN analyzer monitors the CAN link from the vehicle's infotainment system to the air conditioning controller, acquires CAN messages, and uploads the CAN messages to the host computer.
[0089] Step 8: The host computer determines whether the CAN bus message is correct. If not, proceed to step 9; if yes, proceed to step 13.
[0090] In this embodiment of the invention, the host computer determines whether the CAN bus message is correct by judging whether the first angle in the CAN message is consistent with the target angle.
[0091] This invention does not specifically limit how to determine whether the first angle and the target angle are consistent. For example, the first angle and the target angle can be obtained, and then the consistency of these two angles can be directly compared; alternatively, the consistency of the first angle and the target angle can be indirectly compared by comparing whether the CAN message is consistent with the CAN message corresponding to the target angle.
[0092] Step 9: The host computer logs the information, stops the test, and issues an alarm. The process ends.
[0093] Step 10: The air conditioning controller converts the CAN message into a LIN message.
[0094] Step 11: The electric window controller receives the LIN message sent by the air conditioning controller and continues to execute steps 12 and 15.
[0095] In this embodiment of the invention, the air conditioning controller sends LIN messages to the electric window controller via the LIN bus.
[0096] Step 12: The LIN analyzer monitors the LIN link from the air conditioner controller to the electric window controller, obtains LIN messages, and uploads the LIN messages to the host computer.
[0097] Step 13: The host computer determines whether the LIN bus message is correct. If not, proceed to step 14; if yes, proceed to step 17.
[0098] In this embodiment of the invention, the host computer determines whether the LIN bus message is correct by judging whether the second angle in the LIN message is consistent with the target angle.
[0099] This invention does not specifically limit how to determine whether the second angle and the target angle are consistent. For example, the second angle and the target angle can be obtained, and then the consistency of these two angles can be compared; alternatively, the consistency of the second angle and the target angle can be indirectly compared by comparing whether the LIN message is consistent with the LIN message corresponding to the target angle.
[0100] Step 14: The host computer logs the information, stops the test, and issues an alarm. The process ends.
[0101] Step 15: The electric window controller converts the LIN message into data for the fan blade drive motor, causing the electric window fan blades to swing.
[0102] Step 16: The camera captures images of the swinging of the electric window sash blades and uploads the images to the host computer.
[0103] For example, a high-definition camera captures images of the swaying of the motorized window sash blades at a frame rate of 20fps.
[0104] Step 17: The host computer calculates the actual angle of the electric window fan blades from the swinging image using an image recognition algorithm. Based on the actual angle and the target angle, it determines whether the electric window fan blades are swinging in place. If yes, continue to step 5; otherwise, proceed to step 18.
[0105] In this embodiment of the invention, when the fan swings to the desired position, if the number of tests has not reached the target number of tests or the running time has not reached the target running time, the next round of testing will be automatically performed, i.e., step 5 will continue; if the number of tests reaches the target number of tests or the running time reaches the target running time, the test will stop and the process will end.
[0106] Step 18: The host computer records the log, saves the swing photos, stops the test, and issues an alarm. The process ends.
[0107] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A device for testing the stability of a vehicle's electric air conditioning window function, characterized in that, The device includes: a host computer, a CAN analyzer, a LIN analyzer, and a camera; The host computer is electrically connected to the CAN analyzer, the LIN analyzer, and the camera. The host computer is used to connect to the vehicle's infotainment system. The vehicle infotainment system and the air conditioning controller are electrically connected; the air conditioning controller is also electrically connected to the electric window controller, and the electric window controller is also electrically connected to the electric window motor. When the electric window motor rotates, it drives the electric window blades to rotate. The CAN analyzer is used to electrically connect to the vehicle's infotainment system and the air conditioning controller. The LIN analyzer is used to be electrically connected to the air conditioner controller and the electric window controller; The camera is positioned to capture images of the motorized window sash blades.
2. The apparatus according to claim 1, characterized in that, Also includes: A programmable power supply is used to electrically connect to the vehicle's infotainment system and provide power to the system.
3. The apparatus according to claim 1, characterized in that, Also includes: An acrylic sheet box is used to cover the motorized fan blades and the camera.
4. The apparatus according to claim 1, characterized in that, The host computer is used to: send ADB sliding commands to the vehicle system. The ADB sliding commands include a custom sliding speed and target angle, so that the vehicle system can simulate a human hand to perform a sliding operation on the windshield direction adjustment control on the screen and generate a CAN message according to the ADB sliding commands.
5. The apparatus according to claim 4, characterized in that, The CAN analyzer is used to monitor the CAN link between the vehicle unit and the air conditioning controller, obtain the CAN message sent by the vehicle unit to the air conditioning controller, and upload the CAN message to the host computer.
6. The apparatus according to claim 5, characterized in that, The host computer is also used to: determine whether the first angle in the CAN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
7. The apparatus according to claim 5, characterized in that, The LIN analyzer is used to monitor the LIN link between the air conditioner controller and the electric window controller, obtain the LIN messages sent by the air conditioner controller to the electric window controller, and upload the LIN messages to the host computer.
8. The apparatus according to claim 7, characterized in that, The host computer is also used to: if it is determined that the first angle in the CAN message is consistent with the target angle, determine whether the second angle in the LIN message is consistent with the target angle; if they are inconsistent, record the log, stop the test and issue an alarm.
9. The apparatus according to claim 8, characterized in that, The camera is used to: capture images of the swinging motion of the electric window blades and upload the images to the host computer.
10. The apparatus according to claim 9, characterized in that, The host computer is also used for: If it is determined that the second angle in the LIN message is consistent with the target angle, the actual angle of the electric window fan blade is calculated by the image recognition algorithm based on the swing image. Determine whether the electric window fan blades are swinging in place based on the actual angle and the target angle; If it is determined that the electric window sash blades have swung into position, the operation of sending the ADB sliding command to the vehicle system continues. If it is determined that the electric window fan blades are not swinging properly, record the information in the log, save the swing photos, stop the test, and trigger an alarm.