Intelligent automobile cabin control method based on state machine

Through the state machine-based control method, the problem of insufficient coordinated management between different driving modes is solved, and efficient mode switching and low-power intelligent cockpit system are realized.

CN120029128APending Publication Date: 2025-05-23FORYOU GENERAL ELECTRONICS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510089517.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When existing car-machine functions are implemented, global optimal collaborative management cannot be achieved between different driving modes, resulting in low mode switching efficiency, poor user experience and high energy consumption.

Method used

The intelligent cockpit control method based on the state machine is adopted. By obtaining user function requirements, the intelligent cockpit scene is determined and the target working mode is defined, the state migration conditions are set, and the state migration conditions are determined based on the current state of the vehicle and trigger signals are determined whether the state migration conditions are met, and the vehicle mode switching is performed.

Benefits of technology

It realizes global optimal collaborative management between different driving modes, improves mode switching efficiency and user experience, and reduces vehicle power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029128A_ABST
    Figure CN120029128A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle-mounted intelligent cabins, and provides an automobile intelligent cabin control method based on a state machine, which sets state transition of a vehicle machine mode based on the state machine, can effectively enhance the flexibility and expandability of a system, enables the system to flexibly process various state transitions, and improves the safety of the system. Flexible expansion of any number of link nodes of a single link in the future is supported, the access cost of a new channel is reduced, and global optimal collaborative management is realized; in a complex business scene, different target working modes are distributed according to different business scenes, and a state transition method is utilized to effectively process a conversion relationship among various states in the intelligent cabin, so that behaviors of the intelligent cabin system in different states are ensured to meet expectations to realize corresponding function requirements; therefore, the reliability and stability of the system are improved, and the user experience is improved; and meanwhile, a low-power-consumption working mode is automatically entered after the function requirement of the user is met, so that the energy consumption is further saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted intelligent cockpits, and in particular to a state machine-based vehicle intelligent cockpit control method. Background Art

[0002] The smart cockpit has become a key core device that embodies the integration, intelligence, networking, entertainment, personalization and customization of automobiles. It usually includes multiple systems and electronic devices, such as entertainment systems, LCD instruments, head-up displays, DLP headlights, streaming media rearview mirrors, etc.

[0003] With the continuous growth and innovation of smart cockpit functions, higher requirements and challenges are also placed on the design and implementation of high performance, low power consumption, comfortable coordination and smart experience of equipment. The design of a smart cockpit working mode management device is particularly necessary and critical. It is necessary to classify and coordinate the status of all integrated equipment, systems, and functional scenarios, and to achieve reasonable coordination of computing power and power consumption. This enables the systems to work together and with the status of the entire vehicle, which is also the key to improving and optimizing passenger experience, vehicle performance, safety, and intelligence. Summary of the invention

[0004] The present invention provides a state machine-based automobile intelligent cockpit control method, which solves the technical problem that the existing vehicle computer functions cannot achieve global optimal collaborative management between different driving modes, resulting in low mode switching efficiency, poor user experience and high energy consumption.

[0005] In order to solve the above technical problems, the present invention provides a state machine-based automobile intelligent cockpit control method, comprising:

[0006] Acquire the user's functional requirements, determine the smart cockpit scenario according to the functional requirements, and define corresponding target working modes for different smart cockpit scenarios;

[0007] Setting a state transition condition based on switching between the target working modes;

[0008] When a trigger signal is detected, the signal type of the trigger signal is identified and the current vehicle computer state is obtained;

[0009] It is determined whether the state transition condition is met according to the current vehicle computer state and the trigger signal. If the vehicle computer mode switching is to be executed, the target working mode is switched to the corresponding one to realize the corresponding functional requirements.

[0010] In a further implementation scheme, the smart cockpit scenario includes one or more of a vehicle sleep scenario, a regular vehicle use scenario, a vehicle remote control scenario, an OTA upgrade scenario, a sentinel mode scenario, a charging / discharging scenario, and a life detection scenario.

[0011] Before defining the target working mode, this solution determines the application scenario of the smart cockpit scenario based on the user's functional requirements, and then classifies and defines the vehicle computer status required in the vehicle sleep scenario, regular vehicle use scenario, vehicle remote control scenario, OTA upgrade scenario, sentry mode scenario, charging / discharging scenario, and life detection scenario, so as to provide sufficient target working modes to achieve scenario coverage.

[0012] In a further embodiment, corresponding target working modes are defined for different smart cockpit scenarios, including:

[0013] The target working mode corresponding to the vehicle sleep scenario definition is a sleep mode, in which the vehicle power gear is OFF and the vehicle cockpit is in a sleep state;

[0014] Based on the conventional vehicle use scenario, the corresponding target working mode is defined as a working mode, in which the vehicle power gear is in the ON gear and the vehicle cockpit is in a working state;

