Method and device for detecting a car window anti-pinch function, electronic equipment and storage medium

By using a fully automated method to detect the anti-pinch function of car windows, the anti-pinch pressure and reversal distance are matched with preset parameters, solving the problems of low efficiency and poor accuracy of manual detection, and achieving efficient and accurate detection results.

CN116427812BActive Publication Date: 2026-04-14CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHANGAN AUTOMOBILE CO LTD
Filing Date
2023-03-21
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, the detection of the anti-pinch function of car windows mainly relies on manual operation, which is prone to problems such as improper operation and missed detection, resulting in low detection efficiency and poor accuracy.

Method used

A fully automatic method for testing the anti-pinch function of vehicle windows was designed. By sending a test command to the vehicle under test, the anti-pinch pressure and anti-pinch reversal distance of the window are obtained and matched with preset parameters to determine whether the anti-pinch function test is successful or unsuccessful.

Benefits of technology

It achieves efficient and accurate detection of the anti-pinch function of car windows, reduces the possibility of human error, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116427812B_ABST
    Figure CN116427812B_ABST
Patent Text Reader

Abstract

The application designs a detection method and device for a window anti-pinch function, electronic equipment and a storage medium, and relates to the technical field of vehicles. The method comprises the following steps: issuing a test instruction to a to-be-detected vehicle; the test instruction is used to instruct the to-be-detected vehicle to perform a test operation; when the to-be-detected vehicle triggers the window anti-pinch function, the anti-pinch pressure of the window of the to-be-detected vehicle and the anti-pinch reverse distance are acquired; in the case that the anti-pinch pressure of the window matches a preset pressure and the anti-pinch reverse distance matches a preset distance, it is determined that the anti-pinch function test of the window is successful. Therefore, the detection accuracy can be improved, and the possibility of errors in manual detection can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and specifically to a method, device, electronic device, and storage medium for detecting the anti-pinch function of vehicle windows. Background Technology

[0002] With the increasing popularity of power windows in cars, safety testing of these windows is essential. Power windows typically have an anti-pinch function, meaning they automatically lower themselves if they encounter an obstacle during operation to prevent damage. Therefore, the anti-pinch function of vehicle windows must be tested during the design and manufacturing process to ensure its stability and reliability.

[0003] Currently, most production workshops use manual testing for anti-pinch windows. When a vehicle meets the requirements for final inspection, production line workers operate the window switches to check if the anti-pinch function is up to standard. However, manual operation by employees is prone to problems such as incorrect operation requiring re-operation or missing certain windows during testing. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, and storage medium for detecting the anti-pinch function of a vehicle window, thereby providing an automatic detection method for the anti-pinch function and improving the detection accuracy. The technical solution of this application is as follows:

[0005] According to a first aspect of this application, a method for detecting the anti-pinch function of a vehicle window is provided, comprising: issuing a test command to a vehicle to be tested; the test command instructing the vehicle to be tested to perform a test operation; when the vehicle to be tested triggers the anti-pinch function of the window, acquiring the anti-pinch pressure and anti-pinch reversal distance of the window of the vehicle to be tested; and determining that the anti-pinch function test of the window is successful when the anti-pinch pressure of the window matches a preset pressure and the anti-pinch reversal distance matches a preset distance.

[0006] Based on the aforementioned technical means, this application can issue a test command to the vehicle under test, instructing it to perform a test operation. When the vehicle under test triggers the anti-pinch function of the window, the anti-pinch pressure and anti-pinch reversal distance of the window are obtained. If the anti-pinch pressure and anti-pinch reversal distance match preset parameters (preset pressure and preset distance), the anti-pinch function test of the window is determined to be successful. Thus, the entire testing process is fully automated, reducing the possibility of errors that are prone to occur during manual testing and improving work efficiency.

[0007] In one possible implementation, the method further includes: determining that the anti-pinch function test of the window has failed if the anti-pinch pressure of the window does not match the preset pressure, and / or the anti-pinch reversal distance does not match the preset distance.

[0008] Based on the above technical means, this application can compare the anti-pinch pressure and anti-pinch reversal distance of the car window with the preset anti-pinch parameters (preset pressure and preset distance). Through intuitive comparison, the test results of the anti-pinch function of the car window can be accurately reflected.

[0009] In one possible implementation, the method specifically includes: sending a window-down command to the vehicle to be tested; and sending a window-up command to the vehicle when the window of the vehicle to be tested has been lowered to the bottom.

