CN107491155B - Hard reset control system and method for vehicle-mounted information terminal - Google Patents

Hard reset control system and method for vehicle-mounted information terminal Download PDF

Info

Publication number
CN107491155B
CN107491155B CN201710543297.XA CN201710543297A CN107491155B CN 107491155 B CN107491155 B CN 107491155B CN 201710543297 A CN201710543297 A CN 201710543297A CN 107491155 B CN107491155 B CN 107491155B
Authority
CN
China
Prior art keywords
resistor
capacitor
module
transistor
vehicle
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.)
Active
Application number
CN201710543297.XA
Other languages
Chinese (zh)
Other versions
CN107491155A (en
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.)
Beiqi Foton Motor Co Ltd
Original Assignee
Beiqi Foton Motor 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 Beiqi Foton Motor Co Ltd filed Critical Beiqi Foton Motor Co Ltd
Priority to CN201710543297.XA priority Critical patent/CN107491155B/en
Publication of CN107491155A publication Critical patent/CN107491155A/en
Application granted granted Critical
Publication of CN107491155B publication Critical patent/CN107491155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • H03K2017/226Modifications for ensuring a predetermined initial state when the supply voltage has been applied in bipolar transistor switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention discloses a hard reset control system and method for a vehicle-mounted information terminal. The system comprises: the first end of the level conversion module is connected with the control switch, the second end of the level conversion module is connected with the first end of the capacitor charge-discharge module, and the level conversion module is used for controlling the capacitor charge-discharge module to charge the capacitor when the control switch is closed and controlling the capacitor charge-discharge module to discharge the capacitor when the control switch is disconnected; and the input end of the voltage comparison module is connected with the second end of the capacitor charging and discharging module, the output end of the voltage comparison module is connected with the power management module, and the voltage comparison module is used for outputting a low level signal to indicate the power management module to stop supplying power to the vehicle-mounted information terminal when the capacitor is charged and outputting a high level signal to indicate the power management module to supply power to the vehicle-mounted information terminal when the capacitor is discharged. The invention solves the technical problem that the system can not be reset hard when the vehicle-mounted information terminal is halted or enters an abnormal mode in the prior art.

Description

