Cruise control method and device, storage medium, vehicle and program product
By monitoring the loss time of the vehicle cruise switch signal and controlling the vehicle exit cruise state according to the set threshold, the safety problem caused by signal loss in the vehicle cruise state is solved, and the safety of the vehicle in the cruise state is improved.
Patent Information
- Application Number
- CN202411195289.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-08-28
AI Technical Summary
When the vehicle is cruising, the cruise switch signal may be lost, causing the vehicle to be unable to perform accurate cruise control, which may cause safety accidents.
By monitoring the vehicle's cruise switch signal, the loss time is obtained when the signal is lost. If the loss time is greater than the set time threshold, the vehicle exits the cruise state. The duration threshold is determined based on the message sending period of the cruise switch and the bus recovery time of the body controller.
This method monitors the loss time of the cruise switch signal and controls the cruising state of the vehicle, improving the safety of the vehicle in the cruising state and avoiding potential safety accidents caused by signal loss.
Smart Images

Figure CN119734701A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicles, and in particular, to a cruise control method, device, storage medium, vehicle and program product. Background Art
[0002] Among the many functions of smart cars, the cruise function is one of the more important and mature functions. The cruise function usually includes: fixed speed cruise and adaptive cruise, which are used to realize the automatic throttle control of the vehicle to drive at a constant speed at a specified speed or adapt to the driving of the vehicle in front, so as to improve the driving comfort of the driver. When the vehicle is in the cruising state, the cruise controller of the vehicle needs to maintain a constant speed or follow the vehicle according to the cruise switch signal. However, the cruise switch signal may be lost during the transmission process, and the vehicle cannot accurately perform cruise control, which may cause safety accidents in the cruising state. Summary of the invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a cruise control method, device, storage medium, vehicle and program product.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a cruise control method, comprising: When the vehicle is in a cruising state, monitoring the cruise switch signal of the vehicle; When the cruise switch signal is detected to be lost, obtaining the loss duration of the cruise switch signal; When the loss time is greater than a time threshold, the vehicle is controlled to exit the cruise state; wherein the time threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the body controller of the vehicle.
[0005] Optionally, it is characterized in that The duration threshold is determined according to the following formula:
[0006] in, ,and Round down to an integer; Indicates the maximum value of the bus offline duration in the bus design specification; represents the duration threshold, and for An integer multiple of ; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0007] Optionally, it is characterized in that
[0008] in, ,and Round down to an integer; represents the duration threshold; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0009] Optionally, it is characterized in that The bus recovery time is determined according to the following formula:
[0010] in, ,and Round down to an integer; Indicates the minimum value of the bus offline duration in the bus design specification; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0011] Optionally, the method further comprises: When the vehicle is in a cruising state, the vehicle detects an acceleration signal from an accelerator pedal, and the vehicle speed is greater than a set cruising speed, controlling the vehicle to enter a cruising standby state; Within a set time range after entering the cruise standby state, when the vehicle detects a release signal of the accelerator pedal, the vehicle is controlled to recover from the cruise standby state to the cruise state.
[0012] Optionally, the method further comprises: When the vehicle is in a cruising state and the vehicle detects a deceleration signal from a brake pedal, the vehicle is controlled to exit the cruising state.
[0013] According to a second aspect of an embodiment of the present disclosure, there is provided a cruise control device, the device comprising: A monitoring module, used for monitoring a cruise switch signal of the vehicle when the vehicle is in a cruise state; An acquisition module, used for acquiring a loss duration of the cruise switch signal when the cruise switch signal is detected to be lost; A control module is used to control the vehicle to exit the cruise state when the loss time is greater than a time threshold; wherein the time threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the body controller of the vehicle.
[0014] According to a third aspect of an embodiment of the present disclosure, there is provided a non-temporary computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the cruise control method provided in the first aspect above.
[0015] According to a fourth aspect of an embodiment of the present disclosure, a vehicle is provided, comprising the cruise control device provided in the above second aspect.
[0016] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, and when the computer program is executed by a processor, the steps of the cruise control method provided in the first aspect are implemented.
[0017] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects: In the above technical solution, when the vehicle is in the cruise state, the cruise switch signal of the vehicle is monitored; when the cruise switch signal is detected to be lost, the loss duration of the cruise switch signal is obtained; when the loss duration is greater than the duration threshold, the vehicle is controlled to exit the cruise state; wherein the duration threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller. This method controls the cruise state of the vehicle by monitoring the loss duration of the cruise switch signal of the vehicle, and can improve the safety of the vehicle in the cruise state.
[0018] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings: Figure 1 The figure is a schematic diagram of a vehicle cruise control system according to an exemplary embodiment.
[0020] Figure 2 The figure is a flow chart of a cruise control method according to an exemplary embodiment.
[0021] Figure 3 The figure is a flow chart of a cruise control method according to an exemplary embodiment.
[0022] Figure 4The figure is a flow chart of a cruise control method according to an exemplary embodiment.
[0023] Figure 5 The figure is a flow chart of a cruise control method according to an exemplary embodiment.
[0024] Figure 6 is a schematic diagram of a cruise control device 600 according to an exemplary embodiment.
[0025] Figure 7 is a schematic diagram of an electronic device 700 according to an exemplary embodiment. DETAILED DESCRIPTION
[0026] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0027] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0028] Figure 1 is a schematic diagram of a vehicle cruise control system according to an exemplary embodiment. Figure 1 As shown, the vehicle cruise control system includes: a cruise switch, a body controller, a bus controller, a cruise controller, a vehicle speed sensor, an accelerator pedal and a brake pedal; Among them, the cruise switch is used to turn on or off the vehicle's cruise function, set the cruise speed, etc.; the body controller is used to convert the LIN signal sent by the cruise switch into a CAN signal and send it to the bus controller; the bus controller is used to send the CAN signal to the cruise controller; the cruise controller is used to control the accelerator pedal according to the received CAN signal in combination with the vehicle speed sensor, so that the vehicle speed is equal to the cruise speed in the CAN signal; the brake pedal is used to make the vehicle exit the cruise state in an emergency.
[0029] Figure 2 is a flow chart of a cruise control method according to an exemplary embodiment. Figure 2 As shown, the method comprises the following steps: In step S11 , when the vehicle is in a cruising state, a cruise switch signal of the vehicle is monitored.
[0030] For example, vehicle cruise usually includes fixed speed cruise and adaptive cruise, where fixed speed cruise means that the vehicle can travel at a constant speed according to the speed set by the driver; adaptive cruise means that the vehicle can not only travel according to the speed set by the driver, but also automatically adjust the speed according to the speed change of the vehicle in front, and maintain the preset following distance with the vehicle in front. The cruise switch of the vehicle can periodically send a cruise switch signal to the cruise controller of the vehicle in the form of a message to maintain the communication status between the cruise switch and the cruise controller to remain active; the message of the cruise switch signal can contain the status information of the current cruise system (such as whether the cruise is turned on, the set cruise speed, the cruise mode, etc.), and the cruise controller can control the vehicle through this status information after receiving this status information.
[0031] For example, in Figure 1 In the cruise control system shown, the cruise switch can periodically send a cruise switch signal in the form of a message. The cruise switch signal is first transmitted to the body controller via the LIN bus, and the body controller then transmits the cruise switch signal to the bus controller via the CAN bus, and the bus controller then transmits the cruise switch signal to the cruise controller. After the cruise controller receives the cruise switch signal, it controls the vehicle according to the message information of the cruise switch signal.
[0032] In step S12, when the cruise switch signal is detected to be lost, the loss duration of the cruise switch signal is obtained.
[0033] For example, during vehicle operation, the cruise switch signal may be temporarily lost due to bus disconnection. For example, road bumps may cause occasional poor contact of the wiring harness, extreme natural environment, complex electromagnetic environment, etc. may all cause the vehicle's bus to be disconnected, causing the cruise switch signal to be temporarily lost. The temporarily lost cruise switch signal may be restored after a period of time; or the cruise switch signal may be lost for a long time due to line problems or hardware problems. The possibility of the long-lost cruise switch signal being restored is small. It can be seen that when the vehicle is in a cruising state, monitoring the loss duration of the vehicle's cruise switch control signal can determine whether the cruise switch signal has the possibility of recovery.
[0034] For example, in Figure 1 In the cruise control system shown, when the body controller transmits the cruise switch signal to the bus controller, the CAN bus in the body controller and the bus controller may enter the BUSOFF state, thereby causing the cruise switch signal to be unable to be transmitted to the bus controller. The cruise controller can determine the loss duration of the cruise switch signal based on the sending time in the message information of the last cruise switch signal (or the receiving time when the cruise controller last received the cruise switch signal).
[0035] In step S13, the vehicle is controlled to exit the cruise state according to the loss time.
[0036] Optionally, when the loss duration is greater than a duration threshold, the vehicle is controlled to exit the cruise state.
[0037] Exemplarily, the driver needs to transmit control information (such as exiting cruise control, modifying cruise speed, modifying cruise mode) to the cruise controller through the cruise switch signal, and the cruise controller needs to perform cruise control according to the received cruise switch signal. When the cruise switch signal is lost for a long time, the cruise controller may not be able to accurately perform cruise control on the vehicle. Therefore, there may be certain safety risks. Therefore, it is possible to control whether the vehicle needs to exit the cruise state according to the loss time of the cruise switch signal to ensure the safe driving of the vehicle. For example, when the loss time of the cruise switch signal is greater than the time threshold, the vehicle is controlled to exit the cruise state. It can be understood that the present disclosure does not limit the size of the time threshold.
[0038] For example, in Figure 1 In the cruise control system shown, when the cruise controller detects that the loss time of the cruise switch signal of the vehicle is greater than the time threshold, the cruise controller releases the accelerator pedal to decelerate the vehicle and exit the cruise state. In addition, it can be understood that the control scheme of the vehicle speed, accelerator pedal, and brake pedal of the vehicle in the cruise state is not limited in the present disclosure.
[0039] In the above technical solution, when the vehicle is in the cruise state, the cruise switch signal of the vehicle is monitored; when the cruise switch signal is detected to be lost, the loss duration of the cruise switch signal is obtained; when the loss duration is greater than the duration threshold, the vehicle is controlled to exit the cruise state; wherein the duration threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller. This method controls the cruise state of the vehicle by monitoring the loss duration of the cruise switch signal of the vehicle, and can improve the safety of the vehicle in the cruise state.
[0040] Figure 3 is a flow chart of a cruise control method according to an exemplary embodiment. Figure 3 As shown, the method also includes: In step S14, the duration threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the body controller of the vehicle.
[0041] Optionally, the duration threshold is determined according to the following formula:
[0042] in, ,and Round down to an integer; Indicates the maximum value of the bus offline duration in the bus design specification; represents the duration threshold, and for An integer multiple of ; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0043] Alternatively, the above formula shows that When is the optimal value.
[0044] Optionally, the bus recovery time is determined according to the following formula:
[0045] in, ,and Round down to an integer; Indicates the minimum value of the bus offline duration in the bus design specification; Indicates the message sending cycle of the cruise switch; Indicates the bus recovery time.
[0046] For example, in Figure 1 In the cruise control system shown in the figure, the body controller that provides the cruise switch signal may experience bus disconnection (cruise switch signal loss) in some complex natural environments and enter the BUSOFF state. According to the bus design requirements, the bus signal needs to be restored as soon as possible. The bus recovery time of the bus The recovery can be completed within tens of ms (fast recovery) or within hundreds of ms (slow recovery); therefore, the duration threshold should usually be greater than the bus recovery time and greater than the message sending cycle of the cruise switch. Therefore, the size of the duration threshold and the bus recovery time and the message of the cruise switch may affect each other. Therefore, the duration threshold can be determined based on the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller.
[0047] For example, in the vehicle production design stage, the bus recovery time and duration threshold are jointly controlled by testing methods. This application provides a testing method and analyzes the test results, as shown below: Test planning: 1) Single-node test method: The network test cabinet performs BUSOFF recovery time test and directly measures the fault injection method. ; 2) Vehicle test method: Vehicle electromagnetic compatibility test laboratory radiation immunity test, the electric field strength is gradually increased until the body control module (BCM) is disconnected; 3) Data acquisition equipment: CANoe, collects CAN messages of the corresponding network segment through the OBD port; 4) Cruise switch signal loss duration Method: By analyzing the counter of the switch signal in the CAN message, the specific time; 5) Test vehicle is in compliance with Figure 1 A vehicle of the architecture shown.
[0048] According to the bus design requirements, the maximum value of the cruise switch signal loss time threshold Cruise switch message sending cycle The relationship can be shown in Table 1: Table 1: and Relationship
[0049] Through the above test method, the test data collected is shown in Table 2 below, where the test field strength is used to make the body control module (BCM) offline. Indicates the cruise switch message sending cycle. Indicates the bus recovery time, Indicates the duration threshold; Indicates that the test field strength is met. , and The cruise switch signal loss time under the condition of cruise state exit indicates whether the cruise state is exited. , and The cruise switch signal is lost for a certain period of time under the condition of: Table 2: Test data
[0050] According to the data in Table 2, the data of cruise state not exiting is analyzed, and the maximum value of the duration threshold of cruise switch signal loss is , Cruise switch signal loss duration , bus recovery time ( )、Cruise switch message sending cycle , duration threshold The relationship between can be expressed as the following formula (1): (1) Among them, by analyzing the cruise switch signal loss duration, it can be ,in, ,and Round down; for example, in the third row of the data in Table 2, the cruise state is not exited. , ,Right now ,therefore, ,satisfy ,and Round down, and the cruise state does not exit; for example, in the 11th or 12th row of the data in Table 2, when , ,Right now ,at this time, ,satisfy ,and Round down and the cruise state does not exit; or, , ,Right now ,at this time, , not satisfied ,and Round down, so the cruise state is exit state at this time; Therefore, in ,in, ,and When rounded down, formula (1) can be converted to formula (2): (2) In summary, we can Requirements and Adjustment The design value of , the margin is designed with the maximum value, then formula (2) can be converted to formula (3): (3) For example, if Design according to the requirements of the bus design specification, assuming that ms, and the margin is designed with the maximum value, then ms, in ms, it can be deduced Need to be greater than (Right now ), that is, the minimum value of the duration threshold is , and according to Table 1, ms, the maximum value of the duration threshold can be 500ms, that is, the maximum value of the duration threshold can be By vehicle Requirements and Adjustment The design value of the vehicle Keeping it within a reasonable time interval can avoid the problem of abnormal exit of the cruise system due to temporary loss of the cruise switch signal due to external reasons, and can also avoid the vehicle safety problem caused by the cruise switch signal being lost for a long time due to hardware reasons and the cruise system not being able to exit in time. Requirements and Adjustment The design value can improve the stability of the vehicle cruise system.
[0051] Alternatively, you can The design value and To design , the margin is designed with the maximum value, if Take the minimum value in the bus design specification ( ) design, then formula (2) can be transformed into formula (4): (4) For example, in In the case of or 0, that is ,when ms, then formula (3) can be derived ms, at this time, according to ,and Round down to determine the ms. By The design value and To design the vehicle cruise control system , which can make Within a reasonable design range, avoid Vehicle cruise function failure caused by long recovery time.
[0052] In summary, by taking actual abnormal scenarios as the starting point, deriving design methods from test data, conducting joint design through control strategies, and performing software design on the corresponding parameters of the body controller and cruise controller from different perspectives, the goal of improving the system robustness while ensuring the safety of the entire vehicle can be achieved.
[0053] Figure 4 is a flow chart of a cruise control method according to an exemplary embodiment. Figure 4 As shown, the method also includes: In step S15, when the vehicle is in a cruising state, the vehicle detects an acceleration signal from the accelerator pedal, and the vehicle speed is greater than a set cruising speed, the vehicle is controlled to enter a cruise standby state.
[0054] For example, when the vehicle is in the cruising state, the driver can take over the vehicle for a short time according to the road environment (such as overtaking, unmanned roads, etc.), accelerate by stepping on the accelerator pedal, and send an acceleration signal to the cruise controller. When the cruise controller receives the acceleration signal and the vehicle speed is greater than the set cruising speed, the vehicle can be controlled by the cruise controller of the vehicle to enter the cruise standby state. In addition, in order to prevent the driver from accidentally stepping on the accelerator pedal and causing a safety accident, an accelerator pedal lock can be set to prevent accidental stepping. For example, when the vehicle enters the cruising state and the vehicle speed reaches the set cruising speed, the accelerator pedal is automatically locked. When the user needs to temporarily take over the vehicle, the accelerator pedal can be unlocked by lightly stepping on the accelerator pedal twice in a row. It can be understood that the accelerator pedal lock means that the accelerator can move within a specified range.
[0055] For example, the vehicle includes Figure 1 In the cruise system shown, when the vehicle is in a cruise state and the vehicle speed in the cruise state is 80 km / h, when the driver is overtaking, he can step on the accelerator pedal to accelerate, and the accelerator pedal sends an acceleration signal to the cruise controller. When the cruise controller receives the acceleration signal and the vehicle speed obtained by the vehicle speed sensor is greater than 80 km / h, the cruise controller controls the vehicle to enter a cruise standby state through the cruise controller.
[0056] In step S16, within a set time range after entering the cruise standby state, when the vehicle detects a release signal of the accelerator pedal, the vehicle is controlled to return from the cruise standby state to the cruise state.
[0057] For example, within a set time range after entering the cruise standby state, when the driver releases the accelerator pedal, it can indicate that the driver has exited the temporary takeover of the vehicle; therefore, after the cruise controller detects the release signal of the accelerator pedal, it can control the vehicle to resume the cruising state from the cruise standby state, and control the vehicle cruising through the cruise controller.
[0058] For example, the vehicle includes Figure 1In the cruise system shown, the set time range is 3 minutes. When the vehicle is in the cruise standby state and the duration of the cruise standby state is less than 3 minutes, after the cruise controller of the vehicle detects the release signal of the accelerator pedal, the vehicle can be controlled to exit the cruise standby state and re-enter the cruise state, and the cruise controller controls the vehicle speed to reach the cruising speed. In addition, it can be understood that in the cruise standby state, the driver may modify the cruising speed by controlling the cruise switch. Therefore, when comparing the cruising speed and the vehicle speed, it is necessary to compare the cruising speed in the message information of the cruise switch signal received by the cruise controller the most recently.
[0059] In addition, the method may further include: within a set time range after entering the cruise standby state, when the vehicle does not detect a release signal of the accelerator pedal, controlling the vehicle to exit the cruise state.
[0060] For example, within a set time range after entering the cruise standby state, if the vehicle does not detect a release signal of the accelerator pedal, it may indicate that the driver needs to take over the vehicle for a long time and no longer needs to restore the cruise state. Therefore, the vehicle can be controlled to exit the cruise state through the cruise controller of the vehicle.
[0061] Figure 5 is a flow chart of a cruise control method according to an exemplary embodiment. Figure 5 As shown, the method also includes: In step S17, when the vehicle is in a cruising state and detects a deceleration signal from a brake pedal, the vehicle is controlled to exit the cruising state.
[0062] For example, when the vehicle is in a cruising state, the driver may control the vehicle according to actual road conditions. For example, in the event of a traffic accident, the driver needs to step on the brake pedal to slow down or stop the vehicle. Therefore, the deceleration signal of the brake pedal can be detected by the cruise controller of the vehicle. When the cruise controller detects the deceleration signal, the cruise controller can be used to control the vehicle to exit the cruising state.
[0063] In the above technical solution, when the vehicle is in the cruise state, the cruise switch signal of the vehicle is monitored; when the cruise switch signal is detected to be lost, the loss duration of the cruise switch signal is obtained; when the loss duration is greater than the duration threshold, the vehicle is controlled to exit the cruise state; wherein the duration threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller. This method controls the cruise state of the vehicle by monitoring the loss duration of the cruise switch signal of the vehicle, and can improve the safety of the vehicle in the cruise state.
[0064] Figure 6 FIG. 6 is a schematic diagram of a cruise control device 600 according to an exemplary embodiment. Figure 6 As shown, the device 600 includes: a monitoring module 610, an acquisition module 620 and a control module 630; The monitoring module 610 is used to monitor the cruise switch signal of the vehicle when the vehicle is in a cruise state; The acquisition module 620 is used to acquire the loss duration of the cruise switch signal when the cruise switch signal is detected to be lost; The control module 630 is used to control the vehicle to exit the cruise state when the loss time is greater than a time threshold; wherein the time threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller.
[0065] Optionally, the duration threshold is determined according to the following formula:
[0066] in, ,and Round down to an integer; Indicates the maximum value of the bus offline duration in the bus design specification; represents the duration threshold, and for An integer multiple of ; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0067] Optionally,
[0068] in, ,and Round down to an integer; represents the duration threshold; Indicates the message sending period of the cruise switch; represents the bus recovery time.
[0069] Optionally, the bus recovery time is determined by the following formula:
[0070] in, ,and Round down to an integer; Indicates the minimum value of the bus offline duration in the bus design specification; Indicates the message sending cycle of the cruise switch; Indicates the bus recovery time.
[0071] Optionally, the control module 630 is further configured to: When the vehicle is in a cruising state, the vehicle detects an acceleration signal from an accelerator pedal, and the vehicle speed is greater than a set cruising speed, controlling the vehicle to enter a cruising standby state; Within a set time range after entering the cruise standby state, when the vehicle detects a release signal of the accelerator pedal, the vehicle is controlled to recover from the cruise standby state to the cruise state.
[0072] Optionally, the control module 630 is further configured to: When the vehicle is in a cruising state and detects a deceleration signal from a brake pedal, the vehicle is controlled to exit the cruising state.
[0073] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0074] In the above technical solution, when the vehicle is in the cruise state, the cruise switch signal of the vehicle is monitored; when the cruise switch signal is detected to be lost, the loss duration of the cruise switch signal is obtained; when the loss duration is greater than the duration threshold, the vehicle is controlled to exit the cruise state; wherein the duration threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the vehicle's body controller. This method controls the cruise state of the vehicle by monitoring the loss duration of the cruise switch signal of the vehicle, and can improve the safety of the vehicle in the cruise state.
[0075] In another exemplary embodiment, a vehicle is further provided. The vehicle includes the cruise control device described in the above embodiment.
[0076] Figure 7 FIG. 7 is a schematic diagram of an electronic device 700 according to an exemplary embodiment. Figure 7 As shown, the electronic device 700 may include: a processor 701 , a memory 702 . The electronic device 700 may also include one or more of a multimedia component 703 , an input / output (I / O) interface 704 , and a communication component 705 .
[0077] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned cruise control method. The memory 702 is used to store various types of data to support the operation of the electronic device 700. For example, these data may include instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module.
[0078] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned cruise control method.
[0079] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned cruise control method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned cruise control method.
[0080] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a processor. When the computer program is executed by the processor, the steps of the above cruise control method are implemented.
[0081] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0082] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0083] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A cruise control method, characterized in that: include: When the vehicle is in a cruising state, monitoring the cruise switch signal of the vehicle; When the cruise switch signal is detected to be lost, obtaining the loss duration of the cruise switch signal; When the loss time is greater than a time threshold, the vehicle is controlled to exit the cruise state; wherein the time threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the body controller of the vehicle.
2. The method according to claim 1, characterized in that The duration threshold is determined according to the following formula: in, ,and Round down to an integer; Indicates the maximum value of the bus offline duration in the bus design specification; represents the duration threshold, and for An integer multiple of ; Indicates the message sending period of the cruise switch; represents the bus recovery time.
3. The method according to claim 2, characterized in that in, ,and Round down to an integer; represents the duration threshold; Indicates the message sending period of the cruise switch; represents the bus recovery time.
4. The method according to claim 1, characterized in that: The bus recovery time is determined according to the following formula: in, ,and Round down to an integer; Indicates the minimum value of the bus offline duration in the bus design specification; Indicates the message sending period of the cruise switch; represents the bus recovery time.
5. The method according to claim 1, characterized in that The method further comprises: When the vehicle is in a cruising state, the vehicle detects an acceleration signal from an accelerator pedal, and the vehicle speed is greater than a set cruising speed, controlling the vehicle to enter a cruising standby state; Within a set time range after entering the cruise standby state, when the vehicle detects a release signal of the accelerator pedal, the vehicle is controlled to recover from the cruise standby state to the cruise state.
6. The method according to claim 1, characterized in that The method further comprises: When the vehicle is in a cruising state and the vehicle detects a deceleration signal from a brake pedal, the vehicle is controlled to exit the cruising state.
7. A cruise control device, characterized in that: include: A monitoring module, used for monitoring a cruise switch signal of the vehicle when the vehicle is in a cruise state; An acquisition module, used for acquiring a loss duration of the cruise switch signal when the cruise switch signal is detected to be lost; A control module is used to control the vehicle to exit the cruise state when the loss time is greater than a time threshold; wherein the time threshold is determined according to the message sending cycle of the cruise switch and the bus recovery time of the body controller of the vehicle.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
9. A vehicle, characterized in that: The vehicle comprises the cruise control device of claim 7.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Vehicle cruise control method, system and equipment and storage medium thereof
CN113353075A
Control system and method for vehicle cruise control based on fault levels
CN113428143A
Processing method after reset of controller
CN113759872A
Intelligent cruise system for pure electric vehicle and use method of intelligent cruise system
CN118163790A
Network based embedded system
KR1020030045401A