[0010] Based on the above-mentioned technical means, this application can simulate the working process of the anti-pinch function of a car window and test the anti-pinch function of the car window.

[0011] In one possible implementation, the method further includes: controlling the pressure sensor and the rangefinder to move into a preset anti-pinch area of ​​the window.

[0012] Based on the above-mentioned technical means, this application can move the pressure sensor and the rangefinder to the preset anti-pinch area of ​​the window, thereby obtaining the anti-pinch pressure and anti-pinch reversal distance when the anti-pinch function of the window is triggered, and then detect the anti-pinch function of the window.

[0013] In one possible implementation, the method further includes: sending a self-learning instruction to the vehicle to be tested; the self-learning instruction instructing the vehicle to be tested to automatically learn the operation of automatically raising or lowering the windows; and receiving the self-learning result of the vehicle to be tested.

[0014] Based on the aforementioned technical means, this application can send a self-learning command to the vehicle to be tested to control the vehicle's windows to automatically rise or fall. In this way, the entire self-learning process is fully automatic, requiring no manual operation, and is simple and fast.

[0015] In one possible implementation, the method further includes: obtaining the vehicle identification code of the vehicle to be detected; and successfully matching the vehicle identification code with a pre-stored vehicle identification code.

[0016] Based on the above-mentioned technical means, this application can realize the identification and matching of vehicle identification codes, reducing the inefficiency caused by manual identification.

[0017] In one possible implementation, the method further includes issuing a notification that the anti-pinch function test of the vehicle window has been successful.

[0018] According to a second aspect of this application, a detection device for the anti-pinch function of a vehicle window is provided, comprising: an output module for sending a test command to a vehicle under test, the test command being used to instruct the vehicle under test to perform a test operation; an acquisition module for acquiring the anti-pinch pressure and anti-pinch reversal distance of the vehicle window under test when the vehicle under test triggers the anti-pinch function; and a processing module for determining that the anti-pinch function test of the vehicle window is successful when the anti-pinch pressure of the vehicle window matches a preset pressure and the anti-pinch reversal distance matches a preset distance.

[0019] In one possible implementation, the above-mentioned processing module is further configured to determine that the anti-pinch function test of the window has failed if the anti-pinch pressure of the window does not match the preset pressure, and / or the anti-pinch reversal distance does not match the preset distance.

[0020] In one possible implementation, the output module is specifically used to send a window lowering command to the vehicle to be tested; and when the window of the vehicle to be tested has been lowered to the bottom, a window raising command is sent to the vehicle.

[0021] In one possible implementation, the aforementioned processing module is also used to control the pressure sensor and rangefinder to move into a preset anti-pinch area of ​​the window.

[0022] In one possible implementation, the output module is further configured to send a self-learning instruction to the vehicle under test; the self-learning instruction instructs the vehicle under test to automatically learn the operation of automatically raising or lowering the windows; and to receive the self-learning result of the vehicle under test.

[0023] In one possible implementation, the acquisition module is further configured to acquire the vehicle identification code of the vehicle to be detected; the processing module is further configured to successfully match the vehicle identification code with a pre-stored vehicle identification code.

[0024] In one possible implementation, the aforementioned processing module is also used to issue a notification that the anti-pinch function test of the vehicle window has been successfully completed.

[0025] According to a third aspect of this application, an electronic device is provided, comprising: a barcode scanner for identifying the vehicle identification number (VIN) of a vehicle to be inspected; multiple pressure sensors for detecting the anti-pinch force of each window of the vehicle to be inspected; multiple rangefinders for detecting the anti-pinch reversal distance of each window of the vehicle to be inspected; a vehicle detection interface for connecting to the on-board diagnostic (OBD) interface of the vehicle to be inspected; a speaker for outputting an audible alert; and a display panel for displaying the anti-pinch function test results of the vehicle to be inspected. A controller; and a memory for storing controller-executable instructions; wherein the controller is configured to execute instructions to implement the methods of the first aspect described above and any possible embodiments thereof.

[0026] According to a fourth aspect provided in this application, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the methods described in the first aspect and any possible implementation thereof.

[0027] According to the fifth aspect provided in this application, a computer program product is provided, the computer program product including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.

[0028] Therefore, the above-mentioned technical features of this application have the following beneficial effects:

