Skylight reset frequency calibration method, device and equipment and readable storage medium

By conducting multiple tests at different temperatures, the sunroof position deviation was obtained and the maximum deviation was calculated. Combined with the maximum allowable position deviation of the sunroof, the number of sunroof resets was determined, which solved the problem of frequent sunroof resets caused by calibration based on experience, and improved calibration accuracy and user experience.

CN120404178APending Publication Date: 2025-08-01DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510477589.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In existing technologies, the number of sunroof reset cycles determined by experience is too small, resulting in frequent sunroof resets, which increases wear and tear on the mechanical structure and reduces the user experience.

Method used

By obtaining the deviation of the sunroof position before and after multiple opening and closing tests, the maximum deviation of the sunroof position before and after a single opening and closing test is determined. Based on the maximum allowable position deviation and the maximum deviation, the number of times the sunroof needs to be reset is determined. Accurate calibration is then performed by combining test data at different temperatures.

Benefits of technology

The accuracy of the sunroof reset count calibration has been improved, avoiding sunroof displacement deviation caused by voltage fluctuations, reducing the problem of frequent sunroof resets, and enhancing the user experience and the durability of the mechanical structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120404178A_ABST
    Figure CN120404178A_ABST
Patent Text Reader

Abstract

The invention discloses a skylight reset frequency calibration method, device and equipment and a readable storage medium. The skylight reset frequency calibration method comprises the steps that the deviation of skylight positions before and after multiple opening and closing tests is obtained; determining the maximum deviation of the sunroof position before and after one opening and closing test according to the deviation of the sunroof position before and after multiple opening and closing tests; and obtaining the maximum allowable position deviation of the skylight, and determining the number of times of resetting the skylight according to the maximum allowable position deviation of the skylight and the maximum deviation of the position of the skylight before and after one opening and closing test. According to the application, the maximum allowable position deviation of the skylight is the maximum value of the deviation between the actual closing position and the theoretical closing position of the skylight which is set by a skylight manufacturer and must be reset, and the maximum deviation of the position of the skylight before and after one opening and closing test integrates the data of the position deviation of the skylight before and after multiple opening and closing tests. The position deviation generated by multiple times of operation of the skylight can be truly reflected, and then the calibration precision of the number of times of resetting of the skylight can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle sunroof parameter calibration, and particularly to a method, device, equipment and readable storage medium for calibrating the reset times of a sunroof. Background Art

[0002] After long-term use of a vehicle sunroof, the position of the sunroof will shift to a certain extent, which will affect the sealing performance when closed and the smoothness of opening and closing. Performing a reset operation on the sunroof can recalibrate the position of the sunroof to ensure that it is completely closed and tightly gapless, so as to prevent rainwater leakage or external noise from entering the vehicle.

[0003] Usually, a Hall sensor is used to monitor the rotation of the sunroof motor. Each time the motor rotates one circle, a square wave signal is generated. By counting the number of square waves, the running times of the sunroof are indirectly calculated. When the running times of the sunroof reach the preset reset times, the sunroof reset is triggered. Currently, the preset reset times are often fixed values set based on experience. However, due to voltage fluctuations, such as when the voltage increases, the motor speed increases, and the displacement of the sunroof is greater under the same number of square waves; when the voltage decreases, the motor speed decreases, and the displacement of the sunroof is smaller under the same number of square waves. That is, there is a deviation between resetting the sunroof with fixed reset times and the actual displacement generated by the sunroof operation.

[0004] In order to improve the reliability of sunroof reset, a relatively small sunroof reset times is often calibrated based on experience. This leads to relatively frequent sunroof resets, which increases the mechanical structure loss of the sunroof, and when the sunroof is reset, the sunroof glass needs to rush forward a short distance, and users will mistakenly think that this is an unpredictable failure, thus generating complaints. That is, frequent sunroof resets will also reduce the user experience.

[0005] In summary, the relatively small sunroof reset times calibrated based on experience currently will lead to relatively frequent sunroof resets, which will increase the mechanical structure loss of the sunroof and reduce the user experience. Summary of the Invention

[0006] This application provides a method, device, equipment and readable storage medium for calibrating the reset times of a sunroof, aiming to solve the technical problem that the relatively small sunroof reset times calibrated based on experience currently will lead to relatively frequent sunroof resets, which will increase the mechanical structure loss of the sunroof and reduce the user experience.

[0007] In a first aspect, an embodiment of this application provides a method for calibrating the reset times of a sunroof. The method for calibrating the reset times of a sunroof includes:

[0008] Obtain the deviation of the sunroof position before and after multiple open-close tests, where each open-close test is to control the sunroof from being fully closed to fully open and then to fully closed;

[0009] Determine the maximum deviation of the sunroof position before and after a single opening and closing test based on the deviation of the sunroof position before and after multiple opening and closing tests.