[0015] Based on the vehicle remote control scenario, OTA upgrade scenario, sentinel mode scenario, charging / discharging scenario, and life detection scenario, a pre-working mode, pre-sleep mode, or temporary working mode is set as the corresponding target working mode according to functional requirements.

[0016] In a further embodiment, in the pre-working mode, the vehicle power gear is OFF or ON, the Can network is in the awake state, and each functional system has just completed initialization and entered the standby state;

[0017] In the pre-sleep mode, the vehicle power gear is OFF, the CAN network is in the awake state, and each functional system is in the standby state and is waiting to perform a locking operation;

[0018] In the temporary working mode, the vehicle power gear is OFF or ON, the vehicle cockpit is in working state, and the judgment thread is executed in real time to determine whether the temporary work is completed. If so, it switches to other target working modes.

[0019] This solution adds a pre-working mode, pre-sleeping mode, and temporary working mode to the existing sleep mode and working mode. On the one hand, the mode division gives the smart cockpit status corresponding to different application scenarios to improve the efficiency of realizing the user's functional requirements; on the other hand, targeted pre-working mode, pre-sleeping mode, and temporary working mode are set for the realization of vehicle remote control scenarios, OTA upgrade scenarios, sentry mode scenarios, charging / discharging scenarios, and life detection scenarios, which can reduce the power consumption of the vehicle computer while fully meeting the functional requirements.

[0020] In a further embodiment, the signal types include a power signal, a sleep wake-up signal, a service signal, and a sleep signal, wherein:

[0021] The power supply signal includes a power position Can signal and a hard line IGN signal;

[0022] The sleep wake-up signal includes one or more of a CAN network wake-up signal, a remote control wake-up signal, an OTA upgrade wake-up signal, and a scheduled task wake-up signal;

[0023] The service signal includes one or more of an unlocking signal, a main driver's door opening and closing signal, a main driver's seat occupancy signal, and a brake pressed state signal;

[0024] The sleep signal includes a timing signal generated when there is no operation and no signal triggering.

[0025] This solution is based on signal types such as power signals, sleep wake-up signals, business signals, and sleep signals to assist in the state machine's state migration control. Through the state mode, the state-related behaviors are encapsulated into the state class, making the behavior control more centralized and clear, and making the behavior changes of the smart cockpit in different states clear and easy to manage.

[0026] In a further implementation scheme, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal, and if the vehicle computer mode switching is to be performed, it includes:

[0027] A1. Obtain and identify the current state of the vehicle computer and determine that the vehicle computer is currently in sleep mode:

[0028] A2, judging whether there is a driver in the main driving seat according to the trigger signal, if yes, determining that the first transition condition in the state transition condition is met, executing the vehicle machine mode switching to the working mode; if no, proceeding to step A3;

[0029] A3, identifying the trigger signal to determine whether it is a sleep signal, if not, determining that the second transition condition in the state transition condition is met, executing the vehicle machine mode switching, switching to the pre-working mode;

[0030] Among them, the judgment condition for judging whether there is a driver in the main driving seat according to the trigger signal is: the power gear Can signal is a power-on signal, and a signal that there is someone in the main driving seat is received.

[0031] In a further implementation scheme, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal, and if the vehicle computer mode switching is to be performed, it includes:

[0032] B1. Obtain and identify the current vehicle computer state, and determine that the vehicle computer is currently in a pre-working mode:

[0033] B2. Determine whether there is a driving operation in the main driving position according to the trigger signal. If it is determined that the third transition condition in the state transition condition is met, execute the vehicle machine mode switch to the working mode; otherwise, proceed to step B3;

[0034] B3, identifying the trigger signal to determine whether it is a sleep signal, if so, determining that the fourth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the sleep mode; otherwise, determining that the fifth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the temporary working mode;

[0035] Among them, the judgment condition for judging whether there is a driving operation in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the brake being pressed status signal.

[0036] In a further implementation scheme, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal, and if the vehicle computer mode switching is to be performed, it includes:

[0037] C1. Obtain and identify the current vehicle computer status and determine whether the vehicle computer is currently in working mode:

[0038] C2. Extract the power gear Can signal from the trigger signal to determine whether the current power gear is OFF. If so, determine that the sixth migration condition in the state migration condition is met and execute the vehicle machine mode switch to the pre-sleep mode.

[0039] In a further implementation scheme, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal, and if the vehicle computer mode switching is to be performed, it includes:

[0040] D1. Obtain and identify the current state of the vehicle computer, and determine that the vehicle computer is currently in the pre-sleep mode. At this time, the current power gear is OFF:

[0041] D2. Determine whether the trigger signal is a sleep signal. If so, further obtain the Can network status. When it is determined that the Can network message has stopped sending, determine that the seventh migration condition in the state migration condition is met and execute the vehicle machine mode switching to the sleep mode.