[0029] (1) This application can issue a test command to the vehicle to be tested, instructing it to perform a test operation. When the vehicle triggers the anti-pinch function of the window, the anti-pinch pressure and anti-pinch reversal distance of the window are obtained. If the anti-pinch pressure and anti-pinch reversal distance match the preset parameters (preset pressure and preset distance), the anti-pinch function test of the window is determined to be successful. In this way, the entire testing process is fully automated, reducing the possibility of errors that are easy to make with manual testing, and improving testing efficiency and accuracy. In addition, it also reduces the chance of missed detections due to human error, and improves the detection rate.

[0030] (2) This application can send a self-learning instruction to the vehicle to be tested to control the windows of the vehicle to be tested to perform automatic raising or lowering operations. In this way, the entire self-learning process is fully automatic and does not require manual operation, which is simple and fast.

[0031] (3) This application can realize the identification and matching of vehicle identification codes, reducing the problem of low efficiency caused by manual identification.

[0032] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.

[0033] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0034] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.

[0035] Figure 1 This is an application scenario of a detection method for the anti-pinch function of a vehicle window, as illustrated in an exemplary embodiment.

[0036] Figure 2 This is a schematic diagram of the structure of a detection device for the anti-pinch function of a car window according to an exemplary embodiment;

[0037] Figure 3 This is a flowchart illustrating a detection method for an anti-pinch function of a vehicle window according to an exemplary embodiment;

[0038] Figure 4 This is a schematic diagram illustrating a window anti-pinch area according to an exemplary embodiment;

[0039] Figure 5 This is a flowchart illustrating another method for detecting the anti-pinch function of a vehicle window according to an exemplary embodiment;

[0040] Figure 6 This is a flowchart illustrating another method for detecting the anti-pinch function of a vehicle window according to an exemplary embodiment;

[0041] Figure 7 This is a flowchart illustrating another method for detecting the anti-pinch function of a vehicle window according to an exemplary embodiment;

[0042] Figure 8 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment. Detailed Implementation

[0043] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0044] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0045] Before a vehicle rolls off the production line, the anti-pinch function of the windows must be tested. Currently, production line workers operate the windows by opening and closing the driver's side window. For vehicles with four windows, this requires repeating the same action at least four times, which is time-consuming. Manual operation by production line workers is also prone to errors, requiring them to start over. These problems are even more likely to occur with new production line workers.

[0046] Based on this, this application provides a method for testing the anti-pinch function of a vehicle window. In this method, a test command is issued to the vehicle under test, instructing it to perform a test operation. When the vehicle triggers the anti-pinch function, the anti-pinch pressure and anti-pinch reversal distance of the window are obtained. If the anti-pinch pressure and anti-pinch reversal distance match preset parameters (preset pressure and preset distance), the anti-pinch function test is considered successful. This reduces the possibility of errors during manual testing and improves work efficiency.

[0047] Figure 1 This is an application scenario illustrating a detection method for the anti-pinch function of a vehicle window according to an exemplary embodiment. For example... Figure 1 As shown, this application scenario includes a detection device (hereinafter referred to as the detection device for ease of description) 10 for the anti-pinch function of vehicle windows and a vehicle 20. The detection device 10 and the vehicle 20 are connected.

[0048] Optionally, the detection device 10 can be connected to the vehicle 20 via a vehicle detection interface.

[0049] The detection device 10 can be used to execute the detection method for the anti-pinch function of the vehicle window provided in the embodiments of this application, so as to detect the anti-pinch function of the vehicle window of the vehicle 20. For example, the detection device 10 can be an electronic device with data processing capabilities, or a functional module in the electronic device, and there is no limitation thereto.

[0050] The vehicle 20 has a processing system, some or all of which control some of its functions. Optionally, the processing system may include at least one processor that executes instructions stored in a non-transitory computer-readable medium such as memory. The computer system may also be multiple computing devices that control individual components or subsystems of the vehicle in a distributed manner. For example, the processing system may control the automatic raising or lowering of the vehicle's windows.

[0051] In some embodiments, vehicle 20 may also include various subsystems, such as a driving system, a sensor system, a power supply 110, a user interface, etc., to realize various functions of the vehicle. Optionally, the vehicle may include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and component of the vehicle may be interconnected via wired or wireless means.

