Vehicle sun shield adjusting method and device, vehicle-mounted terminal and vehicle
By integrating the outside light, seat and navigation data, the head position identification model and light intensity comparison table are used to adjust the vehicle sun visor, which solves the problems of complexity and large errors in the existing system, and realizes the accurate adjustment and safety of the sun visor promote.
Patent Information
- Application Number
- CN202411112396.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-08
AI Technical Summary
The existing vehicle sun visor adjustment system is complex, has high cost and has large angle errors, making it difficult to effectively avoid direct sunlight from the driver's eyes, affecting safety.
By obtaining the outside light parameters, seat data and navigation data, using the head position identification model and light intensity comparison table trained in advance or real-time, the adjustment angle of the vehicle sun visor is determined, and the rotation mechanism motor control drive module is used to adjust the sun visor angle. .
The personalized adjustment of the sun visor is realized, which accurately reduces the interference of strong sunlight on the driver's sight, reduces the risk of glare, and improves safety during driving.
Smart Images

Figure CN118906771A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle sun visors, and in particular to a vehicle sun visor adjustment method, device, vehicle-mounted terminal and vehicle. Background Art
[0002] Sun visors are currently essential components for motor vehicles. Most sun visors on the market are still manually adjusted. Manual adjustment by the driver during driving will bring certain safety hazards to the vehicle. Combined with the development of intelligent motor vehicles and miniaturization of motors, the sun visors of motor vehicles can automatically adjust the opening angle of the sun visors under preset conditions to prevent sunlight from directly shining into the driver's eyes, improve the user's driving experience, and avoid the safety risks caused by manual adjustment of the sun visor during previous driving.
[0003] The Chinese patent with application number: CN201610105432.8, invention title: A method, device and system for automatically controlling a sun visor, discloses a technical solution: by obtaining the driver's eye position information and the current sun angle, the sun visor adjustment target is obtained to avoid direct sunlight to the driver's eyes while maintaining the driver's maximum field of vision. However, the solution needs to include the photosensitive angle, light intensity, driver's eye position, control unit, and execution unit. The entire system is complex and costly, and the sun visor adjustment angle is determined by a single parameter, resulting in a large error. Summary of the invention
[0004] The present application provides a vehicle sun visor adjustment method, device, electronic equipment and vehicle to solve the above-mentioned technical problems.
[0005] An embodiment of the present application provides a vehicle sun visor adjustment method, the method comprising: obtaining outdoor lighting parameters, seat data and navigation data; based on the seat data, obtaining the head position of a target user according to a pre- or real-time trained head position recognition model, performing a search operation in a light intensity comparison table through the outdoor lighting parameters to obtain the light intensity, the light intensity comparison table comprising a correspondence between outdoor lighting parameters and light intensity, and the head position recognition model is trained based on the seat data; determining an adjustment angle of the vehicle sun visor based on the light intensity, the head position of the target user and the navigation data, and adjusting the vehicle sun visor according to the adjustment angle.
[0006] In one embodiment of the present application, obtaining exterior lighting parameters and seat data includes: obtaining exterior lighting parameters through an exterior lighting acquisition device; detecting whether a target seat is occupied through a seat occupancy sensor, and if the target seat is detected to be occupied, detecting the inclination angle of the target seat through a backrest angle sensor, and detecting the spatial position of the target seat through a seat position sensor to obtain seat data.
[0007] In one embodiment of the present application, based on the seat data, according to a preset head position recognition model, the head position of the target user is obtained, including: obtaining sample seat data and the head position corresponding to the sample seat data; generating a seat data set through the sample seat data and the head position corresponding to the sample seat data; dividing the seat data set according to a first preset ratio to obtain a seat training data set and a seat verification data set; training an initial head position recognition model through the seat training data set, and verifying the initial head position recognition model through the seat verification data set to obtain a head position recognition model; inputting the seat data into the head position recognition model to obtain the head position of the target user.
[0008] In one embodiment of the present application, the adjustment angle of the vehicle sun visor is determined based on the light intensity, the head position of the target user and the navigation data, including: inputting the light intensity, the head position of the target user and the navigation data into a preset vehicle sun visor angle adjustment model to obtain the adjustment angle of the vehicle sun visor, and generating an angle adjustment instruction based on the adjustment angle of the vehicle sun visor; wherein the adjustment angle of the vehicle sun visor is obtained based on sample light intensity, sample target user's head position and sample navigation data and sample adjustment angle training.
[0009] In one embodiment of the present application, the process of training a vehicle sun visor angle adjustment model includes: obtaining sample light intensity, sample target user's head position, sample navigation data, and sample adjustment angle; generating an angle adjustment data set through the sample light intensity, the sample target user's head position, the sample navigation data, and the sample adjustment angle; dividing the data set according to a second preset ratio to obtain an angle adjustment training data set and an angle adjustment verification data set; training an initial vehicle sun visor angle adjustment model through the angle adjustment training data set, and verifying the initial vehicle sun visor angle adjustment model through the angle adjustment verification data set to obtain a vehicle sun visor angle adjustment model.
[0010] In one embodiment of the present application, a light intensity comparison table is constructed, including: continuously collecting light parameters outside the vehicle within a preset time period through a photometric sensor as sample light parameters; classifying the sample light parameters in descending order to obtain a first gradient light parameter, a second gradient light parameter, a third gradient light parameter and a fourth gradient light parameter; setting a weak light level for the first gradient light parameter, a medium light level for the second gradient light parameter, a strong light level for the third gradient light parameter, and an extremely strong light level for the fourth gradient light parameter, to complete the construction of the light intensity comparison table.
[0011] In one embodiment of the present application, adjusting the vehicle sun visor by adjusting the angle includes: receiving an angle adjustment instruction through an automatic sun visor device; adjusting the angle of the vehicle sun visor according to the adjustment angle instruction by a rotating mechanism motor control driving module to adjust the vehicle sun visor.
[0012] The vehicle sun visor adjustment system provided in the embodiment of the present application includes: an acquisition module, which is used to acquire outdoor lighting parameters, seat data and navigation data; a search module, which is used to obtain the head position of the target user based on the seat data and a head position recognition model trained in advance or in real time, and obtain the light intensity by searching the light intensity comparison table through the outdoor lighting parameters, wherein the light intensity comparison table includes the correspondence between the outdoor lighting parameters and the light intensity, and the head position recognition model is trained based on the seat data; an adjustment module, which is used to determine the adjustment angle of the vehicle sun visor based on the light intensity, the head position of the target user and the navigation data, and adjust the vehicle sun visor according to the adjustment angle.
[0013] An embodiment of the present application provides a vehicle-mounted terminal, including a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the above-mentioned vehicle sun visor adjustment method.
[0014] An embodiment of the present application provides a vehicle, wherein the vehicle is provided with the above-mentioned vehicle sun visor adjustment device and electronic device.
[0015] The beneficial effects of the present application are as follows: obtaining the outdoor lighting parameters, seat data and navigation data; based on the seat data, according to the pre- or real-time trained head position recognition model, obtaining the head position of the target user, performing a search operation in the light intensity comparison table through the outdoor lighting parameters, obtaining the light intensity, the light intensity comparison table includes the correspondence between the outdoor lighting parameters and the light intensity, and the head position recognition model is obtained based on the seat data training; determining the adjustment angle of the vehicle sun visor based on the light intensity, the head position of the target user and the navigation data, and adjusting the vehicle sun visor by adjusting the angle. Based on the pre- or real-time trained head position recognition model, it is possible to identify the seat preferences and head positions of different users, thereby realizing personalized adjustment of the sun visor to meet the comfort needs of different drivers. By integrating and processing multiple data sources such as outdoor lighting parameters, seat data and navigation data, it is possible to accurately adjust the angle of the vehicle sun visor, effectively reduce the interference of strong sunlight on the driver's vision, reduce the risk of glare, and thus improve safety during driving.
[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 is a system architecture diagram of vehicle sun visor adjustment shown in an exemplary embodiment of the present application;
[0019] Figure 2 is a structural diagram of an automatic sun visor device shown in an exemplary embodiment of the present application;
[0020] Figure 3 is a flow chart of a vehicle sun visor adjustment method shown in an exemplary embodiment of the present application;
[0021] Figure 4 is a block diagram of a vehicle sun visor adjustment device shown in an exemplary embodiment of the present application;
[0022] Figure 5 It is a structural schematic diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, 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 application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application 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 at will, and the component layout may also be more complicated.
[0025] In the following description, a lot of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0026] The embodiments of the present application respectively propose a vehicle sun visor adjustment method, a vehicle sun visor adjustment device, and a vehicle-mounted terminal, and these embodiments will be described in detail below.
[0027] See also Figure 1 , Figure 1 The structure diagram of the vehicle sun visor adjustment system according to an embodiment of the present application is shown, including an external intensity acquisition module 110, a navigation module 120, an automatic sun visor module 130, a seat module 140 and an intelligent decision module 150, wherein the seat module 140 includes a seat occupancy sensor 1401, a backrest angle sensor 1402 and a seat position sensor 1403, and the intelligent decision module 150 includes a data processing module 1501 and a data storage module 1502. The external illumination parameters are acquired through the external intensity acquisition module, the seat data are acquired through the seat module, and the navigation data are acquired through the navigation module, and the external illumination parameters, seat data and navigation data are sent to the intelligent decision module. The intelligent decision module obtains the head position of the target user based on the seat data and the head position recognition model trained in advance or in real time, and performs a search operation in the illumination intensity comparison table through the external illumination parameters to obtain the illumination intensity, and determines the adjustment angle of the vehicle sun visor based on the illumination intensity, the head position of the target user and the navigation data, and adjusts the vehicle sun visor by adjusting the angle. By acquiring seat data and identifying the seat preferences and head positions of different users, the sun visor can be adjusted in a personalized way to meet the comfort needs of different drivers. By integrating multiple data sources such as external lighting parameters, seat data, and navigation data, the angle of the vehicle sun visor can be accurately adjusted, effectively reducing the interference of strong sunlight on the driver's vision, reducing the risk of glare, and thus improving driving safety.
[0028] In one embodiment of the present application, adjusting the vehicle sun visor by adjusting the angle includes: receiving an angle adjustment instruction through an automatic sun visor device; adjusting the angle of the vehicle sun visor according to the adjustment angle instruction by controlling a driving module through a rotating mechanism motor to adjust the vehicle sun visor.
[0029] As an example, Figure 2The structure diagram of the automatic sun visor device 200 shown in an exemplary embodiment of the present application includes a communication module 210, a control drive module 220, a sun visor housing 230, an angle detection module 240 and a rotating motor 250. After the intelligent decision module receives the adjustment angle, it receives the angle adjustment instruction; the rotating mechanism motor controls the drive module to adjust the angle of the vehicle sun visor according to the adjustment angle instruction to adjust the vehicle sun visor.
[0030] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a vehicle sun visor adjustment method according to an embodiment of the present application. Figure 3 As shown, the method at least includes steps S310 to S330, which are described in detail as follows:
[0031] Step S310, obtaining vehicle exterior lighting parameters, seat data and navigation data.
[0032] In one embodiment of the present application, the vehicle exterior light intensity is detected by a vehicle exterior light intensity acquisition device, and the result is uploaded to an intelligent decision-making unit.
[0033] Step S320, based on the seat data, according to the pre- or real-time trained head position recognition model, the head position of the target user is obtained, and the light intensity is obtained by searching the light intensity comparison table through the light parameters outside the vehicle. The light intensity comparison table includes the correspondence between the light parameters outside the vehicle and the light intensity. The head position recognition model is trained based on the seat data.
[0034] Step S330, determining an adjustment angle of the vehicle sun visor based on the light intensity, the head position of the target user and the navigation data, and adjusting the vehicle sun visor by adjusting the angle.
[0035] In one embodiment of the present application, light intensity, target user's head position and navigation data are used as input information for intelligent decision-making. Based on the result of the decision output, it is determined whether the vehicle state meets the conditions for automatic adjustment of the sun visor, the seat that needs to be adjusted is determined, and the angle that needs to be adjusted for the automatic sun visor is output.
[0036] In one embodiment of the present application, the navigation data includes vehicle position data, vehicle speed, vehicle driving route and other data. After the vehicle is started, the navigation system dynamically collects the above data in real time and uploads it to the intelligent decision-making unit.
[0037] exist Figure 3In the technical solution shown, the vehicle exterior lighting parameters, seat data and navigation data are obtained; based on the seat data, the head position of the target user is obtained according to the pre-trained or real-time head position recognition model, and the light intensity is obtained by searching the light intensity comparison table through the vehicle exterior lighting parameters. The light intensity comparison table includes the correspondence between the vehicle exterior lighting parameters and the light intensity. The head position recognition model is trained based on the seat data; the adjustment angle of the vehicle sun visor is determined based on the light intensity, the target user's head position and the navigation data, and the vehicle sun visor is adjusted by adjusting the angle. Based on the pre-trained or real-time head position recognition model, the seat preferences and head positions of different users can be identified, thereby realizing personalized adjustment of the sun visor to meet the comfort needs of different drivers. By integrating and processing multiple data sources such as the vehicle exterior lighting parameters, seat data and navigation data, the angle of the vehicle sun visor can be accurately adjusted, effectively reducing the interference of strong sunlight on the driver's vision, reducing the risk of glare, and thus improving safety during driving.
[0038] In one embodiment of the present application, obtaining the external lighting parameters and seat data includes: obtaining the external lighting parameters through the external lighting acquisition device; detecting whether the target seat is occupied through the seat occupancy sensor, and if the target seat is detected to be occupied, detecting the tilt angle of the target seat through the backrest angle sensor, and detecting the spatial position of the target seat through the seat position sensor to obtain the seat data. By identifying the external lighting intensity and identifying the seat preferences and head positions of different users, the sun visor can be adjusted in a personalized manner to meet the comfort needs of different drivers.
[0039] In one embodiment of the present application, based on the seat data, according to the preset head position recognition model, the head position of the target user is obtained, including: obtaining sample seat data and the head position corresponding to the sample seat data; generating a seat data set through the sample seat data and the head position corresponding to the sample seat data; dividing the seat data set according to a first preset ratio to obtain a seat training data set and a seat verification data set; training an initial head position recognition model through the seat training data set, and verifying the initial head position recognition model through the seat verification data set to obtain a head position recognition model; inputting the seat data into the head position recognition model to obtain the head position of the target user. The head position of the target user is obtained by recognizing the neural network model, so as to accurately predict the head position of the target user, thereby accurately adjusting the angle of the vehicle sun visor, effectively reducing the interference of strong sunlight on the driver's vision, reducing the risk of glare, and improving the safety during driving.
[0040] As an example, the adjustment angle of the vehicle sun visor is determined based on the light intensity, the head position of the target user and the navigation data, including: inputting the light intensity, the head position of the target user and the navigation data into the preset vehicle sun visor angle adjustment model to obtain the adjustment angle of the vehicle sun visor, and generating an angle adjustment instruction based on the adjustment angle of the vehicle sun visor; wherein the adjustment angle of the vehicle sun visor is obtained based on sample light intensity, sample target user head position and sample navigation data and sample adjustment angle training. Multiple data sources such as external lighting parameters, seat data and navigation data are integrated and processed, and the adjustment angle is obtained based on the neural network model, which can accurately adjust the angle of the vehicle sun visor, effectively reduce the interference of strong sunlight on the driver's vision, reduce the risk of glare, and thus improve safety during driving.
[0041] In one embodiment of the present application, the process of training a vehicle sun visor angle adjustment model includes: obtaining sample light intensity, sample target user's head position and sample navigation data, and sample adjustment angle; generating an angle adjustment data set through the sample light intensity, sample target user's head position and sample navigation data, and sample adjustment angle; dividing the data set according to a second preset ratio to obtain an angle adjustment training data set and an angle adjustment verification data set; training an initial vehicle sun visor angle adjustment model through the angle adjustment training data set, and verifying the initial vehicle sun visor angle adjustment model through the angle adjustment verification data set to obtain a vehicle sun visor angle adjustment model.
[0042] In one embodiment of the present application, a light intensity comparison table is constructed, including: continuously collecting the light parameters outside the vehicle within a preset time period through a photometric sensor as sample light parameters; classifying the sample light parameters in descending order to obtain a first gradient light parameter, a second gradient light parameter, a third gradient light parameter and a fourth gradient light parameter; setting a weak light level for the first gradient light parameter, a medium light level for the second gradient light parameter, a strong light level for the third gradient light parameter, and an extremely strong light level for the fourth gradient light parameter, to complete the construction of the light intensity comparison table. By constructing a light intensity comparison table, when the vehicle is started, the light intensity can be accurately determined based on the detected light parameters outside the vehicle, so that the angle of the vehicle sun visor can be accurately adjusted according to the light intensity, effectively reducing the interference of strong sunlight on the driver's vision, reducing the risk of glare, and thus improving safety during driving.
[0043] As an example, when the weather is sunny, the outdoor lighting parameters are continuously collected within 1 day, the outdoor lighting parameters of the current vehicle position are obtained through the photometric sensor, and the sample lighting parameters are classified in descending order to obtain the first gradient lighting parameters, the second gradient lighting parameters, the third gradient lighting parameters and the fourth gradient lighting parameters, specifically: the first gradient lighting parameter is 0 to 1000cd (light intensity value), the second gradient lighting parameter is 1001 to 30000cd, the third gradient lighting parameter is 30001 to 100000cd, and the fourth gradient lighting parameter is above 100001cd. , set a weak light level for the first gradient lighting parameter, set a medium light level for the second gradient lighting parameter, set a strong light level for the third gradient lighting parameter, and set an extremely strong light level for the fourth gradient lighting parameter. Specifically, set a weak light level for the first gradient lighting parameter 0-1000cd (light intensity value), set a medium light level for the second gradient lighting parameter 1001-30000cd, set a strong light level for the third gradient lighting parameter 30001-100000cd, and set an extremely strong light level for the fourth gradient lighting parameter above 100001cd, and complete the construction of the lighting intensity comparison table. By constructing the lighting intensity comparison table, when the vehicle is started, the lighting intensity can be accurately determined according to the detected external lighting parameters, so as to accurately adjust the angle of the vehicle sun visor according to the lighting intensity, effectively reduce the interference of strong sunlight on the driver's vision, reduce the risk of glare, and thus improve the safety during driving.
[0044] As an example, when the vehicle is started, the photometric sensor is used to obtain the external lighting parameters of the current vehicle position, and the external lighting parameters are uploaded to the intelligent decision unit through the communication bus. The seat system obtains the front seat in-position detection data, the cushion space data and the backrest rotation angle data and uploads them to the intelligent decision unit. The navigation system uploads the vehicle orientation, position and driving route data to the intelligent decision unit. The intelligent decision unit calculates and processes the above input data. Specifically, the external lighting parameters are compared with the light intensity comparison table to obtain the light intensity. If the light intensity meets the sunlight environment, it is determined that the current vehicle position is in the sunlight area; the seat occupancy sensor is used to detect whether the target seat is occupied. If it is detected that the target seat is occupied, the backrest angle sensor is used to detect the inclination angle of the target seat, and the seat position sensor is used to detect the spatial position of the target seat to obtain the seat data. The seat data is input into the head position recognition model to obtain the head position of the target user; the intelligent decision unit uses the navigation system to provide The vehicle head direction, route planning, vehicle speed, geographic location information (province, city, local sunrise and sunset time), weather information (sunny, cloudy, rainy), current time and other information are combined, and the light intensity, target user's head position and navigation data are input into the preset vehicle sun visor angle adjustment model to obtain the vehicle sun visor adjustment angle, and the angle adjustment instruction is generated based on the vehicle sun visor adjustment angle. The angle of the current vehicle sun irradiation to the target user's head is determined and confirmed. After the irradiation angle is compared and calculated with the preset angle model data of the actual sun irradiation of the target user's head, the automatic sun visor of the target user's seat needs to be adjusted. The automatic sun visor device performs the angle adjustment of the instruction after receiving the instruction, and transmits the data back to the intelligent decision unit. By identifying the seat preferences and head positions of different users, the personalized adjustment of the sun visor is realized to meet the comfort needs of different drivers. Multiple data sources such as external lighting parameters, seat data and navigation data are integrated and processed to accurately adjust the angle of the vehicle sun visor, effectively reduce the interference of strong sunlight on the driver's vision, reduce the risk of glare, and thus improve the safety during driving.
[0045] Figure 4 FIG. 1 is a block diagram of a vehicle sun visor adjustment device according to an exemplary embodiment of the present application. Figure 4As shown, according to an embodiment of the present application, the vehicle sun visor adjustment device 400 includes: an acquisition module 410, a search module 420 and an adjustment module 430. The acquisition module is used to acquire the external illumination parameters, seat data and navigation data; the search module is used to obtain the head position of the target user based on the seat data and the head position recognition model trained in advance or in real time, and to obtain the illumination intensity by searching the illumination parameters in the illumination intensity comparison table, the illumination intensity comparison table includes the correspondence between the external illumination parameters and the illumination intensity, and the head position recognition model is obtained by training the seat data; the adjustment module is used to determine the adjustment angle of the vehicle sun visor based on the illumination intensity, the head position of the target user and the navigation data, and adjust the vehicle sun visor by adjusting the angle. By identifying the seat preferences and head positions of different users, the personalized adjustment of the sun visor is realized to meet the comfort needs of different drivers, and multiple data sources such as external illumination parameters, seat data and navigation data are integrated and processed to accurately adjust the angle of the vehicle sun visor, effectively reduce the interference of strong sunlight on the driver's vision, reduce the risk of glare, and thus improve the safety during driving.
[0046] In one embodiment of the present application, an acquisition module is used to acquire exterior lighting parameters through an exterior lighting acquisition device; detect whether a target seat is occupied through a seat occupancy sensor, and if the target seat is detected to be occupied, detect the inclination angle of the target seat through a backrest angle sensor, and detect the spatial position of the target seat through a seat position sensor to obtain seat data.
[0047] In one embodiment of the present application, the vehicle sun visor adjustment device also includes a model training module 440, which is used to obtain sample seat data and the head position corresponding to the sample seat data; generate a seat data set through the sample seat data and the head position corresponding to the sample seat data; divide the seat data set according to a first preset ratio to obtain a seat training data set and a seat verification data set; train an initial head position recognition model through the seat training data set, and verify the initial head position recognition model through the seat verification data set to obtain a head position recognition model; input the seat data into the head position recognition model to obtain the head position of the target user.
[0048] In one embodiment of the present application, the adjustment module is used to input the light intensity, the head position of the target user and the navigation data into a preset vehicle sun visor angle adjustment model to obtain the adjustment angle of the vehicle sun visor, and generate an angle adjustment instruction based on the adjustment angle of the vehicle sun visor; wherein the adjustment angle of the vehicle sun visor is obtained based on sample light intensity, sample target user's head position and sample navigation data and sample adjustment angle training.
[0049] In one embodiment of the present application, the model training module 440 is used to obtain sample light intensity, sample target user's head position and sample navigation data, and sample adjustment angle; generate an angle adjustment data set through the sample light intensity, sample target user's head position and sample navigation data, and sample adjustment angle; divide the data set according to a second preset ratio to obtain an angle adjustment training data set and an angle adjustment verification data set; train an initial vehicle sun visor angle adjustment model through the angle adjustment training data set, and verify the initial vehicle sun visor angle adjustment model through the angle adjustment verification data set to obtain a vehicle sun visor angle adjustment model.
[0050] In one embodiment of the present application, the vehicle visor adjustment device also includes a table construction module 550, which is used to continuously collect outdoor lighting parameters as sample lighting parameters within a preset time period through a photometric sensor; classify the sample lighting parameters in descending order to obtain first gradient lighting parameters, second gradient lighting parameters, third gradient lighting parameters and fourth gradient lighting parameters; set a weak light level for the first gradient lighting parameter, set a medium light level for the second gradient lighting parameter, set a strong light level for the third gradient lighting parameter, and set an extremely strong light level for the fourth gradient lighting parameter, thereby completing the construction of the lighting intensity comparison table.
[0051] In one embodiment of the present application, the adjustment module is used to receive an angle adjustment instruction through an automatic sun visor device; and the driving module is controlled by a rotating mechanism motor to adjust the angle of the vehicle sun visor according to the adjustment angle instruction to adjust the vehicle sun visor.
[0052] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0053] See also Figure 5 , Figure 5 is a structural diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. It should be noted that: Figure 5 The vehicle-mounted terminal 500 shown is only an example and should not bring any limitation to the functions and usage area of the embodiments of the present application.
[0054] like Figure 5As shown, the electronic device 500 includes a processor 501, a memory 502 and a communication bus 503; the communication bus 503 is used to connect the processor 501 and the memory 502; the processor 501 is used to execute the computer program stored in the memory 502 to implement one or more methods in the above embodiments.
[0055] The electronic device provided in the present application includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run the computer program so that the electronic device executes each step of the above method.
[0056] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0057] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0058] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A vehicle sun visor adjustment method, characterized in that: The following steps are involved: Obtain exterior lighting parameters, seat data, and navigation data; Based on the seat data, according to a head position recognition model trained in advance or in real time, the head position of the target user is obtained, and the light intensity is obtained by searching in a light intensity comparison table through the light parameters outside the vehicle, wherein the light intensity comparison table includes a correspondence between the light parameters outside the vehicle and the light intensity, and the head position recognition model is obtained by training based on the seat data; An adjustment angle of a vehicle sun visor is determined based on the light intensity, the head position of the target user and the navigation data, and the vehicle sun visor is adjusted according to the adjustment angle.
2. The vehicle sun visor adjustment method according to claim 1, characterized in that: Get the exterior lighting parameters and seat data, including: Acquiring vehicle exterior lighting parameters through a vehicle exterior lighting acquisition device; A seat occupancy sensor is used to detect whether a target seat is occupied. If the target seat is detected to be occupied, a backrest angle sensor is used to detect the inclination angle of the target seat, and a seat position sensor is used to detect the spatial position of the target seat to obtain seat data.
3. The vehicle sun visor adjustment method according to claim 1, characterized in that: Based on the seat data, the head position of the target user is obtained according to a preset head position recognition model, including: Acquire sample seat data and a head position corresponding to the sample seat data; Generate a seat data set using the sample seat data and the head position corresponding to the sample seat data; Dividing the seat data set according to a first preset ratio to obtain a seat training data set and a seat verification data set; Training an initial head position recognition model using the seat training data set, and verifying the initial head position recognition model using the seat verification data set to obtain a head position recognition model; The seat data is input into the head position recognition model to obtain the head position of the target user.
4. The vehicle sun visor adjustment method according to claim 1, characterized in that: Determining an adjustment angle of a vehicle sun visor based on the light intensity, the head position of the target user and the navigation data includes: Inputting the light intensity, the head position of the target user and the navigation data into a preset vehicle sun visor angle adjustment model to obtain an adjustment angle of the vehicle sun visor, and generating an angle adjustment instruction based on the adjustment angle of the vehicle sun visor; The adjustment angle of the vehicle sun visor is obtained based on sample light intensity, sample target user's head position and sample navigation data as well as sample adjustment angle training.
5. The vehicle sun visor adjustment method according to claim 4, characterized in that: The process of training the vehicle visor angle adjustment model includes: Obtaining sample illumination intensity, sample target user's head position and sample navigation data, and sample adjustment angle; Generate an angle adjustment data set by using the sample illumination intensity, the head position of the sample target user, the sample navigation data, and the sample adjustment angle; Dividing the data set according to a second preset ratio to obtain an angle adjustment training data set and an angle adjustment verification data set; An initial vehicle sun visor angle adjustment model is trained by using the angle adjustment training data set, and the initial vehicle sun visor angle adjustment model is verified by using the angle adjustment verification data set to obtain a vehicle sun visor angle adjustment model.
6. The vehicle sun visor adjustment method according to claim 1, characterized in that: Construct a light intensity comparison table, including: Through the photometric sensor, the light parameters outside the vehicle are continuously collected within a preset time period as sample light parameters; Classifying the sample illumination parameters in descending order to obtain a first gradient illumination parameter, a second gradient illumination parameter, a third gradient illumination parameter, and a fourth gradient illumination parameter; A weak light level is set for the first gradient lighting parameter, a medium light level is set for the second gradient lighting parameter, a strong light level is set for the third gradient lighting parameter, and an extremely strong light level is set for the fourth gradient lighting parameter, thereby completing the construction of the lighting intensity comparison table.
7. The vehicle sun visor adjustment method according to any one of claims 1 to 6, characterized in that: The method of adjusting the vehicle sun visor by adjusting the angle includes: receiving angle adjustment instructions via an automatic sun visor device; The driving module is controlled by the rotating mechanism motor to adjust the angle of the vehicle sun visor according to the adjustment angle instruction to adjust the vehicle sun visor.
8. A vehicle sun visor adjustment system, characterized in that: include: An acquisition module is used to obtain vehicle exterior lighting parameters, seat data, and navigation data; A search module, used to obtain the head position of the target user based on the seat data and a head position recognition model trained in advance or in real time, and to obtain the light intensity by searching the light intensity comparison table through the light parameters outside the vehicle, wherein the light intensity comparison table includes a correspondence between the light parameters outside the vehicle and the light intensity, and the head position recognition model is trained based on the seat data; The adjustment module is used to determine the adjustment angle of the vehicle sun visor based on the light intensity, the head position of the target user and the navigation data, and adjust the vehicle sun visor according to the adjustment angle.
9. A vehicle-mounted terminal, characterized in that: It comprises a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the vehicle sun visor adjustment method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that: It comprises the vehicle sun visor adjustment system as claimed in claim 8 and the vehicle-mounted terminal as claimed in claim 9.
Citation Information
Patent Citations
Automatic control method, device and system for sun shield
CN105818650A