Hard reset control system and method for vehicle-mounted information terminal
Technical Field
The invention relates to the field of computers, in particular to a hard reset control system and method of a vehicle-mounted information terminal.
Background
With the rapid development of wireless mobile communication 2G/3G, a Telematics-Box (T-Box for short) combined with a GPS navigation positioning technology is actively developed. By means of the harsh power supply environment of automobile electronics, the T-Box can uninterruptedly transmit automobile positioning and remote diagnosis information through a built-in 2G/3G mobile communication module, and a new test is brought. In this complex and harsh automotive application environment, the TBOX may crash or enter an abnormal operation mode, such as no 3G/4G signal, communication failure with the amusement car or automobile, etc., and at this time, the TBOX may need to be restarted, since there may be an SOS button outside the TBOX, and there is no special reset button, and at the same time, the system will not respond to the software reset.
Aiming at the problem that the system can not be reset hard when the vehicle-mounted information terminal is halted or enters an abnormal mode in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a hard reset control system and method of a vehicle-mounted information terminal, which at least solve the technical problem that the system hard reset can not be carried out when the vehicle-mounted information terminal is halted or enters an abnormal mode in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a hard reset control system of an in-vehicle information terminal, including: the first end of the level conversion module is connected with the control switch, the second end of the level conversion module is connected with the first end of the capacitor charge-discharge module, and the level conversion module is used for controlling the capacitor charge-discharge module to charge the capacitor when the control switch is closed and controlling the capacitor charge-discharge module to discharge the capacitor when the control switch is disconnected; and the input end of the voltage comparison module is connected with the second end of the capacitor charging and discharging module, the output end of the voltage comparison module is connected with a power management module of the vehicle-mounted information terminal, and the voltage comparison module is used for outputting a low level signal in the capacitor charging process and outputting a high level signal in the capacitor discharging process, wherein the low level signal is used for indicating the power management module to stop supplying power to the vehicle-mounted information terminal, and the high level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal.
Further, the system further comprises: the first transistor is respectively connected with the second end of the level conversion module and the first end of the capacitor charge-discharge module, and is used for being switched on when the control switch is switched on to control the capacitor charge-discharge module to charge the capacitor, and switched off when the control switch is switched off to control the capacitor charge-discharge module to discharge the capacitor.
Further, the voltage comparison module includes: the positive phase input end of the voltage comparator is connected with a first power supply, the negative phase input end of the voltage comparator is connected with the second end of the capacitor charging and discharging module, and the output end of the voltage comparator is connected with the power supply management module.
Further, the level shift module includes: a base electrode of the second transistor is connected with the first end of the control switch, a second end of the control switch is grounded, an emitter electrode of the second transistor is connected with a second power supply, and a collector electrode of the second transistor is grounded through a first resistor; and a third transistor, wherein a base of the third transistor is connected to a collector of the second transistor, an emitter of the third transistor is grounded, and a collector of the third transistor is connected to the first power source through a second resistor.
Further, a base of the first transistor is connected to a collector of the third transistor, an emitter of the first transistor is connected to the first power supply, the collector of the first transistor is connected to the first end of the capacitor through a third resistor, and the second end of the capacitor is grounded.
Further, the capacitance charging and discharging module further comprises: and a fourth resistor, a first end of which is connected to the capacitor, and a second end of which is grounded, wherein the capacitor is charged by the first power source through the third resistor when the first transistor is turned on, and discharged by the capacitor through the fourth resistor when the first transistor is turned off.
Further, a positive phase input end of the voltage comparator is connected to a first end of a fifth resistor, a second end of the fifth resistor is connected to the first power supply, the first end of the fifth resistor is grounded through a sixth resistor, an inverted phase input end of the voltage comparator is connected to a first end of a fourth resistor, an output end of the voltage comparator is connected to an enable end of the power management module, and an output end of the voltage comparator is connected to a second end of the fifth resistor through a seventh resistor.
According to another aspect of the embodiments of the present invention, there is also provided a hard reset control method of an in-vehicle information terminal, including: detecting whether a control switch is closed, wherein the control switch is a switch arranged on a vehicle-mounted information terminal; under the condition that the control switch is detected to be closed, a level conversion module is used for controlling a capacitance charge-discharge module to charge a capacitor, wherein a voltage comparison module outputs a low level signal in the capacitance charging process, the low level signal is used for indicating a power management module of the vehicle-mounted information terminal to stop supplying power to the vehicle-mounted information terminal, a first end of the level conversion module is connected with the control switch, a second end of the level conversion module is connected with the first end of the capacitance charge-discharge module, an input end of the voltage comparison module is connected with the second end of the capacitance charge-discharge module, and an output end of the voltage comparison module is connected with the power management module; and under the condition that the control switch is detected to be switched off, the level conversion module controls the capacitance charging and discharging module to perform capacitance discharging, wherein the voltage comparison module outputs a high level signal in the capacitance discharging process, and the high level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal.
Further, in case that the control switch is detected to be closed, the method further comprises: determining the charging time of the capacitor, wherein the capacitor charging and discharging module further comprises a third resistor and a fourth resistor, a first end of the third resistor is connected with the first transistor, the first transistor is connected with a second end of the level conversion module, a second end of the third resistor is connected with a first end of the capacitor, a second end of the capacitor is grounded, a first end of the fourth resistor is connected with a first end of the capacitor, a second end of the fourth resistor is grounded, the voltage comparison module comprises a voltage comparator, a positive phase input end of the voltage comparator is connected with a first end of a fifth resistor, a second end of the fifth resistor is connected with a first power supply, a first end of the fifth resistor is grounded through a sixth resistor, and a negative phase input end of the voltage comparator is connected with a first end of the fourth resistor, the charging time is determined by the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor.
Further, in case that it is detected that the control switch is opened, the method further comprises: and determining the discharge time of the capacitor, wherein the discharge time is determined by the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor.
In the embodiment of the invention, whether a control switch arranged on a vehicle-mounted information terminal is closed or not is detected, and under the condition that the control switch is closed, a first crystal connected with the level conversion module is controlled to be conducted through a level conversion module connected with the control switch, then a capacitor is charged through a capacitor charging and discharging module connected with a first transistor, and is connected with the capacitor charging and discharging module through a reverse input end, a forward input end is connected with a first power supply, and an output end is connected with a voltage comparison module connected with a power supply management module, so that a power supply management module of the vehicle-mounted information terminal is controlled to stop supplying power to the vehicle-mounted information terminal; under the condition that the control switch is disconnected, the first transistor is controlled to be not conducted through the level conversion module, the capacitor is controlled to discharge through the capacitor charging and discharging module, the power supply management module is controlled to supply power to the vehicle-mounted information terminal through the voltage comparison module, and therefore whether the power supply management module supplies power to the vehicle-mounted information terminal or not can be controlled through the disconnection and the connection of the control switch, the vehicle-mounted information terminal can be reset, and the technical problem that the system can not be reset hard when the vehicle-mounted information terminal is in a dead halt or enters an abnormal mode in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an alternative hard reset control system for an in-vehicle telematics terminal in accordance with an embodiment of the present invention;
FIG. 2 is a first schematic diagram of an alternative hard reset control circuit of an in-vehicle telematics terminal in accordance with an embodiment of the present invention;
FIG. 3 is a second schematic diagram of an alternative hard-reset control circuit of the in-vehicle information terminal according to the embodiment of the present invention;
fig. 4 is a flowchart of an alternative hard reset control method of an in-vehicle information terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of a hard reset control method for an in-vehicle information terminal, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that herein.
Fig. 1 is a schematic diagram of an alternative hard reset control system of an in-vehicle information terminal according to an embodiment of the present invention, and as shown in fig. 1, the system may include: the capacitive charging and discharging circuit comprises a level conversion module 31, a capacitive charging and discharging module 33 and a voltage comparison module 35, wherein a first end of the level conversion module is connected with a control switch, and a second end of the level conversion module is connected with a first end of the capacitive charging and discharging module and is used for controlling the capacitive charging and discharging module to charge a capacitor when the control switch is closed and controlling the capacitive charging and discharging module to discharge the capacitor when the control switch is disconnected; the input end of the voltage comparison module is connected with the second end of the capacitor charging and discharging module, the output end of the voltage comparison module is connected with the power management module of the vehicle-mounted information terminal, and the voltage comparison module is used for outputting a low level signal in the capacitor charging process and outputting a high level signal in the capacitor discharging process, wherein the low level signal is used for indicating the power management module to stop supplying power to the vehicle-mounted information terminal, and the high level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal.
Optionally, the system may further include a first transistor, wherein a first terminal of the level shift module is connected to the control switch, and a second terminal of the level shift module is connected to the first transistor, and is configured to control the first transistor to be turned on when the control switch is turned off, and to be turned off when the control switch is turned off. The capacitor charging and discharging module may include a capacitor, wherein a first end of the capacitor charging and discharging module is connected to the first transistor, and is configured to charge the capacitor when the first transistor is turned on, and control the capacitor to discharge when the first transistor is turned off.
Optionally, the voltage comparison module may include a voltage comparator, wherein a positive phase input end of the voltage comparator is connected to the first power supply, a negative phase input end of the voltage comparator is connected to the second end of the capacitor charging and discharging module, an output end of the voltage comparator is connected to the power management module of the vehicle-mounted information terminal, and the voltage comparator is configured to output a low level signal during charging of the capacitor, where the low level signal is used to instruct the power management module to stop supplying power to the vehicle-mounted information terminal, and output a high level signal during discharging of the capacitor, and the high level signal is used to instruct the power management module to supply power to the vehicle-mounted information terminal.
According to the embodiment of the invention, the vehicle-mounted information terminal comprises a level conversion module, a capacitor charging and discharging module and a voltage comparison module, wherein the first end of the level conversion module is connected with the control switch, the second end of the level conversion module is connected with the first transistor, the first transistor can be controlled to be switched on by the level conversion module under the condition that the control switch is switched on, and the first transistor is controlled to be switched off under the condition that the control switch is switched off, so that the first transistor is controlled; the first end of the capacitor charging and discharging module is connected with the first transistor, so that the capacitor can be charged when the first transistor is conducted, and the capacitor is controlled to discharge when the first transistor is not conducted; then, a positive phase input end of the voltage comparison module is connected with a first power supply, a negative phase input end of the voltage comparison module is connected with the capacitor charging and discharging module, and an output end of the voltage comparison module is connected with a power supply management module of the vehicle-mounted information terminal; high level signals are output in the discharging process of the capacitor to indicate the power supply management module to supply power to the vehicle-mounted information terminal, so that whether the power supply management module supplies power to the vehicle-mounted information terminal or not can be controlled through the disconnection and the connection of the control switch, the vehicle-mounted information terminal is reset, and the technical problem that in the prior art, when the vehicle-mounted information terminal is halted or enters an abnormal mode, the system can not be reset hard is solved.
Fig. 2 is a first schematic diagram of an alternative hard reset control circuit of a vehicle-mounted information terminal according to an embodiment of the present invention, as shown in fig. 2, a first terminal of a level shift module is connected to a control switch S1, and a second terminal of the level shift module is connected to a first transistor Q3, for controlling the first transistor to be conductive when the control switch is turned off and to be nonconductive when the control switch is turned off; the capacitor charging and discharging module comprises a capacitor C1, wherein a first end of the capacitor charging and discharging module is connected with the first transistor and is used for charging the capacitor when the first transistor is conducted and controlling the capacitor to discharge when the first transistor is not conducted; the voltage comparison module comprises a voltage comparator U40, wherein a positive phase input end of the voltage comparator is connected with a first power supply VBAT, an inverted phase input end of the voltage comparator is connected with a second end of the capacitor charging and discharging module, an output end of the voltage comparator is connected with a power management module PMIC of the vehicle-mounted information terminal and used for outputting a low-level signal in the capacitor charging process, the low-level signal is used for indicating the power management module to stop supplying power to the vehicle-mounted information terminal and outputting a high-level signal in the capacitor discharging process, and the high-level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal.
As an alternative embodiment, the level conversion module includes: a base electrode of the second transistor is connected with the first end of the control switch, the second end of the control switch is grounded, an emitter electrode of the second transistor is connected with a second power supply, and a collector electrode of the second transistor is grounded through the first resistor; and a base electrode of the third transistor is connected with the collector electrode of the second transistor, an emitter electrode of the third transistor is grounded, and the collector electrode of the third transistor is connected with the first power supply through a second resistor.
By adopting the above embodiment of the present invention, the base of the second transistor in the level shift module is connected to the first end of the control switch, the second end of the control switch is grounded, the emitter of the second transistor is connected to the second power supply, and the collector of the second transistor is grounded through the first resistor, so as to transmit the signal of the control switch to the second transistor; the base electrode of the third transistor is connected with the collector electrode of the second transistor, the emitter electrode of the third transistor is grounded, the collector electrode of the third transistor is connected with the first power supply through the second resistor, and a signal transmitted by the second transistor and used for controlling the switch can be acquired through the third transistor.
As an alternative embodiment, the base of the first transistor is connected to the collector of the third transistor, the emitter of the first transistor is connected to the first power supply, the collector of the first transistor is connected to the first end of the capacitor through the third resistor, and the second end of the capacitor is grounded.
By adopting the above embodiment of the present invention, the base of the first transistor is connected to the collector of the third transistor in the level conversion module, the emitter of the first transistor is connected to the first power supply, the collector of the first transistor is connected to the first end of the capacitor through the third resistor in the capacitor charge-discharge module, and the second end of the capacitor in the capacitor charge-discharge module is grounded, so that the connection between the capacitor charge-discharge module and the level conversion module is established through the first transistor, and a signal of the control switch acquired by the third transistor in the level conversion module can be transmitted to the capacitor charge-discharge module to control the charging of the capacitor in the capacitor charge-discharge module.
As an optional embodiment, the capacitance charge-discharge module further includes: and a first end of the fourth resistor is connected with the capacitor, and a second end of the fourth resistor is grounded, wherein the first power supply charges the capacitor through the third resistor when the first transistor is turned on, and the capacitor discharges through the fourth resistor when the first transistor is turned off.
By adopting the above embodiment of the present invention, the first end of the fourth resistor is connected to the capacitor, and the second end of the fourth resistor is grounded, wherein the first power supply charges the capacitor through the third resistor when the first transistor is turned on, and the capacitor discharges through the fourth resistor when the first transistor is turned off, so as to realize charging and discharging of the capacitor charging and discharging module.
As an alternative embodiment, the positive input terminal of the voltage comparator is connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is connected to the first power supply, the first terminal of the fifth resistor is grounded through the sixth resistor, the negative input terminal of the voltage comparator is connected to the first terminal of the fourth resistor, the output terminal of the voltage comparator is connected to the enable terminal of the power management module, and the output terminal of the voltage comparator is connected to the second terminal of the fifth resistor through the seventh resistor.
By adopting the above embodiment of the present invention, the positive phase input terminal of the voltage comparator is connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is connected to the first power supply, the first terminal of the fifth resistor is grounded through the sixth resistor, the negative phase input terminal of the voltage comparator is connected to the first terminal of the fourth resistor, the output terminal of the voltage comparator is connected to the enable terminal of the power management module, and the output terminal of the voltage comparator is connected to the second terminal of the fifth resistor through the seventh resistor, so that the voltage comparator can obtain a signal when the capacitor in the capacitor charging and discharging module discharges, and output a high level through the voltage comparator, so as to restart the vehicle-mounted information terminal.
Fig. 3 is a second schematic diagram of an optional hard reset control circuit of the vehicle-mounted information terminal according to an embodiment of the invention, as shown in fig. 3, including a power switch S1, an eighth resistor R9, a level shift module 31, a first transistor Q3, a capacitor charging and discharging module 33, a voltage comparison module 35, and a power management module PMIC.
Optionally, the level conversion module 31 includes: a second transistor Q4 and a third transistor Q1, wherein the base of the second transistor is connected with the first end of the control switch, the second end of the control switch is grounded, the emitter of the second transistor is connected with a second power supply SYS-volt, and the collector of the second transistor is grounded through a first resistor R7; and a third transistor, wherein the base of the third transistor Q1 is connected to the collector of the second transistor, the emitter of the third transistor is grounded, and the collector of the third transistor is connected to the first power supply VBAT through the second resistor R8.
Optionally, the emitter of the second transistor and the base of the second transistor are connected through an eighth resistor R9.
Alternatively, the base of the first transistor Q3 is connected to the collector of the third transistor Q1, the emitter of the first transistor Q3 is connected to the first power source VBAT, the collector of the first transistor Q3 is connected to the first end of the capacitor C1 through the third resistor R1, and the second end of the capacitor C1 is grounded.
Optionally, the capacitance charge-discharge module 33 includes: the power supply circuit comprises a third resistor R1, a fourth resistor R6 and a capacitor C1, wherein the third resistor R1 is connected with a first transistor Q3, a first end of the fourth resistor R6 is connected with the capacitor C1, and a second end of the fourth resistor R6 is grounded, wherein when the first transistor Q3 is conducted, a first power supply charges the capacitor C1 through the third resistor R1, and when the first transistor Q3 is not conducted, the capacitor C1 discharges through the fourth resistor R6.
Optionally, the voltage comparison module 35 includes: the voltage comparator U40, a fifth resistor R2, a sixth resistor R3 and a seventh resistor R4, wherein a non-inverting input terminal of the voltage comparator U40 is connected with a first terminal of the fifth resistor R2, a second terminal of the fifth resistor R2 is connected with a first power supply VBAT, a first terminal of the fifth resistor R2 is grounded through the sixth resistor R3, an inverting input terminal of the voltage comparator U40 is connected with a first terminal of the fourth resistor R6, an output terminal of the voltage comparator U40 is connected with an enable terminal of the power management module PMIC, and an output terminal of the voltage comparator U40 is connected with a second terminal of the fifth resistor R2 through the seventh resistor R4.
Optionally, the voltage comparison module 35 is connected to the power management module PMIC.
Fig. 4 is a flowchart of an alternative hard reset control method of an in-vehicle information terminal according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S102, detecting whether a control switch is closed, wherein the control switch is a switch arranged on a vehicle-mounted information terminal;
step S104, under the condition that the control switch is detected to be closed, the capacitor charge-discharge module is controlled to charge the capacitor through the level conversion module, wherein the voltage comparison module outputs a low level signal in the capacitor charging process, the low level signal is used for indicating the power management module of the vehicle-mounted information terminal to stop supplying power to the vehicle-mounted information terminal, the first end of the level conversion module is connected with the control switch, the second end of the level conversion module is connected with the first end of the capacitor charge-discharge module, the input end of the voltage comparison module is connected with the second end of the capacitor charge-discharge module, and the output end of the voltage comparison module is connected with the power management module;
and S106, under the condition that the control switch is detected to be switched off, controlling the capacitor charging and discharging module to discharge the capacitor through the level conversion module, wherein the voltage comparison module outputs a high level signal in the capacitor discharging process, and the high level signal is used for indicating the power supply management module to supply power to the vehicle-mounted information terminal.
Through the steps, whether a control switch arranged on the vehicle-mounted information terminal is closed or not is detected, under the condition that the control switch is detected to be closed, a level conversion module connected with the control switch controls a capacitor charge-discharge module connected with the level conversion module to charge a capacitor, and a voltage comparison module controls a power supply management module of the vehicle-mounted information terminal to stop supplying power to the vehicle-mounted information terminal; under the condition that the control switch is disconnected, the capacitor charging and discharging module is controlled to control the capacitor to discharge through the level conversion module, and the voltage comparison module is used for controlling the power supply management module to supply power to the vehicle-mounted information terminal, so that whether the power supply management module supplies power to the vehicle-mounted information terminal or not can be controlled through the disconnection and the connection of the control switch, the vehicle-mounted information terminal is reset, and the technical problem that the system can not be reset hard when the vehicle-mounted information terminal is halted or enters an abnormal mode in the prior art is solved.
As an optional embodiment, in the case that the closing of the control switch is detected, the embodiment may further include: the charging time of the capacitor is determined, wherein the capacitor charging and discharging module further comprises a third resistor and a fourth resistor, the first end of the third resistor is connected with the first transistor, the first transistor is connected with the second end of the level conversion module, the second end of the third resistor is connected with the first end of the capacitor, the second end of the capacitor is grounded, the first end of the fourth resistor is connected with the first end of the capacitor, the second end of the fourth resistor is grounded, the voltage comparison module comprises a voltage comparator, the positive phase input end of the voltage comparator is connected with the first end of the fifth resistor, the second end of the fifth resistor is connected with the first power supply, the first end of the fifth resistor is grounded through the sixth resistor, the negative phase input end of the voltage comparator is connected with the first end of the fourth resistor, the charging time is determined by the capacitance value of the capacitor, the third resistor and the fourth resistor, and the resistance values of the fifth resistor and the sixth resistor are determined.
In the above embodiment of the present invention, the charging circuit for charging the capacitor in the capacitor charging/discharging module includes a third resistor, a first transistor, a second transistor, a first resistor, a second resistor, a voltage comparator, a positive input terminal, a first power supply, a sixth resistor, a voltage comparator, a positive input terminal, a negative input terminal, a positive output terminal, a negative input terminal, a positive output terminal, a negative output terminal, a positive output terminal, a negative output terminal, and a negative output terminal The charging time is determined by the resistance values of the fourth resistor, the fifth resistor and the sixth resistor, so that the charging time of the capacitor can be accurately determined according to the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor, and the hardware reset time of the vehicle-mounted information terminal can be further determined.
As an optional embodiment, in the case that the control switch is detected to be turned off, the embodiment may further include: and determining the discharge time of the capacitor, wherein the discharge time is determined by the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor.
By adopting the above embodiment of the present invention, in the process of discharging through the capacitor, the capacitance value in the capacitor can be reduced through the discharge circuit, wherein the discharge circuit includes the third resistor, the fourth resistor, the fifth resistor, and the sixth resistor, and the discharge time consumed by the capacitor to discharge the electric quantity of the capacitance value can be determined according to the resistance values of the third resistor, the fourth resistor, the fifth resistor, and the sixth resistor, so that the hardware reset time of the vehicle-mounted information terminal can be determined.
The present invention also provides a preferred embodiment that provides a method for vehicle telematics Terminal (TBOX) system hardware reset.
According to the technical scheme provided by the invention, the vehicle-mounted information terminal is forced to restart by powering down a system power management module (PMIC).
As shown in the circuit diagram of fig. 3, the circuit principle is as follows:
when the vehicle-mounted information Terminal (TBOX) is found to be out of work normally, the vehicle-mounted information Terminal (TBOX) can be automatically restarted by pressing an SOS (S1) button of the vehicle-mounted information Terminal (TBOX) for 10 seconds (time can be set arbitrarily).
Alternatively, when the button S1 is pressed, a level shifter is first used, the base of transistor Q4 goes low, Q4 is turned on, the collector of transistor Q4 goes high, the base of Q1 goes high, Q1 is turned on, the collector of Q1 goes low, which in turn causes Q3 to turn on, so that C1 is charged through resistor R1, and this voltage is input to the inverting input of comparator U40 and compared with the voltage at the forward input, when the voltage at the inverting input is greater than or equal to the voltage at the forward input, i.e., when the voltage at the forward input is greater than or equal to the voltage at the inverting input, i.e., when
Figure BDA0001342387660000101
In the above embodiment of the present invention, the comparator U40 outputs a low level to trigger the enable pin (EN) of the PMIC in the vehicle mounted information Terminal (TBOX), so that the PMIC turns off the output, the power supply to the system is stopped, and the system is turned off. Because of the initial voltage V of the capacitor C10When the charge time is 0, the charge time formula: t is RC l n V/(V-Vt)]Wherein, t is the charging time; r is the resistance of the resistor; c is the capacitance of the capacitor; vtThe voltage value of the capacitor at any moment; v-the capacitor full termination voltage value.
In the above embodiments of the present invention, R ═ R6/(R6+ R1), C ═ C1, V ═ R6/(R6+ R1)]*VBAT,Vt=[R3/(R3+R2)]VBAT, substituting the above parameters into the above formula, and arranging to obtain charging time
Figure BDA0001342387660000102
As can be seen from the above formula, the charging time can be determined by the resistors R1, R2, R3, R6 and the capacitor C1.
Alternatively, when the button S1 is released, the capacitor discharges through R6 when
Figure BDA0001342387660000103
At this time, the comparator U40 outputs a high level, and the system is restarted. Discharge formula V from capacitancet=V0+(V-V0)*[1-exp(-t/RC)]It can also be calculated from the time of releasing the key S1 to the time of system restartAnd (3) removing the solvent.
Alternatively, the system reset may be determined by an RC charging circuit consisting of a resistor and a capacitor, how long the key is pressed.
Alternatively, the output of the PMIC may be controlled by outputting a high-low level through a comparator.
According to the above-described embodiment of the present invention, when the vehicle information Terminal (TBOX) is in a dead halt or an output is abnormal, the circuit can be reset as long as the key is pressed for several seconds or ten seconds without disconnecting the vehicle-mounted storage battery. It should be noted that, in a practical application scenario, it is recommended to set the capacitor charging time a little longer, and if the capacitor charging time is set too short, that is, the time for pressing the key S1 is too short, a false trigger may be generated when a normal key function is executed, so that the system is restarted after power down.
Alternatively, the key for controlling the reset of the vehicle mounted information Terminal (TBOX) is not limited to the SOS key, and other keys attached to the vehicle mounted information Terminal (TBOX) are also applicable to the present invention.
According to another aspect of the present invention, the present invention further provides a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the above-mentioned hard reset control method for the in-vehicle information terminal.
According to another aspect of the present invention, the embodiment of the present invention further provides a processor, where the processor is configured to execute a program, where the program executes the above-mentioned hard reset control method for the vehicle-mounted information terminal when running.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A hard reset control system of an in-vehicle information terminal, characterized by comprising:
the first end of the level conversion module is connected with the control switch, the second end of the level conversion module is connected with the first end of the capacitor charge-discharge module, and the level conversion module is used for controlling the capacitor charge-discharge module to charge the capacitor when the control switch is closed and controlling the capacitor charge-discharge module to discharge the capacitor when the control switch is disconnected;
the reverse phase input end of the voltage comparison module is connected with the second end of the capacitor charging and discharging module, the output end of the voltage comparison module is connected with a power management module of a vehicle-mounted information terminal, and the voltage comparison module is used for outputting a low level signal in the capacitor charging process and outputting a high level signal in the capacitor discharging process, wherein the low level signal is used for indicating the power management module to stop supplying power to the vehicle-mounted information terminal, and the high level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal;
the system further comprises:
the first transistor is respectively connected with the second end of the level conversion module and the first end of the capacitor charge-discharge module, and is used for being switched on when the control switch is switched on to control the capacitor charge-discharge module to charge the capacitor, and switched off when the control switch is switched off to control the capacitor charge-discharge module to discharge the capacitor.
2. The system of claim 1, wherein the voltage comparison module comprises:
the positive phase input end of the voltage comparator is connected with a first power supply, the negative phase input end of the voltage comparator is connected with the second end of the capacitor charging and discharging module, and the output end of the voltage comparator is connected with the power supply management module.
3. The system of claim 2, wherein the level translation module comprises:
a base electrode of the second transistor is connected with the first end of the control switch, a second end of the control switch is grounded, an emitter electrode of the second transistor is connected with a second power supply, and a collector electrode of the second transistor is grounded through a first resistor;
and a third transistor, wherein a base of the third transistor is connected to a collector of the second transistor, an emitter of the third transistor is grounded, and a collector of the third transistor is connected to the first power source through a second resistor.
4. The system of claim 3,
the base electrode of the first transistor is connected with the collector electrode of the third transistor, the emitter electrode of the first transistor is connected with the first power supply, the collector electrode of the first transistor is connected with the first end of the capacitor through a third resistor, and the second end of the capacitor is grounded.
5. The system of claim 4, wherein the capacitance charging and discharging module comprises:
and a fourth resistor, a first end of which is connected to the capacitor, and a second end of which is grounded, wherein when the first transistor is turned on, the first power supply charges the capacitor through the third resistor, and when the first transistor is turned off, the capacitor discharges through the fourth resistor.
6. The system of claim 5,
the positive phase input end of the voltage comparator is connected with the first end of a fifth resistor, the second end of the fifth resistor is connected with the first power supply, the first end of the fifth resistor is grounded through a sixth resistor, the reverse phase input end of the voltage comparator is connected with the first end of a fourth resistor, the output end of the voltage comparator is connected with the enabling end of the power management module, and the output end of the voltage comparator is connected with the second end of the fifth resistor through a seventh resistor.
7. A hard reset control method of a vehicle-mounted information terminal is characterized by comprising the following steps:
detecting whether a control switch is closed, wherein the control switch is a switch arranged on a vehicle-mounted information terminal;
under the condition that the control switch is detected to be closed, a level conversion module is used for controlling a capacitance charge-discharge module to charge a capacitor, wherein a voltage comparison module outputs a low level signal in the capacitance charging process, the low level signal is used for indicating a power management module of the vehicle-mounted information terminal to stop supplying power to the vehicle-mounted information terminal, a first end of the level conversion module is connected with the control switch, a second end of the level conversion module is connected with the first end of the capacitance charge-discharge module, an inverted input end of the voltage comparison module is connected with the second end of the capacitance charge-discharge module, and an output end of the voltage comparison module is connected with the power management module;
under the condition that the control switch is detected to be disconnected, the level conversion module controls the capacitance charging and discharging module to perform capacitance discharging, wherein the voltage comparison module outputs a high level signal in the capacitance discharging process, and the high level signal is used for indicating the power management module to supply power to the vehicle-mounted information terminal;
in the event that the control switch is detected to be closed, the method further comprises:
determining the charging time of the capacitor, wherein the capacitor charging and discharging module further comprises a third resistor and a fourth resistor, a first end of the third resistor is connected with the first transistor, the first transistor is connected with a second end of the level conversion module, a second end of the third resistor is connected with a first end of the capacitor, a second end of the capacitor is grounded, a first end of the fourth resistor is connected with a first end of the capacitor, a second end of the fourth resistor is grounded, the voltage comparison module comprises a voltage comparator, a positive phase input end of the voltage comparator is connected with a first end of a fifth resistor, a second end of the fifth resistor is connected with a first power supply, a first end of the fifth resistor is grounded through a sixth resistor, and a negative phase input end of the voltage comparator is connected with a first end of the fourth resistor, the charging time is determined by the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor.
8. The method of claim 7, wherein in the event that the control switch is detected to be open, the method further comprises:
and determining the discharge time of the capacitor, wherein the discharge time is determined by the capacitance value of the capacitor and the resistance values of the third resistor, the fourth resistor, the fifth resistor and the sixth resistor.
CN201710543297.XA 2017-07-05 2017-07-05 Hard reset control system and method for vehicle-mounted information terminal Active CN107491155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710543297.XA CN107491155B (en) 2017-07-05 2017-07-05 Hard reset control system and method for vehicle-mounted information terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710543297.XA CN107491155B (en) 2017-07-05 2017-07-05 Hard reset control system and method for vehicle-mounted information terminal