[0042] D3, identifying whether the trigger signal is a sleep wake-up signal or a service signal, and if so, determining that the eighth transition condition in the state transition condition is met, executing the vehicle machine mode switching, and switching to the temporary working mode;

[0043] D4. Identify whether the trigger signal is a power state signal. If so, determine that the ninth transition condition in the state transition condition is met and execute vehicle machine mode switching to the working mode.

[0044] In a further implementation scheme, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal, and if the vehicle computer mode switching is executed, it includes:

[0045] E1. Obtain and identify the current vehicle computer status, and determine that the vehicle computer is currently in a temporary working mode:

[0046] E2. Determine whether there is a need to use the vehicle at the main driver's seat according to the trigger signal. If it is determined that the tenth migration condition in the state migration condition is met, the vehicle machine mode is switched to the working mode; otherwise, go to step E3;

[0047] E3. When the trigger signal is identified as a sleep signal, further obtain the working mode of the vehicle computer in the previous time sequence. If it is a pre-working mode, determine that the eleventh migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-working mode; if it is a pre-sleep mode, determine that the twelfth migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-sleep mode;

[0048] Among them, the judgment condition for judging whether there is a need to use the car in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the main driver's position occupancy signal.

[0049] This solution is based on the temporary working state of the temporary working mode. When the trigger signal is identified as a sleep signal, the working mode of the previous sequence of the vehicle computer is further obtained, and then the mode is switched according to the working mode of the previous sequence. The state switching logic adapts to the user's usage habits and the normal startup / sleep mechanism of the vehicle computer, thereby effectively improving the user experience.

[0050] The beneficial effects of the present invention are as follows:

[0051] Setting the state migration of the vehicle-machine mode based on the state machine (i.e., the state migration condition) can effectively enhance the flexibility and scalability of the system. The design based on the state machine enables the system to flexibly handle various state transitions, support the flexible expansion of any number of link nodes in a single link in the future, reduce the access cost of new channels, and achieve global optimal collaborative management;

[0052] In complex business scenarios, different target working modes are assigned according to different business scenarios. The state transition method can effectively handle the conversion relationship between various states in the smart cockpit, ensuring that the behavior of the smart cockpit system in different states meets expectations to achieve corresponding functional requirements, thereby improving the reliability and stability of the system and thus improving the user experience;

[0053] At the same time, after meeting the user's functional requirements, it automatically enters low-power working mode to further save energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a work flow chart of a state machine-based automobile intelligent cockpit control method provided by an embodiment of the present invention;

[0055] Figure 2 This is a typical peripheral wiring diagram of the smart cockpit provided by an embodiment of the present invention;

[0056] Figure 3 is a state transition diagram provided by an embodiment of the present invention; DETAILED DESCRIPTION

[0057] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.

[0058] An embodiment of the present invention provides a state machine-based vehicle intelligent cockpit control method, such as Figure 1 to Figure 3 As shown, in this embodiment, the steps include:

[0059] S01. Acquire the functional requirements of the user, determine the smart cockpit scenarios according to the functional requirements, and define corresponding target working modes for different smart cockpit scenarios;

[0060] In this embodiment, the smart cockpit scenario includes one or more of a vehicle sleep scenario, a conventional vehicle use scenario, a vehicle remote control scenario, an OTA upgrade scenario, a sentinel mode scenario, a charging / discharging scenario, and a life detection scenario. Specifically:

[0061] Vehicle dormancy scenario: mainly refers to the scenario where the vehicle is dormant when the power is turned off / the engine is turned off or the vehicle is locked and not in use;

[0062] Conventional car use scenarios: mainly refers to driving and parking scenarios when the driver is in the car after the vehicle is unlocked;

[0063] Vehicle remote control scenario: mainly refers to scenarios such as remote start and remote setting of vehicle information when the driver is not in the vehicle;

[0064] OTA upgrade scenario: mainly refers to OTA silent upgrade scenario;

[0065] Sentry mode scenario: mainly refers to the scenario where the vehicle’s sentry monitoring function is enabled when the vehicle is locked and no one is in the vehicle;

[0066] Charging / discharging scenarios: mainly refers to vehicle charging when parked or discharging outside the vehicle;

[0067] Life detection scenario: mainly refers to the rear-seat life (passengers, pets, etc.) detection reminder scenario when the driver leaves the vehicle.

[0068] Before defining the target working mode, this embodiment determines the application scenario of the smart cockpit scenario in combination with the user's functional requirements, and then classifies and defines the vehicle computer status required in the vehicle sleep scenario, regular vehicle use scenario, vehicle remote control scenario, OTA upgrade scenario, sentry mode scenario, charging / discharging scenario, and life detection scenario, so as to provide sufficient target working modes to achieve scenario coverage.

[0069] In this embodiment, corresponding target working modes are defined for different smart cockpit scenarios, including:

[0070] The target working mode corresponding to the vehicle sleep scenario definition is a sleep mode, in which the vehicle power gear is OFF and the vehicle cockpit is in a sleep state;

