Vehicle ambience light control method and device based on driving preferences and driving scenarios
By acquiring driving preferences and driving scenario parameters, the brightness, color temperature, and frequency of ambient lighting are calculated, solving the problem that existing vehicle ambient lighting controls cannot be personalized and achieving adaptive lighting control, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WUHAN JIANGXIA CHUNENG AUTOMOBILE TECHNOLOGY R&D CO LTD
- Filing Date
- 2026-04-22
- Publication Date
- 2026-06-09
AI Technical Summary
Existing vehicle ambient lighting control technology cannot be personalized to the preferences of drivers and passengers, nor can it differentiate the needs of different areas of the cabin, resulting in a low user experience.
By acquiring driving preference parameters, driving scenario parameters, and cabin space parameters, the user's driving preference factors are determined, and the brightness, color temperature, and frequency of the ambient lights are calculated based on these factors, which are then converted into PWM signals for the ambient light driver module for control.
It achieves adaptive vehicle ambient lighting control, improves the matching of light effects and user experience, and provides personalized and differentiated light effect adjustment.
Smart Images

Figure CN122179953A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle control, and particularly to a vehicle ambient light control method and device based on driving preferences and driving scenarios. Background Art
[0002] The existing control of vehicle ambient lights usually adopts preset mode control, vehicle-wide unified control or single-scene linkage control. The existing control schemes have the following defects: For the preset mode control scheme, the light effect parameters (brightness, color temperature) depend on the preset mode and cannot learn the personalized preferences of the driver and passengers; for the vehicle-wide unified control scheme, only a unified light effect for the whole vehicle is achieved, without considering the different requirements of different regions in the cockpit (driver's seat, passenger seat, rear row); for the single-scene linkage control scheme, only a single parameter (such as music volume) is associated, and the scene is relatively monotonous.
[0003] In summary, the existing vehicle ambient light control technology has problems such as difficulty in personalized adaptation of light effect parameters and lack of differential adjustment of cockpit areas, resulting in a low user experience. Summary of the Invention
[0004] In view of this, it is necessary to provide a vehicle ambient light control method and device based on driving preferences and driving scenarios to achieve the purpose of adaptive control of vehicle ambient lights.
[0005] To achieve the above purpose, in the first aspect, the present invention provides a vehicle ambient light control method based on driving preferences and driving scenarios, including: Obtain multi-dimensional parameters of the vehicle; the multi-dimensional parameters include driving preference parameters, driving scenario parameters and cockpit space parameters; the driving preference parameters are determined based on the manual adjustment records of the user; Determine the driving preference factor of the user based on the driving preference parameters; Determine the brightness, color temperature and frequency of the ambient light based on the driving preference factor, the driving scenario parameters and the cockpit space parameters; Convert the brightness, color temperature and frequency into PWM signals of the ambient light driving module; the ambient light driving module is used to control the ambient light based on the PWM signals.
[0006] In a possible implementation, the determining the brightness, color temperature and frequency of the ambient light based on the driving preference factor, the driving scenario parameters and the cockpit space parameters includes: Determine the brightness based on the driving preference factor, the basic brightness, the driving scenario parameters and the cockpit space parameters; Determine the color temperature based on the driving preference factor and the driving scenario parameters; The frequency is determined based on the rapid acceleration / brake threshold, longitudinal acceleration, and the driving preference factor.
[0007] In one possible implementation, the driving preference parameters include a preferred brightness range, a preferred color temperature range, and a preferred region; The driving scenario parameters include real-time vehicle speed, road condition level, and weather type; The cabin space parameters include area identification and the number of occupants in each area.
[0008] In one possible implementation, the expression for the driving preference factor is as follows:
[0009] in, This represents the driving and riding preference factor. Indicates the historical weighting coefficient. Indicates historical adjustment value, This indicates the value that the user manually adjusted this time. This indicates the system's recommended value. This indicates a preference for the maximum brightness. This indicates a preference for the minimum brightness value.
[0010] In one possible implementation, the brightness is expressed as follows:
[0011] in, Indicates brightness. Indicates the base brightness. This represents the driving and riding preference factor. Indicates the number of passengers in the area. Represents a linear normalization function. These represent the scene weight coefficients, Indicates real-time vehicle speed. Indicates the road condition level. Indicates the weather type.
[0012] In one possible implementation, the color temperature is expressed as follows:
[0013] in, Indicates color temperature, Indicates the base value for warm color temperature. Indicates the base value for cool color temperature. This represents the clamping function. This represents the driving and riding preference factor. Indicates the road condition level. Indicates the weather type.
[0014] In one possible implementation, the frequency is expressed as follows:
[0015] in, Indicates frequency, Indicates the maximum dynamic frequency. This represents the driving and riding preference factor. Indicates longitudinal acceleration. This indicates the threshold for rapid acceleration or sudden braking.
[0016] Secondly, the present invention also provides a vehicle ambient lighting control device based on driving preferences and driving scenarios, comprising: The acquisition unit is used to acquire multi-dimensional parameters of the vehicle; the multi-dimensional parameters include driving and riding preference parameters, driving scenario parameters, and cabin space parameters; the driving and riding preference parameters are determined based on the user's manual adjustment records. The first determining unit is used to determine the user's driving preference factor based on the driving preference parameters; The second determining unit is used to determine the brightness, color temperature, and frequency of the ambient light based on the driving preference factor, the driving scenario parameters, and the cabin space parameters. The control unit is used to convert the brightness, color temperature and frequency into PWM signals for the ambient light driving module; the ambient light driving module is used to control the ambient light based on the PWM signals.
[0017] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein, The memory is used to store programs; The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the vehicle ambient lighting control method based on driving preferences and driving scenarios described in any of the above implementations.
[0018] Fourthly, the present invention also provides a computer-readable storage medium for storing a computer-readable program or instruction, wherein when the program or instruction is executed by a processor, it is able to implement the steps in the vehicle ambient lighting control method based on driving preferences and driving scenarios described in any of the above implementations.
[0019] The beneficial effects of this invention are as follows: The vehicle ambient lighting control method and device based on driving preferences and driving scenarios provided by this invention determine the user's driving preference parameters based on the user's manual adjustment records, thereby obtaining the user's driving preference factor. Furthermore, based on the driving preference factor, driving scenario parameters, and cabin space parameters, the brightness, color temperature, and frequency of the ambient light are determined. Then, the brightness, color temperature, and frequency are converted into PWM signals for the ambient light driving module. Through driving preference learning and scene space coupling, adaptive control of the vehicle ambient light is achieved, improving the light effect adaptability and enhancing the user experience. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic flowchart of an embodiment of the vehicle ambient lighting control method based on driving preferences and driving scenarios provided by the present invention; Figure 2 This is a flowchart illustrating the adaptive vehicle ambient lighting control method based on driver preference learning and scene space coupling provided by the present invention. Figure 3 A schematic diagram of an embodiment of the vehicle ambient lighting control device based on driving preferences and driving scenarios provided by the present invention; Figure 4 A schematic diagram of an embodiment of the electronic device provided by the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0023] In the description of the embodiments of the present invention, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0024] The terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a technical feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0025] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0026] This invention provides a vehicle ambient lighting control method and device based on driving preferences and driving scenarios, which will be described below.
[0027] Figure 1 This is a schematic flowchart of an embodiment of the vehicle ambient lighting control method based on driving preferences and driving scenarios provided by the present invention, as shown below. Figure 1 As shown, the vehicle ambient lighting control method based on driving preferences and driving scenarios includes: S101. Obtain multi-dimensional parameters of the vehicle; the multi-dimensional parameters include driving and riding preference parameters, driving scenario parameters, and cabin space parameters; the driving and riding preference parameters are determined based on the user's manual adjustment records; S102. Based on the driving preference parameters, determine the user's driving preference factor; S103. Based on the driving preference factor, the driving scenario parameters, and the cabin space parameters, determine the brightness, color temperature, and frequency of the ambient light; S104. The brightness, color temperature and frequency are converted into PWM signals for the ambient light driver module; the ambient light driver module is used to control the ambient light based on the PWM signals.
[0028] In the S101, the vehicle's multi-dimensional parameters include driving preference parameters, driving scenario parameters, and cabin space parameters. Driving preference parameters can be extracted from the user's manual adjustments recorded over the past 30 days by the in-vehicle central control system; driving scenario parameters can be obtained via the CAN bus; and cabin space parameters can be acquired via the in-vehicle OMS camera.
[0029] In S102, the driving preference factor is calculated based on the user's historical adjustment records. Through calculation, the driving preference factor can be updated in real time, achieving personalized adaptation that becomes more intuitive the more it is used.
[0030] Based on real-time manual adjustments by users, the system dynamically updates driving preference factors to ensure that the light output continuously meets the user's personalized needs, achieving an adaptive experience that becomes more intuitive with use.
[0031] In S103, the final brightness, color temperature and frequency can be calculated based on the driving preference factor combined with formulas such as brightness and color temperature. Finally, the ambient light execution module adjusts the light parameters according to the calculated values.
[0032] For example, brightness can be calculated based on driving preference factors, base brightness, driving scenario parameters, and cabin space parameters. Color temperature is determined based on driving preference factors and driving scenario parameters, achieving a dynamic and strong correlation between color temperature and driving scenario. Frequency is determined based on rapid acceleration / braking thresholds, longitudinal acceleration, and driving preference factors; in emergency scenarios, the flashing frequency can be adjusted to alert the driver.
[0033] In S104, the quantized brightness, color temperature, and frequency are converted into PWM signals for the ambient light driver module. Brightness corresponds to the duty cycle, color temperature corresponds to the RGB channel ratio, and frequency corresponds to the signal switching cycle. The ambient light driver module controls the ambient light according to the signal values.
[0034] In summary, the vehicle ambient lighting control method based on driving preferences and driving scenarios provided by this invention determines user driving preference parameters based on the user's manual adjustment records, thereby obtaining the user's driving preference factor. Furthermore, based on the driving preference factor, driving scenario parameters, and cabin space parameters, the brightness, color temperature, and frequency of the ambient lighting are determined. The brightness, color temperature, and frequency are then converted into PWM signals for the ambient lighting driver module. Through driving preference learning and scene space coupling, adaptive control of the vehicle ambient lighting is achieved, improving the light effect adaptability and enhancing the user experience.
[0035] In some embodiments of the present invention, the driving preference parameters include a preferred brightness range, a preferred color temperature range, and a preferred region; The driving scenario parameters include real-time vehicle speed, road condition level, and weather type; The cabin space parameters include area identification and the number of occupants in each area.
[0036] Multi-dimensional parameters include driving and riding preference parameters Driving scenario parameters and cabin space parameters .
[0037] Driving preference parameters can be extracted by recording nearly 30 days of user manual adjustments through the vehicle's central control system. Driving and riding preference parameters Including: preferred brightness range Preferred color temperature range Preferred areas (e.g., brighter light for the driver's seat, lower light for the rear seats).
[0038] Driving scenario parameters can be obtained via CAN bus Driving scenario parameters Includes: real-time vehicle speed (km / h), Road condition level (Levels 1-5, 1 for high-speed and smooth roads, 5 for bumpy and off-road conditions), Weather type (Levels 1-3, 1 for sunny, 2 for cloudy, and 3 for rain or snow). Cabin space parameters can be obtained through the in-vehicle OMS camera. Identify occupant positions and output area identifiers (Loc) (1=Driver's seat, 2=Front passenger seat, 3=Rear left side, 4=Rear right side) and the number of occupants in each area. .
[0039] In some embodiments of the present invention, the expression for the driving preference factor is as follows:
[0040] in, This represents the driving and riding preference factor. Indicates the historical weighting coefficient. Indicates historical adjustment value, This indicates the value that the user manually adjusted this time. This indicates the system's recommended value. This indicates a preference for the maximum brightness. This indicates a preference for the minimum brightness value.
[0041] Based on real-time manual adjustments by users, the system dynamically updates driving preference factors to ensure that the light output continuously meets the user's personalized needs, achieving an adaptive experience that becomes more intuitive with use.
[0042] The driving preference factor is calculated based on the user's historical adjustment records. Through calculation, the driving preference factor can be updated in real time to achieve personalized adaptation that becomes more intuitive with use. The formula for the driving preference factor is as follows:
[0043] in, A higher value indicates that the current lighting effect is closer to the user's preference; Historical weighting coefficients (to ensure preference stability); This is the value manually adjusted by the user this time. This is the system's recommended value; if the user does not manually adjust it, then... Maintain the current preference adaptation state.
[0044] The vehicle ambient lighting control method based on driving preferences and driving scenarios provided in this invention provides a driving preference incremental learning mechanism, which realizes dynamic updating of preference factors through a simple iterative formula, without the need for a large amount of training data, and is adapted to the lightweight requirements of in-vehicle systems.
[0045] In some embodiments of the present invention, determining the brightness, color temperature, and frequency of the ambient lighting based on the driving preference factor, the driving scenario parameters, and the cabin space parameters includes: The brightness is determined based on the driving preference factor, the base brightness, the driving scenario parameters, and the cabin space parameters; The color temperature is determined based on the driving preference factor and the driving scenario parameters; The frequency is determined based on the rapid acceleration / brake threshold, longitudinal acceleration, and the driving preference factor.
[0046] In some embodiments of the present invention, the expression for the brightness is as follows:
[0047] in, Indicates brightness. Indicates the base brightness. This represents the driving and riding preference factor. Indicates the number of passengers in the area. Represents a linear normalization function. These represent the scene weight coefficients, Indicates real-time vehicle speed. Indicates the road condition level. Indicates the weather type.
[0048] In some embodiments of the present invention, the expression for the color temperature is as follows:
[0049] in, Indicates color temperature, Indicates the base value for warm color temperature. Indicates the base value for cool color temperature. This represents the clamping function. This represents the driving and riding preference factor. Indicates the road condition level. Indicates the weather type.
[0050] In some embodiments of the present invention, the expression for the frequency is as follows:
[0051] in, Indicates frequency, Indicates the maximum dynamic frequency. This represents the driving and riding preference factor. Indicates longitudinal acceleration. This indicates the threshold for rapid acceleration or sudden braking.
[0052] The user's driving preference factor is obtained through the above embodiments. Then, the final brightness and color temperature can be calculated based on the driving preference factor combined with formulas such as brightness and color temperature. Finally, the ambient light execution module adjusts the light parameters according to the calculated values.
[0053] (1) To meet the visual needs of different functional areas of the cabin, output different ambient light brightness values (unit: cd / m²) to avoid being too bright and dazzling and interfering with driving, and to prevent being too dark and losing the effect of ambient lighting.
[0054] The brightness can be calculated based on driving preference factors, basic brightness, driving scenario parameters, and cabin space parameters. Specifically, factors such as the number of occupants, real-time vehicle speed, user preferences, road conditions, and weather can be used. The formula for brightness is as follows:
[0055] Among them, brightness (Unit: cd / m², range [3, 40]); Basic brightness; These are the scene weight coefficients; For vehicle speed correction: the higher the vehicle speed, the lower the brightness, to avoid distraction; For area occupancy correction: uninhabited area (Low brightness, energy saving), occupied areas (Normal brightness).
[0056] In this embodiment, the function is a linear normalization function. The linear normalization function is used to map the calculation results within the parentheses to the [0.3, 1] interval (to avoid excessively low brightness). The normalization formula is:
[0057] in, ( (Minimum value at time) ( (Maximum value at time).
[0058] (2) Based on driving preference factors and driving scenario parameters, the color temperature is determined to achieve a dynamic strong correlation between color temperature and driving scenario. By integrating user personalized preferences, real-time road conditions and weather information, the light effect color temperature that is adapted to the current scenario is automatically output within the comfortable color temperature range, taking into account both driving comfort and driving safety.
[0059] Color temperature (Unit: K, value range [2700, 6500], warm light is soothing, cool light is refreshing) Strongly correlated with scene, the formula is as follows:
[0060] in, The clamping function is described below: In the clamping function of this embodiment, ,when When (below the lower limit, forced to take 0), when When (within the interval, retain the original value), when When the value is above the upper limit, it is forced to be 1. Ensure that the result within the parentheses is in the range [0,1], and the final color temperature is strictly limited to [2700,6500]K.
[0061] , Road condition rating Correction: The worse the road conditions ( The larger the light source, the lower the color temperature (warm light reduces driving irritability); weather type Correction: Rainy or snowy days ( =3) Color temperature enhancement (cool light enhances visual clarity).
[0062] (3) In some emergency scenarios, the flashing frequency can be adjusted to remind the driver, such as triggering dynamic light effects in emergency scenarios (such as rapid acceleration or sudden braking), with the frequency adjusted accordingly. (Unit: Hz, value range [0.5, 1.5]) The formula is as follows:
[0063] in: Longitudinal acceleration (m / s²). =5m / s² is the threshold for rapid acceleration / emergency braking; Correction: The more stable the user's preferences, the lower the frequency of dynamic changes; =1.5Hz is the maximum dynamic frequency. The frequency will automatically decrease when the threshold is exceeded to prevent visual fatigue.
[0064] The vehicle ambient lighting control method based on driving preferences and driving scenarios provided in this invention offers a multi-dimensional preference factor-coupled dynamic adjustment mechanism for zoned brightness / color temperature. Through coupled calculations of factors such as occupant number, vehicle speed, user preferences, road conditions, and weather, differentiated brightness and color temperature output for different functional areas of the cabin are achieved. A three-element coupled quantification model of preference, scenario, and space is used: for the first time, these three elements are incorporated into a unified formula, achieving precise quantitative control of zoned lighting effects and overcoming the limitations of existing single-parameter linkage methods. Furthermore, a linearly normalized brightness range constraint method is employed. The linear normalization function ensures that the output brightness is always within a safe and comfortable range, avoiding visual fatigue or interference with driving, and provides a reliable range constraint mechanism for cabin lighting.
[0065] For example, Figure 2 This is a flowchart illustrating the adaptive vehicle ambient lighting control method based on driver preference learning and scene space coupling provided by the present invention. Figure 2 As shown, the adaptive vehicle ambient lighting control method based on driver preference learning and scene space coupling includes: S201, Multi-dimensional parameter acquisition.
[0066] Collect driving and riding preference parameters Driving scenario parameters and cabin space parameters .
[0067] S202, Driving Preference Factor Iterative learning.
[0068] Based on real-time manual adjustments by the user, the driving preference factors are dynamically updated iteratively to ensure that the light effect output continuously approaches the user's personalized needs, achieving an adaptive experience that becomes increasingly intuitive with use. The preference factors are calculated based on the user's historical adjustment records, and can be updated in real time through calculation to achieve personalized adaptation that becomes increasingly intuitive with use.
[0069] S203, Scene-Space-Preference Coupled Light Effect Parameter Quantification Model.
[0070] The user's preference factor can be calculated using the formula above. Then, based on the preference factor and formulas for brightness and color temperature, the final brightness and color temperature are calculated. Finally, the ambient light execution module adjusts the light parameters according to the calculated values.
[0071] (1) Zone brightness Quantification formula.
[0072] To address the visual needs of different functional areas within the cabin, differentiated ambient lighting brightness values (unit: cd / m²) are output, avoiding both excessive brightness that could dazzle the driver and excessive darkness that would negate the effect of ambient lighting. Related factors include the number of occupants, vehicle speed, user preferences, road conditions, and weather.
[0073] (2) Color temperature Quantification formula.
[0074] The core of this formula is to achieve a dynamic and strong correlation between color temperature and driving scenario. By integrating user personalized preferences, real-time road conditions and weather information, it automatically outputs a light effect color temperature that is suitable for the current scenario within a comfortable color temperature range, taking into account both driving comfort and driving safety.
[0075] Color temperature (Unit: K, value range [2700, 6500], warm light is soothing, cool light is refreshing) Strongly related to the scene.
[0076] (3) Regional dynamic frequency Quantification formula.
[0077] In some emergency scenarios, the flashing frequency can be adjusted to alert the driver, such as triggering dynamic light effects in emergency situations (e.g., sudden acceleration or sudden braking). (Unit: Hz, value range [0.5, 1.5]) The formula is as follows:
[0078] in, Longitudinal acceleration (m / s²). =5m / s² is the threshold for rapid acceleration / emergency braking; Correction: The more stable the user's preferences, the lower the frequency of dynamic changes; =1.5Hz is the maximum dynamic frequency. The frequency will automatically decrease when the threshold is exceeded to prevent visual fatigue.
[0079] S204, Ambient Light Module Execution.
[0080] Signal conversion: converting quantized signals into signals that are then converted into signals that are quantized ... , , The signal is converted into a PWM signal for the ambient light driver module (brightness corresponds to duty cycle, color temperature corresponds to RGB channel ratio, and frequency corresponds to signal switching cycle), and the ambient light module executes according to the signal value.
[0081] The vehicle ambient lighting control method based on driving preferences and driving scenarios provided in this invention has the following advantages: Ultimate personalization: Improves light effect adaptability through iterative learning of preference factors, eliminating the need for users to manually adjust repeatedly. Precise zone control solves the problem of "one-size-fits-all" lighting effects for the whole vehicle, balancing comfort and energy saving; It is adapted to low computing power, requires no complex machine learning algorithms, and can be implemented with only an automotive MCU, which meets the needs of automotive embedded scenarios. The scene linkage is precise, quantitative formulas replace empirical values, and the matching degree of light effects with vehicle speed, road conditions, and weather is correlated.
[0082] To better implement the vehicle ambient lighting control method based on driving preferences and driving scenarios in this invention embodiment, based on the vehicle ambient lighting control method based on driving preferences and driving scenarios, correspondingly, as follows: Figure 3As shown, this embodiment of the invention also provides a vehicle ambient lighting control device based on driving preferences and driving scenarios. The vehicle ambient lighting control device 300 based on driving preferences and driving scenarios includes: The acquisition unit 301 is used to acquire multi-dimensional parameters of the vehicle; the multi-dimensional parameters include driving and riding preference parameters, driving scenario parameters, and cabin space parameters; the driving and riding preference parameters are determined based on the user's manual adjustment records. The first determining unit 302 is used to determine the user's driving preference factor based on the driving preference parameters; The second determining unit 303 is used to determine the brightness, color temperature and frequency of the ambient light based on the driving preference factor, the driving scenario parameters and the cabin space parameters. The control unit 304 is used to convert the brightness, color temperature and frequency into PWM signals for the ambient light driving module; the ambient light driving module is used to control the ambient light based on the PWM signals.
[0083] The vehicle ambient lighting control device 300 based on driving preferences and driving scenarios provided in the above embodiments can realize the technical solutions described in the above embodiments of the vehicle ambient lighting control method based on driving preferences and driving scenarios. The specific implementation principles of each module or unit can be found in the corresponding content in the above embodiments of the vehicle ambient lighting control method based on driving preferences and driving scenarios, and will not be repeated here.
[0084] like Figure 4 As shown, the present invention also provides an electronic device 400. The electronic device 400 includes a processor 401, a memory 402, and a display 403. Figure 4 Only some components of the electronic device 400 are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
[0085] In some embodiments, processor 401 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 402 or process data, such as the vehicle ambient lighting control method based on driving preferences and driving scenarios in this invention.
[0086] In some embodiments, processor 401 may be a single server or a group of servers. The server group may be centralized or distributed. In some embodiments, processor 401 may be local or remote. In some embodiments, processor 401 may be implemented on a cloud platform. In some embodiments, the cloud platform may include a private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, internal cloud, multi-cloud, or any combination thereof.
[0087] In some embodiments, memory 402 may be an internal storage unit of electronic device 400, such as a hard disk or memory of electronic device 400. In other embodiments, memory 402 may also be an external storage device of electronic device 400, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on electronic device 400.
[0088] Furthermore, the memory 402 may include both internal storage units of the electronic device 400 and external storage devices. The memory 402 is used to store application software and various types of data installed on the electronic device 400.
[0089] In some embodiments, display 403 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an organic light-emitting diode (OLED) touchscreen. Display 403 is used to display information from electronic device 400 and to display a visual user interface. Components 401-403 of electronic device 400 communicate with each other via a system bus.
[0090] In one embodiment, when processor 401 executes the vehicle ambient lighting control program based on driving preferences and driving scenarios stored in memory 402, the following steps can be implemented: Obtain multi-dimensional parameters of the vehicle; the multi-dimensional parameters include driving and riding preference parameters, driving scenario parameters, and cabin space parameters; the driving and riding preference parameters are determined based on the user's manual adjustment records; Based on the driving and riding preference parameters, the user's driving and riding preference factor is determined; Based on the driving preference factor, the driving scenario parameters, and the cabin space parameters, the brightness, color temperature, and frequency of the ambient lighting are determined. The brightness, color temperature, and frequency are converted into PWM signals for the ambient light driver module; the ambient light driver module is used to control the ambient light based on the PWM signals.
[0091] It should be understood that when the processor 401 executes the vehicle ambient lighting control program based on driving preferences and driving scenarios in the memory 402, in addition to the functions mentioned above, it can also perform other functions, as can be found in the description of the corresponding method embodiments above.
[0092] Furthermore, this embodiment of the invention does not specifically limit the type of electronic device 400 mentioned. Electronic device 400 can be a mobile phone, tablet computer, personal digital assistant (PDA), wearable device, laptop computer, or other portable electronic device. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices running iOS, Android, Microsoft, or other operating systems. The aforementioned portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the invention, electronic device 400 may not be a portable electronic device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0093] Accordingly, embodiments of the present invention also provide a computer-readable storage medium for storing computer-readable programs or instructions. When the programs or instructions are executed by a processor, they can implement the steps or functions of the vehicle ambient lighting control method based on driving preferences and driving scenarios provided in the above-described method embodiments.
[0094] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.), and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0095] The above provides a detailed description of the vehicle ambient lighting control method and device based on driving preferences and driving scenarios provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for controlling vehicle ambient lighting based on driving preferences and driving scenarios, characterized in that, include: Obtain multi-dimensional parameters of the vehicle; these multi-dimensional parameters include driving and riding preference parameters, driving scenario parameters, and cabin space parameters. The driving preference parameters are determined based on the user's manual adjustment records; Based on the driving and riding preference parameters, the user's driving and riding preference factor is determined; Based on the driving preference factor, the driving scenario parameters, and the cabin space parameters, the brightness, color temperature, and frequency of the ambient lighting are determined. The brightness, color temperature, and frequency are converted into PWM signals for the ambient light driver module; the ambient light driver module is used to control the ambient light based on the PWM signals.
2. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The determination of the ambient light's brightness, color temperature, and frequency based on the driving preference factor, the driving scenario parameters, and the cabin space parameters includes: The brightness is determined based on the driving preference factor, the base brightness, the driving scenario parameters, and the cabin space parameters; The color temperature is determined based on the driving preference factor and the driving scenario parameters; The frequency is determined based on the rapid acceleration / brake threshold, longitudinal acceleration, and the driving preference factor.
3. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The driving preference parameters include preferred brightness range, preferred color temperature range, and preferred region; The driving scenario parameters include real-time vehicle speed, road condition level, and weather type; The cabin space parameters include area identification and the number of occupants in each area.
4. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The expression for the driving preference factor is as follows: in, This represents the driving and riding preference factor. Indicates the historical weighting coefficient. Indicates historical adjustment value, This indicates the value that the user manually adjusted this time. This indicates the system's recommended value. This indicates a preference for the maximum brightness value. This indicates a preference for the minimum brightness value.
5. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The expression for the brightness is as follows: in, Indicates brightness. Indicates the base brightness. This represents the driving and riding preference factor. Indicates the number of passengers in the area. Represents a linear normalization function. These represent the scene weight coefficients, Indicates real-time vehicle speed. Indicates the road condition level. Indicates the weather type.
6. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The expression for the color temperature is as follows: in, Indicates color temperature. Indicates the base value for warm color temperature. Indicates the base value for cool color temperature. This represents the clamping function. This represents the driving and riding preference factor. Indicates the road condition level. Indicates the weather type.
7. The vehicle ambient lighting control method based on driving preferences and driving scenarios according to claim 1, characterized in that, The expression for the frequency is as follows: in, Indicates frequency, Indicates the maximum dynamic frequency. This represents the driving and riding preference factor. Indicates longitudinal acceleration. This indicates the threshold for rapid acceleration or sudden braking.
8. A vehicle ambient lighting control device based on driving preferences and driving scenarios, characterized in that, include: The acquisition unit is used to acquire multi-dimensional parameters of the vehicle, including driving and riding preference parameters, driving scenario parameters, and cabin space parameters. The driving preference parameters are determined based on the user's manual adjustment records; The first determining unit is used to determine the user's driving preference factor based on the driving preference parameters; The second determining unit is used to determine the brightness, color temperature, and frequency of the ambient light based on the driving preference factor, the driving scenario parameters, and the cabin space parameters. The control unit is used to convert the brightness, color temperature and frequency into PWM signals for the ambient light driving module; the ambient light driving module is used to control the ambient light based on the PWM signals.
9. An electronic device, characterized in that, Including memory and processor, among which, The memory is used to store programs; The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the vehicle ambient lighting control method based on driving preferences and driving scenarios as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the vehicle ambient lighting control method based on driving preferences and driving scenarios as described in any one of claims 1 to 7.