Publications (2)

Publication Number Publication Date
CN107491155A CN107491155A (en) 2017-12-19
CN107491155B true CN107491155B (en) 2020-06-16

Family

ID=60644634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710543297.XA Active CN107491155B (en) 2017-07-05 2017-07-05 Hard reset control system and method for vehicle-mounted information terminal

Country Status (1)

Country Link
CN (1) CN107491155B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108538267B (en) * 2018-04-20 2020-08-04 昆山龙腾光电股份有限公司 Drive circuit and liquid crystal display device
CN109613969A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 SSD power supply circuit, capacitance management method, system, device and storage medium
CN112531871A (en) * 2019-09-17 2021-03-19 上海中兴软件有限责任公司 Power-off protection circuit and method, data protection method and electronic product
CN110920545B (en) * 2019-12-04 2020-12-15 华人运通(上海)云计算科技有限公司 Emergency call switch fault detection circuit and car
CN111641406A (en) * 2020-06-30 2020-09-08 湖南中车时代通信信号有限公司 Power-off restart automatic control circuit
CN113178917A (en) * 2021-05-12 2021-07-27 国网河北省电力有限公司保定供电分公司 Charge and discharge management circuit, power supply device and charge and discharge management control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4534056A (en) * 1982-08-26 1985-08-06 Westinghouse Electric Corp. Voice-recognition elevator security system
CN201113972Y (en) * 2007-10-19 2008-09-10 深圳市同洲电子股份有限公司 Level switching circuit
CN101338995A (en) * 2008-06-04 2009-01-07 北京铱钵隆芯科技有限责任公司 Electronic detonator control chip and its connection reliability checking method
CN105181095A (en) * 2015-05-31 2015-12-23 吉林市东杰科技开发有限公司 Unattended truck scale automatic detection and control equipment
CN204924258U (en) * 2015-08-12 2015-12-30 成都亿盟恒信科技有限公司 IC -card operating instrument of big dipper location shows and RFID mobile unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4534056A (en) * 1982-08-26 1985-08-06 Westinghouse Electric Corp. Voice-recognition elevator security system
CN201113972Y (en) * 2007-10-19 2008-09-10 深圳市同洲电子股份有限公司 Level switching circuit
CN101338995A (en) * 2008-06-04 2009-01-07 北京铱钵隆芯科技有限责任公司 Electronic detonator control chip and its connection reliability checking method
CN105181095A (en) * 2015-05-31 2015-12-23 吉林市东杰科技开发有限公司 Unattended truck scale automatic detection and control equipment
CN204924258U (en) * 2015-08-12 2015-12-30 成都亿盟恒信科技有限公司 IC -card operating instrument of big dipper location shows and RFID mobile unit