[0010] Obtain the maximum allowable position deviation of the sunroof, and determine the number of sunroof reset times based on the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test.

[0011] Optionally, the obtaining of the deviation of the sunroof position before and after multiple opening and closing tests includes:

[0012] Conduct opening and closing tests on the sunroof for a first preset number of times at a first preset temperature, conduct opening and closing tests on the sunroof for a second preset number of times at a second preset temperature, and conduct opening and closing tests on the sunroof for a third preset number of times at a third preset temperature. The first preset temperature is lower than the second preset temperature, the first preset temperature is higher than the third preset temperature, the first preset number is greater than the second preset number, and the second preset number is greater than the third preset number.

[0013] Measure the deviation of the sunroof position before and after every fourth preset number of opening and closing tests at different preset temperatures, where the first preset number, the second preset number, and the third preset number are all integer multiples of the fourth preset number.

[0014] The determining of the maximum deviation of the sunroof position before and after a single opening and closing test based on the deviation of the sunroof position before and after multiple opening and closing tests includes:

[0015] Calculate the maximum deviation of the sunroof position before and after a single opening and closing test based on the deviation of the sunroof position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests.

[0016] Optionally, the calculating of the maximum deviation of the sunroof position before and after a single opening and closing test based on the deviation of the sunroof position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests includes:

[0017] Calculate the maximum deviation of the sunroof position before and after a single opening and closing test through a formula based on the deviation of the sunroof position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests. The formula is:

[0018] Δ1 = [MAX(|Δa1|, |Δa2|, …, |Δan|) * times1 / (times1 + times2 + times3) + MAX(|Δb1|, |Δb2|, …, |Δbn|) * times2 / (times1 + times2 + times3) + MAX(|Δc1|, |Δc2|, …, |Δcn|) * times3 / (times1 + times2 + times3)] / times4;

[0019] Wherein, Δ1 is the maximum deviation of the sunroof position before and after a single open - close test. (|Δa1|, |Δa2|, …, |Δan|) represents the absolute values of the deviations of the sunroof position before and after each open - close test when the fourth preset number of open - close tests are carried out at the first preset temperature. (|Δb1|, |Δb2|, …, |Δbn|) represents the absolute values of the deviations of the sunroof position before and after each open - close test when the fourth preset number of open - close tests are carried out at the second preset temperature. (|Δc1|, |Δc2|, …, |Δcn|) represents the absolute values of the deviations of the sunroof position before and after each open - close test when the fourth preset number of open - close tests are carried out at the third preset temperature. times1 is the first preset number, times2 is the second preset number, times3 is the third preset number, and times4 is the fourth preset number.

[0020] Optionally, determining the number of sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open - close test includes:

[0021] Dividing the maximum allowable position deviation of the sunroof by the maximum deviation of the sunroof position before and after a single open - close test, and taking the integer of the obtained quotient to get the number of sunroof reset times.

[0022] Optionally, the sliding component of the sunroof for the open - close test is treated with ash scattering.

[0023] Optionally, after determining the number of sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open - close test, it includes:

[0024] During the actual operation of the sunroof, count the number of operations of the sunroof;

[0025] When the number of operations of the sunroof reaches the number of sunroof reset times, control the sunroof to be reset.

[0026] In a second aspect, an embodiment of the present application provides a device for calibrating the number of sunroof reset times. The device for calibrating the number of sunroof reset times includes:

[0027] An acquisition module, configured to acquire the deviation of the sunroof position before and after multiple open-close tests, where each open-close test is to control the sunroof to move from fully closed to fully open and then to fully closed;

[0028] A first determination module, configured to determine the maximum deviation of the sunroof position before and after a single open-close test according to the deviation of the sunroof position before and after multiple open-close tests;

[0029] A second determination module, configured to acquire the maximum allowable position deviation of the sunroof, and determine the number of sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open-close test.

[0030] Optionally, the acquisition module is configured to:

[0031] Perform open-close tests on the sunroof for a first preset number of times at a first preset temperature, perform open-close tests on the sunroof for a second preset number of times at a second preset temperature, and perform open-close tests on the sunroof for a third preset number of times at a third preset temperature, where the first preset temperature is lower than the second preset temperature, the first preset temperature is higher than the third preset temperature, the first preset number of times is greater than the second preset number of times, and the second preset number of times is greater than the third preset number of times;

[0032] Measure the deviation of the sunroof position before and after every fourth preset number of open-close tests at different preset temperatures, where the first preset number of times, the second preset number of times, and the third preset number of times are all integer multiples of the fourth preset number of times;[[ID=…]]

[0033] The first determination module is configured to:

[0034] Calculate the maximum deviation of the sunroof position before and after a single open-close test according to the deviation of the sunroof position before and after every fourth preset number of open-close tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests.

