CN112988436A - Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal - Google Patents

Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal Download PDF

Info

Publication number
CN112988436A
CN112988436A CN201911293063.XA CN201911293063A CN112988436A CN 112988436 A CN112988436 A CN 112988436A CN 201911293063 A CN201911293063 A CN 201911293063A CN 112988436 A CN112988436 A CN 112988436A
Authority
CN
China
Prior art keywords
transceiver
watchdog circuit
vehicle
external watchdog
reset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911293063.XA
Other languages
Chinese (zh)
Inventor
高忠木
张航其
李基勇
叶振欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaxon Networks Co Ltd
Original Assignee
Xiamen Yaxon Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201911293063.XA priority Critical patent/CN112988436A/en
Publication of CN112988436A publication Critical patent/CN112988436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A vehicle terminal reset system and a vehicle terminal based on a CAN transceiver comprise: a CAN transceiver and an external watchdog circuit; the CAN transceiver comprises an interrupt output pin for outputting an interrupt signal, and the interrupt output pin is connected with the external watchdog circuit to control the working state of the external watchdog circuit; the external watchdog circuit is connected with an MCU module of the vehicle-mounted terminal so as to receive the dog feeding signal output by the MCU module when the external watchdog circuit works, and when the dog feeding signal is abnormal, a reset signal is output to the MCU module. The invention solves the problems that the system is reset because the vehicle-mounted terminal cannot feed dogs in the dormant state when external hard wire signals such as ACC and IG-ON are not input, the vehicle-mounted terminal cannot automatically recover after the vehicle-mounted terminal in the dormant state crashes and the like by utilizing the CAN transceiver.