Also Published As

Publication number Publication date
CN107491155A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107491155B (en) Hard reset control system and method for vehicle-mounted information terminal
US10363825B2 (en) Method, battery management system and vehicle for charging awakening
CN107264309B (en) Vehicle charging and discharging control method and device and automobile
CN101208823B (en) Method and apparatus for reminding a user of an unattended device in a vehicle
US20130110340A1 (en) Electric vehicle, charging stand, and method for charging the electric vehicle
EP2651005B1 (en) Battery charging method and mobile terminal
CN108123509B (en) Charging control method and related device thereof
WO2011134781A2 (en) Methods and systems for detecting battery presence
KR102490936B1 (en) Apparatus and method for monitoring auxiliary battery of vehicle
CN102931720A (en) Power circuit and power switching method
CN105620377A (en) In-vehicle OBU terminal anti-disassembly system and method
CN112311080B (en) Power supply switching system and method, electrical equipment and vehicle accident alarm method
CN109120030B (en) Wireless charger and electronic equipment forgetting reminding method
KR101389740B1 (en) Battery charger for portable terminal and charging method thereof
US20130103878A1 (en) Universal usb charger
CN105691327B (en) Vehicle-mounted system of intelligent equipment, intelligent equipment and vehicle-mounted base
US8976016B2 (en) Electrical charging system alarm for a vehicle charge cord with automatic shutoff
US20190081485A1 (en) Charging apparatus, a vehicle including same, and a method for controlling a charging apparatus
CN211032453U (en) Power-down delay protection circuit applied to camera and vehicle-mounted equipment
CN111614138B (en) Interface protection circuit and electronic equipment
CN111137150A (en) Charging control method and vehicle-mounted charger
US20150015067A1 (en) Control circuit and electronic device using same
CN211995249U (en) Forklift vehicle-mounted power supply device and forklift charging system
US20230026299A1 (en) Vehicle battery with a self-contained backup capability
CN219287196U (en) Car networking system and power supply circuit for car-mounted T-BOX

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
GR01 Patent grant
GR01 Patent grant