Vehicle control method, vehicle and storage medium
By detecting the pedal opening degree of the accelerator pedal and the speed value of the power equipment, and controlling the lighting and extinguishing of the ambient light, the problem of lack of linkage between the ambient light and the vehicle operation in the prior art is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202311227586.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-03-21
AI Technical Summary
The ambient lights in existing vehicles lack linkage with vehicle operations, resulting in poor user experience.
By detecting the pedal opening of the accelerator pedal, the lighting and extinguishing of the atmosphere light is controlled according to the pedal opening and the speed value of the power equipment, so that the atmosphere light is linked to the vehicle operation.
The linkage between ambient lights and vehicle operations is realized, and the user experience is improved, so that users can feel the lighting of the ambient light when stepping on the accelerator pedal, and the linkage between vehicle power and ambient light.
Smart Images

Figure CN119659463A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent automobile technology, and in particular, relates to a vehicle control method, a vehicle and a storage medium. Background Art
[0002] With the development of vehicles, personalized and intelligent vehicles are becoming more and more popular. The configuration of ambient lights can improve the riding comfort of users and bring users a good riding experience. At present, in vehicles equipped with ambient lights, users are generally required to turn on the ambient lights by themselves through the button switch in the car. There is a lack of linkage between the ambient lights and vehicle operations, and the user experience is poor. Summary of the invention
[0003] The embodiments of the present application provide a vehicle control method, a vehicle, and a storage medium, which can solve the problem of poor user experience caused by the lack of linkage between ambient lighting and vehicle operation.
[0004] In a first aspect, an embodiment of the present application provides a method for controlling a vehicle, wherein an ambient light is installed on the vehicle, and the method comprises:
[0005] When it is detected that the pedal opening of the accelerator pedal starts to change from the initial opening, acquiring the pedal opening of the accelerator pedal at a preset time interval;
[0006] According to the pedal opening of the accelerator pedal, controlling the lamp beads in the first area of the ambient light to light up;
[0007] When the pedal opening is greater than a preset opening, obtaining a rotation speed value of a power device of the vehicle;
[0008] If the speed value is less than the initial speed value, the lighted lamp beads in the first area are controlled to be turned off.
[0009] In a second aspect, an embodiment of the present application provides a vehicle, on which an ambient light is installed, and the vehicle further includes:
[0010] A pedal opening detection module, configured to obtain the pedal opening of the vehicle at a preset time interval when detecting that the pedal opening of the accelerator pedal changes from an initial opening;
[0011] An ambient light control module, used for controlling the lighting of lamp beads in the first area of the ambient light according to the pedal opening of the accelerator pedal;
[0012] A speed acquisition module, used for acquiring a speed value of a power device of the vehicle when the pedal opening is greater than a preset opening;
[0013] The ambient light control module is further used to control the lighted lamp beads in the first area to turn off if the speed value is less than the initial speed value.
[0014] In a third aspect, an embodiment of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle control method described in any one of the first aspects above when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle control method described in any one of the above-mentioned first aspects is implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the vehicle control method described in any one of the above-mentioned first aspects.
[0017] Compared with the prior art, the first aspect of the present application has the following beneficial effects: when the pedal opening is detected to change from the initial opening, the lamp beads in the first area of the atmosphere lamp are controlled to light up according to the pedal opening; the atmosphere lamp can be linked with the pedal opening, and the atmosphere lamp is controlled to light up by the pedal opening. In addition, since the power equipment will only output the speed value when the accelerator pedal opening is in a stable state, that is, the power value will be output, therefore, when the pedal opening is greater than the preset opening, that is, when the accelerator pedal is in a stable state, the speed value of the power equipment of the vehicle is obtained. If the speed value is less than the initial speed value, it is determined that there is no power output, and the lamp beads lit in the first area are controlled to go out, so that the atmosphere lamp changes with the power output. Therefore, the present application associates the lighting of the atmosphere lamp with the pedal opening and the speed value of the power equipment, so that the user can feel the lighting of the atmosphere lamp when stepping on the accelerator pedal. In addition, the user can also feel the linkage between the vehicle power and the atmosphere lamp, which improves the user experience.
[0018] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 is a structural schematic diagram of a vehicle provided by an embodiment of the present application;
[0021] Figure 2 It is a structural schematic diagram of information transmission of various components in a vehicle provided by an embodiment of the present application;
[0022] Figure 3 is a flow chart of a vehicle control method provided by an embodiment of the present application;
[0023] Figure 4 is a schematic diagram of the structure of an atmosphere lamp provided in an embodiment of the present application;
[0024] Figure 5 It is a flowchart of a method for lighting a lamp bead in a first area provided by an embodiment of the present application;
[0025] Figure 6 is a flow chart of a method for determining the light intensity of an atmosphere lamp provided in an embodiment of the present application;
[0026] Figure 7 is a schematic diagram of the structure of an atmosphere lamp after lighting provided by an embodiment of the present application;
[0027] Figure 8 is a schematic diagram of the structure of an atmosphere lamp after lighting provided by another embodiment of the present application;
[0028] Fig. 9 is a structural schematic diagram of a vehicle provided by an embodiment of the present application;
[0029] Fig.10 It is a schematic diagram of the structure of a vehicle provided in another embodiment of the present application. DETAILED DESCRIPTION
[0030] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0031] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0032] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0033] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0034] At present, with the development of vehicle intelligence, large-displacement fuel vehicles are gradually withdrawing from the market, and the roar of the engine and the vibration of acceleration can no longer meet the needs of users. In order to improve the comfort of users and the personalization of vehicles, ambient lights, sound waves, seat exciters, etc. are installed in the vehicle. Users can control the on and off of the ambient lights and the sound waves through the button switches on the vehicle or the remote control. However, the current ambient lights, sound waves and seat exciters lack linkage with vehicle operations, and the user experience is poor.
[0035] Based on the above problems, the present application proposes a method for linking ambient lights, audio and seat exciters with the power of the vehicle. Specifically, the ambient lights, audio and seat exciters are controlled according to the pedal opening of the accelerator pedal, thereby realizing the linkage between the ambient lights, audio and seat exciters and the vehicle operation, and improving the user experience.
[0036] Specifically, Figure 1 As shown, the vehicle includes an on-board host 1, a power controller 2, a pedal opening sensor 3 of an accelerator pedal, an independent power amplifier controller 4, an ambient light controller 5, an audio system 6, a seat exciter 7 and an ambient light 8.
[0037] Among them, Figure 1 As shown, the vehicle-mounted host is connected to the power controller and the pedal opening sensor respectively. The vehicle-mounted host obtains the pedal opening collected by the pedal opening sensor and the speed value (power value) of the power device output by the power controller. After the vehicle-mounted host performs data conversion on the pedal opening and speed value, it obtains the control strategy of the atmosphere light. The control strategy of the atmosphere light exists in the form of PWM (pulse width modulation) signal. The vehicle-mounted host sends the determined control strategy of the atmosphere light to the atmosphere light controller. The atmosphere light controller controls the on and off of the atmosphere light according to the received control strategy of the atmosphere light, such as Figure 2 shown.
[0038] The vehicle host can also convert the pedal opening data, output two audio analog signals (audio control signal and seat exciter control signal), and send the two audio analog signals to the independent power amplifier controller. After receiving the two audio analog signals, the independent power amplifier controller controls the sound of the audio according to the audio controller signal. The independent power amplifier controller controls the seat exciter to vibrate according to the seat exciter control signal, thereby bringing a 4D experience to the user, such as Figure 2 shown.
[0039] The following combination Figure 1 and Figure 2 The vehicle control method of the embodiment of the present application is described in detail.
[0040] Figure 3 A schematic flow chart of a vehicle control method provided by the present application is shown, referring to Figure 3 The optimization method is described in detail as follows:
[0041] S101, when it is detected that the pedal opening of the accelerator pedal starts to change from an initial opening, acquiring the pedal opening of the vehicle at a preset time interval.
[0042] In this embodiment, the initial opening of the accelerator pedal is the pedal opening when no force acts on the accelerator pedal, for example, the initial opening is 80 degrees, etc. When the accelerator pedal is at the initial opening, the throttle depth of the accelerator pedal is 0, at which time the power device of the vehicle has no power output, and the speed value of the power device is 0. The power device may be a motor or an engine.
[0043] If the pedal opening of the accelerator pedal starts to change from the initial opening, it is determined that an external force acts on the accelerator pedal, the depth value of the accelerator pedal increases, and the pedal opening of the accelerator pedal starts to decrease.
[0044] The preset time interval can be set as needed, for example, the preset time interval can be set to 30ms, 40ms, etc.
[0045] When the pedal opening of the accelerator pedal begins to change, the on-board host begins to continuously obtain the vehicle's pedal opening at a preset time interval, and determines the number of lamp beads of the ambient light to be lit based on the pedal opening obtained each time, to ensure that the ambient light changes with the change of the pedal opening.
[0046] S102, controlling the lamp beads in the first area of the ambient light to light up according to the pedal opening of the accelerator pedal.
[0047] In this embodiment, the number of lamp beads that need to be lit corresponding to different pedal openings is preset, and when the accelerator pedal starts to change, the number of lamp beads corresponding to the pedal opening is found. When lighting the ambient light, the corresponding number of lamp beads can be lit.
[0048] In this embodiment, the atmosphere lamp can adopt a dot matrix lamp bead structure. The lamp bead can realize multi-color and multi-brightness adjustment, and can also realize a combination of various patterns and lines.
[0049] In this embodiment, the ambient light may include three areas, the first area is an area that changes with power, the second area is a constantly lit area, and the third area is a floating changing area.
[0050] The first area, the second area and the third area may be fixed areas. For example, Figure 4 As shown in the ambient light, the left area of the ambient light is the second area, the middle area is the first area, and the right area is the third area.
[0051] S103, when the pedal opening is greater than a preset opening, obtaining a rotation speed value of a power device of the vehicle.
[0052] In this embodiment, the sensor for detecting the pedal opening is mostly a Hall sensor or a resistive sensor. When the power calibration is performed according to the pedal opening, the power calibration is generally performed after the pedal opening is stable, that is, the initial power value is generally set in the area where the pedal opening changes relatively stably. Therefore, useful power output only begins to exist within the stable range of the pedal opening, that is, the speed output by the power device is the available speed, and the vehicle display screen begins to display the speed of the power device. For example, the pedal opening of the accelerator pedal is divided into the AB range and the BC range. In the AB range, the power is a virtual value, and the power value (speed value) is not collected; in the BC range, the pedal opening is relatively stable, and the power value output by the power device is relatively stable. At this time, the power value output by the power device can be used to drive the vehicle to travel.
[0053] Therefore, since the time when the vehicle-mounted host detects the speed value of the power device lags behind the time when the pedal opening of the accelerator pedal is detected, when the pedal opening is less than the preset opening, the ambient light is controlled according to the pedal opening, so that the state of the ambient light changes with the pedal opening, so that when the user starts to step on the pedal, even if the power display does not change, the user can feel the change of the ambient light. After the pedal opening is greater than the preset opening, in order to match the on and off state of the ambient light with the power of the vehicle, it is necessary to obtain the speed value of the power device (also called the power value), and further determine the on and off state of the ambient light according to the speed value. In this application, the ambient light begins to change when the pedal opening begins to change, which can make up for the situation that if the ambient light changes according to the power value, the ambient light does not change when the pedal changes; that is, it makes up for the situation that the ambient light lags behind the display when the ambient light changes with the speed value of the power device.
[0054] S104: If the speed value is less than the initial speed value, control the lighted lamp beads in the first area to turn off.
[0055] In this embodiment, when the pedal opening is greater than the preset opening, if the speed value of the power equipment is less than the initial speed value, it means that the connection link between the power equipment and the accelerator pedal is faulty, resulting in the speed value output by the power equipment not matching the pedal opening. At this time, it is necessary to control the lamp beads in the atmosphere light that light up according to the pedal opening to go out so that the state of the atmosphere light matches the power value.
[0056] The initial speed value is determined according to the speed value that should be output when the preset opening is used for power calibration.
[0057] S105: If the speed value is greater than or equal to the initial speed value, continue to control the lamp beads in the first area of the ambient light to light up according to the pedal opening of the vehicle.
[0058] In this embodiment, if the speed value of the power equipment is greater than or equal to the initial speed value when the pedal opening is greater than the preset opening, it means that the power value output by the power equipment at this time is an available power value, and the pedal opening matches the speed value of the power equipment. The atmosphere light can continue to be adjusted according to the pedal opening so that the atmosphere light can match the power output.
[0059] In an embodiment of the present application, when it is detected that the pedal opening starts to change from the initial opening, the lamp beads in the first area of the atmosphere light are controlled to light up according to the pedal opening; so that the atmosphere light can be linked with the pedal opening, and the atmosphere light is controlled to light up by the pedal opening. In addition, since the power equipment will only output the speed value when the accelerator pedal opening is in a stable state, that is, it will only output the power value, therefore, when the pedal opening is greater than the preset opening, that is, when the accelerator pedal is in a stable state, the speed value of the power equipment of the vehicle is obtained. If the speed value is less than the initial speed value, it is determined that there is no power output, and the lighted lamp beads in the first area are controlled to go out, so that the atmosphere light changes with the power output. Therefore, the present application associates the lighting of the atmosphere light with the pedal opening and the speed value of the power equipment, so that the user can feel the lighting of the atmosphere light when stepping on the accelerator pedal. In addition, the user can also feel the linkage between the vehicle power and the atmosphere light, thereby improving the user experience.
[0060] In a possible implementation, a constantly lit area is provided in the ambient light, namely, the second area of the ambient light. When it is detected that the driving mode of the vehicle is switched to a preset mode, the lamp beads in the second area of the ambient light are controlled to light up.
[0061] Alternatively, when it is detected that the driving mode of the vehicle is a preset mode and it is detected that the pedal opening of the accelerator pedal changes from an initial opening, the lamp beads in the second area of the ambient light are controlled to light up.
[0062] In this embodiment, the preset mode can be set as needed. For example, the preset mode can be set to a sports mode or a comfort mode.
[0063] In this embodiment, after the lamp beads in the second area are lit, if the vehicle exits the preset mode, the lamp beads in the second area are turned off.
[0064] In the embodiment of the present application, the lamp beads in the second area are lit, and the lamp beads in the second area are always on. When the lamp beads in the first area are not lit, there are still lit lamp beads in the second area, which increases the comfort of the user.
[0065] In a possible implementation, after step S105, the method may further include:
[0066] If the pedal opening of the accelerator pedal returns to the initial opening, the light beads lit in the first area are controlled to be turned off.
[0067] In this embodiment, after the pedal opening of the accelerator pedal returns from the non-initial opening to the initial opening (the user releases the accelerator pedal), if there is no change in the accelerator pedal, the lamp beads in the first area can be turned off to make the state of the ambient light match the pedal opening.
[0068] like Figure 5 As shown, in a possible implementation, the implementation process of controlling the lighting of the lamp beads in the first area of the ambient light according to the pedal opening in step S103 and step S105 may include:
[0069] S201, determining the number of lamp beads that need to be lit in the first area of the ambient light according to the pedal opening of the accelerator pedal.
[0070] In this embodiment, the number of lamp beads lit is proportional to the pedal opening. Specifically, the number of lamp beads to be lit is obtained by multiplying the pedal opening by the first proportional parameter. The first proportional parameter is set as needed.
[0071] S202: Light up the lamp beads in the first area according to the determined number of lamp beads that need to be lit.
[0072] For example, if the number of lamp beads that need to be lit is 5, then 5 lamp beads in the first area are controlled to light up.
[0073] like Figure 6 As shown, in a possible implementation, before lighting the atmosphere light, the light intensity change of the atmosphere light can also be set. Specifically, the method for determining the light intensity of the atmosphere light includes:
[0074] S301, determining a variation range of the light intensity of the ambient light based on the pedal opening.
[0075] In this embodiment, the light intensity variation amplitude is proportional to the pedal opening.
[0076] Specifically, the intensity variation amplitude of the ambient light is obtained by multiplying the pedal opening by the second proportional parameter.
[0077] S302, obtaining the opening change rate of the accelerator pedal.
[0078] In this embodiment, the rate of change of the opening degree of the accelerator pedal may be determined according to the change of the opening degree of the accelerator pedal per unit time.
[0079] S303: Determine a light intensity change rate of the atmosphere light based on the opening change rate.
[0080] In this embodiment, the intensity change rate of the ambient light is proportional to the opening change rate of the accelerator pedal. Specifically, the intensity change rate of the ambient light is obtained by multiplying the opening change rate by the third proportional parameter.
[0081] Correspondingly, step S202 may specifically include: controlling the lighting of the lamp beads in the first area according to the determined number of lamp beads that need to be lit, the light intensity change amplitude and the light intensity change rate.
[0082] In this embodiment, when the lamp beads in the first area are lit, the light intensity of the lit lamp beads is adjusted according to the light intensity change amplitude and the light intensity change rate to improve the user's comfort and the diversity of the atmosphere light.
[0083] In a possible implementation, when lighting the lamp beads of the atmosphere lamp, the lamp beads that need to be lit can be lit at the same time. In addition, in order to improve the user experience, the lamp beads that need to be lit in the atmosphere lamp can also be lit according to a certain lighting frequency.
[0084] Specifically, the method for determining the lighting frequency of the lamp beads includes:
[0085] The opening change rate of the accelerator pedal is obtained; and based on the opening change rate, the lighting frequency of the lamp beads of the ambient light is determined.
[0086] Correspondingly, step S202 may specifically include: controlling the lighting of the lamp beads in the first area according to the determined number of lamp beads that need to be lit, the light intensity change amplitude, the light intensity change rate and the lamp bead lighting frequency.
[0087] In this embodiment, the lighting frequency of the lamp beads of the ambient light is proportional to the opening change rate of the accelerator pedal. Specifically, the lighting frequency of the lamp beads of the ambient light is obtained by multiplying the opening change rate by the fourth proportional parameter.
[0088] It should be noted that the light intensity of the lamp beads in the second area can also be adjusted according to the light intensity change amplitude and light intensity change rate determined in the above steps S301 to S303. When the lamp beads in the second area are lit, they can be lit according to the above determined lamp bead lighting frequency.
[0089] In the embodiment of the present application, lamp beads in the first area that change with the pedal opening are set in the atmosphere light, and the light intensity change and lighting frequency of the lamp beads are set, which can prevent visual fatigue and eye visual difference caused by staring at the lamp beads for a long time, thereby improving the user experience.
[0090] In a possible implementation, after obtaining the pedal opening of the accelerator pedal, the method may further include:
[0091] According to the pedal opening of the vehicle, the volume value of the audio in the vehicle is controlled; and / or according to the pedal opening of the vehicle, the vibration frequency of the seat exciter in the vehicle is controlled.
[0092] In this embodiment, volume values corresponding to different pedal openings are preset. After the pedal opening is obtained, the volume value corresponding to the pedal opening is searched, and the sound is controlled according to the determined volume value. Alternatively, the volume value of the sound is obtained by multiplying the pedal opening by the fifth proportional parameter.
[0093] The vibration frequencies of the seat vibrator corresponding to different pedal openings are preset, and after the pedal opening is obtained, the vibration frequency corresponding to the pedal opening is searched. The seat vibrator is controlled to work according to the determined vibration frequency. Alternatively, the vibration frequency of the seat vibrator is obtained by multiplying the pedal opening by the sixth proportional parameter.
[0094] In an embodiment of the present application, the volume value of the audio system and the vibration frequency of the seat exciter are determined by using the pedal opening, so that the volume of the audio system and the vibration frequency of the seat exciter are both associated with the pedal opening, so that the user can feel the changes in the volume of the audio system and the vibration frequency of the seat exciter when stepping on the accelerator pedal, thereby improving the user's riding experience.
[0095] In one possible implementation, a third area is provided on the atmosphere light, and the third area is a floating area. N lamp beads in the third area are lit up at every preset time interval T1; M lamp beads are extinguished at every preset time interval T2, thereby achieving an effect of floating changes of the lamp beads and reducing the visual difference of the user.
[0096] Specifically, when it is detected that the pedal opening of the accelerator pedal changes from an initial opening, or when it is detected that the driving mode of the vehicle is switched to a preset mode, the method further includes:
[0097] The number of lighted lamp beads in the third area of the atmosphere light is increased by a first number at every first preset time interval; and the number of lighted lamp beads in the third area of the atmosphere light is reduced by a second number at every second preset time interval.
[0098] In this embodiment, both the first preset time length and the second preset time length can be set as needed. For example, the first preset time length can be set to 1 second, the second preset time length can be set to 2 seconds, and so on.
[0099] The first number and the second number can be set as needed. For example, the first number and the second number can both be set to 2 or 1.
[0100] As an example, Figure 7 In the ambient light shown, the lamp beads in the second area are always on. When the opening value of the accelerator pedal begins to change, and after 2 seconds, 3 lamp beads in the first area are lit, and 2 lamp beads in the third area are lit after 2 seconds; after 4 seconds, 4 lamp beads in the first area are lit, and 4 lamp beads in the third area are lit after 4 seconds.
[0101] Or, if Figure 8 In the ambient light shown, the lamp beads in the second area are always on. When the opening value of the accelerator pedal begins to change, and after 2 seconds, 3 lamp beads in the first area are lit, and 2 lamp beads in the third area are lit after 2 seconds; after 4 seconds, 4 lamp beads in the first area are lit, and 4 lamp beads in the third area are lit after 4 seconds. The lamp beads lit in the third area are in a continuous state with the lamp beads lit in the first area, and the third area occupies part of the first area.
[0102] In summary, when the ambient light includes the first area, the second area, and the third area, the total number of lamp beads of the ambient light that are lit includes:
[0103] S=P+Q+T1×N-T2×M; wherein, S is the total number of lamp beads of the ambient light that are lit; P is the number of lamp beads in the second area (the number of lamp beads that are always on); Q is the number of lamp beads that are lit in the first area (the number of lit lamp beads determined according to the pedal opening); T1 is the first preset duration; N is the first number; T2 is the second preset duration; and M is the second number.
[0104] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0105] Corresponding to the vehicle control method described in the above embodiment, Fig. 9 A structural block diagram of a vehicle provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0106] Reference Fig. 9 The vehicle 400 may include: a pedal opening detection module 410 , an ambient light control module 420 and a rotation speed acquisition module 430 .
[0107] The pedal opening detection module 410 is used to obtain the pedal opening of the vehicle at a preset time interval when it is detected that the pedal opening of the accelerator pedal changes from the initial opening;
[0108] The ambient light control module 420 is used to control the lighting of the lamp beads in the first area of the ambient light according to the pedal opening of the accelerator pedal;
[0109] A speed acquisition module 430, configured to acquire a speed value of a power device of the vehicle when the pedal opening is greater than a preset opening;
[0110] The ambient light control module 420 is further configured to control the lighted lamp beads in the first area to turn off if the rotation speed value is equal to the initial rotation speed value.
[0111] In a possible implementation, the ambient light control module 420 may also be used to:
[0112] If the speed value is greater than or equal to the initial speed value, the lamp beads in the first area of the ambient light are controlled to light up according to the pedal opening of the accelerator pedal.
[0113] In a possible implementation, the ambient light control module 420 may also be used to:
[0114] If the pedal opening of the accelerator pedal returns to the initial opening, the light beads lit in the first area are controlled to be turned off.
[0115] In a possible implementation, the pedal opening detection module 410 is also connected to:
[0116] The always-on lamp bead control module is used to control the lamp beads in the second area of the atmosphere light to light up when it is detected that the driving mode of the vehicle is switched to a preset mode.
[0117] In a possible implementation, the ambient light control module 420 may be specifically used for:
[0118] Determining the number of lamp beads that need to be lit in the first area of the ambient light according to the pedal opening of the accelerator pedal;
[0119] The lamp beads in the first area are lit according to the determined number of lamp beads that need to be lit.
[0120] In a possible implementation, the ambient light control module 420 may also be used for:
[0121] Based on the pedal opening, determining a variation range of the light intensity of the ambient light;
[0122] Obtaining the opening change rate of the accelerator pedal;
[0123] Based on the opening change rate, determining the light intensity change rate of the atmosphere lamp;
[0124] Correspondingly, lighting up the lamp beads in the first area according to the determined number of lamp beads that need to be lit includes:
[0125] The lamp beads in the first area are controlled to light up according to the determined number of lamp beads that need to be lit, the light intensity change amplitude and the light intensity change rate.
[0126] In a possible implementation, the ambient light control module 420 may also be used for:
[0127] Obtaining the opening change rate of the accelerator pedal;
[0128] Based on the opening change rate, determining the lighting frequency of the lamp beads of the atmosphere lamp;
[0129] Correspondingly, controlling the lighting of the lamp beads in the first area according to the determined number of lamp beads that need to be lit, the light intensity change amplitude, and the light intensity change rate includes:
[0130] The lamp beads in the first area are controlled to light up according to the determined number of lamp beads that need to be lit up, the light intensity change amplitude, the light intensity change rate and the lamp bead lighting frequency.
[0131] In a possible implementation, the ambient light control module 420 may also be used for:
[0132] The number of lighted lamp beads in the third area of the atmosphere light is increased by a first number at every first preset time interval; and the number of lighted lamp beads in the third area of the atmosphere light is reduced by a second number at every second preset time interval.
[0133] In a possible implementation, the vehicle 400 may further include:
[0134] a volume determination module, used to control the volume value of the audio system in the vehicle according to the pedal opening of the vehicle; and / or,
[0135] The vibration frequency determination module is used to control the vibration frequency of a seat exciter in the vehicle according to the pedal opening of the vehicle.
[0136] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0137] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0138] The present application also provides a vehicle, see Fig.10 The vehicle 500 may include: at least one processor 510, a memory 520, and a computer program stored in the memory 520 and executable on the at least one processor 510. When the processor 510 executes the computer program, the steps in any of the above-mentioned method embodiments are implemented, for example: Figure 3 Steps S101 to S105 in the illustrated embodiment. Alternatively, when the processor 510 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Fig. 9 The functions of the pedal opening detection module 410 to the speed acquisition module 430 are shown.
[0139] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 520 and executed by the processor 510 to complete the present application. The one or more modules / units may be a series of computer program segments capable of completing specific functions, and the program segments are used to describe the execution process of the computer program in the vehicle 500.
[0140] Those skilled in the art will understand that Fig.10 These are merely examples of vehicles and do not constitute a limitation on the vehicle, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0141] The processor 510 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0142] The memory 520 may be an internal storage unit of the vehicle or an external storage device of the vehicle, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 520 is used to store the computer program and other programs and data required by the vehicle. The memory 520 may also be used to temporarily store data that has been output or is to be output.
[0143] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0144] The vehicle control method provided in the embodiment of the present application can be applied to terminal devices such as computers, tablet computers, laptop computers, netbooks, personal digital assistants (PDAs), etc. The embodiment of the present application does not impose any restrictions on the specific type of terminal devices.
[0145] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0146] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0147] In the embodiments provided in the present application, it should be understood that the disclosed terminal equipment, devices and methods can be implemented in other ways. For example, the terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0150] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by one or more processors, the steps of each of the above-mentioned method embodiments can be implemented.
[0151] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by one or more processors, the steps of each of the above-mentioned method embodiments can be implemented.
[0152] Similarly, as a computer program product, when the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0153] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0154] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle control method, characterized in that: The vehicle is equipped with an ambient light, and the method comprises: When it is detected that the pedal opening of the accelerator pedal starts to change from the initial opening, acquiring the pedal opening of the accelerator pedal at a preset time interval; According to the pedal opening of the accelerator pedal, controlling the lamp beads in the first area of the ambient light to light up; When the pedal opening is greater than a preset opening, obtaining a rotation speed value of a power device of the vehicle; If the speed value is less than the initial speed value, the lighted lamp beads in the first area are controlled to be turned off.
2. The method according to claim 1, characterized in that After obtaining the rotation speed value of the power equipment of the vehicle, the method further includes: If the speed value is greater than or equal to the initial speed value, the lamp beads in the first area of the ambient light are controlled to light up according to the pedal opening of the accelerator pedal.
3. The method according to claim 2, characterized in that If the speed value is greater than or equal to the initial speed value, after continuing to control the lamp beads in the first area of the ambient light to light up according to the pedal opening of the accelerator pedal, the method further includes: If the pedal opening of the accelerator pedal returns to the initial opening, the light beads lit in the first area are controlled to be turned off.
4. The method according to claim 1, characterized in that Before detecting that the pedal opening of the accelerator pedal starts to change from the initial opening, the method further includes: When it is detected that the driving mode of the vehicle is switched to a preset mode, the lamp beads in the second area of the ambient light are controlled to light up.
5. The method according to any one of claims 1 to 4, characterized in that: The step of controlling the lighting of lamp beads in the first area of the ambient light according to the pedal opening of the accelerator pedal comprises: Determining the number of lamp beads that need to be lit in the first area of the ambient light according to the pedal opening of the accelerator pedal; The lamp beads in the first area are lit according to the determined number of lamp beads that need to be lit.
6. The method according to claim 5, characterized in that Before lighting the lamp beads in the first area according to the determined number of lamp beads that need to be lit, the method further includes: Based on the pedal opening, determining a variation range of the light intensity of the ambient light; Obtaining the opening change rate of the accelerator pedal; Based on the opening change rate, determining the light intensity change rate of the atmosphere lamp; Correspondingly, lighting up the lamp beads in the first area according to the determined number of lamp beads that need to be lit includes: The lamp beads in the first area are controlled to light up according to the determined number of lamp beads that need to be lit, the light intensity change amplitude and the light intensity change rate.
7. The method according to claim 5, characterized in that Before lighting the lamp beads in the first area according to the determined number of lamp beads that need to be lit, the method further includes: Obtaining the opening change rate of the accelerator pedal; Based on the opening change rate, determining the lighting frequency of the lamp beads of the atmosphere lamp; Correspondingly, lighting up the lamp beads in the first area according to the determined number of lamp beads that need to be lit includes: According to the determined number of lamp beads that need to be lit and the lighting frequency of the lamp beads, the lamp beads in the first area are controlled to be lit.
8. The method according to any one of claims 1 to 4, characterized in that When it is detected that the pedal opening of the accelerator pedal starts to change from the initial opening, the method further includes: At each first preset time interval, the number of lighted lamp beads in the third area of the atmosphere light is increased by a first number; at each second preset time interval, the number of lighted lamp beads in the third area of the atmosphere light is decreased by a second number; and / or, Controlling the volume of an audio system in the vehicle according to the pedal opening of the vehicle; and / or, A vibration frequency of a seat exciter in the vehicle is controlled according to a pedal opening of the vehicle.
9. A vehicle comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the vehicle control method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the vehicle control method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Atmosphere lamp control method, device and computer storage medium
CN113401049A
Driving mode control method and device and automobile
CN114919595A
Vehicle control method and device, storage medium and vehicle
CN114954318A
Vehicle atmosphere lamp control method, electronic equipment and storage medium
CN115107646A
Vehicle control method, device and equipment and storage medium
CN116331102A