Description

Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal
Technical Field
The invention relates to the technical field of vehicle-mounted terminals, in particular to a vehicle-mounted terminal resetting system based on a CAN transceiver and a vehicle-mounted terminal.
Background
Referring to fig. 1, a conventional in-vehicle terminal mainly includes: MCU minimum system, CAN bus, power supply module, hard line detection module (ACC/IG-ON), etc. The enable pin of the external watchdog circuit of the conventional in-vehicle terminal is generally designed to be controlled by a hard-wired signal such as ACC/IG. If the vehicle-mounted terminal system crashes in the driving process of the automobile, the software dog feeding overtime occurs, and at the moment, the external watchdog circuit starts to reset the MCU to realize the self-recovery of the system; when ACC/IG is OFF, reset chip enable foot and closed, outside watchdog circuit is out of work, if MCU system's dead halt phenomenon such as the dormancy failure appears in this time, when ACC/IG is ON next time, vehicle mounted terminal can be because of software feeding dog overtime-out to reset MCU and reach system self-resuming.
With the development of the automobile industry, particularly with the appearance of internet automobiles, electronic devices mounted on automobiles are increasing day by day, the integration level is also increasing day by day, some control signals transmitted by hard wires are gradually reduced, more and more control signals are transmitted through a CAN bus, and some terminals do not have any other external input signals (ACC, IGON and the like) except for power supply signals and CAN bus signals, and the external input signals are often used as trigger signals for vehicle terminals such as a T-BOX and the like to execute actions such as system starting, sleeping, waking up, system crash and self-recovery and the like. Some vehicle-mounted terminal systems as shown in fig. 2 have appeared, but the design of fig. 2 has two disadvantages: firstly, when the vehicle-mounted terminal crashes due to failure of MCU in dormancy, the only wake-up source CAN bus of the MCU crashed vehicle-mounted terminal cannot wake up the terminal, the CAN bus becomes active and the vehicle-mounted terminal CAN always keep a crash state and cannot be recovered, and the system CAN be recovered only by powering on the vehicle-mounted terminal after the vehicle-mounted terminal is powered off through a manual pluggable wiring harness; secondly, vehicle mounted terminal is in the dormancy state and can't feed the dog to the chip that resets, and at this moment the messenger foot EN that needs the chip that resets is in the high level, lets its out of work, does not have outside hard wire signal input, and EN designs into acquiescence high level, and the software runs up the back and draws down the EN foot, lets outside watchdog begin work, if EN control foot appears unusual high level under the dormancy state then can lead to vehicle mounted terminal to be awaken up.
Disclosure of Invention
The invention mainly aims to provide a vehicle-mounted terminal resetting system based on a CAN transceiver and a vehicle-mounted terminal, which CAN save space and hardware cost on the premise of ensuring the reliability of the vehicle-mounted terminal.
The invention adopts the following technical scheme:
on one hand, the invention discloses a vehicle-mounted terminal resetting system based on a CAN transceiver, which comprises the following components: a CAN transceiver and an external watchdog circuit; the CAN transceiver comprises an interrupt output pin for outputting an interrupt signal, and the interrupt output pin is connected with the external watchdog circuit to control the working state of the external watchdog circuit; the external watchdog circuit is connected with an MCU module of the vehicle-mounted terminal so as to receive the dog feeding signal output by the MCU module when the external watchdog circuit works, and when the dog feeding signal is abnormal, a reset signal is output to the MCU module.
Preferably, when the CAN bus is idle, the interrupt output pin outputs a low level signal, and the external watchdog circuit does not work; when the CAN bus is active, the interrupt output pin outputs a high level signal, and the external watchdog circuit works.
Preferably, a switch tube is arranged between the interrupt output pin and the external watchdog circuit; when the CAN bus is idle, the interrupt output pin outputs a low level signal, the switch tube is cut off, and the external watchdog circuit does not work; when the CAN bus is active, the interrupt output pin outputs a high level signal, the switch tube is conducted, and the external watchdog circuit works.
Preferably, the interruption output pin is connected with the switch tube through a diode; the anode of the diode is connected with the interruption output pin, and the cathode of the diode is connected with the switch tube.
Preferably, the switch tube is a triode; the interruption output pin is connected with the base electrode of the triode; and the collector of the triode is respectively connected with a direct-current power supply and the external watchdog circuit.
Preferably, the external watchdog circuit comprises a reset chip; the enabling pin of the reset chip is connected with the collector of the triode; the input pin of the reset chip is connected with the dog feeding signal output by the MCU module; and the output pin of the reset chip is connected with the reset end of the MCU module.
Preferably, the reset chip is of the STWD100 model.
Preferably, the model of the CAN transceiver is TJA 1043.
On the other hand, the vehicle-mounted terminal comprises an MCU module, a power supply module, a CAN transceiver and an external watchdog circuit, wherein the CAN transceiver is used for a vehicle-mounted terminal reset system based on the CAN transceiver; the power supply module supplies power to the MCU module and the CAN transceiver; when the vehicle-mounted terminal is dormant, an interrupt output pin of the CAN transceiver outputs low level, the external watchdog circuit does not work, and the vehicle-mounted terminal cannot reset due to overtime dog feeding; when the vehicle-mounted terminal is in a halt phenomenon that the MCU module fails to sleep, when a CAN bus becomes active from idle, an interrupt output pin of the CAN transceiver is changed from low level to high level, the external watchdog circuit starts working, the MCU module is halted and CAN not normally feed a dog, the feeding dog is overtime, the external watchdog circuit outputs a reset signal of low level to reset the MCU module, and the vehicle-mounted terminal recovers.
Compared with the prior art, the invention has the following beneficial effects:
(1) the CAN transceiver is used for solving the problems that the system is reset because the vehicle-mounted terminal cannot feed dogs in a dormant state when external hard line signals such as ACC and IG-ON are not input, and the vehicle-mounted terminal cannot automatically recover after the vehicle-mounted terminal in the dormant state crashes;
(2) the design of the invention simplifies the design of the vehicle-mounted terminal without external hard-wire signal input application scenes such as ACC, IG-ON and the like, and achieves the effects of saving space and hardware cost ON the premise of ensuring the reliability of the vehicle-mounted terminal.
Drawings
FIG. 1 is a diagram of a prior art vehicle-mounted terminal with an external hard-wired signal input;
FIG. 2 is a schematic diagram of a prior art vehicle-mounted terminal without external hard-wired signal input;
FIG. 3 is a schematic diagram of a vehicle-mounted terminal without external hard-wired signal input according to an embodiment of the present invention;
fig. 4 is a specific implementation circuit of the embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1 and 2, in one aspect, the present invention provides a vehicle terminal resetting system based on a CAN transceiver, including: CAN transceiver 10 and external watchdog circuit 20; the CAN transceiver 10 includes an interrupt output pin CAN1_ INH outputting an interrupt signal, the interrupt output pin CAN1_ INH being connected to the external watchdog circuit 20 to control an operating state of the external watchdog circuit 20; the external watchdog circuit 20 is connected to the MCU module 30 of the vehicle-mounted terminal to receive the dog feeding signal fed output by the MCU module 30 when the external watchdog circuit 20 is in operation, and output a RESET signal SPC _ RESET to the MCU module 30 when the dog feeding signal fed is abnormal.
Specifically, when the CAN bus is idle, the interrupt output pin CAN1_ INH outputs a low level signal, and the external watchdog circuit 20 does not work; when the CAN bus is active, the interrupt output pin CAN1_ INH outputs a high level signal and the external watchdog circuit 20 operates.
Further, a switch tube is included between the interrupt output pin CAN1_ INH and the external watchdog circuit 20; when the CAN bus is idle, the interruption output pin CAN1_ INH outputs a low level signal, the switch tube is cut off, and the external watchdog circuit 20 does not work; when the CAN bus is active, the interrupt output pin CAN1_ INH outputs a high level signal, the switch tube is conducted, and the external watchdog circuit 20 works.
The interruption output pin CAN1_ INH is connected with the switch tube through a diode D200; the anode of the diode D200 is connected to the interrupt output pin CAN1_ INH, and the cathode of the diode D200 is connected to the switching tube.
The switch tube is a triode Q201; the interruption output pin CAN1_ INH is connected with the base electrode of the triode Q201; the collector of the transistor Q201 is connected to a dc power supply and the external watchdog circuit 20, respectively.
The external watchdog circuit 20 includes a reset chip U201; the enabling pin of the reset chip U201 is connected with the collector of the triode Q201; the input pin of the reset chip U201 is connected to the dog feeding signal fed output by the MCU module 30; reset chip U201's output pin with MCU module 30's end that resets
Figure BDA0002319748620000031
Are connected.
In this embodiment, the reset chip U201 is STWD 100.
The model number of the CAN transceiver 10 is TJA 1043.
The specific working principle of the vehicle-mounted terminal resetting system based on the CAN transceiver is as follows:
CAN1_ INH outputs low level and resets chip when vehicle-mounted terminal is in sleep
Figure BDA0002319748620000041
The foot is pulled up to the DVDD _3V3_ MCU power supply, the reset chip does not work, and the reset phenomenon caused by the overtime of dog feeding can not occur in the vehicle-mounted terminal. When the vehicle-mounted terminal has the crash phenomenon that the MCU module 30 fails to sleep, the MCU module CAN be recovered from the crash when the CAN bus is changed from idle to active next time, specifically, when the CAN bus is changed from idle to active, the INH is changed from low level to high level, namely, the triode Q201 is switched on when the CAN1_ INH in the figure 4 is changed into high level, and the reset chip is switched on
Figure BDA0002319748620000042
The foot is pulled to the low level, and outside watchdog circuit begins work, and MCU module dead halt can not normally feed the dog this moment, produces and feeds the dog overtime, RESETs the chip and outputs the SPC _ RESET RESET signal RESET MCU module of low level.
On the other hand, the vehicle-mounted terminal comprises an MCU module 30, a power supply module 40, a CAN transceiver 10 and an external watchdog circuit 20, wherein the CAN transceiver is used for a vehicle-mounted terminal resetting system based on the CAN transceiver; the power supply module 40 supplies power to the MCU module 30 and the CAN transceiver 10; when the vehicle-mounted terminal is dormant, the interrupt output pin CAN1_ INH of the CAN transceiver 10 outputs low level, the external watchdog circuit 20 does not work, and the reset phenomenon caused by overtime dog feeding of the vehicle-mounted terminal CAN not occur; when the vehicle-mounted terminal is in a dead halt phenomenon that the MCU module 30 fails to sleep, and the CAN bus is changed from idle to active next time, the interrupt output pin CAN1_ INH of the CAN transceiver 10 is changed from low level to high level, the external watchdog circuit 20 starts to work, the MCU module 30 is in a dead halt state and cannot normally feed dogs at the moment, the feeding timeout is generated, the external watchdog circuit 20 outputs a low-level RESET signal SPC _ RESET to RESET the MCU module 30, and the vehicle-mounted terminal is recovered.
The above description is only an embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modifications made by using the design concept should fall within the scope of infringing the present invention.