[0071] Based on the conventional vehicle use scenario, the corresponding target working mode is defined as a working mode, in which the vehicle power gear is in the ON gear and the vehicle cockpit is in a working state;

[0072] Based on the vehicle remote control scenario, OTA upgrade scenario, sentinel mode scenario, charging / discharging scenario, and life detection scenario, a pre-working mode, pre-sleep mode, or temporary working mode is set as the corresponding target working mode according to functional requirements.

[0073] In this embodiment, in the pre-working mode, the vehicle power gear is OFF or ON, the Can network is in the awakened state, and each functional system has just completed initialization and entered the standby state;

[0074] In the pre-sleep mode, the vehicle power gear is OFF, the CAN network is in the awake state, and each functional system is in the standby state and is waiting to perform a locking operation;

[0075] In the temporary working mode, the vehicle power gear is OFF or ON, the vehicle cockpit is in working state, and the judgment thread is executed in real time to determine whether the temporary work is completed. If so, it switches to other target working modes.

[0076] The specific status of the vehicle in each target working mode is as follows:

[0077] Sleep mode: The vehicle power gear is OFF, and the entire cockpit is in sleep mode (most other ECUs and Can networks of the vehicle are also in sleep mode); the SOC is in power-off or STR sleep mode and does not respond to or perform any work tasks; the MCU is in low power consumption mode and only responds to wake-up operations from various sleep wake-up sources; this mode is the minimum energy consumption mode for the smart cockpit.

[0078] Working mode: The vehicle power gear is in the ON gear, the Can network is in the awakened state, all cockpit devices are powered on normally and all systems have completed initialization and are in working state; in this mode, all devices and systems respond to functions according to real-time vehicle information, user operations and other information. For example, display devices (central control screen, instrument screen, HUD display, streaming media rearview mirror, DLP headlights) are all working with the screen on, the audio can output sound normally, and the camera, Bluetooth, Wifi, etc. perform work tasks according to the actual situation.

[0079] Pre-working mode: the vehicle power gear is OFF or ON, the CAN network is in the awake state, all cabin devices are powered on normally, and all systems are initialized and meet the working state; in this mode, all devices and systems are working normally, but the main difference between this mode and the working mode is that no functions are displayed to the driver or passengers, such as the display device is off, the audio device is muted, Bluetooth, Wifi, and vehicle control operations are saved in the closed state, etc.; some other proprietary scenarios will execute the corresponding devices or complete specific functions in this mode, such as remote control operation scenarios, OTA silent upgrade scenarios, and sentry mode monitoring scenarios (the sentry mode is turned on by remote control, and is in monitoring state, not alarm state).

[0080] Pre-sleep mode: the vehicle power gear is OFF, the CAN network is in the awake state, all cabin devices are powered on normally and all systems are in working state; the previous mode of this mode needs to go through the working mode, and the next major (but not the only) target state is the sleep mode. The corresponding actual vehicle use scenario is the scene state after the driver finishes using the car and performs the engine shutdown operation and before performing the locking operation. At this time, most of the functions of the equipment and system are automatically shut down, such as turning off the air conditioner, turning off the screen device, muting the audio, etc., but some functions still need to remain in working state and give necessary prompts until the shutdown conditions are met. For example, the subtotal information of this trip is usually displayed on the instrument device for a period of time for the driver to view before the instrument device is turned off. After the use of the vehicle, there is relevant vehicle fault information or user reminder information, which should be prompted on the corresponding device (usually instrument equipment or audio equipment) until the fault is resolved and then the corresponding reminder device is turned off; after the driver leaves the vehicle, the life detection system detects that there is a person or pet in the car. At this time, the sound or light-related reminder should be given until the reminder condition is resolved and then the corresponding device is turned off; when the sentry mode switch is turned on, the sentry mode function will be activated after entering this mode, and the sentry mode monitoring state (non-alarm state) will be entered.

[0081] Temporary working mode: the vehicle power gear is OFF or ON, the CAN network is in the awake state, all cabin devices are powered on normally and all systems have completed initialization and are in working state; this mode is a time-limited or conditionally restricted working mode, which can only be entered from the pre-working mode and pre-sleep mode. After the trigger conditions are met, the performance is the same as the working mode for a period of time, and the relevant devices and functions are in the turned-on state (such as the screen device is lit, the audio system can be turned on, etc.). When the time is up or the functional task is completed, the corresponding devices and functions are turned off again, returning to the previous pre-working mode or pre-sleep mode. Application scenarios include: in pre-working mode or pre-sleep mode, if there is a charging or discharging operation, the central control screen or instrument screen will be lit to display the charging and discharging information. If there is no other operation for a period of time, the display screen will be turned off again; in pre-working mode or pre-sleep mode, click the central control display screen or perform key operations, the relevant display screen will light up, allowing the user to view some information (such as driving information, vehicle information, power information, application information, etc.), and the display screen will be turned off again after a certain period of no operation; the sentinel mode migrates to this state when the alarm conditions are met and an alarm is issued. At this time, an audible and visual alarm is issued, the screen of the relevant equipment is lit, and a remote alarm signal is sent. After the alarm is lifted, the relevant equipment is turned off and the system is migrated to the previous mode (i.e. pre-working mode or pre-sleep mode).

