Search

CN-115906012-B - Control device for vehicle and method thereof

CN115906012BCN 115906012 BCN115906012 BCN 115906012BCN-115906012-B

Abstract

A control device for vehicle and method thereof, the signal of the vehicle is received, monitored or processed by a main processor and a slave processor simultaneously, the main processor is monitored by a power management module through a first watchdog signal, and the slave processor is monitored by the main processor through a second watchdog signal. When the power management module sends a first watchdog signal to the main processor and does not get a response message, the power management module sends a first reset signal to reset the main processor, and when the main processor sends a second watchdog signal to the auxiliary processor and does not get a response message, the main processor sends a second reset signal to reset the auxiliary processor. When the power management module is abnormal or both the main processor and the slave processor are abnormal, the forced wake-up module outputs a high-potential signal to forcedly wake up the main processor and the slave processor.

Inventors

  • WANG YULONG
  • ZENG NANXIONG
  • ZHENG YILUN

Assignees

  • 财团法人工业技术研究院

Dates

Publication Date
20260508
Application Date
20211215
Priority Date
20210930

Claims (20)

  1. 1. A control device for a vehicle, comprising: A power management module; A master processor and a slave processor which simultaneously receive, monitor or process at least one signal of a vehicle, the master processor being connected to the power management module and the slave processor, respectively, the power management module monitoring the master processor by a first watchdog signal and the master processor monitoring the slave processor by a second watchdog signal, wherein when the power management module sends the first watchdog signal to the master processor and the master processor does not respond to the first watchdog signal to the power management module, a first reset signal is sent to the master processor by the power management module to be reset, and when the master processor sends the second watchdog signal to the slave processor and the slave processor does not respond to the second watchdog signal to the master processor, a second reset signal is sent to the slave processor by the master processor to be reset, and And the forced wake-up module is respectively connected with the main processor and the slave processor, wherein when the power management module is abnormal or both the main processor and the slave processor are abnormal, the forced wake-up module outputs a high-potential signal to the reset end of the main processor and the reset end of the slave processor so as to wake up the main processor and the slave processor forcedly.
  2. 2. The vehicle control device of claim 1, further comprising a first diode disposed between the power management module and the reset terminal of the main processor to control or limit a conduction direction of the first reset signal by the first diode, wherein the first diode directs the first reset signal to the main processor to prevent the first reset signal from being directed back to the power management module.
  3. 3. The vehicle control device of claim 2, further comprising a second diode disposed between the master processor and the reset terminal of the slave processor to control or limit the direction of the second reset signal by the second diode, wherein the second diode directs the second reset signal to the slave processor to prevent the second reset signal from being directed back to the master processor.
  4. 4. The vehicle control device according to claim 1, further comprising a first conversion module and a second conversion module respectively connected to the master processor and the slave processor, wherein when the power management module provides power to the master processor, the master processor outputs a first pulse signal to the first conversion module to convert the first pulse signal output by the master processor into a first voltage, and when the power management module provides power to the slave processor, the slave processor outputs a second pulse signal to the second conversion module to convert the second pulse signal output by the slave processor into a second voltage.
  5. 5. The vehicle control device according to claim 4, further comprising a comparing module having a first comparator and a second comparator, wherein the first comparator and the second comparator are respectively connected to the first converting module and the second converting module, wherein the output of the first comparator is high when the first comparator compares the first voltage to be less than a threshold voltage, and the output of the first comparator is low when the first comparator compares the first voltage to be greater than the threshold voltage, and wherein the output of the second comparator is high when the second comparator compares the second voltage to be less than the threshold voltage, and the output of the second comparator is low when the second comparator compares the second voltage to be greater than the threshold voltage.
  6. 6. The vehicle control device according to claim 5, further comprising a voltage dividing circuit composed of a resistor and another resistor, connected to the power management module, for dividing a voltage of a power supply from the power management module into the threshold voltage by the voltage dividing circuit.
  7. 7. The vehicle control device of claim 1, wherein the forced wake-up module is composed of a first logic circuit and a second logic circuit connected to each other, wherein the first logic circuit has a first P-type transistor, a second P-type transistor, a first N-type transistor and a second N-type transistor connected to each other, and the two logic circuits have a third P-type transistor, and wherein when the output of the first logic circuit is at a low potential, the third P-type transistor of the two logic circuits is turned on, so that the power supply of the power management module reaches the drain from the source of the third P-type transistor, and the forced wake-up module or the second logic circuit outputs a high potential signal to the reset terminal of the master processor and the reset terminal of the slave processor to forcibly wake up the master processor and the slave processor.
  8. 8. The vehicle control device according to claim 1, wherein when one of the master processor and the slave processor is abnormal, one of a first pulse signal and a second pulse signal corresponding to the abnormal output of the one of the master processor and the slave processor is outputted, and the output of the one of the first pulse signal and the second pulse signal is low, and if the master processor is abnormal, the power management module issues the first reset signal to the master processor to be reset, and if the slave processor is abnormal, the master processor issues the second reset signal to the slave processor to be reset.
  9. 9. A control device for a vehicle, comprising: A power management module; A master processor and a slave processor which simultaneously receive, monitor or process at least one signal of a vehicle, the master processor and the slave processor dynamically adjusting the frequency of a first pulse signal and the frequency of a second pulse signal respectively output according to a speed signal of the vehicle, the power management module monitoring the master processor through a first watchdog signal and the master processor monitoring the slave processor through a second watchdog signal, wherein when the power management module transmits the first watchdog signal to the master processor and the master processor does not respond to the first watchdog signal to the power management module, a first reset signal is transmitted to the master processor by the power management module and when the master processor transmits the second watchdog signal to the slave processor and the slave processor does not respond to the second watchdog signal to the master processor, a second reset signal is transmitted to the slave processor by the master processor, and And the forced wake-up module is respectively connected with the main processor and the slave processor, wherein when the power management module is abnormal or both the main processor and the slave processor are abnormal, the forced wake-up module outputs a high-potential signal to the reset end of the main processor and the reset end of the slave processor so as to wake up the main processor and the slave processor forcedly.
  10. 10. The vehicle control device of claim 9, further comprising a first diode disposed between the power management module and the reset terminal of the main processor to control or limit the conduction direction of the first reset signal by the first diode, wherein the first diode directs the first reset signal to the main processor to prevent the first reset signal from being directed back to the power management module.
  11. 11. The vehicle control device of claim 10, further comprising a second diode disposed between the master processor and the reset terminal of the slave processor to control or limit the direction of the second reset signal by the second diode, wherein the second diode directs the second reset signal to the slave processor to prevent the second reset signal from being directed back to the master processor.
  12. 12. The vehicle control device according to claim 9, further comprising a first conversion module and a second conversion module respectively connected to the master processor and the slave processor, wherein when the power management module provides power to the master processor, the master processor dynamically adjusts the frequency of the first pulse signal outputted by the master processor according to the vehicle speed signal of the vehicle to transmit the first pulse signal to the first conversion module, and when the power management module provides power to the slave processor, the slave processor dynamically adjusts the frequency of the second pulse signal outputted by the slave processor according to the vehicle speed signal of the vehicle to transmit the second pulse signal to the second conversion module.
  13. 13. The vehicle control device according to claim 12, further comprising a comparing module having a first comparator and a second comparator, wherein the first comparator and the second comparator are respectively connected to the first converting module and the second converting module, wherein when the first comparator compares that the first voltage converted by the first pulse signal is smaller than the threshold voltage, the output of the first comparator is high, and when the first comparator compares that the first voltage is larger than the threshold voltage, the output of the first comparator is low, and wherein when the second comparator compares that the second voltage converted by the second converting module is smaller than the threshold voltage, the output of the second comparator is high, and when the second comparator compares that the second voltage is larger than the threshold voltage, the output of the second comparator is low.
  14. 14. The vehicular control apparatus according to claim 12, further comprising a conversion circuit, wherein when the vehicular control apparatus has received the vehicle speed signal of the vehicle, the vehicle speed signal of the vehicle is converted by the conversion circuit into a threshold voltage having a dynamic voltage value, and the dynamic voltage value of the threshold voltage becomes higher as the vehicle speed signal of the vehicle increases or becomes lower as the vehicle speed signal of the vehicle decreases.
  15. 15. The vehicle control apparatus of claim 9, further comprising a voltage dividing circuit consisting of one resistor and another resistor connected to the power management module to divide a voltage of the power supply from the power management module into a threshold voltage by the voltage dividing circuit.
  16. 16. The vehicle control device of claim 9, wherein the forced wake-up module is composed of a first logic circuit and a second logic circuit connected to each other, wherein the first logic circuit has a first P-type transistor, a second P-type transistor, a first N-type transistor and a second N-type transistor connected to each other, and the two logic circuits have a third P-type transistor, and wherein when the output of the first logic circuit is low, the third P-type transistor of the two logic circuits is turned on, so that the power supply of the power management module reaches the drain from the source of the third P-type transistor, and the forced wake-up module or the second logic circuit outputs a high-level signal to the reset terminal of the master processor and the reset terminal of the slave processor to forcibly wake up the master processor and the slave processor.
  17. 17. The vehicle control apparatus according to claim 9, wherein when one of the master processor and the slave processor is abnormal, one of a first pulse signal and a second pulse signal corresponding to the abnormal output of the one of the master processor and the slave processor is outputted, and the output of the one of the first pulse signal and the second pulse signal is low, and if the master processor is abnormal, the power management module issues the first reset signal to the master processor to be reset, and if the slave processor is abnormal, the master processor issues the second reset signal to the slave processor to be reset.
  18. 18. A control method for a vehicle, comprising: Providing a vehicle control device comprising a power management module, a main processor, a slave processor and a forced wake-up module, wherein the main processor is respectively connected with the power management module and the slave processor, and the forced wake-up module is respectively connected with the main processor and the slave processor; Receiving, monitoring or processing at least one signal from the master processor and the slave processor simultaneously for the power management module to monitor the master processor by a first watchdog signal and the slave processor by a second watchdog signal, wherein when the power management module sends the first watchdog signal to the master processor and the master processor does not respond to the first watchdog signal to the power management module, a first reset signal is sent to the master processor by the power management module to reset, and when the master processor sends the second watchdog signal to the slave processor and the slave processor does not respond to the second watchdog signal to the master processor, a second reset signal is sent to the slave processor by the master processor to reset, and When the power management module is abnormal or both the main processor and the slave processor are abnormal, the forced wake-up module outputs a high-potential signal to the reset end of the main processor and the reset end of the slave processor so as to wake up the main processor and the slave processor forcedly.
  19. 19. The vehicle control method according to claim 18, wherein the method further comprises converting, by the conversion circuit, the vehicle speed signal of the vehicle into a threshold voltage having a dynamic voltage value when the vehicle control device has received the vehicle speed signal of the vehicle, wherein the dynamic voltage value of the threshold voltage becomes higher as the vehicle speed signal of the vehicle increases or becomes lower as the vehicle speed signal of the vehicle decreases.
  20. 20. The method according to claim 18, further comprising outputting, by the master processor and one of the slave processors, one of a first pulse signal and a second pulse signal corresponding to the abnormality when the one of the master processor and the slave processor is abnormal, wherein the output of the one of the first pulse signal and the second pulse signal is low, and sending, by the power management module, the first reset signal to the master processor to be reset if the master processor is abnormal, and sending, by the master processor, the second reset signal to the slave processor to be reset if the slave processor is abnormal.