[0052] Figure 2 This is a block diagram illustrating a detection device for an anti-pinch function of a vehicle window according to an exemplary embodiment. (Refer to...) Figure 2 The detection device 10 for the anti-pinch function of the car window includes: an output module 201, an acquisition module 202, and a processing module 203.

[0053] Specifically, the output module 201 is used to send a test command to the vehicle to be tested, the test command being used to instruct the vehicle to perform a test operation.

[0054] The acquisition module 202 is used to acquire the anti-pinch pressure and anti-pinch reversal distance of the window of the vehicle under test when the anti-pinch function of the window of the vehicle under test is triggered.

[0055] The processing module 203 is used to determine that the anti-pinch function test of the window is successful when the anti-pinch pressure of the window matches the preset pressure and the anti-pinch reversal distance matches the preset distance.

[0056] In some embodiments, the processing module 203 is further configured to determine that the anti-pinch function test of the window has failed if the anti-pinch pressure of the window does not match the preset pressure, and / or the anti-pinch reversal distance does not match the preset distance.

[0057] In some embodiments, the output module 201 is specifically used to send a window lowering command to the vehicle to be tested; and when the window of the vehicle to be tested has been lowered to the bottom, a window raising command is sent to the vehicle.

[0058] In some embodiments, the processing module 203 is also used to control the pressure sensor and the rangefinder to move to a preset anti-pinch area of ​​the window.

[0059] In some embodiments, the output module 201 is further configured to send a self-learning instruction to the vehicle to be tested; the self-learning instruction is used to instruct the vehicle to be tested to automatically learn the operation of automatically raising or lowering the windows; the acquisition module 202 is further configured to receive the self-learning result of the vehicle to be tested.

[0060] In some embodiments, the acquisition module 202 is further configured to acquire the vehicle identification code of the vehicle to be detected; the processing module 203 is further configured to successfully match the vehicle identification code with a pre-stored vehicle identification code.

[0061] In some embodiments, the processing module 203 is also configured to issue a notification that the anti-pinch function test of the vehicle window has been successfully completed.

[0062] The anti-pinch detection device for vehicle windows according to the embodiments of this application sends a window-lowering command to the vehicle, controlling the window to lower completely. Then, it controls a pressure sensor and a rangefinder to move to a preset anti-pinch area and sends a window-up command. After triggering the window function, it detects whether the anti-pinch function is successful based on the anti-pinch force and anti-pinch reversal distance detected by the sensors and rangefinder. Thus, the entire process is fully automated, improving work efficiency and reducing the possibility of errors due to human operation.

[0063] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0064] For ease of understanding, the following description, in conjunction with the accompanying drawings, details the testing method for the anti-pinch function of the vehicle window provided in this application.

[0065] Figure 3 This is a flowchart illustrating a detection method for an anti-pinch function of a vehicle window according to an exemplary embodiment, such as... Figure 3 As shown, the testing method for the anti-pinch function of the car window includes the following steps:

[0066] S101, The testing device issues a test command to the vehicle to be tested.

[0067] Among them, the vehicle to be tested is a vehicle whose window anti-pinch function has not yet been tested, and the test command is used to instruct the vehicle to be tested to perform the test operation.

[0068] In some embodiments, when the detection device needs to detect the anti-pinch function of the window of the vehicle under test, it first needs to determine whether the vehicle under test is connected to the detection device. When the vehicle under test is connected to the detection device, the detection device can detect the level signal. After the detection device detects the level signal, it can issue a test command to the vehicle under test.

[0069] In some embodiments, the test commands mentioned above include commands to lower the window and commands to raise the window.

[0070] In some embodiments, the detection device first sends a window lowering command to the vehicle under test, instructing the vehicle to perform the window lowering operation. After the window of the vehicle under test is lowered to the bottom, the vehicle under test sends a signal to the detection device that the window has been lowered to the bottom.

[0071] Furthermore, after receiving a signal from the vehicle under test indicating that the window has been lowered to the bottom, the detection device controls the pressure sensor and rangefinder to move to the preset anti-pinch area of ​​the window.

[0072] Optionally, the preset anti-pinch zone can be pre-set or obtained from other vehicles.

[0073] The preset anti-pinch area is the area below the top weatherstripping of the window, such as... Figure 4 As shown, the preset anti-pinch area is the region from 4 mm below the top sealing strip of the window to 200 mm below the top sealing strip of the window.

[0074] Furthermore, the detection device sends a window-raising command to the vehicle, instructing the vehicle to perform the window-raising operation, thereby triggering the window's anti-pinch function.