[0035] In a third aspect, an embodiment of the present application provides a sunroof reset times calibration device, where the sunroof reset times calibration device includes a processor, a memory, and a sunroof reset times calibration program stored on the memory and executable by the processor. When the sunroof reset times calibration program is executed by the processor, the steps of the sunroof reset times calibration method as described above are implemented.

[0036] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a sunroof reset times calibration program is stored. When the sunroof reset times calibration program is executed by a processor, the steps of the sunroof reset times calibration method as described above are implemented.

[0037] The beneficial effects brought by the technical solution provided in the embodiment of the present application include:

[0038] In the embodiment of the present application, the deviation of the sunroof position before and after multiple opening and closing tests is obtained, where each opening and closing test is to control the sunroof to move from fully closed to fully open and then to fully closed; according to the deviation of the sunroof position before and after multiple opening and closing tests, the maximum deviation of the sunroof position before and after one opening and closing test is determined; the maximum allowable position deviation of the sunroof is obtained, and according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after one opening and closing test, the number of sunroof resets is determined. Through the embodiment of the present application, the maximum allowable position deviation of the sunroof is the maximum value of the deviation between the actual closed position and the theoretical closed position of the sunroof that must be reset as set by the sunroof manufacturer. The number of tests can be determined according to the required accuracy of calibration, and the deviation data can be obtained by measurement during the test. Since the maximum deviation of the sunroof position before and after one opening and closing test synthesizes the measurement data of the deviation of the sunroof position before and after multiple opening and closing tests, it can truly reflect the position deviation generated by the multiple operations of the sunroof, and can avoid the deviation of different sunroof displacements caused by the change of voltage level. Furthermore, it can improve the calibration accuracy of the number of sunroof resets, thereby solving the problem of frequent sunroof resets caused by the relatively small number of sunroof resets calibrated by experience at present. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic flowchart of an embodiment of the method for calibrating the number of sunroof resets in the present application;

[0040] Figure 2 It is a cross-sectional view of the sunroof in an embodiment of the method for calibrating the number of sunroof resets in the present application;

[0041] Figure 3 For the present application Figure 1 It is a detailed flowchart of step S10 in the present application;

[0042] Figure 4 It is a schematic diagram of measuring the sunroof position deviation in an embodiment of the method for calibrating the number of sunroof resets in the present application;

[0043] Figure 5 It is a schematic diagram of the functional modules of an embodiment of the device for calibrating the number of sunroof resets in the present application;

[0044] Figure 6 It is a schematic diagram of the hardware structure of the device for calibrating the number of sunroof resets involved in the solution of the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] To enable those skilled in the art to better understand the solution of this application, the following will clearly and completely describe the technical solution in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0046] To make the purpose, technical solution and advantages of this application clearer, the following will further describe the embodiments of this application in detail with reference to the accompanying drawings.

[0047] In a first aspect, an embodiment of this application provides a method for calibrating the reset times of a sunroof.

[0048] In one embodiment, referring to Figure 1 , Figure 1 is a schematic flowchart of an embodiment of the method for calibrating the reset times of the sunroof of this application. As shown in Figure 1 , the method for calibrating the reset times of the sunroof includes:

[0049] Step S10: Obtain the deviation of the sunroof position before and after multiple opening and closing tests, where each opening and closing test controls the sunroof to move from fully closed to fully open and then to fully closed.

[0050] In this embodiment, referring to Figure 2 , Figure 2 is a cross-sectional view of the sunroof of an embodiment of the method for calibrating the reset times of the sunroof of this application. As shown in Figure 2 , multiple opening and closing durability tests can be performed on the sunroof of the vehicle to be calibrated, and the deviation data of the sunroof position before and after multiple opening and closing tests can be measured during the durability test, so as to obtain the deviation data of the sunroof position before and after multiple opening and closing tests. To improve the reliability of calibrating the reset times of the sunroof, each opening and closing test controls the sunroof to move from fully closed to fully open and then to fully closed. Among them, the number of durability tests can be determined according to the required accuracy of calibration.

[0051] Step S20: Determine the maximum deviation of the sunroof position before and after one opening and closing test according to the deviation of the sunroof position before and after multiple opening and closing tests.

[0052] In this embodiment, the displacement of the sunroof during opening and closing is controlled by the motor. As described in the background art, due to voltage fluctuations, the displacement of the sunroof is different each time it is opened and closed. Therefore, through step S10, the sunroof of the vehicle to be calibrated is subjected to multiple opening and closing durability tests, and the deviation data of the sunroof position before and after multiple opening and closing tests are obtained through measurement. Furthermore, the maximum deviation of the sunroof position before and after a single opening and closing test is determined by synthesizing the deviations of the sunroof position before and after multiple opening and closing tests. Since the maximum deviation of the sunroof position before and after a single opening and closing test synthesizes the measurement data of the deviations of the sunroof position before and after multiple opening and closing tests, it can truly reflect the position deviation generated by the multiple operations of the sunroof, and can avoid the deviation of different sunroof displacements caused by changes in voltage. To improve the reliability of calibrating the sunroof reset times, the deviation data of the sunroof position before and after a single opening and closing test takes the maximum deviation.

