Sun shield light transmittance mapping relation automatic adjusting method based on user habits
By obtaining the ambient illumination and user adjustment instructions in real time, a virtual brightness mapping table is established to automatically modify the light transmittance of the electrochromic sun visor, which solves the problem in the existing technology that the sun visor cannot adapt to different lighting needs, and improves user experience and products. stability.
Patent Information
- Application Number
- CN202410994848.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
AI Technical Summary
Existing electrochromic sun visors cannot automatically adjust the mapping table according to user needs. As a result, the light transmittance cannot meet the light intensity requirements of different regions and users. Users need to make frequent manual adjustments, which affects product stability.
By acquiring the ambient illumination in real time, a virtual brightness mapping table is established, user adjustment instructions are recorded, the brightness control target is calculated, and the transmittance in the control mapping table is automatically modified according to preset conditions until the sun visor calibration reaches a steady state.
It reduces the user's subsequent adjustment operations, adapts to the lighting needs of different regions and users, improves the automatic adjustment capability of the sun visor, and maintains product stability.
Smart Images

Figure CN118769842A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile accessory control, and in particular to a method for automatically adjusting a sun visor transmittance mapping relationship based on user habits. Background Art
[0002] The electrochromic visor is an electronic visor that can automatically adjust the transmittance. Its principle is to automatically switch the screen transmittance according to different light intensities, so as to avoid strong light directly hitting the user's eyes. The above switching logic uses the built-in mapping table of the visor controller, which associates lumen values and transmittance, and uses transmittance as the control target to automatically adjust the transmittance. The above mapping table will be determined before the visor leaves the factory, and the technicians will build the table according to different weather conditions and write it into the controller.
[0003] However, the mapping table creation process is limited. For example, if the manufacturer is located in a low-latitude area in China (such as Guangdong), the established mapping table is suitable for use locally. However, when the product is sent to relatively high-latitude provinces in China, or relatively high-latitude areas such as California in the United States (Note: light intensity is affected not only by latitude, but also by factors such as altitude), the light intensity will be very strong, and the built-in mapping table is very likely to fail to meet user needs. In addition, different people's eyes have different perceptions of light intensity. Some users prefer a sun visor with a higher light transmittance, while some users prefer a sun visor with a lower light transmittance. Automatic mapping cannot meet user needs.
[0004] For the sake of product stability, the manufacturer will not directly open the permission to modify the mapping table, and only allow users to manually adjust the current transmittance of the sun visor. For example, the user manually adjusts the original 20000 lux corresponding to 50% transmittance to 20000 lux corresponding to 70% transmittance. However, after manual adjustment, the original mapping relationship does not change. It is a temporary adjustment method. Users need to manually adjust the sun visor every time they turn on the sun visor, which is very troublesome. Summary of the invention
[0005] In view of the above problems, the present invention proposes a method for automatically adjusting the sun visor transmittance mapping relationship based on user habits, which mainly solves the problem that the existing electrochromic sun visor cannot automatically adjust the mapping table according to user needs.
[0006] In order to solve the above technical problems, the first aspect of the present invention proposes a method for automatically adjusting the sun visor transmittance mapping relationship based on user habits, comprising the following steps:
[0007] Acquire the ambient illumination in real time, and search the light transmittance corresponding to the ambient illumination in the control mapping table, wherein the light transmittance is used to adjust the input voltage of the sun visor;
[0008] Establishing a virtual brightness mapping table based on the control mapping table, wherein the virtual brightness mapping table includes multiple groups of mapping data corresponding to the control mapping table, each group of mapping data includes a brightness level, an adjustment amount and a final brightness level;
[0009] Real-time detection of the adjustment instruction input by the user, covering the adjustment instruction with the adjustment amount corresponding to the ambient illumination at the current moment, performing an addition operation on the brightness level and the adjustment amount, and obtaining a modified final brightness level, which is defined as a brightness control target;
[0010] Searching for a brightness level of the same value from the virtual brightness mapping table according to the brightness control target, and using the target light transmittance corresponding to the brightness level to adjust the input voltage of the sun visor;
[0011] Whether the number and value of the brightness control targets generated under the same ambient illumination meet the preset conditions, if so, the transmittance originally corresponding to the ambient illumination is modified to the target transmittance.
[0012] In some embodiments, the adjustment amount is reset to zero each time the sun visor is turned off.
[0013] In some implementations, the value of the adjustment instruction is an integer multiple of 1.
[0014] In some embodiments, the brightness level is not adjustable.
[0015] In some embodiments, the preset condition includes: within the preset time range, if the number of the brightness control targets exceeds the preset number, then modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
[0016] In some implementations, the preset time range is 4 days, and the preset number is set to 3 times.
[0017] In some embodiments, the preset condition includes: if the number of consecutively generated brightness control targets exceeds a preset value, modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
[0018] In some embodiments, the preset condition includes: within a preset time range, if the probability of generating the brightness control target exceeds a preset value, then modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
[0019] The second aspect of the present invention provides a device for automatically adjusting the sun visor transmittance mapping relationship based on user habits, the device comprising a memory, a processor and a communication module, wherein:
[0020] The memory is used to store executable program code;
[0021] The processor is coupled to the memory;
[0022] The processor calls the executable program code stored in the memory to execute the above-mentioned method for automatically adjusting the sun visor transmittance mapping relationship based on user habits.
[0023] A third aspect of the present invention provides a computer storable medium storing computer instructions, which, when called, are used to execute the above-mentioned method for automatically adjusting the sun visor transmittance mapping relationship based on user habits.
[0024] The beneficial effects of the present invention are as follows: by presetting a virtual brightness mapping table, recording each adjustment instruction of the user, calculating the brightness control target under the current ambient illumination according to the instruction, and using it to automatically modify the transmittance in the control mapping table, users in different regions can continuously correct the transmittance in the control mapping table according to the current ambient illumination during use until the calibration of the sun visor reaches a steady state, thereby reducing the user's subsequent adjustment operations and not affecting the stability of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A schematic flow chart of a method for automatically adjusting a sun visor transmittance mapping relationship based on user habits disclosed in an embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of the mapping relationship between the original control mapping table and the virtual brightness mapping table before adjustment;
[0027] Figure 3 is a schematic diagram of the mapping relationship between the original control mapping table and the virtual brightness mapping table being adjusted;
[0028] Figure 4 A schematic diagram of the mapping relationship between the adjusted control mapping table and the initialized virtual brightness mapping table;
[0029] Figure 5 It is a schematic structural diagram of a device for automatically adjusting the sun visor transmittance mapping relationship based on user habits disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the content of the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It is understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for the convenience of description, only the parts related to the present invention are shown in the accompanying drawings, rather than all the contents.
[0031] Embodiment 1
[0032] This embodiment proposes a method for automatically adjusting the sun visor transmittance mapping relationship based on user habits, such as Figure 1 As shown, the following steps S1-S5 are included:
[0033] S1, obtain the ambient illumination in real time, and find the transmittance corresponding to the ambient illumination from the control mapping table. The transmittance is used to adjust the input voltage of the sun visor.
[0034] In one example, if Figure 2 As shown, the original control mapping table only includes ambient illumination and transmittance, and divides the ambient illumination from 3000-35000 lux into 11 levels unevenly, and divides the transmittance from 0-100% into 11 levels evenly. For example, when the ambient illumination is 16000 lux, it corresponds to a transmittance of 50%. Obviously, the greater the ambient illumination, the smaller the transmittance should be, until the sun visor becomes completely black and blocks all incident light. When the ambient illumination is below 3000 lux, there is no need to adjust the input voltage of the sun visor, and the transmittance remains at 0% to save energy.
[0035] S2, establishing a virtual brightness mapping table based on the control mapping table, wherein the virtual brightness mapping table includes multiple groups of mapping data corresponding to the control mapping table, and each group of mapping data includes a brightness level, an adjustment amount, and a final brightness level.
[0036] In one example, a virtual brightness mapping table is constructed based on the above control mapping table. Figure 2 , the virtual brightness mapping table is also divided into 11 mapping data, and the corresponding brightness levels are divided into 11 levels from 0 to 10. Taking the ambient illumination of 16000 lux as an example, the corresponding brightness level, adjustment amount and final brightness level are 5, 0 and 5 respectively. In this scheme, the brightness level is not adjustable. As a fixed value, the initial value of the adjustment amount is all set to 0. As a hidden variable, the adjustment amount is cleared every time the sun visor is turned off, that is, it is initialized to zero when the system is restarted.
[0037] It should be noted that the step of establishing the virtual brightness mapping table in this embodiment is to pre-write it into the memory of the controller before the sun visor leaves the factory for subsequent adjustment by the user.
[0038] S3, real-time detection of the adjustment command input by the user, covering the adjustment command with the adjustment amount corresponding to the ambient illumination at the current moment, adding the brightness level and the adjustment amount, and obtaining the modified final brightness level, which is defined as the brightness control target.
[0039] In one example, an adjustment structure such as an adjustment button or a sliding knob may be provided on the sun visor. When the adjustment instruction input by the user is recognized according to the program, the value of the adjustment instruction is an integer multiple of 1, such as -1, -2, -3, 1, 2, 3, etc. In one example, Figure 3 As shown, if the current ambient illumination is 16000 lux, assuming that the adjustment instruction input by the user is -1, indicating that the user still needs to increase the transmittance of the sun visor under 16000 lux, the brightness level and the adjustment amount are 5 and -1 respectively. After calculation, the final brightness level is 4, which is the brightness control target.
[0040] S4, searching for a brightness level of the same value from a virtual brightness mapping table according to the brightness control target, and using the transmittance corresponding to the brightness level to adjust the input voltage of the sun visor.
[0041] In this solution example, since the brightness control target is designed to increase (or decrease in other adjustment tasks, depending on user expectations) the transmittance of the sun visor, continue to refer to Figure 3 , and look up the brightness level of 4 from the virtual brightness mapping table. It can be seen that the brightness level is 4 under the ambient illumination of 14000 lux, and the corresponding transmittance is 60%. In this adjustment task, the transmittance of 60% is used as the adjustment target to adjust the input voltage of the sun visor. After adjustment, the transmittance of the sun visor is increased from 50% to 60%. As the transmittance increases, the brightness level of the screen is reduced by 1 level, from 5 to 4.
[0042] It should be noted that in the first adjustment, since the initial values of the adjustment amount are all zero, all the brightness levels in the virtual brightness mapping table and the final brightness level are equal. However, in S4, the brightness control target must be searched from the brightness level, not from the final brightness level. Assuming that in the previous round of adjustment tasks, there is an adjustment under the ambient illumination of 14000 lux, then the final brightness corresponding to 14000 lux is adjusted, and this value corresponds to other levels of transmittance, so it is no longer suitable as the search target for this round of adjustment tasks.
[0043] S5, whether the number and value of the brightness control targets generated under the same ambient illumination meet the preset conditions, and if so, modify the transmittance originally corresponding to the ambient illumination to the target transmittance.
[0044] During the operation of the sun visor, the sunlight intensity changes all the time, so the basis of the adjustment task must be the ambient illumination detected at the current moment. As described in S3-S5, the current ambient illumination needs to be determined during the detection to determine that the target of the adjustment task is based on the current moment and is used to adjust the control mapping table. The modified control mapping table will serve as the basis for other subsequent rounds of adjustment tasks. The main reason why the manufacturer does not open the control mapping table adjustment is that the user's misoperation may cause a large gap in the mapping relationship of the control mapping table. For example, when the car has just left the tunnel and the light changes dramatically, the user may immediately adjust the sun visor to full black. In fact, the ambient illumination obtained by the sensor at this time is far from 35000 lux. Therefore, allowing the user to adjust it will greatly affect the stability of the product. In the solution of the present invention, the user's adjustment instructions are detected under specific conditions, thereby reducing the impact of the user's bad operation. Therefore, under the premise of conditionally releasing the control mapping table adjustment, the product stability will not be affected.
[0045] Three different preset conditions are provided below for illustration:
[0046] ①. The preset conditions include: within the preset time range, if the number of brightness control targets exceeds the preset number, the transmittance originally corresponding to the ambient illumination is modified to the target transmittance. Based on the above number of brightness control targets, this solution provides an optional solution with a preset time range of 4 days and a preset number of 3 times. Assuming that within 4 days, at an ambient illumination of 16000 lux, if the user inputs an adjustment command with a value of -1 for more than 3 times, then the brightness control target calculated in S4 is 4. It can be determined that at an ambient illumination of 16000 lux, the visor transmittance actually required by the user is 60%, and the original transmittance of 50% corresponding to the ambient illumination is too low. Therefore, the transmittance corresponding to the ambient illumination of 16000 lux is modified from 50% to the target transmittance of 60%. Furthermore, the brightness level and final brightness level corresponding to the ambient illumination of 16000 lux are modified from level 5 to level 4. In this example, the same set of mapping data is used under the ambient illumination of 16000 lux and the ambient illumination of 14000 lux (except for the different ambient illumination), such as Figure 4 shown.
[0047] ②. The preset conditions include: if the number of brightness control targets generated continuously exceeds the preset value, the transmittance originally corresponding to the ambient illumination is modified to the target transmittance. In one example, the preset value is set to 4, and the brightness control target after each adjustment is conditionally counted. For example, under an ambient illumination of 16000 lux, assuming that the user adjusts the brightness control target (final brightness level) 4 after 4 consecutive adjustments (if there are brightness control targets with other values during the counting process, assuming the value is 3, then the brightness control target will interrupt the accumulation of the value 4), then the original mapping relationship is changed, and the transmittance corresponding to the ambient illumination of 16000 lux is changed from 50% to 60%.
[0048] ③. The preset conditions include: within the preset time range, if the probability of generating the brightness control target exceeds the preset value, the transmittance corresponding to the original ambient illumination is modified to the target transmittance. Similarly, an activation function can be set. Assuming that under the ambient illumination of 16000 lux, when the user sets the brightness control target for multiple times in succession, the preset value is set to 74%, of which 3 times are set to 4 and 1 time is set to 3, then the probability that the brightness control target is set to level 4 is greater than 74%, and the transmittance corresponding to the ambient illumination of 16000 lux is modified from 50% to 60%.
[0049] Embodiment 2
[0050] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of another device for automatically adjusting the sun visor transmittance mapping relationship based on user habits disclosed in an embodiment of the present invention. Figure 5 As shown, the control platform may include:
[0051] A memory 101 storing executable program codes;
[0052] a processor 102 coupled to the memory 101;
[0053] The processor 102 calls the executable program code stored in the memory 101 to execute the steps of the method for automatically adjusting the sun visor transmittance mapping relationship based on user habits described in the first embodiment.
[0054] Embodiment 3
[0055] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the method for automatically adjusting the sun visor transmittance mapping relationship based on user habits described in Example 1.
[0056] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0057] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0058] Finally, it should be noted that the method for automatically adjusting the sun visor transmittance mapping relationship based on user habits disclosed in the embodiment of the present invention only discloses a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for automatically adjusting the sun visor transmittance mapping relationship based on user habits, characterized in that: The following steps are involved: Acquire the ambient illumination in real time, and search the light transmittance corresponding to the ambient illumination in the control mapping table, wherein the light transmittance is used to adjust the input voltage of the sun visor; Establishing a virtual brightness mapping table based on the control mapping table, wherein the virtual brightness mapping table includes multiple groups of mapping data corresponding to the control mapping table, each group of mapping data includes a brightness level, an adjustment amount and a final brightness level; Real-time detection of the adjustment instruction input by the user, covering the adjustment instruction with the adjustment amount corresponding to the ambient illumination at the current moment, performing an addition operation on the brightness level and the adjustment amount, and obtaining a modified final brightness level, which is defined as a brightness control target; Searching for a brightness level of the same value from the virtual brightness mapping table according to the brightness control target, and using the target light transmittance corresponding to the brightness level to adjust the input voltage of the sun visor; Whether the number and value of the brightness control targets generated under the same ambient illumination meet the preset conditions, if so, the transmittance originally corresponding to the ambient illumination is modified to the target transmittance.
2. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits according to claim 1, characterized in that: The adjustment amount is reset to zero each time the sun visor is turned off.
3. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 1, characterized in that: The value of the adjustment instruction is an integer multiple of 1.
4. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 1, characterized in that: The brightness level is not adjustable.
5. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 1, characterized in that: The preset condition includes: within the preset time range, if the number of the brightness control targets exceeds the preset number, then modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
6. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 5, characterized in that: The preset time range is 4 days, and the preset number is set to 3 times.
7. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 1, characterized in that: The preset condition includes: if the number of the brightness control targets continuously generated exceeds a preset value, then modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
8. The method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as claimed in claim 1, characterized in that: The preset condition includes: within a preset time range, if the generation probability of the brightness control target exceeds a preset value, then modifying the transmittance originally corresponding to the ambient illumination to the target transmittance.
9. A device for automatically adjusting the sun visor transmittance mapping relationship based on user habits, characterized in that: The device includes a memory, a processor and a communication module, wherein: The memory is used to store executable program code; The processor is coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as described in any one of claims 1-8.
10. A computer storable medium, characterized in that: The computer storable medium stores computer instructions, and when the computer instructions are called, they are used to execute the method for automatically adjusting the sun visor transmittance mapping relationship based on user habits as described in any one of claims 1-8.
