Shifter atmosphere lamp control method, device and equipment and medium

By adjusting the brightness change or flickering frequency of the gearshift ambient light according to the vehicle status, the problem of how to reasonably control the ambient light is solved, and the user perception experience and warning effect are improved in different vehicle statuses.

CN119997298APending Publication Date: 2025-05-13SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311507002.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-13
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

How to reasonably control the changes in the gearshift ambient lights to improve the user's perception experience, especially in different vehicle states.

Method used

The state of the electronic shift system is determined based on the current working condition information of the vehicle, and the pulse width modulation method is used to control the brightness change of the atmosphere lamp in the welcome state, or the atmosphere lamp is turned on and off and flickered according to the preset frequency in the warning state.

Benefits of technology

By reasonably controlling the lighting process of the atmosphere light, the user's experience can be improved in the welcome state, and the user's current status can be effectively reminded in the warning state to improve the warning effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997298A_ABST
    Figure CN119997298A_ABST
Patent Text Reader

Abstract

The invention provides a control method and device for a shifter atmosphere lamp, equipment and a medium. The state of an electronic gear shifting system is determined according to current working condition information of a vehicle; and when the electronic gear shifting system is in a welcome state, the brightness change of the atmosphere lamp is controlled in a pulse width modulation mode, the brightness change of the atmosphere lamp is that the brightness is gradually increased and then gradually reduced, and the duty ratio is determined according to a heat conservation formula of an equivalent resistor in the power supply circuit. And when the electronic gear shifting system is in the warning state, the atmosphere lamp is controlled to flicker according to the preset frequency. According to the method, the greeting state and the warning state can be distinguished according to different lighting processes of the atmosphere lamp in different vehicle states, the atmosphere lamp is set to be changed from dark to bright and then to dark in the greeting mode, the feeling experience of a user can be improved, the user is prompted to be in the warning state through on-off flickering, and the warning effect can also be improved. Reasonable control over the atmosphere lamp is achieved, and therefore the perception experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the automotive field, and in particular to a method, device, equipment and medium for controlling a gear shifter atmosphere light. Background Art

[0002] The shifter is a common operating key for driving a vehicle and is an important part of the interaction between people and vehicles. In the configuration of electronic shift models, adding atmosphere indicator lights can effectively improve the user's perceived quality. For example, in a ball-head shifter, an atmosphere indicator light can be set on the shifter. For example, in a touchpad hidden shifter, the user can achieve the shift operation by touching different areas. In some models, the user can also switch gears through different gestures. In this type of shifter, atmosphere indicator lights can be set around the shifter. In addition, a rear projection logo can be set in the middle area. Therefore, how to reasonably control the changes in the atmosphere indicator lights so that users can perceive certain information has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the purpose of this application is to provide a control method, device, equipment and medium for the shifter atmosphere light, which corresponds to different atmosphere light emitting processes under different vehicle states, realizes reasonable control of the atmosphere light, and thus enhances the user's perceptual experience. The specific scheme is as follows:

[0004] On the one hand, the present application provides a method for controlling a shifter atmosphere light, comprising:

[0005] Determine the state of the electronic shift system based on the current working condition information of the vehicle;

[0006] When the electronic shift system is in the welcoming state, the brightness change of the ambient light is controlled by pulse width modulation, and the brightness change of the ambient light is that the brightness first gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistance in the power supply circuit;

[0007] When the electronic shift system is in a warning state, the ambient light is controlled to flash on and off at a preset frequency; in the warning state, the electronic shift system cannot perform a shift operation.

[0008] Specifically, when the electronic shift system is in the warning state, controlling the ambient light to flash on and off at a preset frequency includes:

[0009] When the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being depressed or the vehicle speed being within a preset speed range.

[0010] Specifically, when the electronic shift system is in the warning state, controlling the ambient light to flash on and off at a preset frequency includes:

[0011] When a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure and an actuator failure.

[0012] Specifically, the method further includes:

[0013] When the electronic shift system is in a scene state, the ambient light is controlled to emit light according to a preset frequency change; the scene state includes at least one of a camping mode, a nap mode, a game mode, a showroom mode or a gun plug-in charging and discharging mode.

[0014] Specifically, the method further includes:

[0015] When the electronic shift system is in a normal working mode, the ambient light is controlled to emit light according to a preset brightness.

[0016] In another aspect, the embodiment of the present application further provides a control device for a shifter atmosphere light, comprising:

[0017] A determination unit, used to determine the state of the electronic shift system according to the current working condition information of the vehicle;