[0053] Step S30: Obtain the maximum allowable position deviation of the sunroof, and determine the sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test.

[0054] In this embodiment, the maximum allowable position deviation of the sunroof can be obtained from the sunroof manufacturer. The maximum allowable position deviation of the sunroof is the maximum value of the deviation between the actual closed position and the theoretical closed position of the sunroof that must be reset by the sunroof manufacturer. Its significance is that if the deviation between the actual closed position and the theoretical closed position of the sunroof reaches the maximum allowable position deviation of the sunroof after multiple operations and the sunroof is not reset, there will still be a large gap after the sunroof is fully closed, and there will be risks such as rain leakage in the sunroof. Each opening and closing operation of the sunroof will continuously accumulate displacement deviation. As the sunroof operates for a long time, when the accumulated displacement deviation reaches the maximum allowable position deviation of the sunroof, the sunroof should be reset. In step S20, the maximum deviation of the sunroof position before and after a single opening and closing test is determined. Therefore, according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test, the sunroof reset times can be determined.

[0055] In this embodiment, the vehicle sunroof to be calibrated can be subjected to multiple opening and closing durability tests. During the durability test, the deviation data of the sunroof position before and after multiple opening and closing tests are measured, so as to obtain the deviation data of the sunroof position before and after multiple opening and closing tests. Furthermore, the maximum deviation of the sunroof position before and after a single opening and closing test is determined by synthesizing the deviations of the sunroof position before and after multiple opening and closing tests. Since the maximum deviation of the sunroof position before and after a single opening and closing test synthesizes the measurement data of the sunroof position deviation before and after multiple opening and closing tests, it can truly reflect the position deviation generated by the multiple operations of the sunroof, and can avoid the deviation of different sunroof displacements caused by the change of voltage level. The maximum allowable position deviation of the sunroof can be obtained from the sunroof manufacturer. The maximum allowable position deviation of the sunroof is the maximum value of the deviation between the actual closed position and the theoretical closed position of the sunroof that must be reset as set by the sunroof manufacturer. Each opening and closing operation of the sunroof will continuously accumulate displacement deviation. Therefore, based on the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test, the reset times of the sunroof can be determined. Since the maximum deviation of the sunroof position before and after a single opening and closing test synthesizes the measurement data of the sunroof position deviation before and after multiple opening and closing tests, the accuracy of the determined reset times of the sunroof is higher, which can improve the calibration accuracy of the reset times of the sunroof, and thus can solve the problem of frequent sunroof reset caused by the relatively small reset times of the sunroof calibrated by experience currently.

[0056] Further, in one embodiment, referring to Figure 3 , Figure 3 is the detailed flowchart of step S10 in this application Figure 1 . As shown in Figure 3 , step S10 includes:

[0057] Step S101: Conduct the opening and closing test of the sunroof for the first preset number of times at the first preset temperature, conduct the opening and closing test of the sunroof for the second preset number of times at the second preset temperature, and conduct the opening and closing test of the sunroof for the third preset number of times at the third preset temperature. The first preset temperature is lower than the second preset temperature, and the first preset temperature is higher than the third preset temperature. The first preset number is greater than the second preset number, and the second preset number is greater than the third preset number;

[0058] Step S102: Measure the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures, where the first preset number, the second preset number, and the third preset number are all integer multiples of the fourth preset number;

[0059] Step S20 includes:

[0060] According to the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests, the maximum deviation of the sunroof position before and after a single opening and closing test is calculated.

[0061] In this embodiment, for example, the first preset temperature is selected as the normal temperature of 23°C, the first preset number of times is selected as 6200 times, the second preset temperature is selected as the high temperature of 85°C, the second preset number of times is selected as 5100 times, the third preset temperature is selected as the low temperature of -20°C, and the third preset number of times is selected as 700 times. Specifically, 6200 opening and closing tests are performed on the sunroof at 23°C, 5100 opening and closing tests are performed on the sunroof at 85°C, and 700 opening and closing tests are performed on the sunroof at -20°C. In total, 12000 opening and closing durability tests are performed on the sunroof. Different numbers of opening and closing durability tests are carried out under different temperature conditions. This is because in reality, the situation of using the sunroof at 23°C throughout the year is the most frequent, and the number of times the sunroof is opened at low and high temperatures is less. Such a setting can more realistically simulate the actual usage conditions of users and better consider the influence of the temperature environment on the mechanical structure and electronic components, thereby ensuring the closest approximation of the test to the actual situation to the greatest extent. Refer to Figure 4 , Figure 4 is a schematic diagram for measuring the sunroof position deviation in an embodiment of the sunroof reset number calibration method of the present application. Figure 4 The distance a in Figure 4 represents the distance between the rangefinder and the sunroof glass. As

