Vehicle control method and device and vehicle
By detecting the wiper input signal and vehicle body control system status information, determining the target control signal, ensuring that the wiper operates under abnormal conditions, solving the driving safety problems caused by wiper failure, and improving the reliability of the vehicle control system.
Patent Information
- Application Number
- CN202411373332.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, the electronic and electrical system failure of the wiper in a vehicle causes the wiper to stop unexpectedly, affecting the vehicle's driving safety. How to avoid the wiper function failure and ensure the vehicle's driving safety is a current technical challenge.
By detecting the wiper input signal and the software layer status information of the vehicle body control system, the target control signal is determined, and the wiper operation is controlled based on this signal to ensure that the wiper is in the running state when the input signal is abnormal or the software is abnormal.
It effectively avoids the function failure of the wiper, ensures the safety of the vehicle's driving, and continues to run the wiper when the software layer fails through redundant control of the hardware layer, improving the reliability of the body control system.
Smart Images

Figure CN119078736A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, device and vehicle in the field of vehicles. Background Art
[0002] In the prior art, as the number of electronic controllers installed in vehicles increases, the safety risks of the electronic and electrical system functions of the vehicles are also increasing. When the wipers of the vehicle are in operation, if there is a fault in the electronic and electrical system of the wipers, the wipers in operation will stop unexpectedly, which will affect the driving safety of the vehicle. Therefore, how to avoid the failure of the wiper function and ensure the driving safety of the vehicle is a technical problem that needs to be solved at present. Summary of the invention
[0003] The present application provides a vehicle control method, device and vehicle. The method determines a target control signal of the wiper based on the detection result of the wiper input signal and / or the status information of the software layer, and controls the operation of the wiper based on the target control signal; ensuring that the wiper can be controlled to be in an operating state when the wiper input signal is abnormal or the software is abnormal.
[0004] In a first aspect, a vehicle control method is provided, the method comprising:
[0005] When the start operation of the vehicle wiper is detected, the input signal of the wiper is detected to obtain a detection result;
[0006] Obtaining status information of the software layer of the body control system in the vehicle;
[0007] Determining a target control signal for the wiper based on the detection result and / or the status information of the software layer;
[0008] Based on the target control signal, the wiper operation is controlled.
[0009] In an embodiment of the present application, an input signal of a vehicle wiper is detected to obtain a detection result of the input signal; and status information of a body controller software layer is obtained; based on the detection result and the status information of the software layer, a target control signal of the wiper is determined; since the detection result is used to determine whether the input signal is in a normal state, and the status information of the software layer is used to determine whether the software layer of the body control system is in a normal state; therefore, based on the detection result and / or the status information, the target control signal is determined to ensure that the corresponding target control signal can be obtained under different detection results and different status information; that is, when the wiper input signal is abnormal or the software of the body control system is abnormal, the corresponding target control signal can be generated, and the wiper operation is controlled based on the target control signal; thereby avoiding functional failure of the wiper and ensuring the driving safety of the vehicle.
[0010] In combination with the first aspect, in some implementations of the first aspect, the software layer includes a first functional layer and a second functional layer, and the second functional layer and the first functional layer are redundant with each other;
[0011] Based on the detection result and / or the status information of the software layer, a target control signal of the wiper is determined, including:
[0012] If the state information of the software layer indicates that the software layer is in an abnormal state, determining a target functional layer in the software layer that is in an abnormal state; and determining a target control signal for the wiper based on the target functional layer;
[0013] If the state information of the software layer indicates that the software layer is in a normal state, a target control signal of the wiper is determined based on the detection result.
[0014] In an embodiment of the present application, since the software layer includes a first functional layer and a second functional layer, if the status information of the software layer indicates that the software layer is in an abnormal state, the functional layers in the abnormal state are different, and the corresponding target control signals are different; therefore, it is necessary to determine the target control signal of the wiper according to the functional layer in the abnormal state; if the status information of the software layer is in a normal state, indicating that the software of the vehicle body control system is normal, then the target control signal of the wiper is determined according to the detection result of the input signal of the wiper; ensuring that the corresponding target control signal can be obtained in different situations so that the wiper can be in an operating state.
[0015] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the vehicle body control system includes a hardware layer;
[0016] Based on the target function layer, the target control signal of the wiper is determined, including:
[0017] If the target functional layer is the first functional layer, the control signal of the second functional layer on the wiper is determined as the target control signal;
[0018] If the target functional layer is the second functional layer, the control signal of the first functional layer to the wiper is determined as the target control signal;
[0019] If the target functional layer is the first functional layer and the second functional layer, the control signal of the hardware layer to the wiper is determined as the target control signal.
[0020] In an embodiment of the present application, if the target functional layer in an abnormal state is the first functional layer, it means that the control signal of the wiper cannot be output through the first functional layer; therefore, the control signal of the wiper by the second functional layer is determined as the target control signal; if the target functional layer is the second functional layer, it means that the control signal of the wiper cannot be output through the second functional layer; therefore, the controller of the wiper by the first functional layer is determined as the target control signal; and when the target functional layer is the first functional layer and the second functional layer, it means that the software layer of the current vehicle body control system cannot output the control signal of the wiper; therefore, the control signal of the wiper by the hardware layer is determined as the target control signal.
[0021] In combination with the first aspect and the above implementations, in some implementations of the first aspect, if the target control signal is a control signal of the wiper at the hardware layer, the method further includes:
[0022] Control the vehicle to start limp home mode; wherein the limp home mode is used to indicate that the vehicle controls the hardware device through the hardware circuit;
[0023] Based on the target control signal, the wiper operation is controlled, including:
[0024] Based on the target control signal, the wiper operation is controlled by the hardware circuit of the hardware layer.
[0025] In an embodiment of the present application, if the target control signal is a control signal of the wiper at the hardware layer, it means that the wiper needs to be controlled through the hardware circuit of the hardware layer; therefore, the vehicle is controlled to start the limp home mode, and the wiper operation is controlled based on the target control signal; the vehicle can control the wiper directly through the hardware circuit instead of the software layer of the body control system; so that when the software of the body control system fails, the wiper can be controlled to remain in operation.
[0026] In combination with the first aspect and the above implementations, in some implementations of the first aspect, if the state information of the software layer indicates that the software layer is in a normal state, determining a target control signal of the wiper based on the detection result includes:
[0027] If the detection result indicates that the input signal is normal, the control signal of the first functional layer to the wiper is determined as the target control signal;
[0028] If the detection result indicates that the input signal is abnormal, the control signal of the second functional layer to the wiper is determined as the target control signal.
[0029] In an embodiment of the present application, if the detection result of the input signal indicates that the input signal is normal, that is, the current software layer and the input signal are both in a normal state, then the control signal of the first functional layer to the wiper is determined as the target control signal; if the detection result indicates that the input signal is abnormal, it means that the first functional layer cannot respond to the input signal and input the control instruction of the wiper; therefore, the control signal of the second functional layer to the wiper is determined as the target control signal; ensuring that the corresponding target control signal can be determined whether the input signal is normal or the input signal is abnormal.
[0030] In combination with the first aspect and the above implementations, in some implementations of the first aspect, detecting the input signal of the wiper to obtain the detection result includes:
[0031] When a start operation of a vehicle wiper is detected, determining whether an input signal of the wiper is received within a preset time period;
[0032] If the input signal is received within the preset time, the detection result is determined to be that the input signal is normal;
[0033] If no input signal from the wiper is received within a preset time period, the detection result is determined to be an abnormal input signal.
[0034] In an embodiment of the present application, when the start-up operation of the vehicle wiper is detected, it is determined whether the input signal of the wiper is received within a preset time period; if the input signal of the wiper is received within the preset time period, it indicates that the input signal of the wiper is transmitted normally; if the input signal of the wiper is not received within the preset time period, it indicates that the input signal is not transmitted to the vehicle body control system, that is, the input signal of the wiper is abnormal.
[0035] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the following further includes:
[0036] Determine a prompt level of the prompt information based on the detection result and / or the status information of the software layer;
[0037] Based on the prompt level, prompt information corresponding to the prompt level is output; wherein the prompt level of abnormal state information is higher than the prompt level of abnormal detection result.
[0038] In an embodiment of the present application, a prompt level of prompt information is determined based on the detection result and / or the status information of the software layer; that is, different detection results or different status information of the software layer correspond to different urgency of prompt information; and corresponding prompt information is output based on the prompt level; since the abnormal state of the software layer is more urgent than the abnormal input signal, the prompt level of the abnormal status information is higher than the prompt level of the abnormal detection result; by inputting prompt information of different prompt levels, the user can promptly understand the fault information of the vehicle wiper, so that the fault of the vehicle wiper can be repaired in time.
[0039] In combination with the first aspect and the above implementations, in some implementations of the first aspect, after controlling the operation of the wiper based on the target control signal, the method further includes:
[0040] If the detection result and / or the state information of the software layer changes, determining to update the target control signal based on the changed detection result and / or state information;
[0041] Based on the updated target control signal, the wiper operation is controlled.
[0042] In an embodiment of the present application, the detection result of the input signal and the status information of the software layer are acquired in real time; when the detection result and / or the status information of the software layer changes, the update target control signal is determined based on the changed detection result and / or status information; and based on the updated target control signal, the operation of the wiper is controlled; since controlling the wiper through the software layer is more flexible than controlling the wiper through the hardware layer, the control signal of the wiper is output through the software layer in priority; therefore, a target control signal with a higher priority is determined based on the real-time detection result and / or status information; thereby better controlling the operation of the wiper.
[0043] In a second aspect, a vehicle control device is provided, the device comprising:
[0044] A detection module, for detecting an input signal of the wiper to obtain a detection result when a start operation of the vehicle wiper is detected;
[0045] An acquisition module, used to acquire status information of a software layer of a body control system in a vehicle;
[0046] A determination module, used for determining a target control signal of the wiper based on the detection result and / or the status information of the software layer;
[0047] The control module is used for controlling the operation of the wiper based on the target control signal.
[0048] In a third aspect, a vehicle is provided, comprising a memory and a processor, wherein the memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0049] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0050] In a fifth aspect, a computer-readable storage medium is provided, which stores instructions. When the instructions are executed on a vehicle, the vehicle executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0052] Figure 2 It is a hierarchical architecture diagram of a vehicle body control system provided in an embodiment of the present application;
[0053] Figure 3 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;
[0054] Figure 4 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0055] Figure 5 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0056] Figure 6 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0057] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0060] In the prior art, as the number of electronic controllers installed in vehicles increases, the safety risks of the electronic and electrical system functions of the vehicles are also increasing. When the wipers of the vehicle are in operation, if there is a fault in the electronic and electrical system of the wipers, the wipers in operation will stop unexpectedly, which will affect the driving safety of the vehicle. Therefore, how to avoid the failure of the wiper function and ensure the driving safety of the vehicle is a technical problem that needs to be solved at present.
[0061] In view of this, the present application provides a vehicle control method, device and vehicle. Through the embodiments of the present application, the target control signal of the wiper is determined based on the detection result of the wiper input signal and / or the status information of the software layer, and the operation of the wiper is controlled based on the target control signal; ensuring that the wiper can be controlled to be in an operating state when the wiper input signal is abnormal or the software is abnormal.
[0062] Figure 1 It is a schematic diagram of a system architecture provided in an embodiment of the present application.
[0063] For example, Figure 1 As shown, the system architecture 100 of the vehicle wiper includes a wiper switch 110 , a vehicle body control system 120 and a wiper motor 130 .
[0064] Among them, the wiper switch 110 is used to respond to the driver's operation and send an output signal; the body control system 120 is used to receive the signal from the wiper switch, analyze the signal to determine the required wiper mode; control the wiper motor according to the analyzed signal, so that the wiper motor operates according to the mode selected by the driver; the wiper motor 130 is used to convert the rotational motion of the motor into the reciprocating motion of the wiper arm through the connecting rod mechanism, thereby realizing the wiper action.
[0065] Exemplarily, when the user controls the wiper to start by using the wiper switch 110, the wiper switch 110 generates an input signal and transmits the input signal to the body control system 120; the body control system 120 generates an output signal based on the input signal, and transmits the output signal to the wiper motor 130, thereby controlling the wiper arm of the wiper to realize the wiping action through the wiper motor.
[0066] It should be noted that the Central Electronic Module (CEM) is the core component of the body control system; it is responsible for managing and coordinating the various functional modules of the body control system. Therefore, the above-mentioned input signal transmitted to the body control system can be understood as the input signal transmitted to the central electronic control module in the body control system. The wiper relay is usually located between the central electronic control module and the wiper motor, and is used to control the current flow to the wiper motor; when the central electronic control module receives the signal from the wiper switch, it controls the contact of the wiper relay to close or open, thereby controlling the current flow to the wiper motor.
[0067] For example, the wiper switch is usually located on a control lever near the steering wheel of the vehicle, and is operated by the driver to control different wiper modes, such as off, intermittent, slow and fast; the input signal of the wiper switch can be a digital signal or an analog signal; wherein the digital signal uses binary coding to represent different operating modes, such as encoding different modes by a combination of high and low levels; the analog signal refers to representing different operating modes by changes in voltage or current. After receiving these signals, the body control system or the central electronic control module determines the corresponding output signal according to the type and content of the signal to control the action of the wiper motor. For example, when the body control system receives a signal indicating a slow mode, it controls the wiper motor to run at a slower speed.
[0068] Figure 2 It is a hierarchical architecture diagram of a vehicle body control system provided in an embodiment of the present application.
[0069] For example, Figure 2 As shown, the body control system includes a functional layer, a functional safety layer and a hardware safety layer; wherein the functional layer and the functional safety layer are the software layers of the body control system; and the hardware safety layer is the hardware layer of the body control system.
[0070] Exemplarily, the functional layer represents the level of wiper function modules normally used by users; if the input signal of the wiper switch is normal, the wiper operation is controlled by the drive wiper signal L1 output by the functional layer; the functional safety layer is used to detect the input signal of the wiper switch, and determine the output signal according to the detection result; if the input signal of the wiper switch is detected to be abnormal, the wiper operation is controlled by the drive wiper signal L2 output by the functional safety layer; the hardware safety layer is used to detect the status of the software layer of the body control system, and determine the output signal according to the status of the software layer; if the status of the software layer indicates that both the functional layer and the functional safety layer are abnormal, the closed wiper relay signal L3 is output through the hardware safety layer to control the wiper operation.
[0071] Below Figures 3 to 5 The vehicle control method provided in the embodiment of the present application is described in detail.
[0072] Figure 3 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.
[0073] For example, Figure 3 The method 300 shown may be performed by Figure 1 It can be executed by the body control system in the vehicle; or it can be executed by the central electronic control module in the body control system; or it can be executed by a processor or chip in the vehicle.
[0074] like Figure 3 As shown, the vehicle control method 300 includes S310 to S340, and S310 to S340 are described in detail below.
[0075] S310, when a start operation of a vehicle wiper is detected, an input signal of the wiper is detected to obtain a detection result.
[0076] Exemplarily, the wiper start operation is triggered by a combination switch of the vehicle; for example, the wiper start is controlled by turning a lever on the right side of the steering wheel.
[0077] In one implementation, the input signal of the wiper is detected to obtain a detection result, including:
[0078] When a start operation of a vehicle wiper is detected, determining whether an input signal of the wiper is received within a preset time period;
[0079] If the input signal is received within the preset time, the detection result is determined to be that the input signal is normal;
[0080] If no input signal from the wiper is received within a preset time period, the detection result is determined to be an abnormal input signal.
[0081] Among them, input signal abnormalities include: the wiper switch fails to send input signals, the input signal is lost, the signal transmission link between the wiper switch and the body control system fails, etc.; by judging whether the body control system receives the input signal, the input signal is detected to obtain a detection result; the detection result is used to determine whether the input signal is in a normal state.
[0082] Exemplarily, the status information of the wiper switch is detected in real time; if the wiper start operation is detected, that is, the wiper switch changes from an off state to an on state, it is determined whether the central electronic control module of the body control system receives the input signal of the wiper within a preset time period; if the input signal is received, it indicates that there is no fault in the signal transmission process from the wiper switch to the body control system, that is, the input signal is normal; if the wiper input signal is not received, it indicates that the input signal is abnormal.
[0083] Exemplarily, in order to avoid the influence of the jitter generated by the mechanical switch or button operation on the signal detection, the preset duration in this scheme includes the anti-jitter time threshold and the signal time threshold; wherein the anti-jitter time threshold is used to eliminate the influence of the wiper switch jitter, and the signal time threshold is used to determine whether the input signal is abnormal. For example, if the anti-jitter time threshold is 50ms (milliseconds) and the signal time threshold is 150ms; then the preset duration is 200ms; when the wiper input signal is not received within 200ms after the vehicle wiper is detected to be started, it is determined that the detection result is that the input signal is abnormal.
[0084] It should be noted that in electronic systems, mechanical switches or key operations will produce jitter, that is, the switch state will change repeatedly in a short period of time. Anti-jitter technology is used to eliminate the impact of this jitter to ensure that the system can correctly identify the true state of the switch. In order to eliminate the impact of jitter, the system will wait for a period of time (anti-jitter time threshold) after detecting the switch state change before confirming the state to avoid misjudgment of the input signal detection result.
[0085] S320, obtaining status information of a software layer of a body control system in the vehicle.
[0086] Among them, the vehicle's body control system (BCS) is used to manage and control the electronic systems of various non-power systems of the vehicle; it is responsible for coordinating and managing various functions of the vehicle, such as lights, wipers, windows, door locks, anti-theft systems, etc.
[0087] Exemplarily, the status information of the software layer is used to determine whether the software layer of the body control system is in a normal state; the status information of the software layer can be obtained by adding an exception handling mechanism in the software layer, and the exception handling mechanism is used to capture and record abnormal information during the operation of the software layer. When the exception handling mechanism is triggered, it indicates that the software layer may be in an abnormal state; or the performance indicators of the software layer during operation can be monitored, such as response time; when an abnormal decrease in performance indicators is detected, it is determined that the software layer is in an abnormal state; or the operating data of the software layer can be collected and analyzed through specific external monitoring tools or systems to determine the status information of the software layer.
[0088] It should be noted that the above is an example of obtaining status information of the software layer, and this application does not make any specific limitation to this.
[0089] S330, determining a target control signal for the wiper based on the detection result and / or the status information of the software layer.
[0090] In one implementation, determining a target control signal for a wiper based on a detection result and / or state information of a software layer includes:
[0091] If the state information of the software layer indicates that the software layer is in an abnormal state, determining a target functional layer in the software layer that is in an abnormal state; and determining a target control signal for the wiper based on the target functional layer;
[0092] If the state information of the software layer indicates that the software layer is in a normal state, a target control signal of the wiper is determined based on the detection result.
[0093] The software layer in the vehicle body control system includes a first functional layer and a second functional layer, the second functional layer and the first functional layer are redundant with each other; the first functional layer corresponds to Figure 2 The second functional layer corresponds to Figure 2 Functional safety layer in .
[0094] Exemplarily, the abnormal state of the software layer includes but is not limited to program scheduling errors, software deadlock, system configuration errors, etc.; among which, program scheduling errors refer to errors caused by design or implementation problems of the program scheduling mechanism in a multi-tasking or concurrent environment, usually involving issues such as task allocation, execution order, and resource competition; software deadlock refers to a blocking phenomenon caused by competition for resources or communication between two or more processes during execution; system configuration errors refer to improper settings of system configuration files, which result in the system being unable to run as expected.
[0095] Exemplarily, since the software layer includes a first functional layer and a second functional layer, if the status information of the software layer indicates that the software layer is in an abnormal state, there are multiple possible situations: the first functional layer in the software layer is in an abnormal state, or the second functional layer is in an abnormal state, or the first functional layer and the second functional layer are in an abnormal state; in different situations, the determined output signal is different, that is, the target control signal of the wiper is different; therefore, it is necessary to determine the target control signal of the wiper according to the functional layer in the abnormal state; if the status information of the software layer is in a normal state, indicating that the software of the vehicle body control system is normal, the target control signal of the wiper is determined according to the detection result of the input signal of the wiper.
[0096] Therefore, when determining the target control signal of the wiper based on the detection results and / or the status information of the software layer, there are two possible situations: Situation 1 is that if the software layer is in an abnormal state, the target control signal of the wiper is determined based on the target function layer; Situation 2 is that if the software layer is in a normal state, the target control signal of the wiper is determined based on the detection result of the input signal; these two situations are described in detail below.
[0097] Case 1: If the software layer is in an abnormal state, the target control signal of the wiper is determined based on the target function layer.
[0098] In one implementation, determining a target control signal for a wiper based on the target function layer includes:
[0099] If the target functional layer is the first functional layer, the control signal of the second functional layer on the wiper is determined as the target control signal;
[0100] If the target functional layer is the second functional layer, the control signal of the first functional layer to the wiper is determined as the target control signal;
[0101] If the target functional layer is the first functional layer and the second functional layer, the control signal of the hardware layer to the wiper is determined as the target control signal.
[0102] Exemplarily, the vehicle body control system includes a hardware layer, which is used to output a target control signal when both the first function layer and the second function layer in the software layer are abnormal; the hardware layer corresponds to Figure 2 Hardware security layer in .
[0103] Exemplarily, since the first functional layer and the second functional layer in the software layer are redundant backups for each other, if the target functional layer in an abnormal state is the first functional layer, it means that the control signal of the wiper cannot be output through the first functional layer; the control signal of the wiper from the second functional layer is determined as the target control signal. If the target functional layer in an abnormal state is the second functional layer, it means that the control signal of the wiper cannot be output through the second functional layer; the input signal of the wiper from the first functional layer is determined as the target control signal. When both the first functional layer and the second functional layer are in an abnormal state and the target control signal cannot be output through the software layer, the control signal of the wiper from the hardware layer is determined as the target control signal.
[0104] It should be noted that there are two control methods when controlling the operation of the wiper: one is to control the operation of the wiper through the control signal output by the software layer; the other is that the hardware layer directly drives the physical hardware (such as relays, transistors, etc.) to control the operation of the wiper motor. When the wiper is driven by the software layer, it can be centrally managed and coordinated through the central electronic control module; therefore, the wiper is more flexible when controlled by software, for example, the operating speed of the wiper can be automatically adjusted according to the amount of rain, and it is convenient for maintenance and diagnosis. When the wiper is driven by the hardware layer, the current of the motor is directly controlled by electronic components to achieve control of the wiper. Since the flexibility of the software layer control is higher than that of the hardware layer control, the priority of controlling the operation of the wiper through the target control signal of the software layer is higher than that of controlling the operation of the wiper through the target control signal of the hardware layer. However, in the case of a software layer failure (such as a program scheduling error, software deadlock, etc.), the wiper will stop unexpectedly, which poses a hidden danger to the driving safety of the vehicle; since the hardware layer uses electronic components to control the current of the motor to achieve control of the wiper, the control of the wiper through the hardware layer will not be affected by the software layer. Therefore, when both the first functional layer and the second functional layer in the software layer fail, the hardware layer is used to control the wiper to be in operation.
[0105] Case 2: If the software layer is in a normal state, the target control signal of the wiper is determined based on the detection result of the input signal.
[0106] In one implementation, if the state information of the software layer indicates that the software layer is in a normal state, determining a target control signal of the wiper based on the detection result includes:
[0107] If the detection result indicates that the input signal is normal, the control signal of the first functional layer to the wiper is determined as the target control signal;
[0108] If the detection result indicates that the input signal is abnormal, the control signal of the second functional layer to the wiper is determined as the target control signal.
[0109] For example, if the detection result of the input signal indicates that the input signal is normal, that is, the current software layer and the input signal are both in a normal state, the control signal of the first functional layer to the wiper is determined as the target control signal; if the detection result indicates that the input signal is abnormal, it means that the first functional layer cannot generate the corresponding target control signal according to the input signal; therefore, the control signal of the second functional layer to the wiper is determined as the target control signal. It is ensured that the corresponding target control signal can be determined in the case that the input signal is normal or the input signal is abnormal.
[0110] Optionally, the signal transmission link from the wiper switch to the first functional layer and the transmission link from the wiper switch to the second functional layer can be different transmission links; ensuring that when the input signal is abnormal due to an abnormality in the transmission link, the second functional layer can receive the input signal of the wiper switch.
[0111] It should be noted that the abnormal input signal does not affect the software layer of the body control system; therefore, when the software layer is normal and the abnormal input signal causes the first functional layer to be unable to respond to the wiper start operation, the second functional layer responds to the wiper start operation, and the second functional layer determines the control signal of the wiper as the target control signal; since some functions of the wiper can only be realized through the software layer (for example, automatically adjusting the wiper operating speed); therefore, when the input signal is abnormal, this scheme determines the output signal of the second functional layer as the target control signal. Compared with directly controlling the closure of the wiper relay through the hardware layer, it can ensure to the greatest extent that the functions that can be realized by the software layer will not be affected.
[0112] In the embodiment of the present application, the input signal of the wiper and the status information of the software layer are monitored through the three-layer architecture of the body control system; when a certain layer fails, there are corresponding subsequent layers to ensure that the normal function will not fail, avoiding unexpected stop of the wiper; the reliability of the central electronic control module of the body control system is improved through software and hardware redundancy. From the perspective of developers, only one layer in the three-layer architecture needs to be paid attention to during development, and the division of the three-layer architecture is conducive to the maintenance of the later software function modules; from the perspective of users: when the wiper function is abnormal, the wiper will not stop immediately, ensuring the driving safety of the vehicle.
[0113] S340, controlling the operation of the wiper based on the target control signal.
[0114] Exemplarily, the central electronic control module of the vehicle body control system determines the corresponding target control signal according to the type and content of the signal, and sends the target control signal to the wiper motor to control the operation of the wiper motor and drive the wiper arm to rotate.
[0115] In one implementation, if the target control signal is a control signal of a wiper at a hardware layer, the vehicle is controlled to start a limp home mode; wherein the limp home mode is used to indicate that the vehicle controls a hardware device through a hardware circuit;
[0116] Based on the target control signal, the wiper operation is controlled by the hardware circuit of the hardware layer.
[0117] For example, Limp Home Mode, also known as Fault Drive Mode, is a vehicle self-protection mechanism. When the vehicle's control system detects a fault in the vehicle that may affect safety or cause serious damage, it will automatically limit engine performance and some functions of the transmission, allowing the vehicle to drive at reduced performance; when the vehicle is in Limp Home Mode, the vehicle can directly control hardware devices through hardware circuits.
[0118] It should be noted that the implementation principle of the hardware layer is to set a chip with a limp home function in the controller hardware and implement monitoring by increasing hardware redundancy. The whole monitoring idea is to avoid abnormal working conditions through the software layer first; when the first and second functional layers in the software layer fail at the same time, the hardware layer is used for monitoring, and finally the wiper function failure is prevented through the coordination of software and hardware.
[0119] In an embodiment of the present application, if the target control signal is a control signal of the wiper at the hardware layer, it means that the wiper needs to be controlled through the hardware circuit of the hardware layer; therefore, the vehicle is controlled to start the limp home mode, and the wiper operation is controlled based on the target control signal; the vehicle is able to control the wiper directly through the hardware circuit instead of outputting the control signal through the software layer of the body control system; so that when the software of the body control system fails, the wiper can be controlled to remain in operation.
[0120] In one implementation, the method further includes:
[0121] Based on the detection result and / or the status information of the software layer, determine the prompt level of the prompt information; based on the prompt level, output the prompt information corresponding to the prompt level; wherein the prompt level of the abnormal status information is higher than the prompt level of the abnormal detection result.
[0122] Exemplarily, the prompt level of the prompt information is determined based on the detection result and / or the status information of the software layer; that is, different detection results or different status information of the software layer correspond to different urgency of the prompt information; and the corresponding prompt information is output based on the prompt level; since the abnormal state of the software layer is more urgent than the abnormal input signal, the prompt level of the abnormal status information is higher than the prompt level of the abnormal detection result; by inputting prompt information of different prompt levels, the user can promptly understand the fault information of the vehicle wiper, so that the fault of the vehicle wiper can be repaired in time.
[0123] For example, the wiper icon is displayed on the vehicle's central control screen; if the detection result of the input signal is abnormal, the wiper icon flashes; if the status information of the software layer is abnormal, a preset prompt sound is output while the wiper icon flashes.
[0124] It should be noted that the above is an example of the prompt information, and the present application does not specifically limit the form of outputting the prompt information.
[0125] In one implementation, after controlling the wiper to operate based on the target control signal, the method further includes:
[0126] If the detection result and / or the status information of the software layer changes, an updated target control signal is determined based on the changed detection result and / or status information; and the wiper operation is controlled based on the updated target control signal.
[0127] Exemplarily, the detection result of the input signal and the status information of the software layer are acquired in real time; when the detection result and / or the status information of the software layer changes, an update target control signal is determined based on the changed detection result and / or status information; and based on the updated target control signal, the wiper operation is controlled.
[0128] For example, when a start operation on the wiper is detected, the status information of the software layer indicates that there are abnormalities in the first functional layer and the second functional layer, then the vehicle's limp home mode is turned on and the hardware layer's control signal for the wiper is determined as the target control signal; if in subsequent detections the first functional layer and the second functional layer return to normal and the input signal is normal, then the vehicle's limp home mode is turned off and the first functional layer's control signal for the wiper is determined as the target control signal.
[0129] For example, since controlling the wiper through the software layer is more flexible than controlling the wiper through the hardware layer, the control signal of the wiper is output through the software layer in priority; therefore, it is necessary to determine a target control signal with a higher priority based on real-time detection results and / or status information, so as to better control the operation of the wiper.
[0130] In the above embodiment, the input signal of the vehicle wiper is detected to obtain the detection result of the input signal; and the status information of the body controller software layer is obtained; based on the detection result and the status information of the software layer, the target control signal of the wiper is determined; since the detection result is used to determine whether the input signal is in a normal state, the status information of the software layer is used to determine whether the software layer of the body control system is in a normal state; therefore, based on the detection result and / or the status information, the target control signal is determined to ensure that the corresponding target control signal can be obtained under different detection results and different status information; that is, when the wiper input signal is abnormal or the software of the body control system is abnormal, the corresponding target control signal can be generated, and the wiper operation is controlled based on the target control signal; thereby avoiding the function failure of the wiper and ensuring the driving safety of the vehicle.
[0131] Figure 4 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0132] Figure 4 The method 400 shown may be performed by Figure 1 It can be executed by the body control system in the vehicle; or it can be executed by the central electronic control module in the body control system; or it can be executed by a processor or chip in the vehicle.
[0133] like Figure 4 As shown, the vehicle control method 400 includes S401 to S412, and S401 to S412 are described in detail below.
[0134] S401, detecting a start operation of the wiper.
[0135] Exemplarily, the start operation of the wiper may be triggered by a combination switch of the vehicle; for example, the wiper may be started by turning a lever on the right side of the steering wheel.
[0136] For example, if the wiper is equipped with a rain sensing function so that the vehicle can automatically control the start of the wiper according to the amount of rain, the start operation of the wiper may be a detected start signal of the wiper.
[0137] S402, detecting the input signal to obtain a detection result.
[0138] Exemplarily, when the wiper start operation is detected, the wiper input signal is detected to determine whether the wiper input signal is received within a preset time period; if the wiper input signal is received within the preset time period, it indicates that there is no fault in the signal transmission process from the wiper switch to the vehicle body control system, that is, the input signal is normal; if the wiper input signal is not received, it indicates that the input signal is abnormal.
[0139] Optionally, the implementation of S401 and S402 can refer to Figure 3 The relevant description of S310 is not repeated here.
[0140] S403, obtaining status information of the software layer in the vehicle body control system.
[0141] Exemplarily, the software layer of the vehicle body control system includes a first functional layer and a second functional layer; and the first functional layer and the second functional layer are redundant with each other; obtaining status information of the software layer of the vehicle body control system includes obtaining status information of the first functional layer and status information of the second functional layer.
[0142] Optionally, the implementation of S403 can refer to Figure 3 The relevant description of S320 is not repeated here.
[0143] S404, whether the status information indicates that the software layer is in a normal state; if so, execute S405; if not, execute S408.
[0144] Exemplarily, determine whether the status information indicates that the software layer is in a normal state; if the software layer is in a normal state, determine the target control signal based on whether the input signal is normal; if the software layer is in an abnormal state, determine the target control signal based on the target functional layer in the abnormal state.
[0145] S405, whether the input signal is normal; if so, execute S406; if not, execute S407.
[0146] Exemplarily, it is determined whether the input signal is normal; if the input signal is normal, the control signal of the first functional layer is determined as the target control signal; if the input signal is abnormal, the control signal of the second functional layer is determined as the target control signal.
[0147] S406: Determine the control signal of the first functional layer as the target control signal.
[0148] Exemplarily, since the target functional layer is the wiper function module level normally used by the user, when the software layer is in a normal state and the input signal is normal, the first functional layer is determined as the target control signal.
[0149] S407, determining the control signal of the second functional layer as the target control signal.
[0150] Exemplarily, since the second functional layer and the first functional layer are redundant, when the software layer is in a normal state and the input signal is abnormal, the first functional layer cannot respond to the start operation of the wiper; therefore, the start operation of the wiper is responded to through the second functional layer, and the control signal of the second functional layer is determined as the target control signal.
[0151] Optionally, the implementation of S406 and S407 can be found in Figure 3 The relevant description of situation 2 in S330 is omitted here.
[0152] S408, determining the target functional layer that is in an abnormal state.
[0153] Exemplarily, the software layer being in an abnormal state includes three situations: the first functional layer in the software layer is in an abnormal state, the second functional layer in the software layer is in an abnormal state, and the first functional layer and the second functional layer of the software layer are in an abnormal state; the target functional layers in the abnormal state are different, and the corresponding target control signals are different.
[0154] S409, determining a target control signal based on the target functional layer.
[0155] Exemplarily, if the target functional layer is the first functional layer, the control signal of the second functional layer is determined as the target control signal; if the target functional layer is the second functional layer, the control signal of the first functional layer is determined as the target control signal; if the target functional layer is the first functional layer and the second functional layer, the control signal of the hardware layer is determined as the target control signal.
[0156] It should be noted that since controlling the wiper through the software layer is more flexible, convenient for maintenance and diagnosis, and can adjust the operating speed of the wiper according to the amount of rain, therefore, the operation of the wiper is preferentially controlled through the control signal of the software layer; when the first functional layer and the second functional layer in the software layer are both in an abnormal state, the wiper is controlled to be in an operating state through the control signal of the hardware layer, which can ensure the flexibility of the wiper to the greatest extent.
[0157] Optionally, the implementation of S408 and S409 can refer to Figure 3 The relevant description of situation 1 in S330 is omitted here.
[0158] S410, controlling the operation of the wiper based on the target control signal.
[0159] Exemplarily, the body control system or the central electronic control module determines the corresponding target control signal according to the type and content of the signal, and sends the target control signal to the wiper motor to control the operation of the wiper motor and drive the wiper arm to rotate.
[0160] Optionally, the implementation of S410 can refer to Figure 3 The relevant description of S340 is not repeated here.
[0161] S411, determining a prompt level corresponding to the target control signal.
[0162] Exemplarily, a prompt level corresponding to the target control signal is determined; wherein the prompt level of an abnormal detection result is higher than the prompt level of an abnormal status information.
[0163] S412: Output prompt information corresponding to the prompt level.
[0164] Exemplarily, the output prompt information may be a flashing wiper icon displayed on the central control screen, or a pop-up message indicating an abnormality, or a prompt sound; the prompt level is used to indicate the urgency of the prompt; the higher the prompt level, the higher the urgency of the prompt.
[0165] In an embodiment of the present application, a target control signal for the wiper is determined based on the detection result and the status information of the software layer; when the software layer is in a normal state, the target control signal is determined according to the detection result of the input signal; when the software layer is in an abnormal state, the target control signal is determined according to the target function layer in the abnormal state; ensuring that the corresponding target control signal can be obtained under different detection results and different status information; that is, regardless of whether the wiper input signal is abnormal or the software of the body control system is abnormal, the corresponding target control signal can be generated to avoid failure of the wiper function and ensure the driving safety of the vehicle; and output prompt information corresponding to the target control signal; allowing users to promptly understand the fault information of the vehicle wiper, so that they can promptly repair the fault of the vehicle wiper.
[0166] Figure 5 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0167] Figure 5 The method 500 shown may be performed by Figure 1 It can be executed by the body control system in the vehicle; or it can be executed by the central electronic control module in the body control system; or it can be executed by a processor or chip in the vehicle.
[0168] like Figure 5 As shown, the vehicle control method 500 includes S501 to S509, and S501 to S509 are described in detail below.
[0169] S501, detecting a start operation of the wiper.
[0170] Optionally, the implementation of S501 can refer to Figure 4 The relevant description of S401 in FIG. 1 is omitted here.
[0171] S502, detecting the input signal to obtain a detection result.
[0172] Optionally, the implementation of S502 can refer to Figure 4 The relevant description of S402 is not repeated here.
[0173] S503, obtaining status information of the software layer in the vehicle body control system.
[0174] For example, the implementation of S503 can be found in Figure 4 The relevant description of S403 is not repeated here.
[0175] It should be noted that the detection of the input signal and the acquisition of the status information of the software layer in the vehicle body control system can be performed simultaneously; and the target control signal is determined based on the detection result of the input signal and the status information of the software layer.
[0176] S504: If the software layer is in a normal state and the input signal is in a normal state, determine the control signal of the first functional layer as a target control signal.
[0177] Exemplarily, if the software layer is in a normal state and the input signal is in a normal state, it means that there is no fault in the vehicle currently, and therefore, the control signal of the first functional layer is determined as the target control signal.
[0178] S505: If the software layer is in a normal state and the input signal is in an abnormal state, the control signal of the second functional layer is determined as the target control signal.
[0179] Exemplarily, if the software layer is in a normal state and the input signal is in an abnormal state, it means that the first functional layer cannot generate a corresponding target control signal based on the input signal; therefore, the control signal of the wiper by the second functional layer is determined as the target control signal.
[0180] S506: If the first functional layer in the software layer is in an abnormal state, determine the control signal of the second functional layer as the target control signal.
[0181] Exemplarily, when the first functional layer in the software layer is in an abnormal state, the first functional layer cannot generate a corresponding target control signal regardless of whether the input signal is normal or abnormal; therefore, the second functional layer is determined as the target control signal.
[0182] S507: If the second functional layer in the software layer is in an abnormal state, determine the control signal of the first functional layer as the target control signal.
[0183] Exemplarily, when the second functional layer in the software layer is in an abnormal state, it means that the control signal of the wiper cannot be output through the second functional layer; the input signal of the first functional layer to the wiper is determined as the target control signal.
[0184] Optionally, when the second functional layer in the software layer is in an abnormal state, the target control signal is determined in combination with the detection result of the input signal; if the input signal is in a normal state, the input signal of the first functional layer to the wiper is determined as the target control signal; if the input signal is in an abnormal state, the control signal of the hardware layer is determined as the target control signal.
[0185] S508: If the first and second function layers in the software layer are in an abnormal state, determine the control signal of the hardware layer as the target control signal.
[0186] For example, when both the first and second functional layers are in abnormal states, the target control signal cannot be output through the software layer; because the hardware layer uses electronic components to control the current of the motor to achieve control of the wiper, the control of the wiper through the hardware layer will not be affected by the software layer. Therefore, when both the first and second functional layers in the software layer are faulty, the hardware layer is used to control the wiper to be in operation.
[0187] S509, controlling the operation of the wiper based on the target control signal.
[0188] Optionally, the implementation of S509 can refer to Figure 4 The relevant description of S410 is not repeated here.
[0189] Combination of the above Figures 1 to 5 The vehicle control method provided by the embodiment of the present application is described in detail; Figure 6 and Figure 7 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0190] Figure 6 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0191] For example, Figure 6 As shown, the vehicle control device 600 includes:
[0192] The detection module 610 is used to detect the input signal of the wiper when the start operation of the vehicle wiper is detected to obtain the detection result;
[0193] An acquisition module 620 is used to acquire status information of a software layer of a body control system in a vehicle;
[0194] A determination module 630, configured to determine a target control signal for a wiper based on the detection result and / or the state information of the software layer;
[0195] The control module 640 is used to control the operation of the wiper based on the target control signal.
[0196] Optionally, as an embodiment, the determination module 630 is specifically used to: if the status information of the software layer indicates that the software layer is in an abnormal state, determine the target functional layer in the software layer that is in an abnormal state; based on the target functional layer, determine the target control signal of the wiper; if the status information of the software layer indicates that the software layer is in a normal state, determine the target control signal of the wiper based on the detection result.
[0197] Optionally, as an embodiment, the determination module 630 is specifically configured to: if the target functional layer is the first functional layer, determine the control signal of the second functional layer on the wiper as the target control signal;
[0198] If the target functional layer is the second functional layer, the control signal of the first functional layer to the wiper is determined as the target control signal;
[0199] If the target functional layer is the first functional layer and the second functional layer, the control signal of the hardware layer to the wiper is determined as the target control signal.
[0200] Optionally, as an embodiment, the control module 640 is specifically used to: control the vehicle to start a limp home mode; wherein the limp home mode is used to indicate that the vehicle controls a hardware device through a hardware circuit; based on a target control signal, control the wiper operation through a hardware circuit of the hardware layer.
[0201] Optionally, as an embodiment, the determination module 630 is specifically used to: if the detection result indicates that the input signal is normal, determine the control signal of the first functional layer to the wiper as the target control signal; if the detection result indicates that the input signal is abnormal, determine the control signal of the second functional layer to the wiper as the target control signal.
[0202] Optionally, as an embodiment, the detection module 610 is specifically used to: when detecting the start operation of the vehicle wiper, determine whether the input signal of the wiper is received within a preset time length; if the input signal is received within the preset time length, determine that the detection result is that the input signal is normal; if the input signal of the wiper is not received within the preset time length, determine that the detection result is that the input signal is abnormal.
[0203] Optionally, as an embodiment, it also includes an output module; the output module is specifically used to: determine the prompt level of the prompt information based on the detection results and / or the status information of the software layer; based on the prompt level, output the prompt information corresponding to the prompt level; wherein, the prompt level of the abnormal status information is higher than the prompt level of the abnormal detection result.
[0204] Optionally, as an embodiment, the determination module 630 is further used to: if the detection result and / or the state information of the software layer changes, determine to update the target control signal based on the changed detection result and / or state information;
[0205] The control module 640 is further configured to control the operation of the wiper based on the updated target control signal.
[0206] It should be noted that the above vehicle control device is embodied in the form of a functional unit. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0207] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0208] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0209] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0210] Exemplarily, vehicle 700 includes: a processor 710 , a memory 720 , and executable program code 730 .
[0211] Exemplarily, the vehicle 700 includes one or more processors 710, which can support the vehicle 700 to implement the vehicle control method in the method embodiment. The processor 710 can be a general-purpose processor or a special-purpose processor. For example, the processor 710 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0212] Exemplarily, the processor 710 may be used to control the vehicle 700, execute software programs, and process data of the software programs. The vehicle 700 may also include a communication unit to implement input (reception) and output (transmission) of signals.
[0213] Exemplarily, the vehicle 700 may include one or more memories 720 on which executable program code 730 is stored. The executable program code 730 can be executed by the processor 710 to generate instructions so that the processor 710 executes the vehicle control method described in the above method embodiment according to the instructions.
[0214] Optionally, data may be stored in the memory 720. Optionally, the processor 710 may read data stored in the memory 720, which may be stored at the same storage address as the executable program code 730, or may be stored at a different storage address from the executable program code 730.
[0215] Exemplarily, the processor 710 and the memory 720 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0216] Exemplarily, the memory 720 can be used to store relevant programs of the vehicle control method provided in the embodiment of the present application, and the processor 720 can be used to call the executable program code 730 stored in the memory 720 when controlling the vehicle to execute the vehicle control method of the embodiment of the present application; for example, when a start operation of the vehicle wiper is detected, the input signal of the wiper is detected to obtain a detection result; the status information of the software layer of the body control system in the vehicle is obtained; based on the detection result and / or the status information of the software layer, the target control signal of the wiper is determined; based on the target control signal, the operation of the wiper is controlled.
[0217] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the vehicle control method of any of the aforementioned embodiments.
[0218] Among them, computer-readable storage media may include but are not limited to any type of disk, including floppy disks, optical disks, digital versatile disks (Digital Video Disc, DVD), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), microdrives and magneto-optical disks, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read only memory (Electrically Erasable Programmable read only memory, EEPROM), dynamic random access memory (Dynamic Random Access Memory, DRAM), video random access memory (Video Random Access Memory, VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0219] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle control method in the above-mentioned embodiment.
[0220] In addition, the electronic device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the electronic device may include a connected processor and a memory; wherein the memory is used to store instructions, and when the electronic device is running, the processor may call and execute instructions so that the chip executes a vehicle control method in the above-mentioned embodiments.
[0221] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding vehicle control method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding vehicle control method provided above, and will not be repeated here.
[0222] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0223] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0224] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: When a start operation of a vehicle wiper is detected, an input signal of the wiper is detected to obtain a detection result; Obtaining status information of the software layer of the body control system in the vehicle; Determining a target control signal for the wiper based on the detection result and / or the state information of the software layer; Based on the target control signal, the wiper is controlled to operate.
2. The method according to claim 1, characterized in that The software layer includes a first functional layer and a second functional layer, and the second functional layer and the first functional layer are redundant with each other; The determining the target control signal of the wiper based on the detection result and / or the state information of the software layer includes: If the state information of the software layer indicates that the software layer is in an abnormal state, determining a target functional layer in the software layer that is in an abnormal state; and determining the target control signal of the wiper based on the target functional layer; If the status information of the software layer indicates that the software layer is in a normal state, the target control signal of the wiper is determined based on the detection result.
3. The method according to claim 2, characterized in that The vehicle body control system includes a hardware layer; The step of determining the target control signal of the wiper based on the target functional layer includes: If the target functional layer is the first functional layer, determining the control signal of the second functional layer on the wiper as the target control signal; If the target functional layer is the second functional layer, determining the control signal of the first functional layer on the wiper as the target control signal; If the target functional layer is the first functional layer and the second functional layer, the control signal of the hardware layer to the wiper is determined as the target control signal.
4. The method according to claim 3, characterized in that: If the target control signal is a control signal of the hardware layer to the wiper, the method further includes: Controlling the vehicle to start a limp home mode; wherein the limp home mode is used to indicate that the vehicle controls a hardware device through a hardware circuit; The step of controlling the wiper to operate based on the target control signal comprises: Based on the target control signal, the wiper operation is controlled by the hardware circuit of the hardware layer.
5. The method according to claim 2, characterized in that: If the state information of the software layer indicates that the software layer is in a normal state, determining the target control signal of the wiper based on the detection result includes: If the detection result indicates that the input signal is normal, determining the control signal of the first functional layer on the wiper as the target control signal; If the detection result indicates that the input signal is abnormal, the control signal of the second functional layer on the wiper is determined as the target control signal.
6. The method according to claim 1, characterized in that The step of detecting the input signal of the wiper to obtain a detection result includes: When a start operation of the vehicle wiper is detected, determining whether an input signal of the wiper is received within a preset time period; If the input signal is received within the preset time period, determining that the detection result is that the input signal is normal; If the input signal of the wiper is not received within the preset time period, it is determined that the detection result is that the input signal is abnormal.
7. The method according to any one of claims 1 to 6, characterized in that Also includes: Determining a prompt level of prompt information based on the detection result and / or the status information of the software layer; Based on the prompt level, prompt information corresponding to the prompt level is output; wherein the prompt level of the abnormal state information is higher than the prompt level of the abnormal detection result.
8. The method according to any one of claims 1 to 6, characterized in that After controlling the wiper to operate based on the target control signal, the method further includes: If the detection result and / or the state information of the software layer changes, determining to update the target control signal based on the changed detection result and / or the state information; Based on the updated target control signal, the wiper operation is controlled.
9. A vehicle control device, characterized in that: The device comprises: A detection module, for detecting an input signal of the wiper to obtain a detection result when a start operation of the vehicle wiper is detected; An acquisition module, used to acquire status information of a software layer of a body control system in a vehicle; a determination module, configured to determine a target control signal for the wiper based on the detection result and / or the state information of the software layer; A control module is used to control the operation of the wiper based on the target control signal.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory so that the vehicle executes the method as claimed in any one of claims 1 to 8.