[0075] In some embodiments, in order to address the problem of errors that are prone to occur when manually controlling the window to learn self-learning, the detection device first needs to send a self-learning instruction to the vehicle to be tested before issuing a test instruction to the vehicle to be tested. The self-learning instruction is used to instruct the vehicle to learn the operation of automatically raising or lowering the window.

[0076] In some embodiments, the vehicle under test responds to a self-learning instruction by controlling all windows to descend to the bottom position and maintaining it for a period of time, and then controlling all windows to rise to the top position and maintaining it for a period of time.

[0077] Furthermore, the processing system of the vehicle under test acquires self-learning related data and performs calculations on the collected data to obtain the self-learning results of the vehicle under test.

[0078] In some embodiments, the detection device receives the self-learning result of the vehicle to be detected. If the received self-learning result is successful, the detection device displays on the display panel that the vehicle to be detected has successfully completed self-learning.

[0079] In some embodiments, if the self-learning result received by the detection device is a failure, the detection device displays the self-learning failure of the vehicle under test on the display panel and outputs an audible reminder of the self-learning failure through the speaker.

[0080] In some embodiments, in order to correctly identify the vehicle model of the vehicle to be detected, the detection device also needs to obtain the vehicle identification number (VIN) of the vehicle. The VIN represents a unique identifier for the vehicle.

[0081] In some embodiments, the detection device scans the vehicle identification number (VIN) of the vehicle to be detected using a barcode scanner.

[0082] In some embodiments, the detection device compares the vehicle identification code with a pre-stored vehicle identification code. If the vehicle identification code matches the pre-stored vehicle identification code, it determines that the vehicle identification code and the pre-stored vehicle identification code have matched successfully, and displays the successful vehicle identification code match on the display panel.

[0083] Furthermore, the detection device sends the successfully matched vehicle identification code to the vehicle to be detected. The vehicle to be detected writes the received vehicle identification code into its processing system and sends a vehicle identification code writing success signal to the detection device. In response to the success signal, the detection device displays that the vehicle identification code has been successfully written.

[0084] In some embodiments, if the vehicle identification code does not match the pre-stored vehicle identification code, it is determined that the vehicle identification code and the pre-stored vehicle identification code have failed to match, and the vehicle identification code matching failure is displayed on the display panel and an audio reminder of the vehicle identification code matching failure is output through the speaker.

[0085] S102. When the anti-pinch function of the window is triggered by the vehicle under test, the detection device obtains the anti-pinch pressure and anti-pinch reversal distance of the window of the vehicle under test.

[0086] Understandably, within the preset anti-pinch zone, when the window encounters an obstacle, the vehicle's processing system activates the anti-pinch function, controlling the window to retract and release the obstacle to ensure no injury to a person, such as a hand or arm. Therefore, during the window's upward movement, the pressure sensor within the preset anti-pinch zone comes into contact with the window and experiences its pressure, allowing it to detect the anti-pinch pressure. Furthermore, after the window retracts a certain distance, the rangefinder detects the retraction distance, i.e., the anti-pinch reversal distance.

[0087] It should be noted that the vehicle under test has multiple windows. To test the anti-pinch function of all windows of the vehicle under test, the testing device has multiple pressure sensors and multiple rangefinders. Correspondingly, the anti-pinch pressure of the vehicle under test windows is multiple, and the anti-pinch reversal distance of the vehicle under test is also multiple.

[0088] For example, if the vehicle to be tested has four windows, the detection device has four pressure sensors and four rangefinders. Correspondingly, the vehicle to be tested has four anti-pinch pressures and four anti-pinch reversal distances for its windows.

[0089] S103. If the anti-pinch pressure of the window matches the preset pressure and the anti-pinch reversal distance matches the preset distance, the detection device determines that the anti-pinch function test of the window is successful.

[0090] In some embodiments, the detected anti-pinch pressure and anti-pinch reversal distance of the window are matched with preset anti-pinch parameters to determine whether the anti-pinch function test of the window is successful. The preset anti-pinch parameters include preset pressure and preset distance.

[0091] Optionally, preset anti-pinch parameters are stored in flash memory.

[0092] It should be noted that there are multiple preset pressures, each corresponding to one of the anti-pinch pressures of the car window. Similarly, there are multiple preset distances, each corresponding to one of the anti-pinch reversal distances of the car window.