[0062] shown, using a rangefinder (such as an ultrasonic rangefinder and a laser rangefinder, etc.), the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures is measured. The fourth preset number of times is, for example, 100 times. Thus, the deviation data of the sunroof position before and after each 100 opening and closing tests at different preset temperatures as shown in Table 1 can be obtained. Since the number of opening and closing tests carried out at different temperatures is different, the number of deviation data of the sunroof position before and after each 100 opening and closing tests measured is different, and to better fit the actual situation, therefore, when calculating the maximum deviation of the sunroof position before and after a single opening and closing test, the proportion of the deviation data at different temperatures in the total data needs to be considered. Therefore, according to the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests, the maximum deviation of the sunroof position before and after a single opening and closing test is calculated.

[0062] Table 1.

[0063] Test temperature Deviation of sunroof position before and after every 100 opening and closing tests Normal temperature (23°C) Δa1, Δa2, ……, Δa62 High temperature (85°C) Δb1, Δb2, ……, Δb51 Low temperature (-20°C) Δc1, Δc2, ……, Δc7

[0064] Further, in one embodiment, calculating the maximum deviation of the skylight position before and after a single opening and closing test based on the deviation of the skylight position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests includes:

[0065] Based on the deviation of the skylight position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests conducted at different preset temperatures to the total number of tests, the maximum deviation of the skylight position before and after a single opening and closing test is calculated through a formula, and the formula is:

[0066] Δ1 = [MAX(|Δa1|, |Δa2|, …, |Δan|) * times1 / (times1 + times2 + times3) + MAX(|Δb1|, |Δb2|, …, |Δbn|) * times2 / (times1 + times2 + times3) + MAX(|Δc1|, |Δc2|, …, |Δcn|) * times3 / (times1 + times2 + times3)] / times4;

[0067] Wherein, Δ1 is the maximum deviation of the skylight position before and after a single opening and closing test, (|Δa1|, |Δa2|, …, |Δan|) represents the absolute values of the deviations of the skylight position before and after each fourth preset number of opening and closing tests at the first preset temperature, (|Δb1|, |Δb2|, …, |Δbn|) represents the absolute values of the deviations of the skylight position before and after each fourth preset number of opening and closing tests at the second preset temperature, (|Δc1|, |Δc2|, …, |Δcn|) represents the absolute values of the deviations of the skylight position before and after each fourth preset number of opening and closing tests at the third preset temperature, times1 is the first preset number, times2 is the second preset number, times3 is the third preset number, and times4 is the fourth preset number.

[0068] In this embodiment, continue to take the example of conducting 6,200 opening and closing tests (times1) on the sunroof at room temperature of 23°C, 5,100 opening and closing tests (times2) on the sunroof at high temperature of 85°C, and 700 opening and closing tests (times3) on the sunroof at low temperature of -20°C, with a total of 12,000 opening and closing durability tests (times1 + times2 + times3) on the sunroof. And taking the data shown in Table 1 as an example, the above calculation formula can be further expressed as Δ1 = [MAX(|Δa1|, |Δa2|, …, |Δa62|) * 6,200 / (12,000) + MAX(|Δb1|, |Δb2|, …, |Δb51|) * 5,100 / (12,000) + MAX(|Δc1|, |Δc2|, …, |Δc7|) * 700 / (12,000)] / 100. By comprehensively considering the maximum deviations of the sunroof position before and after multiple every 100 opening and closing tests at different temperatures through the above formula, the maximum deviation of the sunroof position before and after a single opening and closing test can be accurately calculated, thereby improving the calibration accuracy of the sunroof reset times, and solving the problem of frequent sunroof reset caused by the relatively small sunroof reset times calibrated by experience currently.

[0069] Further, in one embodiment, step S30 includes:

[0070] Divide the maximum allowable position deviation of the sunroof by the maximum deviation of the sunroof position before and after a single opening and closing test, and take the integer of the obtained quotient to get the sunroof reset times.

[0071] In this embodiment, specifically, the sunroof reset times can be calculated according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test through the formula N = INT(Δ2 / Δ1), where N is the sunroof reset times, Δ2 is the maximum allowable position deviation of the sunroof, Δ1 is the maximum deviation of the sunroof position before and after a single opening and closing test, and INT(x) represents taking the integer of x.

[0072] Further, in one embodiment, the sliding assembly of the sunroof for conducting the opening and closing test is treated with ash spreading.