[0018] a first control unit, configured to control the brightness change of the ambient light by pulse width modulation when the electronic shift system is in a welcoming state, wherein the brightness change of the ambient light is that the brightness first gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to a heat conservation formula of an equivalent resistor in a power supply circuit;

[0019] The second control unit is used to control the ambient light to flash on and off at a preset frequency when the electronic shifting system is in a warning state; in the warning state, the electronic shifting system cannot perform a shifting operation.

[0020] Specifically, the second control unit is used to:

[0021] When the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being depressed or the vehicle speed being within a preset speed range.

[0022] Specifically, the second control unit is used to:

[0023] When a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure and an actuator failure.

[0024] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:

[0025] The memory is used to store program code and transmit the program code to the processor;

[0026] The processor is configured to execute the method described above according to the instructions in the program code.

[0027] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the above aspects.

[0028] The embodiment of the present application provides a control method, device, equipment and medium for the atmosphere light of a shifter, and determines the state of the electronic shift system according to the current working condition information of the vehicle; the electronic shift system can have multiple states, and when the electronic shift system is in the welcoming state, the brightness change of the atmosphere light is controlled by pulse width modulation, and the brightness change of the atmosphere light is that the brightness first gradually increases and then gradually decreases, and the brightness of the atmosphere light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistor in the power supply circuit. When the electronic shift system is in the warning state, the atmosphere light is controlled to flash on and off according to the preset frequency; in the warning state, the electronic shift system cannot perform the shifting operation. It can be seen that in different vehicle states, the different atmosphere light emitting processes correspond to different atmosphere light emission processes, and the welcoming state and the warning state can be distinguished, and the atmosphere light is set from dark to bright and then dark in the welcoming mode, which can improve the user's experience, and the warning effect can also be improved by flashing on and off to remind the user that the current state is a warning state. In this way, reasonable control of the atmosphere light is achieved, thereby improving the user's perceptual experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] Figure 1 A schematic flow chart of a method for controlling a shifter atmosphere light provided in an embodiment of the present application is shown;

[0031] Figure 2 A schematic diagram of the structure of an electronic shifting system provided in an embodiment of the present application is shown;

[0032] Figure 3 and Figure 4 A schematic diagram of a brightness control strategy for a welcome state provided in an embodiment of the present application;

[0033] Figure 5 A flowchart of another method for controlling a shifter atmosphere light provided in an embodiment of the present application;

[0034] Figure 6 A structural block diagram of a control device for a shifter atmosphere light provided in an embodiment of the present application;

[0035] Figure 7 A structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings.

[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.

[0038] Secondly, the present application is described in detail with reference to the schematic diagram. When describing the embodiments of the present application in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present application. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0039] For ease of understanding, a method, device, equipment and medium for controlling a shifter atmosphere light provided in an embodiment of the present application are described in detail below in conjunction with the accompanying drawings.

[0040] refer to Figure 1 As shown, it is a flow chart of a method for controlling a shifter atmosphere light provided in an embodiment of the present application. The method may include the following steps.

[0041] S101, determining the state of the electronic shifting system according to the current operating condition information of the vehicle.

[0042] In the examples of this application, refer to Figure 2As shown, it is a structural schematic diagram of an electronic shifting system provided by an embodiment of the present application. The electronic shifting system (Shift By Wire, SBW) may include a shifter, a shift controller (SCU), and a motor shifting actuator. The sensor inside the shifter can collect the driver's PRND four gear driving request and transmit it to the SCU, which controls the motor shifting actuator to realize the shifting action.

[0043] Specifically, the vehicle's current operating condition information can be obtained, which may include vehicle information such as whether the vehicle doors are unlocked, whether the vehicle is started, whether the brake pedal is pressed, and whether any hardware or software failures occur.

[0044] The status of the electronic shift information can be determined based on the vehicle's current operating condition information. For example, when a user approaches the vehicle, the door can be unlocked by the key. When the vehicle's current operating condition information includes that the door is unlocked, the electronic shift system can be placed in a welcome state. When the vehicle's current operating condition information includes detecting a sensor failure, the electronic shift system can be placed in a warning state, etc.

[0045] S102, when the electronic shift system is in the welcoming state, the brightness change of the ambient light is controlled by pulse width modulation, and the brightness change of the ambient light is that the brightness gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistance in the power supply circuit.

[0046] In the embodiment of the present application, the welcoming state can be understood as a vehicle state before the user drives the vehicle, which can welcome the user to drive the vehicle, and can also respond to the user's unlocking operation and mark the location of the vehicle. For example, in the welcoming state, the vehicle headlights can flash. The ambient light can be an LED light.