[0082] In view of the existing sleep mode and work mode, this embodiment adds a pre-working mode, a pre-sleep mode, and a temporary working mode. On the one hand, the smart cockpit status is divided into different application scenarios through mode division to improve the efficiency of realizing the user's functional requirements; on the other hand, targeted pre-working mode, pre-sleep mode, and temporary working mode are set for the realization of vehicle remote control scenarios, OTA upgrade scenarios, sentinel mode scenarios, charging / discharging scenarios, and life detection scenarios, which can reduce the power consumption of the vehicle computer while fully meeting the functional requirements.

[0083] S02. Setting a state transition condition based on switching between the target working modes.

[0084] S1. When a trigger signal is detected, identify the signal type of the trigger signal and obtain the current vehicle computer status;

[0085] In this embodiment, the signal types include power signals, sleep wake-up signals, service signals and sleep signals, wherein:

[0086] The power supply signal includes a power position Can signal and a hard line IGN signal;

[0087] The sleep wake-up signal includes one or more of a CAN network wake-up signal, a remote control wake-up signal, an OTA upgrade wake-up signal, and a scheduled task wake-up signal (such as a scheduled charging signal);

[0088] The service signal includes one or more of an unlocking signal, a main driver's door opening and closing signal, a main driver's seat occupancy signal, and a brake pressed state signal;

[0089] The sleep signal includes a timing signal generated when there is no operation and no signal triggering.

[0090] This embodiment assists the state machine's state migration control based on signal types such as power signals, sleep wake-up signals, business signals, and sleep signals. It encapsulates state-related behaviors into state classes through state patterns, making behavior control more centralized and clear, and making the behavior changes of the smart cockpit in different states clear and easy to manage.

[0091] S2. Determine whether a state transition condition is met based on the current vehicle computer state and the trigger signal. If a vehicle computer mode switch is to be executed, switch to the corresponding target working mode to achieve corresponding functional requirements.

[0092] In this embodiment, the state transition conditions include the first transition condition to the twelfth transition condition, see Figure 3 , the sleep mode corresponds to the sleep state, the working mode corresponds to the working state, the pre-working mode corresponds to the pre-working state, the pre-sleep mode corresponds to the pre-sleep state, and the temporary working mode corresponds to the pre-sleep state.

[0093] Specifically, for different current vehicle computer states, the conditional judgment logic process of state migration based on sleep mode / working mode / pre-working mode / pre-sleep mode / temporary working mode is as follows:

[0094] 1. In this embodiment, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal. If the vehicle computer mode switching is to be performed, the following steps are included:

[0095] A1. Obtain and identify the current state of the vehicle computer and determine that the vehicle computer is currently in sleep mode:

[0096] A2, judging whether there is a driver in the main driving seat according to the trigger signal, if yes, determining that the first transition condition in the state transition condition is met, executing the vehicle machine mode switching to the working mode; if no, proceeding to step A3;

[0097] A3, identifying the trigger signal to determine whether it is a sleep signal, if not, determining that the second transition condition in the state transition condition is met, executing the vehicle machine mode switching, switching to the pre-working mode;

[0098] Among them, the judgment condition for judging whether there is a driver in the main driving seat according to the trigger signal is: the power gear Can signal is a power-on signal, and a signal that there is someone in the main driving seat is received.

[0099] Specifically, the first migration condition is that the power gear is in the ON gear and the main driving position signal is in the occupied state (main driving position occupied signal).

[0100] The second migration condition is that the vehicle computer meets any of the following conditions:

[0101] (1) Wake up by a wake-up source (Can wake up / remote control wake up / OTA upgrade task wake up / scheduled task wake up);

[0102] (2) receiving an unlock signal;

[0103] (3) The power gear is in the ON position and the main driver's door signal is in the OFF state.

[0104] 2. In this embodiment, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal. If the vehicle computer mode is switched, the following steps are included:

[0105] B1. Obtain and identify the current vehicle computer state, and determine that the vehicle computer is currently in a pre-working mode:

[0106] B2. Determine whether there is a driving operation in the main driving position according to the trigger signal. If it is determined that the third transition condition in the state transition condition is met, execute the vehicle machine mode switch to the working mode; otherwise, proceed to step B3;

[0107] B3, identifying the trigger signal to determine whether it is a sleep signal, if so, determining that the fourth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the sleep mode; otherwise, determining that the fifth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the temporary working mode;