[0073] In this embodiment, to improve the stability of the sunroof operation, better simulate the operation of the sunroof guide rail in a real environment, and considering that the dust resistance of the sunroof guide rail also affects the displacement during the opening and closing of the sunroof, before conducting the opening and closing test on the sunroof to be calibrated, ash can be scattered on the sliding components on both the left and right sides of the sunroof. The sliding components of the sunroof where ash is scattered mainly include the guide rail of the sunroof, and may also include other mechanical components. Arizona ash can be scattered. Specifically, 3g of Arizona ash can be scattered on each of the left and right sides of the sunroof, and a total of 2g of Arizona ash can be scattered on the mechanical components and the guide rail on each side. By scattering ash, the deviation between the measured position of the sunroof in the sunroof opening and closing durability test and the real environment can be reduced, thereby improving the calibration accuracy of the sunroof reset times.

[0074] Further, in one embodiment, after step S30, it includes:

[0075] During the actual operation of the sunroof, count the number of operations of the sunroof;

[0076] When the number of operations of the sunroof reaches the sunroof reset times, control the sunroof to reset.

[0077] In this embodiment, steps S10 - S30 are used to calibrate the sunroof reset times of the sunroof to be calibrated. After calibration, for the same type of sunroof, during its subsequent actual operation, the number of operations of the sunroof can be counted in real time. For example, the process from fully open (or half open) to fully closed (or half closed) of the sunroof can be counted as one operation of the sunroof, which can be set according to specific needs. When the counted number of operations of the sunroof reaches the sunroof reset times, control the sunroof to reset. After reset, when the sunroof performs a closing operation subsequently, it can be fully closed and tightly sealed without gaps, preventing rainwater leakage or external noise from entering the vehicle.

[0078] In a second aspect, the embodiments of the present application also provide a device for calibrating the sunroof reset times.

[0079] In one embodiment, referring to Figure 5 , Figure 5 is a schematic diagram of the functional modules of an embodiment of the device for calibrating the sunroof reset times of the present application. As Figure 5 shown, the device for calibrating the sunroof reset times includes:

[0080] An acquisition module 10, configured to acquire the deviation of the sunroof position before and after multiple opening and closing tests, where each opening and closing test is to control the sunroof from fully closed to fully open and then to fully closed;

[0081] A first determination module 20, configured to determine the maximum deviation of the sunroof position before and after one opening and closing test according to the deviation of the sunroof position before and after multiple opening and closing tests;

[0082] The second determination module 30 is configured to obtain the maximum allowable position deviation of the sunroof, and determine the number of times the sunroof is reset according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single opening and closing test.

[0083] Further, in an embodiment, the acquisition module 10 is configured to:

[0084] Perform an opening and closing test on the sunroof a first preset number of times at a first preset temperature, perform an opening and closing test on the sunroof a second preset number of times at a second preset temperature, and perform an opening and closing test on the sunroof a third preset number of times at a third preset temperature, where the first preset temperature is lower than the second preset temperature, the first preset temperature is higher than the third preset temperature, the first preset number is greater than the second preset number, and the second preset number is greater than the third preset number;

[0085] Measure the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures, where the first preset number, the second preset number, and the third preset number are all integer multiples of the fourth preset number;

[0086] The first determination module 20 includes:

[0087] The first determination unit is configured to calculate the maximum deviation of the sunroof position before and after a single opening and closing test according to the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests.

[0088] Further, in an embodiment, the first determination unit is configured to:

[0089] According to the deviation of the sunroof position before and after each fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests, calculate the maximum deviation of the sunroof position before and after a single opening and closing test through a formula, and the formula is:

[0090] Δ1=[MAX(|Δa1|,|Δa2|,…,|Δan|)*times1 / (times1+times2+times3)+MAX(|Δb1|,|Δb2|,…,|Δbn|)*times2 / (times1+times2+times3)+MAX(|Δc1|,|Δc2|,…,|Δcn|)*times3 / (times1+times2+times3)] / times4;

[0091] Wherein, Δ1 is the maximum deviation of the sunroof position before and after a single opening and closing test, (|Δa1|, |Δa2|, …, |Δan|) represents the absolute values of the deviations of the sunroof position before and after each opening and closing test for the fourth preset number of times at the first preset temperature, (|Δb1|, |Δb2|, …, |Δbn|) represents the absolute values of the deviations of the sunroof position before and after each opening and closing test for the fourth preset number of times at the second preset temperature, (|Δc1|, |Δc2|, …, |Δcn|) represents the absolute values of the deviations of the sunroof position before and after each opening and closing test for the fourth preset number of times at the third preset temperature, times1 is the first preset number of times, times2 is the second preset number of times, times3 is the third preset number of times, and times4 is the fourth preset number of times. [[ID=~]] [[ID=~]]

[0092] Further, in one embodiment, the second determination module 30 is configured to: [[ID=~]] [[ID=~]]