[0047] Specifically, in the welcoming state, the brightness change of the atmosphere light can be controlled by pulse width modulation (PWM). The brightness change of the atmosphere light can be that the brightness gradually increases first and then gradually decreases. The waveform can be a sine wave. The brightness change perceived by the user is relatively gentle, which improves the user experience. Among them, the higher the duty cycle (Duty) of the pulse width modulation, the higher the brightness perceived by the user. Conversely, the smaller the duty cycle, the lower the brightness perceived by the user, that is, the brightness of the atmosphere light is positively correlated with the duty cycle. The brightness perceived by the user can be different by adjusting the size of the duty cycle.

[0048] For example, in the welcoming state, when the vehicle power mode switches from Off to On, the ambient indicator light gradually lights up from off to the highest state, and then gradually turns off. This can be a cycle, and can be repeated multiple times to make the user perceive the change in brightness as much as possible. The total duration of a cycle can be greater than or equal to a preset value, such as 2s, 4s, etc.

[0049] Specifically, refer to Figure 3 As shown, it is a schematic diagram of a welcome state brightness control strategy provided by an embodiment of the present application. The larger the width of the box bar, the larger the duty cycle. It can be found that the duty cycle first gradually increases and then gradually decreases, so that the brightness first increases and then decreases. The area of ​​the box bar is equal to the area formed by the arc curve and the x-axis. Figure 4 As shown, it is a schematic diagram of voltage change in one cycle.

[0050] Specifically, the sinusoidal voltage signal can be expressed as:

[0051] V(t)=V0sin(2πft)

[0052] Among them, V0 represents the voltage constant.

[0053] Assume that the voltage is divided into N equal parts, and the PWM-Duty corresponding to the k-th part is set as Duty(k).

[0054] Using Joule's law of energy, the conservation of heat for the resistor R is expressed as:

[0055]

[0056] Among them, resistance R is the equivalent resistance in the power supply circuit.

[0057] Calculate the above formula to get:

[0058]

[0059] In an embodiment of the present application, after the time in the welcoming state reaches a preset time, the welcoming state can be automatically exited and the normal working state can be entered, thereby facilitating the user to control the vehicle normally.

[0060] Specifically, when the electronic shift system is in normal working mode, the ambient light can be controlled to emit light according to a preset brightness. The preset brightness can be set by the user. At the preset brightness, the ambient light is kept on, which makes it easier to identify the physical position of the shifter, allowing the user to find the shifter in time during driving, thereby improving driving safety.

[0061] For example, after the atmosphere indicator light gradually changes from an off state to a highest state and then gradually turns off, when the welcoming state ends, the light can be kept gradually changing to a preset brightness state and remain on.

[0062] S103, when the electronic shift system is in a warning state, the ambient light is controlled to flash on and off at a preset frequency; in the warning state, the electronic shift system cannot perform a shift operation.

[0063] In an embodiment of the present application, it can be determined through the vehicle's current operating condition information that the electronic shift system is in a warning state. In the warning state, the electronic shift system cannot perform a shift operation. This may be due to improper operation by the driver and failure to meet the shift conditions, so the shift cannot be performed. It may also be due to a hardware failure in the vehicle, making it impossible to shift gears.

[0064] Specifically, in the warning state, the ambient light can be controlled to flash on and off at a preset frequency, such as flashing at a frequency of 1 Hz or 10 Hz. The waveform can be a square wave, so as to attract the driver's attention in time, reminding the driver that he cannot change gears, thereby improving driving safety.

[0065] It can be seen that in different vehicle states, the different lighting processes of the ambient light correspond to the different states, which can distinguish the welcoming state from the warning state. In addition, in the welcoming mode, setting the ambient light from dark to bright and then to dark again can improve the user's experience. By flashing on and off to remind the user that the current state is a warning state, the warning effect can also be improved. In this way, the reasonable control of the ambient light is achieved, thereby improving the user's perception experience.

[0066] In a possible implementation, S103 may be specifically as follows: when the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being pressed or the vehicle speed being within a preset speed range.

[0067] That is to say, since the current operating condition information of the vehicle does not meet the gear shifting conditions, the electronic gear shifting system will be in a warning state. For example, the brake pedal is not pressed, or the vehicle speed does not meet the gear shifting speed range, which means that the gear shift cannot be executed. The electronic gear shifting system is set to a warning state. In this state, the ambient light can be controlled to flash on and off at a first frequency. The first frequency can be set according to user needs.

