Vehicle Ambient Light Control Method, Electronic Device and Storage Medium
By obtaining vehicle acceleration information and controlling the lighting parameters of the ambient light, the motion sickness problem caused by vehicle acceleration is solved, and the dynamic feedback of the occupants feels the vehicle acceleration in the car, reducing the feeling of motion sickness.
Patent Information
- Application Number
- CN202210769194.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The existing ambient lights in the car cannot effectively solve the problem of motion sickness caused by the acceleration of the vehicle body, which makes it easy for occupants to experience motion sickness in the car.
By obtaining vehicle acceleration information, the lighting parameters of the ambient light in the occupant cabin are controlled, including adjusting the light brightness and color to reflect the acceleration changes of the vehicle.
This enables the lighting parameters of the ambient light to reflect acceleration information, and occupants can feel the dynamic feedback of vehicle acceleration even when the vehicle is closed, reducing the feeling of motion sickness.
Smart Images

Figure CN115107646B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and particularly to a vehicle ambient light control method, an electronic device, and a storage medium. Background Art
[0002] Existing in-vehicle ambient lights mainly create an atmosphere. According to the scene requirements, the ambient lights are turned on or off and the color of the ambient lights is adjusted, and the effect is relatively single.
[0003] However, with the development of vehicles, especially with the increasing use of electric vehicles, the acceleration changes of vehicles are becoming larger and larger. At the same time, the development of mobile Internet has led to people spending more and more time on mobile devices such as mobile phones in the car. This has also caused people to easily ignore the vehicle environment and acceleration changes, and thus are more likely to have motion sickness feelings.
[0004] Motion sickness, that is, motion sickness. The motion sickness caused by vehicles is mainly because the human brain relies on the vestibular, visual, and proprioceptive systems to sense and control balance. When in the car, people often see the interior of the car as stationary visually, but the vestibular system is affected by the vehicle acceleration, resulting in inconsistent feelings between the visual and vestibular systems, thus causing motion sickness. Summary of the Invention
[0005] Based on this, it is necessary to provide a vehicle ambient light control method, an electronic device, and a storage medium for the technical problem that the vehicle acceleration in the prior art is likely to cause motion sickness of passengers.
[0006] The present invention provides a vehicle ambient light control method, including:
[0007] Obtain vehicle acceleration information;
[0008] Control the lighting parameters of the ambient lights in the passenger compartment according to the vehicle acceleration information.
[0009] Further, the controlling the lighting parameters of the ambient lights in the passenger compartment according to the vehicle acceleration information specifically includes:
[0010] Control the brightness of the corresponding ambient lights according to the acceleration parallel to the extension direction of the ambient lights in the passenger compartment in the vehicle acceleration information.
[0011] Still further, the controlling the brightness of the corresponding ambient lights according to the acceleration parallel to the extension direction of the ambient lights in the passenger compartment in the vehicle acceleration information specifically includes:
[0012] Control the brightness of each lamp bead of the ambient lights according to the acceleration parallel to the extension direction of the ambient lights in the passenger compartment in the vehicle acceleration information.
[0013] Further, along the direction of acceleration parallel to the extending direction of the ambient light, the brightness of the lamp beads gradually decreases.
[0014] Further, controlling the brightness of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes:
[0015] Dividing the lamp beads into multiple brightness levels, the minimum brightness level is Nmin, and the maximum brightness level is Nmax;
[0016] According to the acceleration parallel to the extending direction of the ambient light in the vehicle acceleration information, calculating the brightness level of each lamp bead of the ambient light, where the brightness level y of the x-th lamp bead is y = (-a / g)*x + Nmax / 2 + (M / 2)*a / g, where a is the acceleration parallel to the extending direction of the ambient light, g is the gravitational acceleration constant, M is the number of lamp beads included in the ambient light, x is the lamp bead serial number of the ambient light, and the lamp bead serial numbers are arranged from small to large in the extending direction of the ambient light. When the direction of the acceleration is the same as the extending direction of the ambient light, a takes a positive value, and when the direction of the acceleration is opposite to the extending direction of the ambient light, a takes a negative value;
[0017] Taking the integer of the brightness level of each lamp bead. If the brightness level of the lamp bead is less than Nmin, then setting the brightness of the lamp bead to Nmin. If the brightness level of the lamp bead is greater than Nmax, then setting the brightness level of the lamp bead to Nmax;
[0018] Controlling the brightness of each lamp bead of the ambient light to the corresponding brightness level.
[0019] Further, controlling the lighting parameters of the ambient light in the passenger compartment according to the vehicle acceleration information specifically includes:
[0020] Obtaining the current ambient light brightness;
[0021] If the current ambient light brightness is greater than or equal to the preset brightness threshold, then controlling the color of the ambient light to be the complementary color of the interior color around the ambient light;
[0022] If the current ambient light brightness is less than the preset brightness threshold, then controlling the color of the ambient light according to the vehicle acceleration information.
[0023] Even further, controlling the color of the ambient light to be the complementary color of the interior color around the ambient light specifically includes:
[0024] Obtaining the current ambient light luminous flux;
[0025] Determining the complementary color of the interior color around the ambient light under the current ambient light luminous flux;
[0026] Control the color of the ambient light to the complementary color.
[0027] Furthermore, controlling the color of the ambient light according to the vehicle acceleration information specifically includes:
[0028] Control the color of the longitudinal ambient light in the passenger compartment according to the pedal opening, where the pedal opening is the accelerator pedal opening and / or the brake pedal opening;
[0029] Control the color of the lateral ambient light in the passenger compartment according to the steering wheel angle.
[0030] Even further:
[0031] Controlling the color of the longitudinal ambient light in the passenger compartment according to the pedal opening specifically includes:
[0032] Divide the colors within the preset range of the longitudinal ambient light represented by RGB values into multiple consecutive pedal color intervals. Each pedal color interval corresponds to a pedal opening interval. Within each pedal color interval, the pedal opening and the RGB values of the color are linearly related, and the colors within the range of the longitudinal ambient light change continuously;
[0033] Obtain the pedal opening interval where the pedal opening is located as the current pedal opening interval, and use the pedal color interval corresponding to the current pedal opening interval as the current pedal color interval;
[0034] Calculate the RGB values of the color corresponding to the pedal opening within the current pedal color interval;
[0035] Controlling the color of the lateral ambient light in the passenger compartment according to the steering wheel angle specifically includes:
[0036] Divide the colors within the preset range of the lateral ambient light represented by RGB values into multiple consecutive steering wheel color intervals. Each steering wheel color interval corresponds to a steering wheel angle interval. Within each steering wheel color interval, the steering wheel angle and the RGB values of the color are linearly related, and the colors within the range of the lateral ambient light change continuously;
[0037] Obtain the steering wheel angle interval where the steering wheel angle is located as the current steering wheel angle interval, and use the steering wheel color interval corresponding to the current steering wheel angle interval as the current steering wheel color interval;
[0038] Calculate the RGB values of the color corresponding to the steering wheel angle within the current steering wheel color interval.
[0039] Even further:
[0040] The pedal color range includes one or more deceleration color ranges, one or more constant-speed color ranges, and one or more acceleration color ranges. The deceleration color range corresponds to the pedal opening range of the brake pedal. The constant-speed color range corresponds to the pedal opening range of the brake pedal and / or the accelerator pedal. The acceleration color range corresponds to the pedal opening range of the accelerator pedal;
[0041] The steering wheel color range includes one or more steering color ranges and one or more non-steering color ranges. The steering color range corresponds to the steering wheel angle range of the steering wheel, and the non-steering color range corresponds to the steering wheel angle range of the non-steering steering wheel. The allowable range of the steering wheel angle is [-A°, A°], where the steering wheel has no angle at 0°, -A° is the steering wheel angle when the steering wheel is turned to the maximum in the first direction, and A° is the steering wheel angle when the steering wheel is turned to the maximum in the second direction. The first direction and the second direction are opposite. The range of the non-steering steering wheel angle range is [-B°, B°], and the range of the steering wheel angle range of the steering color range is [-A°, -B°] or [B°, A°], where B is less than A.
[0042] Furthermore:
[0043] The color of the deceleration color range is yellow, the color of the constant-speed color range is green, and the color of the acceleration color range is blue;
[0044] The color of the steering color range is yellow, and the color of the non-steering color range is green.
[0045] Furthermore, the obtaining of the vehicle acceleration information specifically includes: predicting the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition.
[0046] The present invention provides an electronic device, including:
[0047] At least one processor; and,
[0048] A memory communicatively connected to at least one of the processors; wherein,
[0049] The memory stores instructions executable by at least one of the processors. The instructions are executed by at least one of the processors so that at least one of the processors can execute the vehicle atmosphere light control method as described above.
[0050] The present invention provides a storage medium that stores computer instructions. When a computer executes the computer instructions, it is used to execute all steps of the vehicle atmosphere light control method as described above.
[0051] The present invention controls the lighting parameters of the ambient light in the passenger compartment through acceleration information, enabling the lighting parameters of the ambient light to reflect the acceleration information, so that the passengers can obtain a visual change consistent with the acceleration information, allowing the passengers to easily receive the dynamic feedback of the vehicle's acceleration even in a closed situation inside the vehicle. The feeling of the passengers' vestibular system is consistent with the visual feeling, thereby alleviating the motion sickness feeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a flowchart of the working process of a vehicle ambient light control method according to an embodiment of the present invention;
[0053] Figure 2 It is a flowchart of the working process of a vehicle ambient light control method in another embodiment of the present invention;
[0054] Figure 3 It is a schematic diagram of the liquid level in the bottle when the vehicle is in a uniform or stationary state;
[0055] Figure 4 It is a schematic diagram of the liquid level in the bottle when the vehicle is in an accelerating state;
[0056] Figure 5 It is a schematic diagram of the liquid level in the bottle when the vehicle is in a decelerating state;
[0057] Figure 6 It is a schematic diagram of the ambient light effect when the vehicle is in a uniform or stationary state;
[0058] Figure 7 It is a schematic diagram of the ambient light effect when the vehicle is in an accelerating state;
[0059] Figure 8 It is a schematic diagram of the ambient light effect when the vehicle is in a decelerating state;
[0060] Figure 9 It is a schematic diagram of the correspondence between the liquid level in the bottle and the brightness level of the ambient light lamp beads at an acceleration;
[0061] Figure 10 It is a schematic diagram of the correspondence between the liquid level in the bottle and the brightness level of the ambient light lamp beads at another acceleration;
[0062] Figure 11 It is a schematic diagram of the setting of the longitudinal ambient light and the transverse ambient light in the passenger compartment;
[0063] Figure 12 It is a straight-line schematic diagram of the relationship between the brightness level of the lamp beads and the lamp bead numbers when the vehicle is decelerating;
[0064] Figure 13 It is a straight-line schematic diagram of the relationship between the brightness level of the lamp beads and the lamp bead numbers when the vehicle is accelerating;
[0065] Figure 14Schematic diagram of the brightness level of the lamp beads and the liquid level in the simulated bottle when the vehicle is in a uniform or stationary state;
[0066] Figure 15 Schematic diagram of the brightness level of the lamp beads and the liquid level in the simulated bottle when the vehicle is in an accelerating state;
[0067] Figure 16 Schematic diagram of the brightness level of the lamp beads and the liquid level in the simulated bottle when the vehicle is in a decelerating state;
[0068] Figure 17 Effect diagram of the ambient light in the passenger compartment when in a uniform or stationary state;
[0069] Figure 18 Effect diagram of the ambient light in the passenger compartment when accelerating;
[0070] Figure 19 Effect diagram of the ambient light in the passenger compartment when decelerating;
[0071] Figure 20 Effect diagram of the ambient light in the passenger compartment when decelerating and turning left;
[0072] Figure 21 Schematic diagram of complementary colors in the color card;
[0073] Figure 22 Schematic diagram of complementary colors after adding the lightness table to the color card;
[0074] Figure 23 Schematic diagram of the selection of the longitudinal ambient light range;
[0075] Figure 24 Schematic diagram of the selection of the transverse ambient light range;
[0076] Figure 25 Schematic diagram of the pedal color range;
[0077] Figure 26 Schematic diagram of the steering wheel color range;
[0078] Figure 27 Schematic diagram of the hardware structure of an electronic device according to the present invention. Detailed implementation manners
[0079] The following further describes the detailed implementation manners of the present invention with reference to the accompanying drawings. The same components are denoted by the same reference numerals. It should be noted that the terms "front", "rear", "left", "right", "up" and "down" used in the following description refer to the directions in the drawings, and the terms "inner" and "outer" respectively refer to the directions towards or away from the geometric center of a specific component.
[0080] As Figure 1The following is a flowchart of the working process of a vehicle ambient light control method according to an embodiment of the present invention, including:
[0081] Step S101, obtaining vehicle acceleration information;
[0082] Step S102, controlling the light parameters of the ambient light in the passenger compartment according to the vehicle acceleration information.
[0083] Specifically, the present invention can be applied to the Electronic Control Unit (ECU) of a vehicle.
[0084] Motion sickness, also known as kinetosis, that is, what people often call "carsickness, seasickness, airsickness", etc., including space motion sickness that occurs under microgravity conditions, is a series of physiological reactions caused by various factors that lead to the incorrect perception of the human body's motion state.
[0085] Etiology:
[0086] The human brain mainly relies on the vestibule, vision, and its own senses to sense and control balance. When these information conflicts, it will lead to the occurrence of motion sickness.
[0087] According to the sensory conflict theory:
[0088] The three-dimensional spatial orientation is based on four sensory inputs:
[0089] ① The otolith (on the inner ear) information that senses gravity and linear acceleration;
[0090] ② The semicircular canal information that senses angular acceleration;
[0091] ③ Visual information;
[0092] ④ Proprioceptive information.
[0093] Under some specific motion conditions, such as taking a car or a boat, etc., the information of these receptors conflicts, leading to the occurrence of motion sickness.
[0094] When a person is in the vehicle as a passenger, they often only pay attention to the static state inside the vehicle visually, especially when using a mobile phone. When the vehicle is accelerating or decelerating, the ear vestibular system will sense different acceleration information, and after conflicting with the visual information, it cannot judge the state of the body, and the body cannot make an appropriate reaction. When the vehicle is moving at a constant speed, the ear vestibular system cannot distinguish the difference between static and constant speed, and there is no conflict in this case.
[0095] In addition, due to the too fast acceleration of electric vehicles, many people also report that electric vehicles are more likely to cause carsickness.
[0096] In view of the above problems, the solution provided by the present invention is to vary the lighting parameters of the ambient light according to the acceleration information, so as to visually provide feedback to the occupants on the actual acceleration of the vehicle and alleviate motion sickness.
[0097] Therefore, in step S101, vehicle acceleration information is obtained. The vehicle acceleration information can be obtained by a gyroscope and / or a vehicle acceleration sensor.
[0098] Then, in step S102, according to the vehicle acceleration information, the lighting parameters of the ambient light in the passenger compartment are controlled.
[0099] Specifically, by controlling the lighting parameters of the ambient light, a squeezing lighting effect can be generated to provide acceleration feedback of the vehicle.
[0100] The present invention controls the lighting parameters of the ambient light in the passenger compartment according to the acceleration information, so that the lighting parameters of the ambient light can reflect the acceleration information, enabling the occupants to obtain a visual change consistent with the acceleration information. Even in a closed situation inside the vehicle, the occupants can easily receive the dynamic feedback of the vehicle acceleration, and the feelings of the occupants' vestibular system are consistent with the visual feelings, thereby alleviating the motion sickness feeling.
[0101] As Figure 2 shown is a flowchart of a method for controlling a vehicle ambient light in another embodiment of the present invention, including:
[0102] Step S201, obtaining vehicle acceleration information.
[0103] Step S202, controlling the brightness of the corresponding ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information.
[0104] In one embodiment, the controlling the brightness of the corresponding ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes:
[0105] Controlling the brightness of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information.
[0106] In one embodiment, along the direction of the acceleration parallel to the extending direction of the ambient light, the brightness of the lamp beads gradually decreases.
[0107] In one embodiment, the controlling the brightness of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes:
[0108] Dividing the lamp beads into multiple brightness levels, the minimum brightness level is Nmin, and the maximum brightness level is Nmax;
[0109] Calculate the brightness level of each light bead of the ambient light according to the acceleration parallel to the extension direction of the ambient light in the vehicle acceleration information, where the brightness level y of the x-th light bead is y = (-a / g)*x + Nmax / 2 + (M / 2)*a / g, where a is the acceleration parallel to the extension direction of the ambient light, g is the gravitational acceleration constant, M is the number of light beads included in the ambient light, x is the light bead serial number of the ambient light, and the light bead serial numbers are arranged in ascending order along the extension direction of the ambient light. When the direction of the acceleration is the same as the extension direction of the ambient light, a takes a positive value, and when the direction of the acceleration is opposite to the extension direction of the ambient light, a takes a negative value;
[0110] Take an integer for the brightness level of each light bead. If the brightness level of the light bead is less than Nmin, set the brightness of the light bead to Nmin. If the brightness level of the light bead is greater than Nmax, set the brightness level of the light bead to Nmax;
[0111] Control the brightness of each light bead of the ambient light to the corresponding brightness level.
[0112] Step S203, obtain the current ambient light brightness.
[0113] Step S204, if the current ambient light brightness is greater than or equal to the preset brightness threshold, control the color of the ambient light to be the complementary color of the interior color around the ambient light.
[0114] In one embodiment, the controlling the color of the ambient light to be the complementary color of the interior color around the ambient light specifically includes:
[0115] Obtain the current ambient light luminance;
[0116] Determine the complementary color of the interior color around the ambient light under the current ambient light luminance;
[0117] Control the color of the ambient light to be the complementary color.
[0118] Step S205, if the current ambient light brightness is less than the preset brightness threshold, control the color of the ambient light according to the vehicle acceleration information.
[0119] In one embodiment, the controlling the color of the ambient light according to the vehicle acceleration information specifically includes:
[0120] Control the color of the longitudinal ambient light in the passenger compartment according to the pedal opening, where the pedal opening is the throttle pedal opening and / or the brake pedal opening;
[0121] Control the color of the lateral ambient light in the passenger compartment according to the steering wheel angle.
[0122] In one embodiment:
[0123] Controlling the color of the longitudinal ambient light in the passenger compartment according to the pedal opening specifically includes:
[0124] Dividing the colors within the preset range of the longitudinal ambient light represented by RGB values into multiple consecutive pedal color intervals. Each pedal color interval corresponds to a pedal opening interval. Within each pedal color interval, the pedal opening and the RGB values of the color are linearly related, and the colors within the range of the longitudinal ambient light change continuously;
[0125] Obtaining the pedal opening interval where the pedal opening is located as the current pedal opening interval, and taking the pedal color interval corresponding to the current pedal opening interval as the current pedal color interval;
[0126] Calculating the RGB values of the color corresponding to the pedal opening within the current pedal color interval;
[0127] Controlling the color of the lateral ambient light in the passenger compartment according to the steering wheel angle specifically includes:
[0128] Dividing the colors within the preset range of the lateral ambient light represented by RGB values into multiple consecutive steering wheel color intervals. Each steering wheel color interval corresponds to a steering wheel angle interval. Within each steering wheel color interval, the steering wheel angle and the RGB values of the color are linearly related, and the colors within the range of the lateral ambient light change continuously;
[0129] Obtaining the steering wheel angle interval where the steering wheel angle is located as the current steering wheel angle interval, and taking the steering wheel color interval corresponding to the current steering wheel angle interval as the current steering wheel color interval;
[0130] Calculating the RGB values of the color corresponding to the steering wheel angle within the current steering wheel color interval.
[0131] In one embodiment:
[0132] The pedal color intervals include one or more deceleration color intervals, one or more constant-speed color intervals, and one or more acceleration color intervals. The deceleration color intervals correspond to the pedal opening intervals of the brake pedal, the constant-speed color intervals correspond to the pedal opening intervals of the brake pedal and / or the accelerator pedal, and the acceleration color intervals correspond to the pedal opening intervals of the accelerator pedal;
[0133] The steering wheel color range includes one or more steering color ranges and one or more non-steering color ranges. The steering wheel angle range corresponding to the steering color range is the steering wheel angle range for steering, and the steering wheel angle range corresponding to the non-steering color range is the non-steering steering wheel angle range. The allowable range of the steering wheel angle is [-A°, A°], where the steering wheel has no angle at 0°, -A° is the steering wheel angle when the steering wheel is turned to the fullest in the first direction, and A° is the steering wheel angle when the steering wheel is turned to the fullest in the second direction. The first direction is opposite to the second direction. The range of the non-steering steering wheel angle range is [-B°, B°], and the range of the steering steering wheel angle range is [-A°, -B°] or [B°, A°], where B is less than A.
[0134] In one embodiment:
[0135] The color of the deceleration color range is yellow, the color of the constant speed color range is green, and the color of the acceleration color range is blue;
[0136] The color of the steering color range is yellow, and the color of the non-steering color range is green.
[0137] Specifically, to solve the problem of the inconsistency between the passenger's ear vestibular system and vision. The solution of this embodiment is to use the squeezing light effect of the ambient light to provide the vehicle's acceleration feedback, so as to visually give the passenger feedback on the actual acceleration situation of the vehicle and reduce motion sickness.
[0138] 1. Steps S201 to S202 control the brightness change of the ambient light.
[0139] As Figures 3 to 5 shown, if a water bottle is placed in the car and there is half a bottle of water in the bottle. Then when the vehicle enters the acceleration or deceleration state, the water in the bottle will be squeezed forward or backward, and there are very obvious visual characteristics. Referring to the squeezing states of the water in the above different states, as Figures 6 to 8 shown, the ambient light of the vehicle designed in this embodiment also reflects the squeezing effect under acceleration and deceleration. And different degrees of squeezing effects can be presented according to different accelerations.
[0140] Specifically, step S201 obtains the vehicle acceleration information.
[0141] Then in step S202, according to the acceleration parallel to the extension direction of the ambient light in the passenger compartment in the vehicle acceleration information, the brightness of the corresponding ambient light is controlled.
[0142] Specifically, the vehicle gyroscope and / or the vehicle acceleration sensor can provide the current linear acceleration of the vehicle, and different accelerations can also change the brightness distribution of the ambient light, reflecting the vehicle acceleration change in real time.
[0143] The vehicle gyroscope and / or vehicle acceleration sensor can also provide the lateral acceleration of the vehicle. During a turn, the lateral ambient light can also provide acceleration feedback of brightness.
[0144] In one embodiment, controlling the brightness of the corresponding ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes:
[0145] Controlling the brightness of the longitudinal ambient light in the passenger compartment according to the vehicle longitudinal acceleration information, and controlling the brightness of the lateral ambient light in the passenger compartment according to the vehicle lateral acceleration information.
[0146] Preferably, as Figure 11 shown, the longitudinal ambient light is the door panel ambient light 1101 arranged on the door side, and the lateral ambient light is the instrument ambient light 1102 arranged at the dashboard position.
[0147] Among them, the ambient light includes a plurality of lamp beads. The brightness of each lamp bead is controlled according to the acceleration.
[0148] In one embodiment, along the direction of the acceleration parallel to the extending direction of the ambient light, the brightness of the lamp beads gradually decreases.
[0149] For the longitudinal ambient light, the acceleration parallel to the extending direction of the longitudinal ambient light is the longitudinal acceleration. When the longitudinal acceleration is from the rear to the front, that is, when the vehicle accelerates, the brightness of the lamp beads gradually decreases from the rear to the front, so as to imitate the effect of water being squeezed backward. When the longitudinal acceleration is from the front to the rear, that is, when the vehicle decelerates, the brightness of the lamp beads gradually decreases from the front to the rear, so as to imitate the effect of water being squeezed forward.
[0150] For the lateral ambient light, the acceleration parallel to the color direction of the lateral ambient light is the lateral acceleration. When the lateral acceleration is from the left to the right, that is, when the vehicle turns right, the brightness of the lamp beads gradually decreases from the left to the right, so as to imitate the effect of water being squeezed to the left. When the lateral acceleration is from the right to the left, that is, when the vehicle turns left, the brightness of the lamp beads gradually decreases from the right to the left, so as to imitate the effect of water being squeezed to the right.
[0151] As Figures 9 to 10 shown, to better simulate the squeezing effect of water, in this embodiment, the depth of water at different positions during squeezing corresponds to the brightness of the lamp beads of the ambient light. From Figure 9 it can be seen that when water is affected by acceleration, the liquid surface will form an inclined diagonal line 91. As Figure 10As shown, when the acceleration is greater, the degree of squeezing is more obvious, and the slope of the oblique line 101 is greater than the slope of the oblique line 91. Take several sampling points on the oblique line 91, each sampling point corresponds to a lamp bead of the atmosphere light, and the water depth of each sampling point is used as the brightness level of the corresponding atmosphere light lamp bead. The brightness level is an integer, and the points of the liquid surface oblique line are continuous points. Therefore, it is necessary to round the brightness level corresponding to the water depth corresponding to the sampling point, and finally the curve 92 of the brightness level with respect to the lamp bead serial number is a broken line, so that the squeezing effect of water is well simulated through the brightness of the atmosphere light lamp bead. Similarly, the curve 102 of the brightness level corresponding to the oblique line 101 with respect to the lamp bead serial number is also a broken line.
[0152] In one embodiment, controlling the brightness of each lamp bead of the ambient light according to the acceleration in the vehicle acceleration information that is parallel to the extension direction of the ambient light in the passenger compartment specifically includes:
[0153] The lamp beads are divided into multiple brightness levels, the minimum brightness level is Nmin, and the maximum brightness level is Nmax;
[0154] According to the acceleration in the vehicle acceleration information that is parallel to the extension direction of the ambient light in the passenger compartment, the brightness level of each lamp bead of the ambient light is calculated, wherein the brightness level of the x-th lamp bead y=(-a / g)*x+Nmax / 2+(M / 2)*a / g, wherein a is the acceleration parallel to the extension direction of the ambient light, g is the gravity acceleration constant, M is the number of lamp beads included in the ambient light, and x is the lamp bead serial number of the ambient light, and the lamp bead serial numbers are arranged from small to large according to the extension direction of the ambient light. When the direction of the acceleration is the same as the extension direction of the ambient light, a takes a positive value, and when the direction of the acceleration is opposite to the extension direction of the ambient light, a takes a negative value;
[0155] Take an integer for the brightness level of each lamp bead. If the brightness level of the lamp bead is less than Nmin, set the brightness of the lamp bead to Nmin. If the brightness level of the lamp bead is greater than Nmax, set the brightness level of the lamp bead to Nmax.
[0156] The brightness of each lamp bead that controls the atmosphere light corresponds to the brightness level.
[0157] Taking the vertical atmosphere light as an example, suppose 20 brightness-adjustable lamp beads are used to simulate the effect of liquid surface changing with acceleration. The brightness is divided into 10 levels to simulate the height of the liquid surface.
[0158] With the lamp bead number as the X-axis and the lamp bead brightness level as the Y-axis, establish Figure 12 and Figure 13 The color direction of the longitudinal ambient light extends from the front of the vehicle to the rear of the vehicle, so the serial number of the lamp beads gradually increases from the front of the vehicle to the rear of the vehicle. Therefore, the front to the rear of the vehicle is the positive direction of the X axis.
[0159] Simulate the situation where the water in the bottle accounts for half of the total volume. Establish a coordinate system with the water depth in the water bottle as the Y-axis and the length of the water bottle as the X-axis. Since the brightness is used to simulate the water depth in the water bottle, therefore Figure 12 and Figure 13 the coordinate system shown is also the coordinate system of the water depth in the water bottle and the sampling points. Each point on the X-axis corresponds to both the LED bead number and the position of the sampling point on the length of the water bottle. Each point on the Y-axis corresponds to both the brightness level of the LED bead and the water depth.
[0160] The simplified model of the liquid level in the water bottle is as follows:
[0161] The equation of the free liquid surface under uniform acceleration is y = (-a / g)*x + b, where y is the water depth, a is the longitudinal acceleration, g is the acceleration due to gravity, x is the position of the sampling point, and b is a constant. That is, the liquid surface is an inclined plane with a slope of -a / g. Since the water volume accounts for half of the bottle volume, and the water depth corresponds to the brightness level, and the sampling point position corresponds to the LED bead number, therefore, the center point of the bottle is (20 / 2, 10 / 2), that is, (10, 5). Since the straight line of this equation must pass through the center point (10, 5) of the bottle, therefore, b = 5 + 10*a / g, and the straight line equation is obtained:
[0162] y = (-a / g)*x + 5 + 10*a / g.
[0163] The above straight line equation is used as the straight line equation of the brightness level of the LED bead and the LED bead number. At this time, y is the brightness level and x is the LED bead number.
[0164] Since during acceleration, the direction of the longitudinal acceleration is from back to front, and during deceleration, the direction of the longitudinal acceleration is from front to back. Therefore, in this coordinate system, when the vehicle is accelerating, the longitudinal acceleration a is negative, and when decelerating, it is positive. As Figure 12 shown is the equation straight line when the vehicle is decelerating, and as Figure 13 shown is the equation straight line when the vehicle is accelerating.
[0165] Considering that the maximum brightness of the LED bead is 10 and the minimum is 0, therefore, for the xth LED bead number and the brightness level y of the LED bead, first calculate y = (-a / g)*x + 5 + 10*a / g. If y < 0, then y = 0. If 0 ≤ y ≤ 10, then y remains unchanged. If y > 10, then y = 10.
[0166] Since the brightness level is an integer, therefore, round it to the nearest integer to obtain the brightness level, and thus obtain the simulation effect as Figures 14 to 16 shown.
[0167] As Figures 14 to 16 shown is the simulation effect.
[0168] ① When the vehicle acceleration is 0 km / h 2 at this time, asFigure 14 As shown, the ambient light has uniform brightness and is at a medium to low brightness value.
[0169] ② When the vehicle acceleration ≠ 0 km / h²:
[0170] When the vehicle is accelerating: The liquid is in a non-inertial coordinate system, and the body force of the liquid is the vector sum of gravity and inertia force. When the acceleration is different, the vector sum is different, and the liquid surface direction is also different. The corresponding brightness level's broken line with respect to the lamp bead number is as Figure 15 shown.
[0171] When the vehicle is decelerating: The liquid is in a non-inertial coordinate system, and the body force of the liquid is the vector sum of gravity and inertia force. The corresponding brightness level's broken line with respect to the lamp bead number is as Figure 16 shown.
[0172] Finally, control the brightness of each lamp bead of the longitudinal ambient light to the corresponding brightness level.
[0173] Since the brightness changes according to the acceleration, even if the occupant's concentration is only inside the vehicle, they can perceive the vehicle's acceleration change through the ambient light, thus reducing motion sickness.
[0174] As Figure 17 shown is the effect diagram of the ambient light inside the occupant compartment in a uniform speed or stationary state. As Figure 18 shown is the effect diagram of the ambient light inside the occupant compartment in an accelerating state. As Figure 19 shown is the effect diagram of the ambient light inside the occupant compartment in a decelerating state.
[0175] The effect of the lateral ambient light is the same as that of the longitudinal ambient light.
[0176] For the lateral ambient light, such as the instrument ambient light, the input is the vehicle's lateral acceleration, which is generated when the vehicle turns. The main calculation process is the same as that of the longitudinal ambient light. The effect of the ambient light inside the occupant compartment when the vehicle decelerates and turns left is as Figure 20 shown.
[0177] II. Steps S203 to S205 control the color change of the ambient light.
[0178] First, execute step S203 to obtain the current ambient light brightness.
[0179] Generally, vehicles currently equipped with the automatic headlight function can already obtain the light intensity through the light sensor to distinguish between day and night, and the ambient light can meet different requirements according to the scene.
[0180] 1. Ambient light color scheme in the daytime (sufficient light)
[0181] Functional purpose:
[0182] In sufficient light, the ambient light needs to attract the passengers' attention in a timely manner, and a strong complementary color scheme is adopted.
[0183] Therefore, when the light is sufficient, step S204 is executed to control the color of the ambient light to be the complementary color of the interior color around the ambient light.
[0184] Complementary colors:
[0185] 1) As shown in the color card, two colors that form a 210° angle in the red-yellow-blue (RYB) color wheel are complementary colors. Figure 21 As shown, two colors that form a 210° angle in the red-yellow-blue (RYB) color wheel are complementary colors.
[0186] When two colors are complementary, a strong contrast in color perception is produced.
[0187] 2) Considering that the light in the vehicle changes greatly, and the lightness of the color needs to be considered, that is, it is affected by the light brightness. Therefore, a lightness table needs to be added to the color wheel, as shown in Figure 22 As shown. After the complementary colors are selected, the color lightness is adjusted according to the light intensity obtained by the light sensor.
[0188] Therefore, for step S234, preferably:
[0189] 1) By comparing the actual interior with the color card, determine the interior color under different light flux luminosities, and select the complementary color on the color card with the added lightness table, so as to obtain Table 1.
[0190] Table 1 Complementary color table of interior colors under different light flux luminosities
[0191] Illumination luminance Interior color comparison color card results Complementary color of the color card 1000lx 2300lx 3000lx 4000lx 5000lx 6000lx ……
[0192] 2) The colors of the surrounding interior can be preset and associated with the corresponding ambient lights. When controlling the color of a certain ambient light, the associated surrounding interior color can be retrieved. Then, according to Table 1, the complementary color of this interior color under different light flux luminosities can be obtained.
[0193] 3) After the controller obtains the current light flux luminosity according to the light sensor, it can look up the table to obtain the complementary color of the interior color and set the color of the ambient light.
[0194] 2. Ambient light color scheme at night (insufficient light)
[0195] Functional purpose:
[0196] Appropriate color changes of the ambient light relieve the user's mood when the vehicle acceleration is small, and attract the user's attention in advance in a timely manner when the acceleration is large. Background art:
[0198] Colored light in nature reaches the human eye through the reflection of different objects. Different wavelengths convey different color information. The process of colored light acting on the human eye is accompanied by color perception and emotional experience. Generally, in the direct psychological perception of color by people:
[0199] The wavelength of yellow is moderate, and it is the brightest color among the chromatic colors. Yellow is also associated with danger, but not as strongly as red. Therefore, in many interfaces, yellow appears as a warning color one level lower than red.
[0200] Blue is the color of the sea and the sky. It represents harmony, peace, calmness, and relaxation. Using soft blue can produce a calming effect. Blue also represents technology and rationality and is often used as the main color for acceleration effects.
[0201] Green gives people a sense of infinite safety and can play an important role in the coordination of interpersonal relationships. Green symbolizes freedom, peace, freshness, and comfort.
[0202] Therefore, in step S235, preferably:
[0203] 1) Main considerations for color selection:
[0204] ① When considering the user's normal sitting posture during driving, being in a comfortable state during uniform speed and acceleration, select blue and green as the main colors.
[0205] ② When the vehicle decelerates, the discomfort felt by the user is the strongest. Select yellow as a warning color one level lower than red to remind the user to pay attention.
[0206] ③ In the color change of the door panel ambient light, to avoid abrupt color changes, add a color gradient effect, such as Figure 23 shown, select the longitudinal ambient light range 2301 from the color card.
[0207] In the dashboard ambient light, there is no concept of acceleration and deceleration, and only green (without steering) and yellow (with steering) are used for reminders. Select the horizontal ambient light range 2401 as shown in Figure 24 shown.
[0208] 2) In order to immediately or even in advance feedback the vehicle speed magnitude and direction change trend, in this embodiment, the depth of the brake pedal and the accelerator pedal are used as the longitudinal ambient light, such as the input of the door panel ambient light, and the steering wheel rotation angle is used as the horizontal ambient light, such as the input of the instrument ambient light, so that the ambient light can change synchronously during vehicle acceleration, deceleration, and turning operations.
[0209] The opening degree of the accelerator pedal (0ˉ100%) and the opening degree of the brake pedal (0ˉ100%): Determine whether to enter the deceleration or acceleration interval, calculate the corresponding color RGB, and output it to the door panel ambient light.
[0210] Steering wheel angle (-540° to 540°): Calculate the corresponding RGB color and output it to the instrument ambient light. Here, no steering is 0°, -540° means turning the steering wheel all the way to the left, and 540° means turning the steering wheel all the way to the right.
[0211] 1) For the longitudinal ambient light, preferably the door panel ambient light, set the pedal opening corresponding to each acceleration range.
[0212] In one embodiment, the pedal color range includes one or more deceleration color ranges, one or more constant-speed color ranges, and one or more acceleration color ranges. The deceleration color range corresponds to the pedal opening range of the brake pedal, the constant-speed color range corresponds to the pedal opening range of the brake pedal and / or the accelerator pedal, and the acceleration color range corresponds to the pedal opening range of the accelerator pedal.
[0213] As Figure 25 shown, divide each pedal color range in the longitudinal ambient light range 2301, which includes area a, area b, area c, area d, and area e in sequence from left to right. Among them, area a and area b are deceleration color ranges, and the range corresponding to area b is larger than that of area a. Area c is the constant-speed color range, and area d and area e are acceleration color ranges.
[0214] Area a: Corresponding to the brake pedal opening of 90% - 100%;
[0215] Area b: Corresponding to the brake pedal opening of 10% - 90%;
[0216] Area c: Corresponding to the brake pedal opening of 0 - 10% and the accelerator pedal opening of 0 - 10%;
[0217] Area d: Corresponding to the accelerator pedal opening of 10% - 90%;
[0218] Area e: Corresponding to the accelerator pedal opening of 90% - 100%.
[0219] The interval colors are defined in RGB mode. The RGB calculation of each interval color has a linear relationship with the pedal opening. When the brake pedal opening and the accelerator pedal opening are not both at 0% at the same time, the color is preferably displayed according to the brake pedal opening.
[0220] In one embodiment, controlling the color of the longitudinal ambient light in the passenger compartment according to the pedal opening specifically includes:
[0221] Divide the colors within the longitudinal ambient light range represented by RGB values into multiple consecutive pedal color ranges. Each pedal color range corresponds to a pedal opening range. Within each pedal color range, the pedal opening and the RGB value of the color have a linear relationship, and the colors within the longitudinal ambient light range change continuously;
[0222] Obtain the pedal opening range where the pedal opening is located as the current pedal opening range, and use the corresponding pedal color range of the current pedal opening range as the current pedal color range;
[0223] Calculate the RGB value of the color corresponding to the pedal opening within the current pedal color range.
[0224] If the pedal opening range only includes the brake pedal opening, then:
[0225] R = Rl + (Rr - Rl) * ((N2 - α) / (N2 - N1));
[0226] G = Gl + (Gr - Gl) * ((N2 - α) / (N2 - N1));
[0227] B = Bl + (Br - Bl) * ((N2 - α) / (N2 - N1)).
[0228] Where, R is the R (red value) in the calculated RGB value, RI is the red value of the left side of the current pedal color range, Rr is the red value of the right side of the current pedal color range, G is the G (green value) in the calculated RGB value, GI is the green value of the left side of the current pedal color range, Gr is the green value of the right side of the current pedal color range, B is the B (blue value) in the calculated RGB value, BI is the blue value of the left side of the current pedal color range, Br is the blue value of the right side of the current pedal color range, α is the brake pedal opening, N1 is the minimum value of the current pedal opening range, and N2 is the maximum value of the current pedal opening range. The left side value of the pedal color range is the value on the left side of the pedal color range in the color card, and the right side value of the pedal color range is the value on the right side of the pedal color range in the color card.
[0229] Taking area a as an example:
[0230] Let the brake pedal opening be α
[0231] Let the left side value of area a be (Ral, Gal, Bal), and the right side value be (Rar, Gar, Bar), then the RGB calculation of the door panel ambient light is:
[0232] R = Ral + (Rar - Ral) * ((100% - α) / (100% - 90%));
[0233] G = Gal + (Gar - Gal) * ((100% - α) / (100% - 90%));
[0234] B = Bal + (Bar - Bal) * ((100% - α) / (100% - 90%)).
[0235] If the pedal opening range includes both the brake pedal opening and the accelerator pedal opening, then:
[0236] When the brake pedal opening α > 0, then
[0237] R = Rl + (Rm - Rl) * ((N3 - α) / (N3 - 0));
[0238] G = Gl + (Gm - Gl) * ((N3 - α) / (N3 - 0));
[0239] B = Bl + (Bm - Bl) * ((N3 - α) / (N3 - 0));
[0240] When the brake pedal opening = 0 and the accelerator pedal opening β > 0, then
[0241] R = Rr + (Rm - Rr) * ((N4 - β) / (N4 - 0));
[0242] G = Gr + (Gm - Gr) * ((N4 - β) / (N4 - 0));
[0243] B = Br + (Bm - Br) * ((N4 - β) / (N4 - 0)).
[0244] Among them, R is the R (red value) in the calculated RGB value, RI is the red value of the left side of the current pedal color range, Rr is the red value of the right side of the current pedal color range, Rm is the red value of the middle value of the current pedal color range, G is the G (green value) in the calculated RGB value, GI is the green value of the left side of the current pedal color range, Gr is the green value of the right side of the current pedal color range, Gm is the green value of the middle value of the current pedal color range, B is the B (blue value) in the calculated RGB value, BI is the blue value of the left side of the current pedal color range, Br is the blue value of the right side of the current pedal color range, α is the brake pedal opening, β is the accelerator pedal opening, N3 is the maximum value of the brake pedal opening in the current pedal opening range, and N4 is the maximum value of the accelerator pedal opening in the current pedal opening range.
[0245] Taking area c as an example:
[0246] Let the accelerator pedal opening be β, the brake pedal opening be α, the left side value of area c be (Rcl, Gcl, Bcl), the right side value be (Rcr, Gcr, Bcr), and the middle value be (Rm, Gm, Bm). Then the RGB calculation of the door panel atmosphere light is:
[0247] When the brake pedal opening α > 0,
[0248] R = Rcl + (Rm - Rcl) * ((10% - α) / (10% - 0%));
[0249] G = Gcl + (Gm - Gcl) * ((10% - α) / (10% - 0%));
[0250] B = Bcl + (Bm - Bcl) * ((10% - α) / (10% - 0%));
[0251] When the brake pedal opening α = 0 and the accelerator pedal opening β > 0,
[0252] R = Rcr + (Rm - Rcr) * ((10% - β) / (10% - 0%));
[0253] G = Gcr + (Gm - Gcr) * ((10% - β) / (10% - 0%));
[0254] B = Bcr + (Bm - Bcr) * ((10% - β) / (10% - 0%)).
[0255] If the pedal opening range only includes the accelerator pedal opening, then:
[0256] R = Rl + (Rr - Rl) * ((β - N5) / (N6 - N5));
[0257] G = Gl + (Gr - Gl) * ((β - N5) / (N6 - N5));
[0258] B = Bl + (Br - Bl) * ((β - N5) / (N6 - N5)).
[0259] Wherein, R is the R (red value) in the calculated RGB value, RI is the red value of the left side of the current pedal color range, Rr is the red value of the right side of the current pedal color range, G is the G (green value) in the calculated RGB value, GI is the green value of the left side of the current pedal color range, Gr is the green value of the right side of the current pedal color range, B is the B (blue value) in the calculated RGB value, BI is the blue value of the left side of the current pedal color range, Br is the blue value of the right side of the current pedal color range, β is the accelerator pedal opening, N5 is the minimum value of the current pedal opening range, and N6 is the maximum value of the current pedal opening range.
[0260] Taking area e as an example, assuming the left side value of area e is (Rel, Gel, Bel) and the right side value is (Rer, Ger, Ber), then the RGB calculation of the door panel ambient light is:
[0261] R = Rel + (Rer - Rel) * ((β - 90%) / (100% - 90%));
[0262] G = Gel + (Ger - Gel) * ((β - 90%) / (100% - 90%));
[0263] B = Bel+(Ber - Bel)*((β - 90%) / (100% - 90%)).
[0264] 2) For the horizontal ambient light, preferably the instrument ambient light, set the steering intervals corresponding to the steering wheel angles respectively.
[0265] In one of the embodiments, the steering wheel color intervals include one or more steering color intervals and one or more non-steering color intervals. Among them, the steering wheel angle interval corresponding to the steering color interval is the steering wheel angle interval for steering, and the steering wheel angle interval corresponding to the non-steering color interval is the steering wheel angle interval for non-steering. The allowable range of the steering wheel angle is [-A°, A°], where the steering wheel has no angle of 0°, -A° is the steering wheel angle when the steering wheel is turned to the extreme in the first direction, and A° is the steering wheel angle when the steering wheel is turned to the extreme in the second direction. The first direction is opposite to the second direction. The range of the non-steering steering wheel angle interval is [-B°, B°], and the range of the steering steering wheel angle interval is [-A°, -B°] or [B°, A°], where B is less than A.
[0266] As Figure 26 shown, divide each steering wheel color interval in the horizontal ambient light range 2401, which includes area a, area b, and area c in sequence from left to right. Among them, area a and area b are steering color intervals, and the range corresponding to area b is larger than that of area a, and area c is a non-steering color interval.
[0267] Area a: Steering wheel angle -90° to 90°;
[0268] Area b: Steering wheel angle -360° to -90°, 90° to 360°;
[0269] Area c: Steering wheel angle -540° to -360°, 360° to 540°.
[0270] In this embodiment, the allowable range of the steering wheel angle is [-540°, 540°], that is, -A° is -540° and A° is 540°. The range of the non-steering steering wheel angle interval is [-90°, 90°], that is, -B° is -90° and B° is 90°. The non-steering steering wheel angle interval is area a. The range of the steering steering wheel angle interval is [-540°, -90°] or [90°, 540°], and the steering steering wheel angle interval includes area b and area c.
[0271] The RGB calculation of each interval color has a linear relationship with the steering wheel angle. Preferably, the RGB calculation of each interval color has a linear relationship with the absolute value of the steering wheel angle.
[0272] In one embodiment, controlling the color of the lateral ambient light in the passenger compartment according to the steering wheel angle specifically includes:
[0273] Dividing the colors within the range of the lateral ambient light represented by RGB values into multiple consecutive steering wheel color intervals. Each steering wheel color interval corresponds to a steering wheel angle interval. Within each steering wheel color interval, the steering wheel angle and the RGB values of the color are linearly related, and the colors within the range of the lateral ambient light change continuously;
[0274] Obtaining the steering wheel angle interval where the steering wheel angle is located as the current steering wheel angle interval, and taking the steering wheel color interval corresponding to the current steering wheel angle interval as the current steering wheel color interval;
[0275] Calculating the RGB values of the color corresponding to the steering wheel angle within the current steering wheel color interval.
[0276] R = Rl + (Rr - Rl) * ((N8 - γ) / (N8 - N7));
[0277] G = Gl + (Gr - Gl) * ((N8 - γ) / (N8 - N7));
[0278] B = Bl + (Br - Bl) * ((N8 - γ) / (N8 - N7)).
[0279] Wherein, R is the R (red value) in the calculated RGB values, RI is the red value of the left side value of the current steering wheel color interval, Rr is the red value of the right side value of the current steering wheel color interval, G is the G (green value) in the calculated RGB values, GI is the green value of the left side value of the current steering wheel color interval, Gr is the green value of the right side value of the current steering wheel color interval, B is the B (blue value) in the calculated RGB values, BI is the minimum blue value of the current steering wheel color interval, Br is the maximum blue value of the current steering wheel color interval, γ is the absolute value of the steering wheel angle, N7 is the minimum value of the absolute value of the current steering wheel angle interval, and N8 is the maximum value of the absolute value of the current steering wheel angle interval.
[0280] Since the positive and negative of the steering wheel angle are only used to identify left turn or right turn, when the direction is not considered, the absolute value of the steering wheel angle can be directly used for calculation.
[0281] The left and right RGB values of each color area above can be calibrated according to the development.
[0282] This embodiment enriches the ambient light effect on the existing hardware and provides better acceleration feedback to the occupants. It provides dynamic feedback through brightness and color respectively, enabling the occupants to easily receive the dynamic feedback of the vehicle acceleration even in a closed situation inside the vehicle, and relieving the feeling of motion sickness.
[0283] In one embodiment, the obtaining of the vehicle acceleration information specifically includes: predicting the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition.
[0284] Specifically, the driver will control the vehicle to accelerate or decelerate according to the vehicle speed and / or the road vehicle condition. Therefore, the vehicle acceleration information can be predicted through the vehicle speed and / or the road vehicle condition.
[0285] In this embodiment, by predicting the vehicle acceleration information, the lighting parameters of the atmosphere lamp are adjusted earlier.
[0286] In one embodiment, the predicting of the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition specifically includes:
[0287] Obtaining the vehicle's own vehicle speed, the average vehicle speed of the vehicles in the lane where the vehicle is located, and the vehicle speed of the vehicle in front of the vehicle;
[0288] When the vehicle speed of the vehicle in front is less than the average vehicle speed of the vehicles in the lane, and the difference between the vehicle speed of the vehicle in front and the average vehicle speed of the vehicles in the lane reaches a first preset value, and the vehicle's own vehicle speed is less than the average vehicle speed of the vehicles in the lane, and the difference between the vehicle's own vehicle speed and the average vehicle speed of the vehicles in the lane reaches a second preset value, then the predicted vehicle acceleration information is longitudinal acceleration.
[0289] Among them, the longitudinal acceleration of the predicted vehicle acceleration information can be the difference between the vehicle's own vehicle speed and the average vehicle speed of the vehicles in the lane
[0290] In one embodiment, the predicting of the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition specifically includes:
[0291] Obtaining the distance between the vehicle and the vehicle in front;
[0292] When the distance between the vehicle and the vehicle in front is less than a preset distance threshold, then the predicted vehicle acceleration information is longitudinal deceleration.
[0293] In one embodiment, the predicting of the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition specifically includes:
[0294] Obtaining the distance between the vehicle and the vehicle in front and the road vehicle condition;
[0295] When the distance between the vehicle and the vehicle in front is less than a preset distance threshold and there is no vehicle in the adjacent lane, then the predicted vehicle acceleration information is a lateral turn towards the lane without a vehicle.
[0296] As Figure 27 shown is a schematic hardware structure diagram of an electronic device according to the present invention, including:
[0297] at least one processor 2701; and,
[0298] a memory 2702 communicatively connected to the at least one processor 2701; wherein,
[0299] the memory 2702 stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle ambient light control method as described above.
[0300] Figure 27 Taking one processor 2701 as an example.
[0301] The electronic device may further include: an input device 2703 and a display device 2704.
[0302] The processor 2701, the memory 2702, the input device 2703, and the display device 2704 may be connected by a bus or other means. Taking connection by bus as an example in the figure.
[0303] As a non-volatile computer-readable storage medium, the memory 2702 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the vehicle ambient light control method in the embodiments of the present application. For example, Figure 1 , Figure 2 the method flow shown. By running the non-volatile software programs, instructions, and modules stored in the memory 2702, the processor 2701 executes various functional applications and data processing, that is, implements the vehicle ambient light control method in the above embodiments.
[0304] The memory 2702 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the vehicle ambient light control method, etc. In addition, the memory 2702 may include a high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 2702 may optionally include a memory remotely set relative to the processor 2701, and these remote memories can be connected to the device executing the vehicle ambient light control method through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0305] The input device 2703 can receive the input clicks of the occupants and generate signal inputs related to the occupant settings and function controls of the vehicle ambient light control method. The display device 2704 may include a display screen and other display devices.
[0306] When the one or more modules are stored in the memory 2702 and run by the one or more processors 2701, the vehicle ambient light control method in any of the above method embodiments is executed.
[0307] The present invention controls the light parameters of the ambient light in the passenger compartment through acceleration information, so that the light parameters of the ambient light can reflect the acceleration information, enabling the passengers to obtain a visual change consistent with the acceleration information, and allowing the passengers to easily receive the dynamic feedback of the vehicle acceleration even in a closed situation inside the vehicle. The feeling of the passengers' vestibular system is consistent with the visual feeling, thereby alleviating the feeling of motion sickness.
[0308] An embodiment of the present invention provides a storage medium that stores computer instructions, which are used to execute all steps of the vehicle ambient light control method as described above when the computer executes the computer instructions.
[0309] The above embodiments only represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
Claims
1. A vehicle ambient light control method, characterized in that, Including: Obtain vehicle acceleration information; Control the lighting parameters of the ambient light in the passenger compartment according to the vehicle acceleration information; The controlling the lighting parameters of the ambient light in the passenger compartment according to the vehicle acceleration information specifically includes: Control the brightness of the corresponding ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information; The controlling the brightness of the corresponding ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes: Control the brightness of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information; The controlling the brightness of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information specifically includes: Divide the lamp beads into multiple brightness levels, the minimum brightness level is Nmin, and the maximum brightness level is Nmax; Calculate the brightness level of each lamp bead of the ambient light according to the acceleration parallel to the extending direction of the ambient light in the passenger compartment in the vehicle acceleration information, where the brightness level y of the xth lamp bead is y = (-a / g)*x + Nmax / 2 + (M / 2)*a / g, where a is the acceleration parallel to the extending direction of the ambient light, g is the gravitational acceleration constant, M is the number of lamp beads included in the ambient light, x is the lamp bead serial number of the ambient light, and the lamp bead serial numbers are arranged from small to large according to the extending direction of the ambient light. When the direction of the acceleration is the same as the extending direction of the ambient light, a takes a positive value, and when the direction of the acceleration is opposite to the extending direction of the ambient light, a takes a negative value; Round the brightness level of each lamp bead to an integer. If the brightness level of the lamp bead is less than Nmin, set the brightness of the lamp bead to Nmin. If the brightness level of the lamp bead is greater than Nmax, set the brightness level of the lamp bead to Nmax; Control the brightness of each lamp bead of the ambient light to the corresponding brightness level.
2. The vehicle ambient light control method according to claim 1, characterized in that, Along the direction of the acceleration parallel to the extending direction of the ambient light, the brightness of the lamp beads gradually decreases.
3. The vehicle atmosphere lamp control method according to claim 1, characterized in that, The controlling the lighting parameters of the ambient light in the passenger compartment according to the vehicle acceleration information specifically includes: Obtain the current ambient light brightness; If the current ambient light brightness is greater than or equal to the preset brightness threshold, control the color of the ambient light to the complementary color of the interior color around the ambient light; If the current ambient light brightness is less than the preset brightness threshold, control the color of the ambient light according to the vehicle acceleration information.
4. The vehicle ambient light control method according to claim 3, wherein The controlling the color of the ambient light to the complementary color of the interior color around the ambient light specifically includes: Obtain the current ambient light luminous flux; Determine the complementary color of the interior color around the ambient light at the current ambient light luminous flux; Control the color of the ambient light to the complementary color.
5. The vehicle ambient light control method according to claim 3, wherein, The controlling the color of the ambient light according to the vehicle acceleration information specifically includes: Control the color of the longitudinal ambient light in the passenger compartment according to the pedal opening, where the pedal opening is the throttle pedal opening and / or the brake pedal opening; Control the color of the transverse ambient light in the passenger compartment according to the steering wheel angle.
6. The vehicle ambient light control method according to claim 5, characterized in that: Controlling the color of the longitudinal ambient light in the passenger compartment according to the pedal opening specifically includes: Dividing the colors within the range of the longitudinal ambient light represented by RGB values into multiple consecutive pedal color intervals. Each pedal color interval corresponds to a pedal opening interval. Within each pedal color interval, the pedal opening and the RGB values of the color have a linear relationship, and the colors within the range of the longitudinal ambient light change continuously. Obtaining the pedal opening interval where the pedal opening is located as the current pedal opening interval, and taking the pedal color interval corresponding to the current pedal opening interval as the current pedal color interval. Calculating the RGB values of the color corresponding to the pedal opening within the current pedal color interval. Controlling the color of the lateral ambient light in the passenger compartment according to the steering wheel angle specifically includes: Dividing the colors within the range of the lateral ambient light represented by RGB values into multiple consecutive steering wheel color intervals. Each steering wheel color interval corresponds to a steering wheel angle interval. Within each steering wheel color interval, the steering wheel angle and the RGB values of the color have a linear relationship, and the colors within the range of the lateral ambient light change continuously. Obtaining the steering wheel angle interval where the steering wheel angle is located as the current steering wheel angle interval, and taking the steering wheel color interval corresponding to the current steering wheel angle interval as the current steering wheel color interval. Calculating the RGB values of the color corresponding to the steering wheel angle within the current steering wheel color interval.
7. The vehicle ambient light control method according to claim 6, wherein : The pedal color intervals include one or more deceleration color intervals, one or more constant-speed color intervals, and one or more acceleration color intervals. The deceleration color intervals correspond to the pedal opening intervals of the brake pedal. The constant-speed color intervals correspond to the pedal opening intervals of the brake pedal and / or the accelerator pedal. The acceleration color intervals correspond to the pedal opening intervals of the accelerator pedal. The steering wheel color intervals include one or more steering color intervals and one or more non-steering color intervals. Among them, the steering wheel angle intervals corresponding to the steering color intervals are the steering wheel angle intervals for steering. The steering wheel angle intervals corresponding to the non-steering color intervals are the non-steering steering wheel angle intervals. The allowable range of the steering wheel angle is [-A°, A°], where the steering wheel has no angle of 0°. -A° is the steering wheel angle when the steering wheel is turned all the way in the first direction, and A° is the steering wheel angle when the steering wheel is turned all the way in the second direction. The first direction and the second direction are opposite. The range of the non-steering steering wheel angle interval is [-B°, B°], and the range of the steering steering wheel angle interval is [-A°, -B°] or [B°, A°], where B is less than A.
8. The vehicle ambient light control method according to claim 7, wherein: The color of the deceleration color interval is yellow, the color of the constant-speed color interval is green, and the color of the acceleration color interval is blue. The color of the steering color interval is yellow, and the color of the non-steering color interval is green.
9. The vehicle atmosphere lamp control method according to claim 1, characterized in that, The obtaining of the vehicle acceleration information specifically includes: predicting the vehicle acceleration information based on the vehicle speed and / or the road vehicle condition.
10. An electronic device, characterized in that, Includes: At least one processor; And, A memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors to enable at least one of the processors to execute the vehicle ambient light control method according to any one of claims 1 to 9.
11. A storage medium, characterized in that, The storage medium stores computer instructions, which are used to execute all steps of the vehicle ambient light control method according to any one of claims 1 to 9 when the computer executes the computer instructions.
Citation Information
Patent Citations
Interactive automobile atmosphere lamp
CN113635829A
Atmosphere lamp interaction system and automobile
CN214189482U
Method for controlling interior lighting in a vehicle and vehicle with interior lighting
DE102017129629A1
A lighting system for a vehicle passenger compartment
WO2021024008A1