Method and device for detecting automatic lifting function of car window
By sending target instructions to the vehicle and verifying the window position using the detection device, the problems of low efficiency and high leakage detection rate of manual detection of window automatic lifting function are solved, and efficient and accurate automatic detection is achieved.
Patent Information
- Application Number
- CN202510035120.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the automatic lifting function of the window is manually detected, resulting in low detection efficiency and prone to missed detection.
By sending target commands to the vehicle, the window is controlled to lift and lower to multiple target positions, and the current position of the window is obtained through the detection device to determine whether it is accurate. If it is inaccurate, an abnormality will be reported; if it is accurate, the vehicle horn is controlled and the volume is collected, and compared with the preset threshold, further verify whether the window position is the target position.
Automatic detection of the automatic lifting function of the car window is realized, which improves detection efficiency, reduces the missed detection rate, and ensures the accuracy of detection.
Smart Images

Figure CN119803956A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile control, and in particular to a method and a device for detecting an automatic lifting function of a vehicle window. Background Art
[0002] After the vehicle is produced and assembled, it is necessary to conduct vehicle acceptance inspection to ensure that the vehicle is normal. Most vehicle inspections rely on manual labor. For example, the inspection of automatic window lifting requires manual triggering of the hard switch of each window to determine whether the automatic lifting of the vehicle window is normal. However, manual inspection is time-consuming and labor-intensive, and it is impossible to accurately determine the position change of the window. It depends entirely on human judgment, which is very likely to cause missed inspections and lead to defective products entering the market.
[0003] There is currently no effective solution to the above problems in the prior art. Summary of the invention
[0004] One of the purposes of the present invention is to provide a method and device for detecting the automatic lifting function of a vehicle window, so as to solve the problem that the vehicle window detection is performed manually in the prior art, resulting in low detection efficiency and easy missed detection.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for detecting an automatic window lifting function, comprising: sending a target instruction to a vehicle to control the lifting of the vehicle window to a target position, wherein the target instruction is used to control the lifting of the vehicle window; there are multiple target instructions, and each target instruction corresponds to one or more target positions; within a preset time period, obtaining the current position of the window through a detection device to determine whether the current position is at the target position; if the window is not lifted to the target position, reporting an abnormality in the automatic window lifting function; if the window is lifted to the target position and the target position is a fully open or fully closed position of the window, controlling the vehicle to honk and collecting the volume of the horn in the vehicle; comparing the collected volume with a preset threshold, and determining whether the automatic window lifting function is normal based on the comparison result.
[0007] Furthermore, a target instruction is sent to the vehicle to control the lifting of the vehicle window to a target position, including: when it is determined that the vehicle controller is powered on, determining whether the window has been initialized, wherein the initialization means that the window can be automatically lifted to a fully open position and to a fully closed position; when it is determined that the window has been initialized, sending the target instruction to the vehicle to control the lifting of the vehicle window to the target position.
[0008] Furthermore, within a preset time period, the current position of the vehicle window is obtained through a detection device to determine whether the current position is at the target position, including: within a first preset time period, determining through a detection device whether the current position of the vehicle window is a first target position; comparing the collected volume with a preset threshold, and determining whether the automatic lifting function of the vehicle window is normal based on the comparison result, including: when the vehicle window is at the first target position, comparing the collected volume with a first preset threshold; when the collected volume is less than the first preset threshold, determining that the automatic lifting function of the vehicle window is abnormal; when the collected volume is greater than or equal to the first preset threshold, determining that the automatic lifting function of the vehicle window is normal; wherein, the first target position is the fully open position of the vehicle window.
[0009] Further, when the current position of the vehicle window is the first target position, within a preset time period, the current position of the vehicle window is obtained by a detection device to determine whether the current position is at the target position, including: within a second preset time period, determining by a detection device whether the current position of the vehicle window is any position within a preset range; wherein the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the vehicle window and a non-fully closed position of the vehicle window.
[0010] Furthermore, within a preset time period, the current position of the vehicle window is obtained through a detection device to determine whether the current position is at the target position, including: within a third preset time period, determining through a detection device whether the current position of the vehicle window is a third target position; comparing the collected volume with a preset threshold, and determining whether the automatic lifting function of the vehicle window is normal based on the comparison result, including: when the vehicle window is at the third target position, comparing the collected volume with a second preset threshold; when the collected volume is less than the second preset threshold, determining that the automatic lifting function of the vehicle window is normal; when the collected volume is greater than or equal to the second preset threshold, determining that the automatic lifting function of the vehicle window is abnormal; wherein, the third target position is the position where the vehicle window is fully closed.
[0011] In a first aspect, an embodiment of the present application provides a detection device for an automatic window lifting function, comprising: a sending module, used to send a target instruction to a vehicle to control the lifting and lowering of the vehicle window to a target position, wherein the target instruction is used to control the lifting and lowering of the vehicle window; wherein the number of the target instructions is multiple, and each of the target instructions corresponds to one or more target positions; a first processing module, used to obtain the current position of the window through a detection device within a preset time period to determine whether the current position is at the target position; a reporting module, used to report that the automatic window lifting function is abnormal if the window is not lifted to the target position; a second processing module, used to control the vehicle to honk, and collect the volume of the horn in the vehicle when the window is lifted to the target position and the target position is the fully open or fully closed position of the window; a third processing module, used to compare the collected volume with a preset threshold, and determine whether the automatic window lifting function is normal based on the comparison result.
[0012] Furthermore, the first processing module includes: a first processing unit, used to determine whether the current position of the vehicle window is a first target position through a detection device within a first preset time period; the third processing module includes: a second processing unit, used to compare the collected volume with a first preset threshold when the vehicle window is at the first target position; a third processing unit, used to determine that the automatic lifting function of the vehicle window is abnormal when the collected volume is less than the first preset threshold; a fourth processing unit, used to determine that the automatic lifting function of the vehicle window is normal when the collected volume is greater than or equal to the first preset threshold; wherein, the first target position is the fully open position of the vehicle window.
[0013] Further, when the current position of the vehicle window is the first target position, the first processing module includes: a fifth processing unit, used to determine, through a detection device, whether the current position of the vehicle window is any position within a preset range within a second preset time period; wherein, the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the vehicle window and a non-fully closed position of the vehicle window.
[0014] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the method for detecting the automatic window lifting function described in the first aspect of the present application).
[0015] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for detecting the automatic window lifting function described in the first aspect of the present application.
[0016] Through the embodiments of the present application, when performing window detection, a target instruction can be sent to the vehicle to automatically raise and lower the window. Different target instructions correspond to different lifting positions, and then the detection device detects whether the window lifting position is accurate. If it is inaccurate, the window abnormality is directly reported. If the sensor detects that the window lifting position is accurate, it is necessary to further verify whether the sensor's detection result is accurate, that is, after the window reaches the target position, the vehicle's speaker is controlled to continuously honk, and the volume of the speaker is collected in the car, the collected volume is compared with a preset threshold, and whether the automatic lifting function of the window is normal is determined based on the comparison result to further verify whether the current window position is the target position. The accuracy of the window lifting function detection is guaranteed through double verification, and in the embodiments of the present application, there is no need for the user to manually perform the window lifting function detection, thereby realizing automatic detection of the window lifting function, solving the problem of low detection efficiency and easy missed detection in the prior art through manual window detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flow chart of the method for detecting the automatic lifting function of a vehicle window of the present invention;
[0018] Figure 2 It is a structural block diagram of the automatic lifting function of the vehicle window in a specific example of the present invention;
[0019] Figure 3 A flowchart of a method for automatically batch-detecting vehicle windows in a specific example of the present invention;
[0020] Figure 4 It is a schematic diagram of the structure of the detection device of the automatic lifting function of the vehicle window in the present invention;
[0021] Figure 5 It is a schematic diagram of the structure of the electronic device in the present invention. DETAILED DESCRIPTION
[0022] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0023] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0024] At present, after the workers on the factory completion line assemble the vehicle, there is often a manual acceptance process. One worker manually checks all functions, or one worker manually checks the same function of a batch of vehicles. For car windows, such inspection operations are very inefficient and imprecise. Workers often just press the window switch at random, and after observing that the window can be controlled, they hastily pass the inspection, resulting in low inspection efficiency and easy omissions. In this regard, the embodiment of the present application provides a method for detecting the automatic lifting function of the window, such as Figure 1 As shown, the steps of the method include:
[0025] Step 101, sending a target instruction to the vehicle to control the lifting of the vehicle window to the target position, wherein the target instruction is used to control the lifting of the vehicle window; wherein the number of target instructions is multiple, and each target instruction corresponds to a target position
[0026] In the embodiment of the present application, the target command can be automatically sent to each vehicle to be inspected through the cloud, or the inspector can send the target command to each vehicle to be inspected through the human machine interface (HMI) on the terminal. The target command can be used to raise or lower the window according to the demand to fully detect the lifting function of the window.
[0027] Step 102, within a preset time period, obtaining the current position of the vehicle window through a detection device to determine whether the current position is at the target position;
[0028] In the embodiment of the present application, in order to more comprehensively detect the lifting function of the window, the target instruction can be sent multiple times, and each target instruction corresponds to a different target position. For example, the target position corresponding to the first target instruction is that the window is 100% open, the target position corresponding to the second target instruction is that the window is 50% open, and the target position corresponding to the third target instruction is that the window is completely closed, that is, the window is 0% open. The number of the above target instructions and the corresponding target positions are only examples, and the number of target instructions can be increased or decreased according to actual needs, and different target positions can be set, such as 10% open window, 60% open window, and 90% open window.
[0029] The detection device in the embodiment of the present application may be a detection device outside the vehicle, used to detect the position of the window. It may also be a detection device arranged inside the window, such as a sensor arranged inside the vehicle, which detects the position of the window through the sensor. Specifically, the sensor may be a Hall sensor, which indirectly detects the rotation of the motor and the position of the window by sensing the change of the magnetic field.
[0030] Step 103, when the window is not raised or lowered to the target position, reporting abnormality of the automatic window raising or lowering function;
[0031] In a specific example, the built-in sensor can be used to detect whether the window is at the target position. For example, if the current target instruction is to lower the window to 100% open, the sensor can be used to detect whether the window is 100% open after receiving the instruction for a preset time, such as 30 seconds. If there is no direct report of the abnormality of the automatic window lifting function to the cloud or the human-machine interface device.
[0032] Step 104, when the window is raised or lowered to the target position, the vehicle horn is controlled to sound, and the volume of the horn is collected in the vehicle;
[0033] It should be noted that the vehicle horn can be controlled by honking the vehicle speaker, and the sound of the horn is stable and continuous, so that the horn volume collected in the vehicle is accurate, which is convenient for subsequent detection of automatic window lifting.
[0034] Step 105 , comparing the collected volume with a preset threshold, and determining whether the automatic lifting function of the vehicle window is normal based on the comparison result.
[0035] It can be seen that in the embodiment of the present application, after the sensor detects the lifting position of the window, it is possible to further determine whether the target position is accurate through the volume collected at the target position. For example, when the window is lowered to 100% open, the vehicle's speaker is controlled to sound the horn, and a threshold is set, that is, the volume that can be collected when the window is lowered to 100% open under normal circumstances. If the collected volume is less than the threshold, it indicates that it is inaccurate to open the window to 100% at this time. If it is greater than or equal to the threshold, it indicates that it is verified again that the window is opened to 100%.
[0036] It can be known from the above steps 101 to 105 that in the embodiment of the present application, when performing window detection, a target instruction can be sent to the vehicle to automatically raise and lower the window. Different target instructions correspond to different lifting positions, and then the sensor is used to detect whether the position of the window lifting is accurate. If it is inaccurate, the window abnormality is directly reported. If the detection device detects that the window lifting position is accurate, it is necessary to further verify whether the detection result of the sensor is accurate, that is, after the window reaches the target position, the speaker of the vehicle is controlled to continue to honk, and the volume of the speaker is collected in the car, the collected volume is compared with a preset threshold, and whether the automatic lifting function of the window is normal is determined based on the comparison result, so as to further verify whether the current window position is the target position. The accuracy of the window lifting function detection is guaranteed through double verification, and in the embodiment of the present application, there is no need for the user to manually detect the window lifting function, thereby realizing automatic detection of the window lifting function, solving the problem of low detection efficiency and easy missed detection in the prior art by manually performing window detection.
[0037] In the embodiment of the present application, before the vehicle window is detected, the vehicle window is initialized, that is, the vehicle window can be automatically raised and lowered after receiving the target instruction, and then the initialized vehicle window is further detected to determine whether the lifting function of the vehicle window is normal. Based on this, the method of sending the target instruction to the vehicle in the above step 101 to control the vehicle window to be raised and lowered to the target position can further include:
[0038] Step 11, when it is determined that the vehicle controller is powered on, determining whether the window has been initialized, wherein initialization means that the window can be automatically raised and lowered to a fully open position and a fully closed position;
[0039] Step 12, when it is determined that the vehicle window has been initialized, a target instruction is sent to the vehicle to control the vehicle window to be raised or lowered to a target position.
[0040] The vehicle controller in the embodiment of the present application has been powered on, indicating that the vehicle controller can control the vehicle windows, microphones, speakers and other on-board devices on the vehicle. That is, after the vehicle controller is powered on, a target command is sent to the vehicle to enable the vehicle to be raised or lowered to a corresponding position for subsequent window lifting function detection.
[0041] In the embodiment of the present application, the detection of the window lifting function is carried out by sending multiple target instructions to the vehicle, and then lifting the window to multiple positions to detect the position of the window lifting. By detecting the lifting function at multiple positions, the accuracy of whether the window lifting function is abnormal can be comprehensively detected. Because if only the lifting position of one window is detected, it is possible that the window is normal at this position, but there may be abnormalities in other positions.
[0042] Based on this, the above step 102 involves obtaining the current position of the vehicle window through a detection device within a preset time period to determine whether the current position is at a target position, which may further include: determining, through a detection device, within a first preset time period, whether the current position of the vehicle window is a first target position;
[0043] The method of comparing the collected volume with a preset threshold involved in the above step 105, and determining whether the automatic lifting function of the window is normal based on the comparison result, can further include: when the window is at a first target position, comparing the collected volume with a first preset threshold; when the collected volume is less than the first preset threshold, determining that the automatic lifting function of the window is abnormal; when the collected volume is greater than or equal to the first preset threshold, determining that the automatic lifting function of the window is normal, wherein the first target position is the fully open position of the window.
[0044] It should be noted that the first preset duration can be set according to actual needs, such as the speed of window lifting and lowering under normal circumstances. If the window lifting function is normal, within the first preset duration, the window can be lifted and lowered to the corresponding target position after receiving the first target instruction, that is, the position of the window is detected again after the first preset duration. Since the first target position is the fully open position of the window, before the detection, it will be determined in advance that the window is in the fully open position. If the vehicle honks, what volume can be collected (i.e., the first preset threshold value). On this basis, when the window automatic lifting detection is performed, the volume is collected again after the window is controlled in the fully open position by the target instruction. If the collected volume is greater than or equal to the first preset threshold value determined in advance, it indicates that the detection of the window being fully open during the automatic lifting process of the window is accurate. If it is less than the first preset threshold value determined in advance, it indicates that the window has not yet reached the fully open position, that is, the detection of the window being fully open in the automatic lifting detection of the window can be reported abnormally.
[0045] After the above-mentioned first window position detection, in order to more comprehensively and accurately detect the lifting and lowering function of the window, multiple detections at different positions may be performed. Therefore, when the current position of the window is the first target position, the method of obtaining the current position of the window by a detection device within a preset time period involved in the above-mentioned step 102 to determine whether the current position is at the target position may further include: within a second preset time period, determining by a detection device whether the current position of the window is any position within a preset range; wherein the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the window and a non-fully closed position of the window.
[0046] In this regard, in a specific example, if the second target position is higher than the first target position, for example, the second target position is 50% open of the window, and the first target position is 100% open of the window, then at the second target position, the window is still halfway open, while at the first target position, the window is fully open, i.e., it is fully lowered. Therefore, the second target position is higher than the first target position (window fully open position), i.e., the automatic window lifting detection in the embodiment of the present application is a detection process from window fully open to window closed.
[0047] When the window is not fully open or fully closed, the volume can be further used to determine whether the current automatic lifting position is accurate. Specifically, after controlling the vehicle horn, the volume of the horn is collected in the car, and the collected volume is compared with the preset volume. The current position is determined to be accurate based on the comparison result. Because, if the volume of the vehicle horn is stable, the volume collected at each position of the automatic window lifting should be different, because the different heights of the windows will affect the collection of the volume in the car, that is, each window position (not fully open or fully closed) should correspond to a volume that can be collected (preset volume). If the difference between the collected volume and the preset volume is within a preset range, it indicates that the position is accurate. If the difference between the two is not within the preset range, it indicates that the position is abnormal.
[0048] In addition, the current window position can be determined by comparing the volume inside and outside the car. If the difference between the two is within a preset range, it indicates that the position is accurate. If the difference between the two is not within the preset range, it indicates that the position is abnormal. The logic of determining whether the window position is accurate is similar to the logic of comparing the volume collected inside the car with the preset volume.
[0049] It can be seen that the detection of the non-fully open or non-fully closed position during the automatic lifting of the window is directly detected by the detection device, and a certain error is allowed during the detection. For example, the current target instruction controls the window to rise from the fully open position to the 50% open position. During the detection, it is only necessary to detect that the window rises to 45% to 55% (preset range) of the full open position, which indicates that the window position is accurate and the automatic lifting detection is accurate. The above preset range is only an example, and the specific preset range can be set accordingly according to the actual required accuracy.
[0050] In this regard, after the above two target position detections, the lifting function of the vehicle window can be detected again. Therefore, the method of obtaining the current position of the vehicle window by the detection device within a preset time period to determine whether the current position is at the target position involved in the above step 102 can further include: determining whether the current position of the vehicle window is a third target position by the detection device within a third preset time period;
[0051] The method of comparing the collected volume with the preset threshold involved in the above step 105, and determining whether the automatic lifting function of the vehicle window is normal according to the comparison result, may further include: when the vehicle window is located at the third target position, comparing the collected volume with the third preset threshold; when the collected volume is less than the second preset threshold, determining that the automatic lifting function of the vehicle window is normal; when the collected volume is greater than or equal to the second preset threshold, determining that the automatic lifting function of the vehicle window is abnormal;
[0052] The third target position is the position where the vehicle window is fully closed.
[0053] In this regard, in a specific example, if the third target position is higher than the second target position, for example, the third target position is 0% window opening, that is, the window is completely closed, and the second target position is 50% window opening, then at the third target position, the window is completely closed, while at the second target position, half of the window is not lowered. Therefore, the third target position is higher than the second target position.
[0054] Since the third target position is the fully closed position of the window, before the detection is carried out, it will be determined in advance that the window is in the fully closed position. If the vehicle honks, the collected volume can be of a certain value (i.e., the second preset threshold value). On this basis, when the window automatic lifting and lowering detection is carried out, the window is controlled to be in the fully closed position through the target command and the volume is collected again. If the collected volume is greater than or equal to the second preset threshold value determined in advance, it indicates that the detection of the window being fully open during the automatic window lifting and lowering process is abnormal. If it is less than the first preset threshold value determined in advance, it indicates that the detection of the window being fully open during the automatic window lifting and lowering process is accurate.
[0055] The present application is explained below in conjunction with the specific implementation manner of the embodiment of the present application. The specific implementation manner provides a method for automated batch inspection of vehicle windows. The method utilizes the existing resources of the vehicle and uses a simple program logic design to achieve the purpose of inspecting the automatic lifting function of the windows, thereby achieving the result of reducing costs and increasing efficiency.
[0056] like Figure 2As shown, in this specific implementation, batch detection can be achieved by issuing instructions from the cloud. If you want to detect individually, you only need to click the detection soft switch on the HMI of the vehicle computer. After the vehicle computer self-test application receives the detection instruction, it controls and obtains the position of the window by calling the on-board window service. It not only detects whether the window is controlled, but also detects the accuracy of the control. It not only detects whether the window is initialized, but also detects whether the initialized position is correct. This is impossible with manual detection. It can be seen that in the embodiment of the present application, the existing microphone and sensor resources on the vehicle are used to verify the opening and closing effect of the window to eliminate the impact caused by errors in the window learning. In addition, the test results in the embodiment of the present application can also be directly batch counted in the cloud, which can more strictly control the window inspection acceptance process and effectively reduce the probability of defective products flowing out.
[0057] Furthermore, if Figure 3 As shown, the method steps for automatically batch testing vehicle windows include:
[0058] Step 301, triggering a detection program through the cloud or HMI;
[0059] Step 302, determine whether the vehicle is in the ON gear, if not, execute step 303, if yes, execute step 304;
[0060] Step 303, the self-test report is uploaded to the cloud or the HMI prompts that the vehicle is not in the ON gear;
[0061] It can be seen that in this specific implementation, the detection program is triggered by the cloud or HMI, and first obtains whether the vehicle is in the ON gear to ensure that the vehicle controller is powered on, which is convenient for subsequent control operations of the windows, microphones, and speakers. If it is not in the ON gear, the vehicle is not powered on, and the pre-detection requirements are not met. It is necessary to report to the cloud and HMI to prompt that the vehicle is not in the ON gear. Please manually confirm the reason why the vehicle is not in the ON gear, and re-self-check after everything is restored.
[0062] Step 304, calling the vehicle service to obtain the initial status of all vehicle windows;
[0063] Step 305, determine whether all windows have been learned, if not, execute step 306, if yes, execute step 307;
[0064] Step 306, the self-check report is uploaded to the cloud or HMI to prompt that a certain window of the vehicle has not been learned;
[0065] It should be noted that the window initialization status is obtained through the vehicle service. Most automatic lifting of windows requires learning to initialize the windows to match the current door, so that the window controller knows where to lift to is 100% open and %0 open. At this time, the flag of whether to initialize is often reserved during the underlying development. If the initialization status of a window is obtained as uninitialized, it needs to be reported to the cloud and the HMI will show which specific window or windows are not initialized, so that the workers can manually complete the initialization and then process the test. Obtaining the window initialization status in advance can reduce unnecessary control operations when the windows themselves have not been learned, and can also intuitively locate the problem. If the vehicle model does not support obtaining the window initialization status, it will not affect the overall logic of the window automatic lifting self-test. It is the same to skip this step and start the test directly.
[0066] Step 307, calling the vehicle service to adjust all vehicle windows to 100% open;
[0067] Step 308, determining whether the physical positions of all windows are 100% open within 30 seconds; if not, executing step 309, if yes, executing step 310;
[0068] Step 309, the self-check report is uploaded to the cloud or HMI to prompt that a certain window has not reached the specified 100% open position;
[0069] It can be seen that in the embodiment of the present application, the car window is controlled by the in-vehicle service to move the car window to the 100% open position, and the physical position of the car window is subscribed to or obtained in a continuous loop through the in-vehicle service until the position of the car window reaches 100% open. If the car window is not detected to reach the specified position within 30 seconds, the detection is determined to have failed, and the detection result is reported to the cloud and the HMI shows which one or several windows have not reached the specified 100% open position. Most of today's window controllers support obtaining the physical position of the window, which is different from the position data at the software level.
[0070] Step 310, calling the vehicle service to make the vehicle continue to honk, and collecting the volume through the internal vehicle microphone;
[0071] Step 311, determine whether the decibel is greater than or equal to the calibrated decibel of the horn after the window is opened within 5 seconds; if not, execute step 312; if yes, execute step 313;
[0072] Step 312, the self-check report is uploaded to the cloud or the HMI prompts that the 100% opening position learned by the car window is incorrect, and please manually check the car window;
[0073] It can be seen that the in-vehicle service is called to make the horn continue to honk, and at the same time, the self-test application calls the system's in-car microphone service to collect the volume at this time, until the collected decibel value is greater than or equal to the calibrated decibel of the horn after opening the window. If the calibrated decibel cannot be reached within 5s, it needs to be reported to the cloud and the HMI shows that the 100% open position of the window learning is incorrect. Please manually check the window. Then conduct a manual check to see if there are any windows that are not fully opened or other reasons that cause the test to fail. The 100% open position here is only learned by the window during initialization, not necessarily the position of fully opening the window. If the learning is wrong, it may only open a small gap, and the collected decibel value will naturally be low. The calibrated decibels of honking after opening the window are likely to be different for different models. Different models need to open the window and honk separately to self-collect and determine the actual calibrated decibels.
[0074] Step 313, calling the vehicle service to adjust all vehicle windows to a 50% open position;
[0075] Step 314, determining whether the physical positions of all vehicle windows have reached 45% to 55% open positions within 30 seconds; if not, executing step 315, if yes, executing step 316;
[0076] Step 315, the self-check report is uploaded to the cloud or HMI to indicate that a certain window has not reached the 50% opening position;
[0077] It can be seen that in the embodiment of the present application, the vehicle service is called to adjust the window to the 50% open position, and at the same time, the physical position of the window is subscribed to through the vehicle service or the physical position of the window is obtained in a continuous loop until the window position is obtained to be 45% to 55% open. If the specified position cannot be reached within 30 seconds, it is necessary to report to the cloud and the HMI will display which one or several windows have not reached the 50% open position, and then manually check the vehicle to see if there is a flaw in the window lifting accuracy. Depending on the accuracy, the window detection error should be different, not necessarily the 5% error here.
[0078] Step 316, calling the vehicle service to adjust all vehicle windows to a 0% open position;
[0079] Step 317, determine whether the physical position of all windows reaches the 0% open position within 30 seconds; if not, execute step 318, if yes, execute step 319;
[0080] Step 318, the self-test report is uploaded to the cloud or HMI to indicate that a certain window has not reached the 0% opening position;
[0081] In this regard, in a specific example, the vehicle service can be called to adjust all windows to the 0% open position, and the physical position of the window can be subscribed to or obtained in a loop through the vehicle service until the window position is at the 0% open position. If the window fails to reach the specified 0% open position within 30 seconds, it needs to be reported to the cloud and the HMI will display which window or windows have not reached the 0% position, and then the vehicle will be manually checked.
[0082] Step 319, calling the vehicle service to make the vehicle continue to honk;
[0083] Step 320, determine whether the decibel is less than or equal to the calibrated decibel of the horn after closing the window within 5 seconds, if not, execute step 321, if yes, execute step 322;
[0084] Step 321, the self-check report is uploaded to the cloud or the HMI prompts that a certain window has not reached the position of 0% opening, and the position is incorrect, and the vehicle is manually checked;
[0085] In this regard, in a specific example, the vehicle horn service can be called to make the vehicle continue to honk until the decibel value collected by the system microphone in the car is less than or equal to the calibrated decibel of the horn after closing the window. If the specified decibel is not reached within 5 seconds, it is necessary to report to the cloud and the HMI prompts that the 0% opening position learned by the window is incorrect, please manually review the window. The calibrated decibel here will vary depending on the model of the car, and the actual calibrated decibel needs to be determined after closing the window and honking the horn separately. If the learned 0% position is incorrect, it will cause gaps in the windows, the sound insulation of the vehicle will deteriorate, and the decibel value collected will naturally be higher.
[0086] Step 322, the self-test report is uploaded to the cloud or HMI to indicate that the self-test has passed.
[0087] It can be seen that if there are no abnormalities in the above processes, the HMI displays that the window automatic lifting self-test has passed, and reports to the cloud that the window automatic lifting test has passed. Through this specific implementation, the automatic detection of the window can be completed efficiently, and the window accuracy can also be detected to a certain extent, and the missed detection rate in the embodiment of the present application is low.
[0088] Corresponding to the above Figure 1 The embodiment of the present application also provides a detection device for the automatic lifting function of a vehicle window, such as Figure 4 As shown, the device comprises:
[0089] The sending module 402 is used to send a target instruction to the vehicle to control the lifting of the vehicle window to a target position, wherein the target instruction is used to control the lifting of the vehicle window; wherein the number of the target instructions is multiple, and each target instruction corresponds to one or more target positions;
[0090] The first processing module 404 is used to obtain the current position of the vehicle window through the detection device within a preset time period to determine whether the current position is at the target position;
[0091] A reporting module 406, for reporting abnormality of the automatic lifting function of the window when the window is not raised or lowered to the target position;
[0092] The second processing module 408 is used to control the vehicle to honk when the window is raised or lowered to a target position, and the target position is a fully open or fully closed position of the window, and collect the volume of the honk in the vehicle;
[0093] The third processing module 410 is used to compare the collected volume with a preset threshold, and determine whether the automatic lifting function of the vehicle window is normal according to the comparison result.
[0094] In the embodiment of the present application, when performing window detection, a target command can be sent to the vehicle to automatically raise and lower the window. Different target commands correspond to different lifting positions, and then the detection device detects whether the window lifting position is accurate. If it is inaccurate, the window abnormality is directly reported. If the sensor detects that the window lifting position is accurate, it is necessary to further verify whether the sensor's detection result is accurate, that is, after the window reaches the target position, the vehicle's speaker is controlled to continuously honk, and the volume of the speaker is collected in the car, the collected volume is compared with a preset threshold, and whether the automatic lifting function of the window is normal is determined based on the comparison result, so as to further verify whether the current window position is the target position. The accuracy of the window lifting function detection is guaranteed through double verification, and in the embodiment of the present application, there is no need for the user to manually perform the window lifting function detection, thereby realizing automatic detection of the window lifting function, solving the problem of low detection efficiency and easy missed detection in the prior art through manual window detection.
[0095] In an optional implementation manner of an embodiment of the present application, the sending module in the embodiment of the present application may further include: a determination unit, used to determine whether the vehicle window has been initialized when it is determined that the vehicle controller has been powered on, wherein initialization means that the vehicle window can be automatically raised and lowered to a fully open position, and raised and lowered to a fully closed position; a sending unit, used to send a target instruction to the vehicle to control the vehicle window to be raised and lowered to a target position when it is determined that the vehicle window has been initialized.
[0096] In an optional implementation of the embodiment of the present application, the first processing module in the embodiment of the present application includes: a first processing unit, configured to determine whether the current position of the vehicle window is the first target position through a detection device within a first preset time period;
[0097] Based on this, the third processing module in the embodiment of the present application includes: a second processing unit, used to compare the collected volume with the first preset threshold when the vehicle window is at the first target position; a third processing unit, used to determine that the automatic lifting function of the vehicle window is abnormal when the collected volume is less than the first preset threshold; a fourth processing unit, used to determine that the automatic lifting function of the vehicle window is normal when the collected volume is greater than or equal to the first preset threshold; wherein the first target position is the fully open position of the vehicle window.
[0098] In an optional implementation of an embodiment of the present application, when the current position of the vehicle window is the first target position, the first processing module in the embodiment of the present application includes: a fifth processing unit, used to determine, through a detection device, whether the current position of the vehicle window is any position within a preset range within a second preset time length; wherein, the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the vehicle window and a non-fully closed position of the vehicle window.
[0099] In an optional implementation manner of the embodiment of the present application, the first processing module in the embodiment of the present application may further include: a ninth processing unit, configured to determine whether the current position of the vehicle window is a third target position through a detection device within a third preset time period;
[0100] Based on this, the third processing module includes: a tenth processing unit, used to compare the collected volume with the third preset threshold when the vehicle window is located at the third target position; an eleventh processing unit, used to determine that the automatic lifting function of the vehicle window is normal when the collected volume is less than the second preset threshold; a twelfth processing unit, used to determine that the automatic lifting function of the vehicle window is abnormal when the collected volume is greater than or equal to the second preset threshold; wherein the third target position is the position where the vehicle window is fully closed.
[0101] like Figure 5 As shown, an embodiment of the present application provides an electronic device, including a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512, and the memory 513 communicate with each other through the communication bus 514.
[0102] Memory 513, used for storing computer programs;
[0103] In one embodiment of the present application, the processor 511 is used to execute the program stored in the memory 513 to implement the detection method of the automatic window lifting function provided by any of the aforementioned method embodiments, and its role is similar and will not be repeated here.
[0104] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of a method for detecting an automatic window lifting function as provided in any of the aforementioned method embodiments are implemented.
[0105] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0107] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0108] The above description is only a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but shall conform to the widest scope consistent with the principles and novel features claimed herein.
[0109] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A method for detecting the automatic lifting function of a vehicle window, characterized in that: include: Sending a target instruction to the vehicle to control the lifting of the vehicle window to a target position, wherein the target instruction is used to control the lifting of the vehicle window; there are multiple target instructions, each of which corresponds to one or more target positions; Within a preset time period, the current position of the vehicle window is obtained through a detection device to determine whether the current position is at the target position; When the vehicle window is not raised or lowered to the target position, reporting abnormality of the automatic lifting function of the vehicle window; When the vehicle window is raised or lowered to the target position, and the target position is a fully open or fully closed position of the vehicle window, controlling the vehicle to honk a horn, and collecting the volume of the horn in the vehicle; The collected volume is compared with a preset threshold, and whether the automatic lifting function of the vehicle window is normal is determined according to the comparison result.
2. The method according to claim 1, characterized in that Sending a target command to the vehicle to control the vehicle's window to move up or down to the target position, including: In the case where it is determined that the vehicle controller is powered on, determining whether the vehicle window has been initialized, wherein the initialization means that the vehicle window can be automatically raised and lowered to a fully opened position and a fully closed position; When it is determined that the vehicle window has been initialized, the target instruction is sent to the vehicle to control the vehicle window to be raised or lowered to the target position.
3. The method according to claim 1, characterized in that Acquiring the current position of the vehicle window by means of a detection device within a preset time period to determine whether the current position is at a target position, including: determining whether the current position of the vehicle window is a first target position by means of a detection device within a first preset time period; Comparing the collected volume with a preset threshold, and determining whether the automatic lifting function of the vehicle window is normal according to the comparison result, including: when the vehicle window is located at the first target position, comparing the collected volume with a first preset threshold; when the collected volume is less than the first preset threshold, determining that the automatic lifting function of the vehicle window is abnormal; when the collected volume is greater than or equal to the first preset threshold, determining that the automatic lifting function of the vehicle window is normal; Wherein, the first target position is the fully open position of the vehicle window.
4. The method according to claim 3, characterized in that When the current position of the vehicle window is the first target position, within a preset time period, the current position of the vehicle window is obtained by a detection device to determine whether the current position is at the target position, including: within a second preset time period, determining by a detection device whether the current position of the vehicle window is any position within a preset range; wherein the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the vehicle window and a non-fully closed position of the vehicle window.
5. The method according to claim 4, characterized in that Acquiring the current position of the vehicle window by means of a detection device within a preset time period to determine whether the current position is at a target position, including: determining whether the current position of the vehicle window is a third target position by means of a detection device within a third preset time period; Comparing the collected volume with a preset threshold, and determining whether the automatic lifting function of the vehicle window is normal according to the comparison result, including: when the vehicle window is located at the third target position, comparing the collected volume with a second preset threshold; if the collected volume is less than the second preset threshold, determining that the automatic lifting function of the vehicle window is normal; if the collected volume is greater than or equal to the second preset threshold, determining that the automatic lifting function of the vehicle window is abnormal; Wherein, the third target position is the position where the vehicle window is fully closed.
6. A detection device for the automatic lifting function of a vehicle window, characterized in that: include: A sending module, used for sending a target instruction to the vehicle to control the lifting of the vehicle window to a target position, wherein the target instruction is used to control the lifting of the vehicle window; wherein the number of the target instructions is multiple, and each of the target instructions corresponds to one or more target positions; A first processing module is used to obtain the current position of the vehicle window through a detection device within a preset time period to determine whether the current position is at a target position; A reporting module, used for reporting abnormality of the automatic lifting function of the window when the window is not lifted to the target position; A second processing module is used to control the vehicle to honk when the window is raised or lowered to the target position, and when the target position is a fully open or fully closed position of the window, and collect the volume of the honk in the vehicle; The third processing module is used to compare the collected volume with a preset threshold value, and determine whether the automatic lifting function of the vehicle window is normal according to the comparison result.
7. The device according to claim 6, characterized in that The first processing module includes: a first processing unit, used to determine whether the current position of the vehicle window is a first target position through a detection device within a first preset time period; The third processing module comprises: a second processing unit, configured to compare the collected volume with a first preset threshold when the vehicle window is located at the first target position; a third processing unit, configured to determine that the automatic lifting function of the vehicle window is abnormal when the collected volume is less than the first preset threshold; a fourth processing unit, configured to determine that the automatic lifting function of the vehicle window is normal when the collected volume is greater than or equal to the first preset threshold; Wherein, the first target position is the fully open position of the vehicle window.
8. The device according to claim 7, characterized in that When the current position of the vehicle window is the first target position, the first processing module includes: a fifth processing unit, used to determine, through a detection device, whether the current position of the vehicle window is any position within a preset range within a second preset time period; wherein, the preset range refers to a preset range centered on the second target position, and the second target position is a non-fully open position of the vehicle window and a non-fully closed position of the vehicle window.
9. An electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the method for detecting the automatic window lifting function according to any one of claims 1 to 5.
10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for detecting the automatic lifting function of a vehicle window according to any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle door glass lifting function detection system and method based on voice recognition control
CN113358372A
Vehicle window control method and device, vehicle and storage medium
CN116181183A
System, method and computer program product for detecting switch status of vehicle window(s)
US20180144561A1