[0093] Divide the maximum allowable position deviation of the sunroof by the maximum deviation of the sunroof position before and after a single opening and closing test, and take the integer of the obtained quotient to get the number of times the sunroof is reset. [[ID=~]] [[ID=~]]

[0094] Further, in one embodiment, the sliding assembly of the sunroof for which the opening and closing test is performed is treated with ash scattering. [[ID=~]] [[ID=~]]

[0095] Further, in one embodiment, the sunroof reset times calibration device further includes a control module, configured to: [[ID=~]] [[ID=~]]

[0096] During the actual operation of the sunroof, count the number of times the sunroof operates; [[ID=~]] [[ID=~]]

[0097] When the number of times the sunroof operates reaches the number of times the sunroof is reset, control the sunroof to be reset. [[ID=~]] [[ID=~]]

[0098] Wherein, the functions of each module in the above sunroof reset times calibration device correspond to the steps in the above embodiments of the sunroof reset times calibration method, and their functions and implementation processes will not be elaborated here one by one. [[ID=~]] [[ID=~]]

[0099] In a third aspect, an embodiment of the present application provides a sunroof reset times calibration device. [[ID=~]] [[ID=~]]

[0100] Referring to [[ID=~]] Figure 6 , [[ID=~]] Figure 6 is a schematic hardware structure diagram of the sunroof reset times calibration device involved in the embodiment of the present application. In the embodiment of the present application, the sunroof reset times calibration device may include a processor, a memory, a communication interface, and a communication bus. [[ID=~]] [[ID=~]]

[0101] Wherein, the communication bus can be of any type and is used to interconnect the processor, the memory, and the communication interface. [[ID=~]] [[ID=~]]

[0102] The communication interface includes interfaces such as input / output (I / O) interfaces, physical interfaces, and logical interfaces for implementing the interconnection of components inside the skylight reset times calibration device, as well as interfaces for implementing the interconnection between the skylight reset times calibration device and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0103] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical memory, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0104] The processor can be a general-purpose processor, which can call the skylight reset times calibration program stored in the memory and execute the skylight reset times calibration method provided in the embodiments of the present application. For example, the general-purpose processor can be a central processing unit (CPU). Among them, the method executed when the skylight reset times calibration program is called can refer to the various embodiments of the skylight reset times calibration method of the present application, which will not be elaborated here.

[0105] Those skilled in the art can understand that Figure 6 the hardware structure shown in [[ ]] does not constitute a limitation to the present application, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0106] Fourthly, the embodiments of the present application also provide a readable storage medium.

[0107] The skylight reset times calibration program is stored on the readable storage medium of the present application. When the skylight reset times calibration program is executed by a processor, the steps of the skylight reset times calibration method as described above are implemented.

[0108] Among them, the method implemented when the skylight reset times calibration program is executed can refer to the various embodiments of the skylight reset times calibration method of the present application, which will not be elaborated here.

[0109] It should be noted that the serial numbers of the above embodiments of the present application are only for description and do not represent the superiority or inferiority of the embodiments.

[0110] In the description of the specification and claims of this application and the above-mentioned drawings, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products, or devices. Descriptions such as "first", "second", and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit that "first", "second", and "third" are different types.

[0111] In the description of the embodiments of this application, terms such as "exemplary", "for example", or "for illustration" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary", "for example", or "for illustration" in the embodiments of this application should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of words such as "exemplary", "for example", or "for illustration" is intended to present relevant concepts in a specific manner.

[0112] In the description of the embodiments of this application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "a plurality of" means two or more than two.

[0113] In some processes described in the embodiments of this application, multiple operations or steps appear in a specific order. However, it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of this application or may be executed in parallel. The serial numbers of the operations are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0114] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a terminal device to execute the methods described in various embodiments of the present application.

[0115] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A method for calibrating the reset times of a skylight, characterized in that, The skylight reset times calibration method includes: Obtaining the deviation of the skylight position before and after multiple opening and closing tests, where each opening and closing test is to control the skylight to move from fully closed to fully open and then to fully closed; Determining the maximum deviation of the skylight position before and after one opening and closing test according to the deviation of the skylight position before and after multiple opening and closing tests; Obtaining the maximum allowable position deviation of the skylight, and determining the skylight reset times according to the maximum allowable position deviation of the skylight and the maximum deviation of the skylight position before and after one opening and closing test.

2. The skylight reset times calibration method according to claim 1, wherein, The obtaining of the deviation of the skylight position before and after multiple opening and closing tests includes: Performing the opening and closing tests on the skylight for the first preset number of times at the first preset temperature, performing the opening and closing tests on the skylight for the second preset number of times at the second preset temperature, and performing the opening and closing tests on the skylight for the third preset number of times at the third preset temperature. The first preset temperature is lower than the second preset temperature, the first preset temperature is higher than the third preset temperature, the first preset number of times is greater than the second preset number of times, and the second preset number of times is greater than the third preset number of times; Measuring the deviation of the skylight position before and after every fourth preset number of opening and closing tests at different preset temperatures, where the first preset number of times, the second preset number of times, and the third preset number of times are all integer multiples of the fourth preset number of times; The determining of the maximum deviation of the skylight position before and after one opening and closing test according to the deviation of the skylight position before and after multiple opening and closing tests includes: Calculating the maximum deviation of the skylight position before and after one opening and closing test according to the deviation of the skylight position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests.