Description

Control device for vehicle and method thereof Technical Field The present invention relates to a vehicle control technology, and more particularly, to a vehicle control device and a method thereof. Background With the continuous development of the electronic technology of vehicles, the number of various intelligent vehicle control devices is increasing, but the vehicle control devices are easy to be interfered or influenced by various factors (such as electromagnetic waves, temperature, humidity, noise, impact, aging and the like) to generate abnormal conditions (such as faults) in a narrow installation space of the vehicle or in a severe environment. Furthermore, when the power management module is abnormal (e.g. fails), the reset (reset) end of the processor is always at a low level, which results in the failure or abnormality (abnormal operation) of the processor, and even causes the vehicle control device or the whole system to stop. Therefore, how to provide an innovative control technology for vehicles to solve any of the above problems has been a subject of great study by those skilled in the art. Disclosure of Invention The invention provides an innovative control device for a vehicle and a method thereof, wherein a safety mechanism circuit can be formed by a power management module and a main processor to promote safety, monitor, reset or forced awakening capability, or the main processor and a slave processor form the safety mechanism circuit to doubly promote system reliability or achieve low failure rate, or a first conversion module, a second conversion module and a comparison module form a monitoring circuit to promote system judgment capability, or a first logic circuit and a second logic circuit of the forced awakening module form the forced awakening circuit to facilitate resetting or forced awakening of the main processor and/or the slave processor. The control device for a vehicle comprises a power management module; the system comprises a power management module, a slave processor and a forced wake-up module, wherein the power management module is used for monitoring a power management module and the slave processor through a first watchdog signal, the power management module is used for monitoring the master processor through a second watchdog signal, the slave processor is used for receiving, monitoring or processing at least one signal of a vehicle, the power management module is connected with the master processor and the slave processor respectively, the power management module is used for monitoring the slave processor through the first watchdog signal, when the power management module sends the first watchdog signal to the master processor and the master processor does not respond to the first watchdog signal, the power management module sends a first reset signal to the master processor to reset the master processor, and when the master processor sends the second watchdog signal to the slave processor and the slave processor does not respond to the second watchdog signal, the slave processor sends a second reset signal to the slave processor to reset the master processor, and the forced wake-up module is connected with the master processor and the slave processor respectively, and the forced wake-up module is used for outputting a high signal to the slave processor and the forced wake-up terminal to reset the master processor when the power management module is abnormal (not normally operated) or the master processor and the slave processor is abnormal (not normally operated). The control device for the vehicle comprises a power management module, a master processor and a slave processor, wherein the master processor and the slave processor simultaneously receive, monitor or process at least one signal of the vehicle, the frequency of a first pulse signal and the frequency of a second pulse signal which are respectively output by the master processor and the slave processor are dynamically adjusted according to a speed signal of the vehicle, the power management module monitors the master processor through the first watchdog signal and the master processor monitors the slave processor through the second watchdog signal, when the power management module sends the first watchdog signal to the master processor and the master processor does not respond to the first watchdog signal to the power management module, the power management module sends a first reset signal to the master processor to be reset, and when the master processor sends the second watchdog signal to the slave processor and does not respond to the second watchdog signal to the master processor, the slave processor sends the second reset signal to the slave processor, and the forced wake-up module is respectively connected with the master processor and the slave processor, wherein when the power management module sends the second watchdog signal to the slave processor, and the forced reset signal to the master process