[0068] In another possible implementation, S103 may be specifically as follows: when a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure or an actuator failure.

[0069] Specifically, the electronic shift system may be in a warning state due to a system failure in the electronic shift system. The system failure may be a sensor failure in the shifter that cannot transmit signals, an actuator failure, or other hardware or software failures, which are not specifically limited here. When a system failure occurs, the electronic shift system will also be controlled to enter a warning state.

[0070] Since the impact of system failure on driving is greater than the impact of not meeting the shifting conditions, and it is likely to cause a safety accident, the ambient light can be controlled to flash on and off at a second frequency, which is greater than the first frequency. For example, the first frequency is 1hz, and the second frequency can be 2hz. In order to increase the distinction, the second frequency can also be set to 20hz. In this way, the ambient light changes on and off more quickly, making it easier for users to capture brightness changes in time, thereby prompting users that there is an abnormality in the system, so that the vehicle can be processed accordingly to improve driving safety.

[0071] In the embodiments of the present application, with the abundance of on-board power, the vehicle's usage scenario modes are becoming more diverse. For specific scenarios of non-formal gears, including but not limited to camping mode, nap mode, game mode, exhibition hall mode, plug-in charging and discharging mode, etc., corresponding atmosphere light lighting modes can be set.

[0072] Specifically, when the electronic shift system is in a scene state, the ambient light can be controlled to emit light according to a preset frequency change, and the preset frequency change can be a frequency that changes according to a certain rule, such as changing the brightness of the ambient light according to the frequency of a certain piece of music, or in the form of a marquee. The scene state includes at least one of a camping mode, a nap mode, a game mode, a showroom mode, or a gun charging and discharging mode.

[0073] In this mode, some vehicle systems need to be in working state, but the gear shifting function is limited and the gear shifting operation cannot be performed. At this time, the rhythmic control of the ambient light reminds the user that the current vehicle state is restricted. At the same time, the rhythmic control can also achieve the purpose of reducing power consumption compared to the constant light.

[0074] refer to Figure 5 As shown, frequency one, that is, the second frequency, can be set when the system fails, frequency two, that is, the first frequency, can be set when the operation is abnormal, and frequency three, that is, the preset frequency change, can be set in a specific scenario.

[0075] The embodiment of the present application provides a control method for the atmosphere light of a shifter, and the state of the electronic shift system is determined according to the current working condition information of the vehicle; the electronic shift system can have multiple states. When the electronic shift system is in the welcoming state, the brightness change of the atmosphere light is controlled by pulse width modulation, and the brightness change of the atmosphere light is that the brightness first gradually increases and then gradually decreases. The brightness of the atmosphere light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistor in the power supply circuit. When the electronic shift system is in the warning state, the atmosphere light is controlled to flash on and off according to the preset frequency; in the warning state, the electronic shift system cannot perform the shifting operation. It can be seen that the different atmosphere light emitting processes corresponding to different vehicle states can distinguish the welcoming state and the warning state, and the atmosphere light is set from dark to bright and then dark in the welcoming mode, which can improve the user's experience, and the warning effect can also be improved by flashing on and off to remind the user that the current state is a warning state. In this way, reasonable control of the atmosphere light is achieved, thereby improving the user's perceptual experience.

[0076] Based on the above control method of the gear shifter atmosphere light, the present application embodiment also provides a control device for the gear shifter atmosphere light, referring to Figure 6 FIG. 1 is a structural block diagram of a control device for a shifter atmosphere light provided in an embodiment of the present application, and the device may include:

[0077] A determination unit 201 is used to determine the state of the electronic shift system according to the current working condition information of the vehicle;

[0078] A first control unit 202 is used to control the brightness change of the ambient light by pulse width modulation when the electronic shift system is in the welcoming state, wherein the brightness change of the ambient light is that the brightness first gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistance in the power supply circuit;

[0079] The second control unit 203 is used to control the ambient light to flash on and off at a preset frequency when the electronic shifting system is in a warning state; in the warning state, the electronic shifting system cannot perform a shifting operation.

[0080] Specifically, the second control unit is used to:

[0081] When the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being depressed or the vehicle speed being within a preset speed range.

[0082] Specifically, the second control unit is used to:

[0083] When a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure and an actuator failure.

[0084] Specifically, the device also includes:

[0085] The third control unit is used to control the ambient light to emit light according to a preset frequency change when the electronic shift system is in a scene state; the scene state includes at least one of a camping mode, a nap mode, a game mode, a showroom mode or a gun plug-in charging and discharging mode.

[0086] Specifically, the device also includes:

[0087] The fourth control unit is used to control the ambient light to emit light according to a preset brightness when the electronic shift system is in a normal working mode.

[0088] The embodiment of the present application provides a control device for the atmosphere light of the shifter, a determination unit, which is used to determine the state of the electronic shift system according to the current working condition information of the vehicle; the electronic shift system can have multiple states, and the first control unit is used to control the brightness change of the atmosphere light by pulse width modulation when the electronic shift system is in the welcoming state, the brightness change of the atmosphere light is that the brightness gradually increases and then gradually decreases, the brightness of the atmosphere light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistor in the power supply circuit. The second control unit is used to control the atmosphere light to flash on and off according to the preset frequency when the electronic shift system is in the warning state; in the warning state, the electronic shift system cannot perform the shifting operation. It can be seen that the different atmosphere light emitting processes corresponding to different vehicle states can distinguish the welcoming state and the warning state, and the atmosphere light is set from dark to bright and then dark in the welcoming mode, which can improve the user's experience, and the warning effect can also be improved by flashing on and off to remind the user that the current state is the warning state. In this way, reasonable control of the atmosphere light is achieved, thereby improving the user's perception experience.

[0089] In another aspect, the present application provides a computer device, referring to Figure 7 , which is a structural diagram of a computer device provided in an embodiment of the present application, wherein the computer device includes a processor 310 and a memory 320:

[0090] The memory 320 is used to store program codes and transmit the program codes to the processor 310;

[0091] The processor 310 is used to execute the method provided in the above embodiment according to the instructions in the program code.

[0092] The computer device may include a terminal device or a server, and the aforementioned apparatus may be configured in the computer device.

[0093] On the other hand, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided by the above embodiment.

[0094] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by program instruction hardware, and the above program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.

[0095] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0096] The above is only a preferred implementation of the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.

Claims

1. A method for controlling a shifter atmosphere light, characterized in that: include: Determine the state of the electronic shift system based on the current working condition information of the vehicle; When the electronic shift system is in the welcoming state, the brightness change of the ambient light is controlled by pulse width modulation, and the brightness change of the ambient light is that the brightness first gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to the heat conservation formula of the equivalent resistance in the power supply circuit; When the electronic shift system is in a warning state, controlling the ambient light to flash on and off at a preset frequency; In the warning state, the electronic shifting system cannot perform a shifting operation.

2. The method according to claim 1, characterized in that When the electronic shift system is in the warning state, controlling the ambient light to flash on and off according to a preset frequency includes: When the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being depressed or the vehicle speed being within a preset speed range.

3. The method according to claim 2, characterized in that When the electronic shift system is in the warning state, controlling the ambient light to flash on and off according to a preset frequency includes: When a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure and an actuator failure.

4. The method according to claim 1, characterized in that The method further comprises: When the electronic shift system is in a scene state, the ambient light is controlled to emit light according to a preset frequency change; the scene state includes at least one of a camping mode, a nap mode, a game mode, a showroom mode or a gun plug-in charging and discharging mode.

5. The method according to claim 1, characterized in that The method further comprises: When the electronic shift system is in a normal working mode, the ambient light is controlled to emit light according to a preset brightness.

6. A control device for a shifter atmosphere light, characterized in that: include: A determination unit, used to determine the state of the electronic shift system according to the current working condition information of the vehicle; a first control unit, configured to control the brightness change of the ambient light by pulse width modulation when the electronic shift system is in a welcoming state, wherein the brightness change of the ambient light is that the brightness first gradually increases and then gradually decreases; the brightness of the ambient light is positively correlated with the duty cycle, and the duty cycle is determined according to a heat conservation formula of an equivalent resistor in a power supply circuit; A second control unit, used for controlling the ambient light to flash on and off at a preset frequency when the electronic shift system is in a warning state; In the warning state, the electronic shifting system cannot perform a shifting operation.

7. The device according to claim 6, characterized in that The second control unit is used for: When the current operating condition information of the vehicle does not meet the gear shifting condition, the ambient light is controlled to flash on and off at a first frequency; the gear shifting condition includes at least one of the brake pedal being depressed or the vehicle speed being within a preset speed range.

8. The device according to claim 7, characterized in that The second control unit is used for: When a system failure occurs in the electronic shifting system, the ambient light is controlled to flash on and off at a second frequency; the second frequency is greater than the first frequency, and the system failure includes at least one of a sensor failure and an actuator failure.

9. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store program codes and transmit the program codes to the processor; The processor is configured to execute the method according to any one of claims 1 to 5 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 5.