Claims (9)

1. The utility model provides a vehicle mounted terminal reset system based on CAN transceiver which characterized in that includes: a CAN transceiver and an external watchdog circuit; the CAN transceiver comprises an interrupt output pin for outputting an interrupt signal, and the interrupt output pin is connected with the external watchdog circuit to control the working state of the external watchdog circuit; the external watchdog circuit is connected with an MCU module of the vehicle-mounted terminal so as to receive the dog feeding signal output by the MCU module when the external watchdog circuit works, and when the dog feeding signal is abnormal, a reset signal is output to the MCU module.
2. The CAN transceiver-based vehicle terminal reset system of claim 1, wherein the interrupt output pin outputs a low level signal and the external watchdog circuit is not operated when a CAN bus is idle; when the CAN bus is active, the interrupt output pin outputs a high level signal, and the external watchdog circuit works.
3. The CAN transceiver-based vehicle terminal reset system of claim 1, wherein a switch tube is included between the interrupt output pin and the external watchdog circuit; when the CAN bus is idle, the interrupt output pin outputs a low level signal, the switch tube is cut off, and the external watchdog circuit does not work; when the CAN bus is active, the interrupt output pin outputs a high level signal, the switch tube is conducted, and the external watchdog circuit works.
4. The CAN transceiver-based vehicle terminal reset system of claim 3, wherein the interrupt output pin is connected to the switch tube via a diode; the anode of the diode is connected with the interruption output pin, and the cathode of the diode is connected with the switch tube.
5. The CAN transceiver-based vehicle terminal resetting system of claim 3, wherein the switching tube is a triode; the interruption output pin is connected with the base electrode of the triode; and the collector of the triode is respectively connected with a direct-current power supply and the external watchdog circuit.
6. The CAN transceiver-based vehicle terminal reset system of claim 3, wherein the external watchdog circuit comprises a reset chip; the enabling pin of the reset chip is connected with the collector of the triode; the input pin of the reset chip is connected with the dog feeding signal output by the MCU module; and the output pin of the reset chip is connected with the reset end of the MCU module.
7. The CAN transceiver-based in-vehicle terminal resetting system of claim 6, wherein the resetting chip is STWD100 model.
8. The CAN transceiver-based vehicle terminal reset system of claim 1, wherein the CAN transceiver is of type TJA 1043.
9. A vehicle terminal comprising an MCU module and a power supply module, further comprising a CAN transceiver and an external watchdog circuit according to any one of claims 1 to 8; the power supply module supplies power to the MCU module and the CAN transceiver; when the vehicle-mounted terminal is dormant, an interrupt output pin of the CAN transceiver outputs low level, the external watchdog circuit does not work, and the vehicle-mounted terminal cannot reset due to overtime dog feeding; when the vehicle-mounted terminal is in a halt phenomenon that the MCU module fails to sleep, when a CAN bus becomes active from idle, an interrupt output pin of the CAN transceiver is changed from low level to high level, the external watchdog circuit starts working, the MCU module is halted and CAN not normally feed a dog, the feeding dog is overtime, the external watchdog circuit outputs a reset signal of low level to reset the MCU module, and the vehicle-mounted terminal recovers.
CN201911293063.XA 2019-12-16 2019-12-16 Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal Pending CN112988436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911293063.XA CN112988436A (en) 2019-12-16 2019-12-16 Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911293063.XA CN112988436A (en) 2019-12-16 2019-12-16 Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal

Publications (1)

Publication Number Publication Date
CN112988436A true CN112988436A (en) 2021-06-18

Family

ID=76343169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911293063.XA Pending CN112988436A (en) 2019-12-16 2019-12-16 Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal

Country Status (1)

Country Link
CN (1) CN112988436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377186A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377186A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle
CN113377186B (en) * 2021-08-13 2021-11-19 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle

Similar Documents

Publication Publication Date Title
CN101700762B (en) Electricity-saving method of vehicle-mounted CAN bus network
CN111775769B (en) Battery management system and method
CN103786664B (en) Automobile controller area network bus awaking device
CN216034201U (en) Dormancy awakening control circuit of automobile body controller
CN109861521B (en) Vehicle-mounted low-voltage auxiliary power supply circuit
CN113840360A (en) Bicycle lock communication system and bicycle lock communication method for sharing bicycles
CN204659637U (en) Based on the car load CAN wake-up circuit of TJA1041AT interface chip
CN112988436A (en) Vehicle-mounted terminal resetting system based on CAN transceiver and vehicle-mounted terminal
CN108508868B (en) Ignition signal awakening circuit of motor controller and control method
CN100507807C (en) Power-supply controller and controlling method
CN201995065U (en) Wake-up circuit and digital television receiving terminal
CN103488270B (en) Electricity saving method and electronic installation thereof
CN218547453U (en) Reset control circuit and intelligence lock based on watchdog chip
CN110843531A (en) Device, method and system for controlling EVCC dormancy and electric automobile
CN116331231A (en) Vehicle-mounted terminal, automatic driving vehicle, control method and electronic equipment
CN112653215B (en) Method and system for reducing static power consumption of vehicle-mounted power supply
CN111324195B (en) System working mode adjusting method and device
CN203186118U (en) Automatic power-off controller
CN221678663U (en) Dormancy awakening circuit of vehicle-mounted electronic product
CN114076963A (en) Control device and control system of Beidou equipment
CN220332620U (en) Vehicle power supply wake-up circuit
CN218558770U (en) Dormancy awakening circuit of automobile electronic controller
CN219214918U (en) Awakening circuit of electronic brake booster system
CN212267388U (en) Low-power consumption and wake-up circuit of vehicle-mounted T-BOX
CN114312613A (en) ACC sleep crash wake-up circuit and method for vehicle-mounted equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 303-e, Zone C, innovation building, software park, torch hi tech Zone, Xiamen City, Fujian Province

Applicant after: Xiamen Yaxun Zhilian Technology Co.,Ltd.

Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000

Applicant before: XIAMEN YAXON NETWORK Co.,Ltd.

Country or region before: China

CB02 Change of applicant information