Vehicle control method, device and electronic equipment
The acceleration command is generated through the special operation of the steering wheel. The vehicle controller determines whether to perform acceleration based on the time interval of the steering signal, which solves the problem of the driver accidentally stepping on the accelerator, reduces the incidence of accidents, and improves driving safety.
Patent Information
- Application Number
- CN202210966016.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-08-12
AI Technical Summary
In existing autonomous driving technology, drivers are prone to accidentally stepping on the accelerator pedal in emergency situations, resulting in a higher incidence of traffic accidents, especially when novice drivers are not familiar with the car and road conditions.
The acceleration command is generated through the special operation of the steering wheel. Instead of the acceleration function of the accelerator pedal, the vehicle controller determines whether to execute the acceleration command based on the time interval of the steering wheel steering signal to prevent accidentally stepping on the accelerator.
It reduces the incidence of vehicle accidents, improves driving safety and driving pleasure, and avoids the risk of accidentally stepping on the accelerator.
Smart Images

Figure CN115214383B_ABST
Abstract
Description
Technical Field
[0001] The present application mainly relates to the field of smart cars, and in particular to a vehicle control method, device and electronic equipment. Background Art
[0002] In the field of smart cars, the application of autonomous driving technology is becoming increasingly widespread, but current autonomous driving technology still has various flaws. Traditional car driving methods rely on the interaction of the accelerator pedal, brake pedal, and steering wheel for control. In this control mode, the driver needs to frequently switch between the accelerator and brake pedals, and in emergency situations, there is a high possibility of accidentally pressing the accelerator pedal. Novice drivers who are unfamiliar with the vehicle and road conditions are very likely to accidentally press the accelerator pedal, which can lead to various traffic accidents and cause injuries to the driver and passengers. Summary of the Invention
[0003] The present application provides a vehicle state adjustment method, device and electronic device, which execute corresponding acceleration instructions through special operations of the steering wheel, thereby replacing the acceleration operation of the accelerator pedal, thereby preventing the driver from accidentally stepping on the accelerator and reducing the incidence of vehicle accidents.
[0004] In a first aspect, the present application provides a vehicle state adjustment method, the method comprising:
[0005] A first steering switch signal of the steering wheel is obtained, wherein the first steering switch signal indicates that the steering wheel is switched from clockwise rotation to counterclockwise rotation, or that the steering wheel is switched from counterclockwise rotation to clockwise rotation;
[0006] When the second steering switch signal of the steering wheel is acquired, determining a time interval between receiving the first steering switch signal and receiving the second steering switch signal;
[0007] Determining whether the time interval is less than a preset time interval;
[0008] If so, responding to the first target vehicle speed increase instruction, the target vehicle speed is increased and the vehicle is accelerated from the current vehicle speed to the target vehicle speed;
[0009] If not, the vehicle maintains the target speed without changing.
[0010] Through the above method, the vehicle controller can further control the vehicle state after determining the current vehicle operation instruction, thereby achieving acceleration operation or maintaining the current state.
[0011] In one possible design, generating a first steering switch signal of a steering wheel includes:
[0012] Obtaining a first logic value of a first flag bit and a second logic value of a second flag bit, wherein the first flag bit is used to identify whether the steering wheel rotates clockwise, and the second flag bit is used to identify whether the steering wheel rotates counterclockwise;
[0013] Performing a logical AND operation on the first logic value and the second logic value to obtain a first operation result;
[0014] A first steering switch signal of the steering wheel is generated according to the first calculation result.
[0015] Through the above method, the vehicle controller can receive the first steering wheel forward / reverse switching signal from the angle sensor, that is, the first steering switching signal.
[0016] In one possible design, the acceleration instructions are generated, including:
[0017] When the first steering switch signal is detected, a third logic value of the third flag bit and a fourth logic value of the fourth flag bit are obtained, wherein the third flag bit and the fourth flag bit represent a target vehicle speed increase event of the vehicle;
[0018] Performing a logical OR operation on the third logic value and the fourth logic value to obtain the target amplification condition logic value;
[0019] When the target increase condition logic value is 1, a first target vehicle speed increase value corresponding to a first target increase stage is determined, and the first target vehicle speed increase instruction including the first target vehicle speed increase value is generated.
[0020] By using the above method, when the first steering switch signal is detected, the target increase condition can be determined, thereby generating a first target vehicle speed increase instruction including a first target vehicle speed increase value.
[0021] In a possible design, after determining the first target vehicle speed increase value corresponding to the first target increase stage, the method further includes:
[0022] If a third steering switch signal is detected after the first target vehicle speed increase instruction is generated;
[0023] When the time interval between the second steering switch signal and the third steering switch signal is less than the preset time interval, determining a second target vehicle speed increase value corresponding to the second target increase stage, and generating a second target vehicle speed increase instruction including the second target vehicle speed increase value;
[0024] According to the second acceleration instruction, the target vehicle speed of the vehicle is increased by the second target vehicle speed increase value.
[0025] Through the above method, after executing the first target vehicle speed increase instruction, if a second steering switch signal and a third steering switch signal less than a preset time interval are detected, a second target vehicle speed increase instruction including a second target vehicle speed increase value can be generated, and the second target vehicle speed increase instruction can continue to be executed, thereby achieving the effect of vehicle acceleration.
[0026] In a second aspect, the present application provides a data processing device, comprising:
[0027] an acquisition module, configured to acquire a first steering switch signal and a second steering switch signal of the steering wheel, and acquire a time interval between the first steering switch signal and the second steering switch signal of the steering wheel;
[0028] The processing module is used to determine whether the time interval between the first steering switch signal and the second steering switch signal of the steering wheel is less than a preset time interval.
[0029] In one possible design, the processing module is specifically configured to determine a time interval between the first steering switch signal and the second steering switch signal;
[0030] If the time interval between the first steering switch signal and the second steering switch signal is less than the preset time interval, responding to the first target vehicle speed increase instruction, the target vehicle speed is increased and the vehicle is accelerated from the current vehicle speed to the target vehicle speed;
[0031] If the time interval between the first turn switching signal and the second turn switching signal is greater than the preset time interval, the vehicle maintains the target speed without changing.
[0032] Through the above-mentioned device, the corresponding acceleration command can be executed through special operation of the steering wheel, thereby preventing the driver from accidentally stepping on the accelerator and reducing the incidence of vehicle accidents.
[0033] In one possible design, the device further includes:
[0034] A generating module, used for generating an acceleration instruction including a vehicle speed increase value;
[0035] The control module is used to respond to the target speed increase instruction and accelerate the vehicle from the current speed to the target speed after the target speed is increased.
[0036] In a third aspect, the present application provides an electronic device, comprising:
[0037] Memory for storing computer programs;
[0038] The processor is used to implement the steps of the above-mentioned vehicle state adjustment method when executing the computer program stored in the memory.
[0039] In a fourth aspect, 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 steps of the above-mentioned vehicle state adjustment method are implemented.
[0040] For each of the above-mentioned aspects from the second to the fourth aspects and the technical effects that may be achieved by each of the aspects, please refer to the above-mentioned description of the technical effects that can be achieved by the first aspect or various possible solutions in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A main circuit diagram of a vehicle control system provided in this application;
[0042] Figure 2 A flow chart of a vehicle control method provided in this application;
[0043] Figure 3 A flow chart of a vehicle starting state acceleration method provided by this application;
[0044] Figure 4 A flow chart of a vehicle starting state acceleration method provided in this application;
[0045] Figure 5 A logic operation flow chart provided for this application;
[0046] Figure 6 A logic operation flow chart provided for this application;
[0047] Figure 7 A flow chart of a vehicle running state acceleration method provided in this application;
[0048] Figure 8 A flow chart of a vehicle running state acceleration method provided in this application;
[0049] Figure 9 A schematic structural diagram of a vehicle state adjustment device provided in this application;
[0050] Figure 10 This is a schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail with reference to the accompanying drawings. The specific operating methods in the method embodiments can also be applied to device embodiments or system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent the following two situations: A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0052] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0053] First, a vehicle control method provided in an embodiment of the present application is applied to the system architecture of the present application, in which the system architecture includes a vehicle controller, a steering angle sensor, a motor controller and a motor. The vehicle controller is connected to the steering angle sensor, the vehicle controller is connected to the motor controller, and the motor controller is connected to the motor. The main control circuit of this system is as follows Figure 1 shown.
[0054] When acceleration is required, the driver can control the acceleration of the vehicle by manipulating the steering wheel. The vehicle controller in the vehicle detects the steering of the steering wheel to generate an acceleration instruction and sends the acceleration instruction to the motor controller. The motor controller will control the motor to increase the torque for acceleration according to the acceleration instruction. In this way, the acceleration of the vehicle can be controlled by the steering wheel, so that the corresponding acceleration instruction is executed through special operation of the steering wheel when the accelerator pedal is canceled, thereby preventing the driver from stepping on the accelerator by mistake and reducing the incidence of vehicle accidents. Among them, the method and device described in the embodiments of the present application are based on the same technical concept. Since the principles of the problems solved by the method and the device are similar, the embodiments of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0055] Specifically, refer to Figure 2 FIG. 1 is a flow chart of a vehicle control method provided by an embodiment of the present application, the method comprising:
[0056] S11, obtaining a first steering switch signal of the steering wheel;
[0057] In the embodiment of the present application, the method can be applied to Figure 1In the system control circuit shown in the figure, in order to prevent the driver from accidentally stepping on the accelerator while driving the vehicle and to increase the driver's driving pleasure, the method uses special operation of the steering wheel to replace the acceleration function of the accelerator.
[0058] First, in order to obtain the first steering switch signal, a first flag and a second flag are configured in the system. The first flag is used to identify whether the steering wheel is rotating clockwise, and the second flag is used to identify whether the steering wheel is rotating counterclockwise.
[0059] Obtaining a first logic value of a first flag bit and a second logic value of a second flag bit;
[0060] Performing a logical AND operation on the first logic value and the second logic value to obtain a first operation result;
[0061] A first steering switch signal of the steering wheel is generated according to the first calculation result.
[0062] Specifically, the vehicle controller will receive the steering wheel steering angle signal from the angle sensor. When the steering wheel rotates clockwise, the clockwise rotation of the steering wheel is defined as flag A, that is, the first flag, and the logic value of flag A is set to 1; when the steering wheel rotates counterclockwise, the counterclockwise rotation of the steering wheel is defined as flag B, that is, the second flag, and the logic value of flag B is set to 1.
[0063] If no clockwise or counterclockwise rotation of the steering wheel is detected within the delay time, the logic value of flag A is set to 0 or the logic value of flag B is set to 0; for example, the delay time can be set to 50ms. If no forward or reverse switching of the steering wheel is detected within the 50ms delay time, the logic value of flag A and the logic value of flag B are set to 0 respectively.
[0064] After performing a logical AND operation on the logical value of flag A or performing a logical AND operation on the logical value of flag B, if the resulting logical value of flag A is 1 or the logical value of flag B is 1, the angle sensor detects a steering wheel steering angle signal indicating that the steering wheel is rotating clockwise, or a steering wheel steering angle signal indicating that the steering wheel is rotating counterclockwise; if the resulting logical value of flag A is 0 or the logical value of flag B is 0, the steering wheel is not rotating clockwise or the steering wheel is rotating counterclockwise.
[0065] Further, a logical AND operation is performed on the obtained logical value of flag A and the logical value of flag B; after the logical value of flag A and the logical value of flag B are performed on the logical AND operation, when the obtained logical value is 1, a steering switching action representing the steering wheel turning from clockwise to counterclockwise or from counterclockwise to clockwise is obtained.
[0066] The angle sensor detects the steering wheel steering angle signal when the steering wheel rotates from clockwise to counterclockwise or from counterclockwise to clockwise; further, the angle sensor sends the received steering wheel steering angle signal to the vehicle controller, thereby generating a corresponding first steering switch signal.
[0067] S12, when a second steering switch signal of the steering wheel is acquired, determining a time interval between receiving the first steering switch signal and receiving the second steering switch signal;
[0068] First, after the steering wheel steering switch signal has been detected in step S11, the angle sensor will continue to detect the steering wheel corresponding to the steering switching action, such as the steering wheel turning from counterclockwise to clockwise, or the steering wheel turning from clockwise to counterclockwise, and the angle sensor will further send the received steering wheel steering angle signal to the vehicle controller, thereby generating a corresponding second steering switch signal.
[0069] Furthermore, the vehicle controller calculates the time interval between the first steering switch signal and the second steering switch signal.
[0070] S13, determining whether the time difference is less than a preset time interval;
[0071] First, after receiving the first steering switch signal and the second steering switch signal, the vehicle controller will have two different working states: one is to execute the first target vehicle speed increase instruction, and the other is not to execute the first target vehicle speed increase instruction, and the vehicle maintains the target speed without changing;
[0072] Furthermore, the vehicle controller is required to determine whether the time interval between the first steering switch signal and the second steering switch signal is less than a preset time interval when receiving the first steering switch signal and the second steering switch signal.
[0073] like Figure 3 、 Figure 4As shown, when the vehicle starts, the corresponding target speed increase command is executed. For example, the preset time interval between the first and second steering switch signals is set to 300ms. When it detects that the time interval between the first and second steering switch signals is less than 300ms, the vehicle controller will execute the first target speed increase command, setting the target speed to the cumulative value of the current speed and the first target increase stage. If the time interval between the first and second steering switch signals is greater than the preset time interval, the vehicle will maintain the target speed unchanged. At this time, if the vehicle is in the starting state or the unpowered coasting state, the target speed is adjusted to the cumulative value of the current speed and the first target increase speed. If the vehicle is in the driving state, it will continue to determine whether the current target speed has accumulated the first target increase speed. If the first target increase speed has accumulated, the second target increase speed will continue to accumulate.
[0074] Therefore, after determining the time interval between the first steering switch signal and the second steering switch signal, there will be two different results. One is that the time difference between the first steering switch signal and the second steering switch signal is less than the preset time interval, and the other is that the time difference between the first steering switch signal and the second steering switch signal is greater than the preset time interval.
[0075] If it is detected that the time interval between the first steering switch signal and the second steering switch signal is less than the preset time interval, step S14 is executed; if it is detected that the time interval between the first steering switch signal and the second steering switch signal is greater than the preset time interval, step S15 is executed.
[0076] S14 , responding to the first target vehicle speed increase instruction, accelerating the vehicle from the current vehicle speed to the target vehicle speed after the target vehicle speed is increased.
[0077] First, before responding to the first target speed increase instruction, it is necessary to determine the first target speed increase value of the vehicle. In order to determine the first target speed increase value, it is necessary to further determine the corresponding first target increase stage. To determine the first target increase stage, it is necessary to further determine the target increase condition E.
[0078] To obtain the target increase condition E, upon detecting the first steering switch signal, a third logic value of the third flag bit and a fourth logic value of the fourth flag bit are obtained, wherein the third flag bit and the fourth flag bit represent a target speed increase event of the vehicle;
[0079] A logical OR operation is performed on the third logic value of the third flag bit and the fourth logic value of the fourth flag bit to obtain the logic value of the target amplification condition E.
[0080] For example, the flag A indicating that the steering wheel rotates clockwise and the flag B indicating that the steering wheel rotates counterclockwise are logically ANDed to obtain the flag G. If the logic value of the flag G is 1 at this time, the flag C, i.e., the third flag, and the flag D, i.e., the fourth flag, will be triggered to perform a logical operation. When the logic value of the flag G is 1, the obtained flag is not limited to two flags but can be multiple flags. The flag C and flag D are used here for illustration.
[0081] Furthermore, at this time, the steering wheel has switched forward and reverse, and the flag bit C and the flag bit D will perform a logical operation; for example, if the logic value of the flag bit C is 0 at this time, the logic value of the flag bit C will be changed to 1, and the logic value of the flag bit D will not be changed. The logic value of the flag bit D is 0 at this time and will continue to be 0, and the logic value of the flag bit D is 1 at this time and will continue to be 1; if the logic value of the flag bit C is 1, it is necessary to judge the logic value of the flag bit D. If the logic value of the flag bit D is 0, it will be changed to 1. If the logic value of the flag bit D is 1, it will remain unchanged. The above logical operation is as follows Figure 5 、 Figure 6 Place.
[0082] Furthermore, a logical OR operation is performed on the logical values of the flag bit C and the flag bit D after the logical operation, and a target amplification condition E is obtained.
[0083] When the target increase condition E=1, the first target vehicle speed increase value corresponding to the first target increase stage can be determined, thereby generating a first target vehicle speed increase instruction including the first target vehicle speed increase value.
[0084] When the logic value of the target increase condition E is 1, the corresponding increase stage is determined to be the first target increase stage, and the first target increase stage corresponds to the first target vehicle speed increase value. In the embodiment of the present application, the corresponding relationship between each target increase stage and the corresponding vehicle speed increase value is shown in Table 1:
[0085]
[0086] Table 1;
[0087] After obtaining the vehicle speed increment value corresponding to the first target increment phase, the first target speed increment instruction is generated, including the first target speed increment value. If the first target increment phase has not yet been executed, the target speed is incremented by the vehicle speed increment value corresponding to the first target increment phase F1. If the first target increment phase has already been executed, the second target increment phase is executed, and the target speed is incremented by the vehicle speed increment value corresponding to the second target increment phase F2. When the target increment condition is 1, if flags C and D trigger rising edges, the current target increment phase is determined, and the corresponding target speed is increased according to the F value.
[0088] After determining the first target vehicle speed increment value corresponding to the first target increment stage, the vehicle controller will respond to the first target vehicle speed increment instruction to increase the target vehicle speed by the first target vehicle speed increment value; and continue to detect the third steering switch signal; if the third steering switch signal is detected, determine whether the time interval between the second steering switch signal and the third steering switch signal is less than a preset time interval;
[0089] If the time interval between the second steering switch signal and the third steering switch signal is less than the preset time interval, the second target vehicle speed increase value corresponding to the second target increase stage is determined, and a second target vehicle speed increase instruction including the second target vehicle speed increase value is generated. The vehicle controller will respond to the second target vehicle speed increase instruction to increase the target vehicle speed by the second target vehicle speed increase value.
[0090] For example, the preset time interval is 300ms, and the time interval between the second steering switch signal and the third steering switch signal is less than the preset time interval of 300ms. At this time, the vehicle will receive an acceleration command and determine the target speed as the cumulative value of the current speed, the first target speed increase value, and the second target speed increase value, and accumulate the speed values of the corresponding increase stages in Table 1. For example, if the current speed is 30KM / H, in the first target increase stage, the speed will be increased to (30+5)KM / H, and in the second target increase stage, the speed will be increased to (35+10)KM / H.
[0091] Specifically, the vehicle has different operating states at this time. Before executing the acceleration command, it is necessary to judge the vehicle's operating state at this time, and then adjust the corresponding target speed according to the different operating states;
[0092] In an embodiment of the present application, the vehicle operating states include: starting state, unpowered gliding state and driving state; if the vehicle is in the starting state or unpowered gliding state at this time, the vehicle controller adjusts the target speed to the cumulative value of the vehicle's current speed and the speed corresponding to the first target increase stage.
[0093] For example, if the vehicle is just starting, the vehicle controller adjusts the target speed to 0 plus the speed corresponding to the first target amplification stage of 5 km / h, and obtains a target speed of 5 km / h; if the vehicle is in a non-powered gliding state, the vehicle controller adjusts the target speed to the cumulative value of the current instantaneous speed and the speed corresponding to the first target amplification stage. For example, if the current instantaneous speed is 30 km / h, the vehicle controller adjusts the target speed to 30 km / h plus the speed corresponding to the first target amplification stage of 5 km / h, and obtains a target speed of 35 km / h.
[0094] If the vehicle is in the driving state and detects an acceleration command, the vehicle controller will first detect the current target speed and determine the current target increase stage based on the detected acceleration command. For example, if the current target speed is 50KM / H, if the speed corresponding to the first target increase stage is already included at this time, the target speed is updated to 50KM / H plus the speed value corresponding to the second target increase stage. If the current target speed already includes the speed value corresponding to the first target increase stage and the speed value corresponding to the second target increase stage, the target speed is updated to 50KM / H plus the speed value corresponding to the third target increase stage.
[0095] Specifically, the current target speed of the vehicle when in driving state is 50KM / H. The vehicle controller will first determine the current accumulated target acceleration stage of the vehicle. If the vehicle has executed the first acceleration command, the current target speed already includes the F1 value of 5KM / H corresponding to the first target acceleration stage. The target speed will accumulate the F2 value of 10KM / H corresponding to the second target acceleration stage to generate a new target speed value of 60KM / H.
[0096] If the vehicle's target speed at this time already includes the F1 value of 5KM / H corresponding to the first target amplification stage and the F2 value of 10KM / H corresponding to the second target amplification stage, the vehicle controller will update the target speed to the current target speed plus the F3 value of 15KM / H corresponding to the third target amplification stage, generating a new target speed value of 65KM / H, and so on.
[0097] Through the above operation, the corresponding acceleration command is executed through special operation of the steering wheel when the accelerator pedal is cancelled, thereby avoiding the driver from accidentally stepping on the accelerator pedal and reducing the accident rate.
[0098] S15: The vehicle maintains the target speed without changing.
[0099] Furthermore, when it is determined that the time interval between the first turn switching signal and the second turn switching signal is greater than the preset time interval, the vehicle will maintain the current operating state.
[0100] Specifically, if the vehicle is stationary at this time, when the time interval between the first steering switch instruction and the second steering switch instruction is greater than the preset time interval, the vehicle will not execute the acceleration instruction and continue to remain stationary.
[0101] If the vehicle is in an unpowered gliding state at this time, when the time interval between the first steering switch command and the second steering switch command is greater than the preset time interval, the vehicle will not execute the acceleration command and continue to maintain the unpowered gliding state. At this time, since the vehicle controller interrupts the torque output, the vehicle will glide unpowered until the vehicle stops, or when the acceleration command is detected again, it will continue to respond to the acceleration signal to increase the vehicle speed to the target speed.
[0102] If the vehicle is in the driving state at this time, when the time interval between the first steering switch instruction and the second steering switch instruction is greater than the preset time interval, the vehicle will not execute the acceleration instruction, and the vehicle will continue to drive at the current target speed. Figure 7 、 Figure 8 As shown, according to the different operating states of the above vehicles, the corresponding target vehicle speed increase instructions are executed.
[0103] The vehicle is driven based on the target speed, and the driving torque is set to be positively correlated with the difference between the target speed and the current speed. That is, the greater the difference between the target speed and the current speed, the greater the driving torque.
[0104] If the brake pedal is pressed, the vehicle controller will receive a braking signal and brake the vehicle. At this time, the vehicle interrupts the target speed increase cycle, and the target increase events C, D, target increase conditions E, target increase stage F, target speed and flag G are forced to 0.
[0105] Example 2:
[0106] Corresponding to the vehicle state adjustment method provided in the first embodiment, the present application also provides a vehicle state adjustment device, referring to Figure 9 FIG. 1 is a schematic structural diagram of a vehicle state adjustment device provided by the present application, the device comprising:
[0107] An acquisition module 901 is configured to acquire a first steering switch signal and a second steering switch signal of a steering wheel, and acquire a time interval between the first steering switch signal and the second steering switch signal of the steering wheel;
[0108] The processing module 902 is configured to determine whether a time interval between the first steering switch signal and the second steering switch signal of the steering wheel is less than a preset time interval.
[0109] In one possible design, the processing module 902 is specifically configured to determine a time interval between the first steering switch signal and the second steering switch signal;
[0110] If the time interval between the first steering switch signal and the second steering switch signal is less than the preset time interval, responding to the first target vehicle speed increase instruction, the target vehicle speed is increased and the vehicle is accelerated to the target vehicle speed;
[0111] If the time interval between the first turn switching signal and the second turn switching signal is greater than the preset time interval, the vehicle maintains the target speed without changing.
[0112] In one possible design, the device further includes:
[0113] A generating module, used for generating an acceleration instruction including a vehicle speed increase value;
[0114] The control module is used to respond to the target vehicle speed increase instruction and accelerate the vehicle to the target vehicle speed after the target vehicle speed increases.
[0115] Based on the above-mentioned device, after the vehicle controller detects the first steering switch signal and the second steering switch signal of the steering wheel, it compares the time interval between the first steering switch signal and the second steering switch signal of the steering wheel with the preset time interval between the first steering switch signal and the second steering switch signal of the steering wheel. Based on the comparison result, different operating states are determined. If the time interval is less than the preset time interval, the acceleration command is executed and the vehicle speed is accelerated from the current speed to the target speed. If the time interval is greater than the preset time interval, the vehicle maintains the target speed without changing. In this way, the corresponding acceleration command is executed through special operation of the steering wheel, preventing the driver from accidentally stepping on the accelerator and reducing the incidence of vehicle accidents.
[0116] Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application, and the electronic device can realize the function of the aforementioned vehicle state control, referring to Figure 10 , the electronic device includes:
[0117] At least one processor 1001, and a memory 1002 connected to the at least one processor 1001. The specific connection medium between the processor 1001 and the memory 1002 is not limited in the embodiment of the present application. Figure 10 In the example, the processor 1001 and the memory 1002 are connected via the bus 1000. Figure 10 The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 10 The diagram is represented by only one thick line, but this does not mean that there is only one bus or one type of bus. Alternatively, the processor 1001 may also be referred to as a controller, without limitation to the name.
[0118] In the embodiment of the present application, the memory 1002 stores instructions that can be executed by at least one processor 1001. The at least one processor 1001 can execute the vehicle state control method discussed above by executing the instructions stored in the memory 1002. The processor 1001 can implement Figure 10 The functions of each module in the device shown.
[0119] Among them, the processor 1001 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1002 and calling data stored in the memory 1002, the various functions of the device and processing data.
[0120] In one possible design, processor 1001 may include one or more processing units. Processor 1001 may integrate an application processor and a modem processor. The application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 1001. In some embodiments, processor 1001 and memory 1002 may be implemented on the same chip. In some embodiments, they may also be implemented on separate chips.
[0121] The processor 1001 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the vehicle state control method disclosed in the embodiments of this application can be directly implemented as a hardware processor, or can be implemented using a combination of hardware and software modules in the processor.
[0122] Memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. Memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0123] By designing and programming the processor 1001, the code corresponding to the vehicle state control method described in the above embodiment can be fixed into the chip, so that the chip can execute the vehicle state control method when it is running. Figure 2 The steps of the vehicle state control method of the embodiment shown are as follows: How to design and program the processor 1001 is a technique well known to those skilled in the art and will not be described in detail here.
[0124] Based on the same inventive concept, an embodiment of the present application further provides a storage medium storing computer instructions. When the computer instructions are executed on a computer, the computer executes the vehicle state control method discussed above.
[0125] In some possible implementations, various aspects of the vehicle state control method provided in the present application can also be implemented in the form of a program product, which includes program code. When the program product is run on the device, the program code is used to enable the control device to execute the steps of the vehicle state control method according to various exemplary embodiments of the present application described above in this specification.
[0126] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0127] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0128] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0130] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A vehicle control method, characterized in that: The method comprises: A first steering switch signal of the steering wheel is obtained, wherein the first steering switch signal indicates that the steering wheel is switched from clockwise rotation to counterclockwise rotation, or that the steering wheel is switched from counterclockwise rotation to clockwise rotation; When the second steering switch signal of the steering wheel is acquired, determining a time interval between receiving the first steering switch signal and receiving the second steering switch signal; Determining whether the time interval is less than a preset time interval; If so, responding to the first target vehicle speed increase instruction, the target vehicle speed is increased and the vehicle is accelerated from the current vehicle speed to the target vehicle speed; If not, the vehicle maintains the target speed without changing.
2. The method according to claim 1, wherein Generating a first steering switch signal of a steering wheel, comprising: Obtaining a first logic value of a first flag bit and a second logic value of a second flag bit, wherein the first flag bit is used to identify whether the steering wheel rotates clockwise, and the second flag bit is used to identify whether the steering wheel rotates counterclockwise; Performing a logical AND operation on the first logic value and the second logic value to obtain a first operation result; A first steering switch signal of the steering wheel is generated according to the first calculation result.
3. The method according to claim 1, wherein Generating a first target vehicle speed increase instruction includes: When the first steering switch signal is detected, a third logic value of the third flag bit and a fourth logic value of the fourth flag bit are obtained, wherein the third flag bit and the fourth flag bit represent a target vehicle speed increase event of the vehicle; Performing a logical OR operation on the third logic value and the fourth logic value to obtain a target amplification condition logic value; When the target increase condition logic value is 1, a first target vehicle speed increase value corresponding to the first target increase stage is determined, and a first target vehicle speed increase instruction including the first target vehicle speed increase value is generated.
4. The method according to claim 3, wherein After determining the first target vehicle speed increase value corresponding to the first target increase stage, the method further includes: If after the first target vehicle speed increase instruction is generated, the second steering switch signal and the third steering switch signal are detected; When the time interval between the second steering switch signal and the third steering switch signal is less than the preset time interval, determining a second target vehicle speed increase value corresponding to a second target increase stage, and generating a second target vehicle speed increase instruction including the second target vehicle speed increase value; According to the second target vehicle speed increase instruction, the vehicle speed is increased by the second target vehicle speed increase value.
5. A data processing device, characterized in that: The device comprises: An acquisition module, configured to acquire a time interval between a first steering switch signal and a second steering switch signal of a steering wheel; A processing module, configured to determine whether a time interval between the first steering switch signal and the second steering switch signal of the steering wheel is less than a preset time interval; If the time interval between the first steering switch signal and the second steering switch signal is less than the preset time interval, responding to the first target vehicle speed increase instruction, the target vehicle speed is increased and the vehicle is accelerated from the current vehicle speed to the target vehicle speed; If the time interval between the first turn switching signal and the second turn switching signal is greater than the preset time interval, the vehicle maintains the target speed without changing.
6. The device according to claim 5, characterized in that The acquisition module is specifically configured to acquire a first steering switch signal and a second steering switch signal of the steering wheel and determine a time interval between the first steering switch signal and the second steering switch signal.
7. The device according to claim 5, characterized in that The device further comprises: A generating module, used for generating an acceleration instruction including a vehicle speed increase value; The control module is used to respond to the target speed increase instruction and accelerate the vehicle from the current speed to the target speed after the target speed is increased.
8. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 4 when executing the computer program stored in the memory.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Electronic device for assisting driving of vehicle and method therefor
US20190308656A1