[0093] Optionally, multiple preset pressures can be equal or unequal, and multiple anti-pinch reverse distances can be equal or unequal.

[0094] For example, if the vehicle to be tested has four windows, the anti-pinch pressure of the windows includes a first anti-pinch pressure, a second anti-pinch pressure, a third anti-pinch pressure, and a fourth anti-pinch pressure. The anti-pinch reversal distance of the windows includes a first anti-pinch reversal distance, a second anti-pinch reversal distance, a third anti-pinch reversal distance, and a fourth anti-pinch reversal distance. The preset pressure includes a first preset pressure, a second preset pressure, a third preset pressure, and a fourth preset pressure. The preset distance includes a first preset distance, a second preset distance, a third preset distance, and a fourth preset distance. When matching the anti-pinch pressure and anti-pinch reversal distance of the windows with the preset anti-pinch parameters, the first anti-pinch pressure is matched with the first preset pressure, and the first anti-pinch reversal distance is matched with the first preset distance. Similarly, the second anti-pinch pressure is matched with the second preset pressure, the second anti-pinch reversal distance is matched with the second preset distance, the third anti-pinch pressure is matched with the third preset pressure, the third anti-pinch reversal distance is matched with the third preset distance, and the fourth anti-pinch pressure is matched with the fourth preset pressure, and the fourth anti-pinch reversal distance is matched with the fourth preset distance.

[0095] In some embodiments, if the anti-pinch pressure of the window matches the preset pressure and the anti-pinch reversal distance matches the preset distance, then the anti-pinch function test of the window is determined to be successful.

[0096] For example, if the anti-pinch pressure of the car window is 130 Newtons and the anti-pinch reversal distance of the car window is 125 mm, and the preset pressure is 130 Newtons and the preset distance is 125 mm, then the anti-pinch pressure of the car window is equal to the preset pressure and the anti-pinch reversal distance of the car window is equal to the preset distance, then the anti-pinch function test of the car window is confirmed to be successful.

[0097] Furthermore, when the anti-pinch function test of the window is successful, the testing device displays the successful test result on the display panel.

[0098] In some embodiments, if the anti-pinch pressure of the window does not match the preset pressure, and / or the anti-pinch reversal distance does not match the preset distance, the anti-pinch function test of the window is determined to have failed.

[0099] For example, if the anti-pinch pressure of the car window is 130 Newtons and the anti-pinch reversal distance of the car window is 125 mm, and the preset pressure is 135 Newtons and the preset distance is 125 mm, then the anti-pinch pressure of the car window is not equal to the preset pressure, but the anti-pinch reversal distance of the car window is equal to the preset distance. In this case, the anti-pinch function test of the car window is determined to have failed.

[0100] Furthermore, when the anti-pinch function test of the window fails, the detection device displays the failure on the display panel and outputs a voice reminder of the failure through the speaker.

[0101] In some embodiments, the detection device also sends a self-learning command to the vehicle under test. In response to the self-learning command, the vehicle under test lowers all windows to the bottom position and maintains this position for a period of time, then raises all windows to the top position and maintains this position for a period of time.

[0102] Furthermore, the processing system of the vehicle under test acquires self-learning related data and performs calculations on the collected data to obtain the self-learning results of the vehicle under test.

[0103] In some embodiments, the vehicle to be tested also sends self-learning results to the testing device.

[0104] The following section, using a logic diagram, illustrates the complete process of detecting the anti-pinch function of car windows:

[0105] like Figure 5 As shown, based on Figure 3 The embodiment shown includes the following detection process:

[0106] S1. The testing device issues a test command to the vehicle to be tested.

[0107] S2. When the anti-pinch function of the vehicle window is triggered, the detection device obtains the anti-pinch pressure and anti-pinch reversal distance of the vehicle window.

[0108] Determine whether the anti-pinch pressure and anti-pinch reversal distance of the car window match the preset anti-pinch parameters (preset pressure and preset distance).

[0109] If so, proceed with step S3 below.

[0110] If not, proceed with steps S4 and S5 below.

[0111] S3. The display panel of the testing device shows that the anti-pinch function of the car window has been successfully tested.

[0112] S4. The display panel of the testing device shows that the anti-pinch function test of the car window failed.

[0113] S5. The speaker of the detection device outputs a voice reminder indicating that the anti-pinch function of the car window has failed to be detected.