[0108] Among them, the judgment condition for judging whether there is a driving operation in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the brake being pressed status signal.

[0109] Specifically, the third migration condition is that the vehicle computer meets any of the following conditions:

[0110] (1) The power gear is in the ON position, and the main driver's door signal changes from the closed state to the open state (the main driver's door is opened);

[0111] (2) The power position is ON and the brake status signal is pressed.

[0112] The fourth migration condition is that the vehicle computer meets the following conditions at the same time:

[0113] (1) The power position is OFF;

[0114] (2)Can network messages have stopped being sent (the cockpit's MCU cannot receive Can network data).

[0115] The fifth migration condition is that the vehicle computer meets any of the following conditions:

[0116] (1) Receive the signal of inserting the charging gun or discharging gun (charging and discharging information prompt);

[0117] (2) Click the touch screen or steering wheel button (to allow the user to view information);

[0118] (3) Sentry mode alarm.

[0119] 3. In this embodiment, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal. If the vehicle computer mode is switched, the following steps are included:

[0120] C1. Obtain and identify the current vehicle computer status and determine whether the vehicle computer is currently in working mode:

[0121] C2. Extract the power gear Can signal from the trigger signal to determine whether the current power gear is OFF. If so, determine that the sixth migration condition in the state migration condition is met and execute the vehicle machine mode switch to the pre-sleep mode.

[0122] Specifically, the sixth migration condition is that the power gear changes from ON to OFF (indicating that the fuel vehicle is turned off or the new energy vehicle is powered off).

[0123] 4. In this embodiment, judging whether the state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is executed, includes:

[0124] D1. Obtain and identify the current state of the vehicle computer, and determine that the vehicle computer is currently in the pre-sleep mode. At this time, the current power gear is OFF:

[0125] D2. Determine whether the trigger signal is a sleep signal. If so, further obtain the Can network status. When it is determined that the Can network message has stopped sending, determine that the seventh migration condition in the state migration condition is met and execute the vehicle machine mode switching to the sleep mode.

[0126] D3, identifying whether the trigger signal is a sleep wake-up signal or a service signal, and if so, determining that the eighth transition condition in the state transition condition is met, executing the vehicle machine mode switching, and switching to the temporary working mode;

[0127] D4. Identify whether the trigger signal is a power state signal. If so, determine that the ninth transition condition in the state transition condition is met and execute vehicle machine mode switching to the working mode.

[0128] Specifically, the seventh migration condition is that the vehicle computer meets the following conditions at the same time:

[0129] (1) The power position is OFF;

[0130] (2)Can network messages have stopped being sent (the cockpit's MCU cannot receive Can network data).

[0131] The eighth migration condition is that the vehicle computer meets any of the following conditions:

[0132] (1) Receive the signal of inserting the charging gun or discharging gun (charging and discharging information prompt);

[0133] (2) Click the touch screen or steering wheel button (to allow the user to view information);

[0134] (3) Sentry mode alarm.

[0135] Specifically, the ninth transition condition is: the power gear is changed from OFF gear to ON gear.

[0136] 5. In this embodiment, whether the state transition condition is met is determined according to the current vehicle computer state and the trigger signal. If the vehicle computer mode is switched, the following steps are included:

[0137] E1. Obtain and identify the current vehicle computer status, and determine that the vehicle computer is currently in a temporary working mode:

[0138] E2. Determine whether there is a need to use the vehicle at the main driver's seat according to the trigger signal. If it is determined that the tenth migration condition in the state migration condition is met, the vehicle machine mode is switched to the working mode; otherwise, go to step E3;

[0139] E3. When the trigger signal is identified as a sleep signal, further obtain the working mode of the vehicle computer in the previous time sequence. If it is a pre-working mode, determine that the eleventh migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-working mode; if it is a pre-sleep mode, determine that the twelfth migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-sleep mode;

[0140] Among them, the judgment condition for judging whether there is a need to use the car in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the main driver's position occupancy signal.

[0141] Specifically, the tenth migration condition is that the vehicle computer meets any of the following conditions:

[0142] (1) The power signal is in the ON position, and the main driver's door signal changes from the closed state to the open state;

[0143] (2) The main driver's seat signal is now in the occupied state (someone is in the main driver's seat), and the power state changes from OFF to ON.

[0144] The eleventh migration condition is that the vehicle computer meets any of the following conditions:

[0145] (1) When entering the temporary working mode due to the sentinel mode alarm, exit the temporary working mode after the sentinel alarm prompt is lifted;

[0146] (2) When the temporary working mode is entered by receiving the signal of inserting the charging gun or discharging gun, the charging and discharging information will be reminded for 3 minutes (the specific time can be set according to actual needs), and then the temporary working mode will be automatically exited;

[0147] (3) When entering the temporary working mode by clicking the touch screen or steering wheel button, if there is no touch screen or steering wheel button operation within 3 minutes (the specific time can be set according to actual needs), the temporary working mode will be automatically exited;

[0148] (4) When more than one of the above (1), (2), or (3) is satisfied at the same time, the temporary working mode will be exited when the last condition is satisfied.

[0149] The twelfth migration condition is that the vehicle computer meets any of the following conditions:

[0150] (1) When entering the temporary working mode due to the sentinel mode alarm, exit the temporary working mode after the sentinel alarm prompt is lifted;

[0151] (2) When the temporary working mode is entered by receiving the signal of inserting the charging gun or discharging gun, the charging and discharging information will be reminded for 3 minutes (the specific time can be set according to actual needs), and then the temporary working mode will be automatically exited;

[0152] (3) When entering the temporary working mode by clicking the touch screen or steering wheel button, if there is no touch screen or steering wheel button operation within 3 minutes (the specific time can be set according to actual needs), the temporary working mode will be automatically exited;

[0153] (4) When more than one of the above (1), (2), or (3) is satisfied at the same time, the temporary working mode will be exited when the last condition is satisfied.

[0154] This embodiment is based on the temporary working state of the temporary working mode. When the trigger signal is identified as a sleep signal, the working mode of the vehicle computer in the previous sequence is further obtained, and then the mode is switched according to the working mode of the previous sequence. The state switching logic adapts to the user's usage habits and the normal startup / sleep mechanism of the vehicle computer, thereby effectively improving the user experience.

[0155] In this embodiment, see Figure 2 , which is a typical peripheral wiring diagram of a smart cockpit. Therefore, considering the continuity and stability of the state machine operation and the maintainability and recoverability of its state data, this solution runs inside the cockpit MCU and uses the MCU's storage device to save the state data. The device is started when the MCU is initialized and the state machine device continues to run in any working state of the MCU.

[0156] The beneficial effects of the embodiments of the present invention are as follows:

[0157] Setting the state migration of the vehicle-machine mode based on the state machine (i.e., the state migration condition) can effectively enhance the flexibility and scalability of the system. The design based on the state machine enables the system to flexibly handle various state transitions, support the flexible expansion of any number of link nodes in a single link in the future, reduce the access cost of new channels, and achieve global optimal collaborative management;

[0158] In complex business scenarios, different target working modes are assigned according to different business scenarios. The state transition method can effectively handle the conversion relationship between various states in the smart cockpit, ensuring that the behavior of the smart cockpit system in different states meets expectations to achieve corresponding functional requirements, thereby improving the reliability and stability of the system and thus improving the user experience;

[0159] At the same time, after meeting the user's functional requirements, it automatically enters low-power working mode to further save energy consumption.

[0160] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A state machine-based vehicle intelligent cockpit control method, characterized in that: include: Acquire the user's functional requirements, determine the smart cockpit scenario according to the functional requirements, and define corresponding target working modes for different smart cockpit scenarios; Setting a state transition condition based on switching between the target working modes; When a trigger signal is detected, the signal type of the trigger signal is identified and the current vehicle computer state is obtained; It is determined whether the state transition condition is met according to the current vehicle computer state and the trigger signal. If the vehicle computer mode switching is to be executed, the target working mode is switched to the corresponding one to realize the corresponding functional requirements.

2. The state machine-based vehicle intelligent cockpit control method according to claim 1, characterized in that: The smart cockpit scenario includes one or more of a vehicle sleep scenario, a regular vehicle use scenario, a vehicle remote control scenario, an OTA upgrade scenario, a sentinel mode scenario, a charging / discharging scenario, and a life detection scenario.

3. The state machine-based vehicle intelligent cockpit control method according to claim 2, characterized in that: Defining corresponding target working modes for different smart cockpit scenarios includes: The target working mode corresponding to the vehicle sleep scenario definition is a sleep mode, in which the vehicle power gear is OFF and the vehicle cockpit is in a sleep state; Based on the conventional vehicle use scenario, the corresponding target working mode is defined as a working mode, in which the vehicle power gear is in the ON gear and the vehicle cockpit is in a working state; Based on the vehicle remote control scenario, OTA upgrade scenario, sentinel mode scenario, charging / discharging scenario, and life detection scenario, a pre-working mode, pre-sleep mode, or temporary working mode is set as the corresponding target working mode according to functional requirements.

4. The state machine-based vehicle intelligent cockpit control method according to claim 3, characterized in that: In the pre-working mode, the vehicle power gear is OFF or ON, the Can network is in the awakened state, and each functional system has just completed initialization and entered the standby state; In the pre-sleep mode, the vehicle power gear is OFF, the CAN network is in the awake state, and each functional system is in the standby state and is waiting to perform a locking operation; In the temporary working mode, the vehicle power gear is OFF or ON, the vehicle cockpit is in working state, and the judgment thread is executed in real time to determine whether the temporary work is completed. If so, it switches to other target working modes.

5. The state machine-based vehicle intelligent cockpit control method according to claim 1, characterized in that: The signal types include power signals, sleep wake-up signals, service signals and sleep signals, where: The power supply signal includes a power position Can signal and a hard line IGN signal; The sleep wake-up signal includes one or more of a CAN network wake-up signal, a remote control wake-up signal, an OTA upgrade wake-up signal, and a scheduled task wake-up signal; The service signal includes one or more of an unlocking signal, a main driver's door opening and closing signal, a main driver's seat occupancy signal, and a brake pressed state signal; The sleep signal includes a timing signal generated when there is no operation and no signal triggering.

6. The state machine-based vehicle intelligent cockpit control method according to claim 4, characterized in that: Determining whether a state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is to be performed, includes: A1. Obtain and identify the current state of the vehicle computer and determine that the vehicle computer is currently in sleep mode: A2, judging whether there is a driver in the main driving seat when the power gear is in the ON gear according to the trigger signal, if so, judging that the first migration condition in the state migration condition is satisfied, executing the vehicle machine mode switching, switching to the working mode; if not, proceeding to step A3; A3, identifying the trigger signal to determine whether it is a sleep signal, if not, determining that the second transition condition in the state transition condition is met, executing the vehicle machine mode switching, switching to the pre-working mode; Among them, the judgment condition for judging whether there is a driver in the main driving seat according to the trigger signal is: the power gear Can signal is a power-on signal, and a signal that there is someone in the main driving seat is received.

7. The state machine-based vehicle intelligent cockpit control method according to claim 4, characterized in that: Determining whether a state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is to be performed, includes: B1. Obtain and identify the current vehicle computer state, and determine that the vehicle computer is currently in a pre-working mode: B2. Determine whether there is a driving operation in the main driving position according to the trigger signal. If it is determined that the third transition condition in the state transition condition is met, execute the vehicle machine mode switch to the working mode; otherwise, proceed to step B3; B3, identifying the trigger signal to determine whether it is a sleep signal, if so, determining that the fourth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the sleep mode; otherwise, determining that the fifth migration condition in the state migration condition is satisfied, executing the vehicle mode switch to the temporary working mode; Among them, the judgment condition for judging whether there is a driving operation in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the brake being pressed status signal.

8. The state machine-based vehicle intelligent cockpit control method according to claim 4, characterized in that: Determining whether a state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is to be performed, includes: C1. Obtain and identify the current vehicle computer status and determine whether the vehicle computer is currently in working mode: C2. Extract the power gear Can signal from the trigger signal to determine whether the current power gear is OFF. If so, determine that the sixth migration condition in the state migration condition is met and execute the vehicle machine mode switch to the pre-sleep mode.

9. The state machine-based vehicle intelligent cockpit control method according to claim 4, characterized in that: Determining whether a state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is to be performed, includes: D1. Obtain and identify the current state of the vehicle computer, and determine that the vehicle computer is currently in the pre-sleep mode. At this time, the current power gear is OFF: D2. Determine whether the trigger signal is a sleep signal. If so, further obtain the Can network status. When it is determined that the Can network message has stopped sending, determine that the seventh migration condition in the state migration condition is met and execute the vehicle machine mode switching to the sleep mode. D3, identifying whether the trigger signal is a sleep wake-up signal or a service signal, and if so, determining that the eighth transition condition in the state transition condition is met, executing the vehicle machine mode switching, and switching to the temporary working mode; D4. Identify whether the trigger signal is a power state signal. If so, determine that the ninth transition condition in the state transition condition is met and execute vehicle machine mode switching to the working mode.

10. The state machine-based vehicle intelligent cockpit control method according to claim 4, characterized in that: Determining whether a state transition condition is met according to the current vehicle computer state and the trigger signal, if the vehicle computer mode switching is to be performed, includes: E1. Obtain and identify the current vehicle computer status, and determine that the vehicle computer is currently in a temporary working mode: E2. Determine whether there is a need to use the vehicle at the main driver's seat according to the trigger signal. If it is determined that the tenth migration condition in the state migration condition is met, the vehicle machine mode is switched to the working mode; otherwise, go to step E3; E3. When the trigger signal is identified as a sleep signal, further obtain the working mode of the vehicle computer in the previous time sequence. If it is a pre-working mode, determine that the eleventh migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-working mode; if it is a pre-sleep mode, determine that the twelfth migration condition in the state migration condition is met, execute the vehicle computer mode switching, and switch to the pre-sleep mode; Among them, the judgment condition for judging whether there is a need to use the car in the main driver's seat according to the trigger signal is: determining that the current power gear is ON according to the power gear Can signal, and receiving the main driver's position door opening and closing signal or the main driver's position occupancy signal.

Citation Information

Cited By

  • Central control physical key and screen fusion control system based on multi-modal interaction

    CN121523789A