3. The skylight reset times calibration method according to claim 2, wherein The calculating of the maximum deviation of the skylight position before and after one opening and closing test according to the deviation of the skylight position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests includes: Calculating the maximum deviation of the skylight position before and after one opening and closing test through a formula according to the deviation of the skylight position before and after every fourth preset number of opening and closing tests at different preset temperatures and the proportion of the number of tests performed at different preset temperatures in the total number of tests. The formula is: Δ1 = [MAX(|Δa1|,|Δa2|,…,|Δan|)*times1 / (times1 + times2 + times3)+MAX(|Δb1|,|Δb2|,…,|Δbn|)*times2 / (times1 + times2 + times3)+MAX(|Δc1|,|Δc2|,…,|Δcn|)*times3 / (times1 + times2 + times3)] / times4; Wherein, Δ1 is the maximum deviation of the sunroof position before and after a single open-close test, (|Δa1|, |Δa2|, …, |Δan|) represents the absolute values of the deviations of the sunroof position before and after each open-close test for the fourth preset number of times at the first preset temperature, (|Δb1|, |Δb2|, …, |Δbn|) represents the absolute values of the deviations of the sunroof position before and after each open-close test for the fourth preset number of times at the second preset temperature, (|Δc1|, |Δc2|, …, |Δcn|) represents the absolute values of the deviations of the sunroof position before and after each open-close test for the fourth preset number of times at the third preset temperature, times1 is the first preset number, times2 is the second preset number, times3 is the third preset number, and times4 is the fourth preset number.

4. The skylight reset times calibration method according to claim 1, characterized in that Determining the sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open-close test includes: Dividing the maximum allowable position deviation of the sunroof by the maximum deviation of the sunroof position before and after a single open-close test, and taking the integer of the obtained quotient to get the sunroof reset times.

5. The skylight reset times calibration method according to claim 1, characterized in that The sliding assembly of the sunroof for the open-close test is treated with ash scattering.

6. The method for calibrating the number of times of skylight reset according to claim 1, wherein, After determining the sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open-close test, it includes: During the actual operation of the sunroof, counting the operation times of the sunroof; When the operation times of the sunroof reach the sunroof reset times, controlling the sunroof to be reset.

7. A skylight reset times calibration device, characterized in that, The sunroof reset times calibration device includes: An acquisition module for acquiring the deviations of the sunroof position before and after multiple open-close tests, wherein each open-close test is to control the sunroof to move from fully closed to fully open and then to fully closed; A first determination module for determining the maximum deviation of the sunroof position before and after a single open-close test according to the deviations of the sunroof position before and after multiple open-close tests; A second determination module for acquiring the maximum allowable position deviation of the sunroof, and determining the sunroof reset times according to the maximum allowable position deviation of the sunroof and the maximum deviation of the sunroof position before and after a single open-close test.

8. The skylight reset times calibration device according to claim 7, wherein, The acquisition module is used for: Performing the open-close test on the sunroof for the first preset number of times at the first preset temperature, performing the open-close test on the sunroof for the second preset number of times at the second preset temperature, performing the open-close test on the sunroof for the third preset number of times at the third preset temperature, the first preset temperature is lower than the second preset temperature, the first preset temperature is higher than the third preset temperature, the first preset number is greater than the second preset number, and the second preset number is greater than the third preset number; Measuring the deviations of the sunroof position before and after each open-close test for the fourth preset number of times at different preset temperatures, wherein the first preset number, the second preset number, and the third preset number are all integer multiples of the fourth preset number; The first determination module is used for: Calculating the maximum deviation of the sunroof position before and after a single open-close test according to the deviations of the sunroof position before and after each open-close test for the fourth preset number of times at different preset temperatures and the proportion of the number of tests at different preset temperatures in the total number of tests.

9. A skylight reset times calibration device, characterized in that The skylight reset times calibration device includes a processor, a memory, and a skylight reset times calibration program stored on the memory and executable by the processor. When the skylight reset times calibration program is executed by the processor, the steps of the skylight reset times calibration method according to any one of claims 1 to 6 are implemented.

10. A readable storage medium, characterized in that, A skylight reset times calibration program is stored on the readable storage medium. When the skylight reset times calibration program is executed by a processor, the steps of the skylight reset times calibration method according to any one of claims 1 to 6 are implemented.