[0114] In some embodiments, to address the problem of errors easily occurring during the self-learning process of manually controlled car windows, such as... Figure 6 As shown in the embodiment of this application, the method for detecting the anti-pinch function of a vehicle window further includes the following steps:

[0115] S1. The detection device sends a self-learning instruction to the vehicle to be detected.

[0116] S2. The detection device receives the self-learning results of the vehicle to be detected.

[0117] Determine whether the self-learning result is successful.

[0118] If so, proceed with step S3 below.

[0119] If not, proceed with steps S4 and S5 below.

[0120] S3. The display panel of the detection device shows that the vehicle under test has successfully completed self-learning.

[0121] S4. The display panel of the detection device shows that the self-learning of the vehicle under test has failed.

[0122] S5. The speaker of the detection device outputs an audible alert indicating that self-learning has failed.

[0123] In some embodiments, in order to correctly identify the vehicle model, such as Figure 7 As shown in the embodiment of this application, the method for detecting the anti-pinch function of a vehicle window further includes the following steps:

[0124] S1. The detection device acquires the vehicle identification number of the vehicle to be detected.

[0125] S2. The detection device matches the vehicle identification code with the pre-stored vehicle identification code.

[0126] Determine whether the vehicle identification number matches the pre-stored vehicle identification number.

[0127] If so, proceed with step S3 below.

[0128] If not, proceed with steps S4 and S5 below.

[0129] S3. The display panel of the detection device shows that the vehicle identification code has been successfully matched.

[0130] S4. The display panel of the detection device shows that the vehicle identification code matching failed.

[0131] S5. The speaker of the detection device outputs an audible alert indicating that the vehicle identification code matching has failed.

[0132] The above mainly describes the solution provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the detection device or electronic device for the anti-pinch function of the car window includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0133] This application embodiment can, based on the above method, exemplarily divide the detection device or electronic device for the anti-pinch function of a car window into functional modules. For example, the detection device or electronic device for the anti-pinch function of a car window may include various functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.

[0134] Figure 8 This is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment. For example... Figure 8 As shown, the electronic device 400 includes, but is not limited to: a barcode scanner 401, multiple pressure sensors 402, multiple rangefinders 403, a vehicle detection interface 404, a speaker 405, a display panel 406, a controller 407, and a memory 408.

[0135] The memory 408 is used to store the executable instructions of the controller 407. It is understood that the controller 407 is configured to execute instructions to implement the window anti-pinch function detection method in the above embodiment.

[0136] It should be noted that those skilled in the art will understand that Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 8 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.

[0137] The barcode scanner 401 is installed on the electronic device 400 and connected to the controller 407 via a video cable. The barcode scanner 401 is used to identify the vehicle identification code of the vehicle to be inspected.

[0138] Multiple pressure sensors 402 are mounted on the electronic device 400 and are connected to the controller 407 via LIN lines. The pressure sensors 402 are used to detect the anti-pinch pressure of the vehicle window to be tested.

[0139] Multiple rangefinders 403 are mounted on the electronic device 400 and are connected to the controller 407 via LIN lines. The rangefinders 403 are used to detect the anti-pinch reversal distance of the vehicle window to be tested.

[0140] The vehicle detection interface 404 is located on the electronic device 400 and is used to connect to the on-board diagnostic system (OBD) interface of the vehicle to be tested via a CAN line.

[0141] Speaker 405 is mounted on electronic device 400 and connected to controller 407 via hardwire. Speaker 405 is used to output sound alerts related to tests of the vehicle under test, such as sound alerts indicating that the anti-pinch function test of the vehicle under test has failed.

[0142] Display panel 406 is mounted on electronic device 400 and connected to controller 407 via USB cable. Display panel 406 is used to display test results related to the vehicle under test, such as displaying that the anti-pinch function test of the vehicle under test was successful.

[0143] The controller 407 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 408, and by calling data stored in the memory 408, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The controller 407 may include one or more processing units. Optionally, the controller 407 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the controller 407.

[0144] The memory 408 is connected to the controller 407 via an Ethernet cable. The memory 408 can be used to store software programs and various data, such as the vehicle identification number (VIN). The memory 408 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and application programs required by at least one functional module (such as a determination unit, processing unit, etc.). Furthermore, the memory 408 may include high-speed random access memory (RAM) and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0145] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 408 including instructions, which can be executed by a controller 407 of an electronic device 400 to implement the detection method for the anti-pinch function of the vehicle window in the above embodiment.

