CN-121973711-A - Vehicle control method and device, storage medium and electronic equipment
Abstract
The invention provides a vehicle control method, a vehicle control device, a storage medium and electronic equipment, which are applied to the technical field of vehicle electronics. According to the invention, through monitoring the node states of the controllers in different physical areas and the switch enabling states of the target external loads in real time, when the controller is lost and the load is enabled, the limp mode interface is automatically started, so that the normal controller is prompted to output a limp mode hard wire signal to the fault controller, backup interconnection is realized, the redundancy and reliability of control are improved, then the limp mode driving enabling signal is generated by combining the hard wire signal and the fault safety signal, the external driving chip is driven to control the target external load, and the external load is ensured to still reliably work under the critical fault condition, thereby improving the load driving reliability under the vehicle limp mode and ensuring the driving safety.
Inventors
- WANG JIAQI
Assignees
- 北京经纬恒润科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260325
Claims (10)
- 1. A vehicle control method characterized by comprising: Detecting whether a node loss exists in a first physical area controller and a second physical area controller of a vehicle under the condition that the vehicle enters a limp-home mode, and detecting whether a switch state of a target external load is an enabling state; When the first physical area controller or the second physical area controller has node loss and the switch state of the target external load is an enabling state, respectively calling limp mode interfaces of the first physical area controller and the second physical area controller through Ethernet so as to output a limp mode hard line signal to the first physical area controller by the second physical area controller when the first physical area controller has node loss; after the first physical area controller or the second physical area controller receives the limp-home hard-wire signal, combining the limp-home hard-wire signal with a fail-safe signal output by the physical area controller with node loss, and obtaining a limp-home driving enabling signal; And driving a peripheral driving chip corresponding to the target external load by using the limp mode driving enabling signal so as to control the work of the target external load.
- 2. The method as recited in claim 1, further comprising: In the event of a failure of the control system of the vehicle, a fail safe output signal of the power management integrated circuit and an internal integrated circuit enable signal are used to confirm whether the vehicle enters a limp-home mode.
- 3. The method of claim 2, wherein the validating whether the vehicle enters a limp home mode with a fail safe output signal of a power management integrated circuit and an internal integrated circuit enable signal comprises: And under the condition that the regional controller of the vehicle is awakened, resetting the countdown timer of the power management integrated circuit, detecting a fail-safe output signal and an internal integrated circuit enabling signal of the power management integrated circuit after resetting the countdown timer, and if the fail-safe output signal is pulled down, the internal integrated circuit enabling signal is kept at a high level and the fail-safe signal is enabled to be pulled up, confirming that the vehicle enters a limp-home mode.
- 4. The method of claim 1, wherein detecting whether there is a node loss in the first and second physical zone controllers of the vehicle comprises: Detecting whether the first physical area controller can receive the message of the second physical area controller, if not, confirming that the second physical area controller has node loss; and detecting whether the second physical area controller can receive the message of the first physical area controller, and if not, confirming that the first physical area controller has node loss.
- 5. The method of claim 1, wherein detecting whether the switch state of the target external load is an enabled state comprises: and receiving an external switch signal through a switch acquisition chip of the vehicle, and analyzing the external switch signal to determine whether the switch state of the target external load is an enabling state.
- 6. The method of claim 1, wherein the combining the limp-home hard-wire signal and the failsafe signal output by the physical zone controller that the node loss occurred to obtain a limp-home drive enable signal comprises: And integrating the limp-home hard line signal with a fail-safe signal output by a physical area controller with a node loss by using a preset logic circuit or a preset software algorithm to generate a limp-home driving enabling signal.
- 7. The method of any one of claims 1 to 6, wherein the target external load comprises a turn signal, a low beam, and a wiper of the vehicle.
- 8. A vehicle control device is characterized by comprising a vehicle limp-home mode detection unit, a limp-home mode hard wire interaction unit, a drive enable signal acquisition unit and an external load drive control unit; The vehicle limp-home mode detection unit is used for detecting whether nodes of a first physical area controller and a second physical area controller of the vehicle are lost or not and detecting whether a switch state of a target external load is an enabling state or not under the condition that the vehicle enters a limp-home mode; The limp-home mode hard line interaction unit is used for respectively calling limp-home mode interfaces of the first physical area controller and the second physical area controller through Ethernet when the node loss occurs in the first physical area controller or the second physical area controller and the switch state of the target external load is an enabling state, so that a limp-home mode hard line signal is output to the first physical area controller by the second physical area controller when the node loss occurs in the first physical area controller; The driving enabling signal obtaining unit is configured to obtain a limp-home driving enabling signal by combining the limp-home hard line signal and a fail-safe signal output by a physical area controller where a node loss occurs after the first physical area controller or the second physical area controller receives the limp-home hard line signal; The external load driving control unit is used for driving the peripheral driving chip corresponding to the target external load by utilizing the limp mode driving enabling signal so as to control the work of the target external load.
- 9. A computer-readable storage medium having a program stored thereon, wherein the program when executed by a processor implements the vehicle control method according to any one of claims 1 to 7.
- 10. An electronic device, characterized in that the electronic device comprises at least one processor, and at least one memory and a bus connected to the processor, wherein the processor and the memory complete communication with each other through the bus, and the processor is configured to call program instructions in the memory to execute the vehicle control method according to any one of claims 1 to 7.
Description
Vehicle control method and device, storage medium and electronic equipment Technical Field The present invention relates to the field of vehicle electronics, and in particular, to a vehicle control method, a device, a storage medium, and an electronic apparatus. Background The limp-home mode (Limphome) of the existing car physical area controller is generally implemented independently only in the left or right cabin, and the steering lamp, the dipped headlight and the wiper are driven by judging the hard wire Switch signal or Ignition Switch (IG) state. When the vehicle enters a limp-home mode, a Power Management Integrated Circuit (PMIC) issues a fail-safe output signal (Fault Status Output B , FS 0B) to control the corresponding device according to the switch state. However, existing solutions rely strictly on hard-wired signals, whereas in actual vehicles a large number of switch states are signalled via the local interconnect network (Local Interconnect Network, LIN). Vehicle microcontroller (Microcontroller Unit, MCU) can't analyze local interconnection network signal under the limp mode, leads to can only blindly drive steering lamp, dipped headlight and windscreen wiper according to ignition switch state, appears the malfunction easily, brings the potential safety hazard. Therefore, how to improve the external load in the limp-home mode to reliably drive and ensure the driving safety is a technical problem that needs to be solved by those skilled in the art. Disclosure of Invention In view of the above problems, the present invention provides a vehicle control method, apparatus, storage medium, and electronic device, which overcome or at least partially solve the above problems, and the technical solutions are as follows: a vehicle control method comprising: Detecting whether a node loss exists in a first physical area controller and a second physical area controller of a vehicle under the condition that the vehicle enters a limp-home mode, and detecting whether a switch state of a target external load is an enabling state; When the first physical area controller or the second physical area controller has node loss and the switch state of the target external load is an enabling state, respectively calling limp mode interfaces of the first physical area controller and the second physical area controller through Ethernet so as to output a limp mode hard line signal to the first physical area controller by the second physical area controller when the first physical area controller has node loss; after the first physical area controller or the second physical area controller receives the limp-home hard-wire signal, combining the limp-home hard-wire signal with a fail-safe signal output by the physical area controller with node loss, and obtaining a limp-home driving enabling signal; And driving a peripheral driving chip corresponding to the target external load by using the limp mode driving enabling signal so as to control the work of the target external load. Optionally, the method further comprises: In the event of a failure of the control system of the vehicle, a fail safe output signal of the power management integrated circuit and an internal integrated circuit enable signal are used to confirm whether the vehicle enters a limp-home mode. Optionally, the determining whether the vehicle enters the limp-home mode by using the fail-safe output signal of the power management integrated circuit and the internal integrated circuit enable signal includes: And under the condition that the regional controller of the vehicle is awakened, after the power management integrated circuit is reset by the countdown timer, detecting a fail-safe output signal and an internal integrated circuit enabling signal of the power management integrated circuit after the countdown timer is reset, and if the fail-safe output signal is pulled down, the internal integrated circuit enabling signal is kept at a high level and the fail-safe signal is enabled to be pulled up, confirming that the vehicle enters a limp-home mode. Optionally, the detecting whether the node loss exists in the first physical area controller and the second physical area controller of the vehicle includes: Detecting whether the first physical area controller can receive the message of the second physical area controller, if not, confirming that the second physical area controller has node loss; and detecting whether the second physical area controller can receive the message of the first physical area controller, and if not, confirming that the first physical area controller has node loss. Optionally, the detecting whether the switch state of the target external load is an enabled state includes: and receiving an external switch signal through a switch acquisition chip of the vehicle, and analyzing the external switch signal to determine whether the switch state of the target external load is an enabling state. Optionally, the obtaining the limp mode drivi