[0146] In actual implementation, Figure 2 The functions of the output module 201, acquisition module 202, and processing module 203 can all be provided by... Figure 8 The controller 407 calls the computer program stored in the memory 408 to implement the function. The specific execution process can be found in the description of the detection method for the anti-pinch function of the car window in the previous embodiment, and will not be repeated here.

[0147] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a CD-ROM, magnetic tape, a floppy disk, and an optical data storage device.

[0148] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by the controller 407 of an electronic device to complete the detection method for the anti-pinch function of the car window in the above embodiment.

[0149] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of the electronic device, they implement the various processes of the above-described method for detecting the anti-pinch function of the car window, and can achieve the same technical effect as the above-described method for detecting the anti-pinch function of the car window. To avoid repetition, they will not be described again here.

[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0151] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0152] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0153] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0154] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0155] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for detecting the anti-pinch function of a vehicle window, characterized in that, include: Send a self-learning instruction to the vehicle to be tested; the self-learning instruction is used to instruct the vehicle to be tested to automatically learn the operation of automatically raising or lowering the windows; Acquire self-learning related data, perform calculations on the collected data, and then obtain the self-learning result of the vehicle to be detected; If the self-learning result is successful, a test command is issued to the vehicle to be tested; the test command is used to instruct the vehicle to be tested to perform a test operation. When the anti-pinch function of the vehicle under test is triggered, the anti-pinch pressure and anti-pinch reversal distance of the vehicle under test window are obtained. If the anti-pinch pressure of the window matches the preset pressure, and the anti-pinch reversal distance matches the preset distance, then the anti-pinch function test of the window is considered successful.

2. The method according to claim 1, characterized in that, The method further includes: If the anti-pinch pressure of the window does not match the preset pressure, and / or the anti-pinch reversal distance does not match the preset distance, the anti-pinch function test of the window is determined to have failed.

3. The method according to claim 1 or 2, characterized in that, The step of issuing test commands to the vehicle to be tested includes: Send a window-lowering command to the vehicle to be tested; When the window of the vehicle to be tested has been lowered to the bottom, a window raising command is sent to the vehicle.

4. The method according to claim 3, characterized in that, Before sending a window-raising command to the vehicle, the method further includes: The pressure sensor and rangefinder are controlled to move to the preset anti-pinch area of ​​the window.

5. The method according to claim 1 or 2, characterized in that, Before issuing the test command to the vehicle to be tested, the method further includes: Obtain the vehicle identification number of the vehicle to be detected; The vehicle identification code was successfully matched with the pre-stored vehicle identification code.

6. The method according to claim 1, characterized in that, The method further includes: A notification was sent indicating that the anti-pinch function of the car window had been successfully tested.

7. A detection device for the anti-pinch function of a vehicle window, characterized in that, include: The output module is used to send a self-learning instruction to the vehicle under test; the self-learning instruction is used to instruct the vehicle under test to automatically learn the operation of automatically raising or lowering the windows; acquire self-learning related data, and perform calculations on the acquired data to obtain the self-learning result of the vehicle under test; if the self-learning result is successful, issue a test instruction to the vehicle under test, the test instruction is used to instruct the vehicle under test to perform a test operation. The acquisition module is used to acquire the anti-pinch pressure and anti-pinch reversal distance of the window of the vehicle under test when the anti-pinch function of the window is triggered. The processing module is used to determine that the anti-pinch function test of the window is successful when the anti-pinch pressure of the window matches the preset pressure and the anti-pinch reversal distance matches the preset distance.

8. An electronic device, characterized in that, include: A barcode scanner is used to identify the vehicle identification number (VIN) of the vehicle to be inspected. Multiple pressure sensors are used to detect the anti-pinch pressure of the windows of the vehicle under test; Multiple rangefinders are used to detect the anti-pinch reversal distance of the windows of the vehicle under test; A vehicle detection interface is used to connect to the on-board interface of the vehicle to be tested. A speaker is used to output a notification indicating that the anti-pinch function of the car window has been successfully tested. The display panel is used to display the test results of the anti-pinch function of the vehicle under test; Controller; Memory used to store executable instructions of the controller; The controller is configured to execute the instructions to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is capable of performing the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Automatic anti-pinch module test system and control method thereof

    CN113252334A