CN111766929A - Reset circuit, method, device and electronic product - Google Patents

Reset circuit, method, device and electronic product Download PDF

Info

Publication number
CN111766929A
CN111766929A CN202010534694.2A CN202010534694A CN111766929A CN 111766929 A CN111766929 A CN 111766929A CN 202010534694 A CN202010534694 A CN 202010534694A CN 111766929 A CN111766929 A CN 111766929A
Authority
CN
China
Prior art keywords
reset
charging port
electronic product
trigger
charging
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.)
Granted
Application number
CN202010534694.2A
Other languages
Chinese (zh)
Other versions
CN111766929B (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.)
Anhui Huami Information Technology Co Ltd
Original Assignee
Anhui Huami Information Technology 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 Anhui Huami Information Technology Co Ltd filed Critical Anhui Huami Information Technology Co Ltd
Priority to CN202010534694.2A priority Critical patent/CN111766929B/en
Publication of CN111766929A publication Critical patent/CN111766929A/en
Application granted granted Critical
Publication of CN111766929B publication Critical patent/CN111766929B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a reset circuit and an electronic product, wherein the reset circuit is applied to the electronic product with a charging port and a system chip, and comprises the following components: a power supply circuit and a trigger; the input end of the power supply circuit is connected with a power pin of the charging port, and the output end of the power supply circuit is connected with the power supply end of the trigger; the input end of the trigger is connected with a power pin of the charging port, and the output end of the trigger is connected with a reset pin of the system chip; the trigger is used for counting once when the input end is triggered by high level each time, and outputting a reset signal to control the system chip of the electronic product to reset when the count value of the trigger reaches a first threshold value in a preset time period. The circuit can control the electronic product to reset in a repeated power-on and power-off mode, and the initiative and the convenience for controlling the electronic product without the reset key to reset are improved.

Description

Reset circuit, method, device and electronic product
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a reset circuit, a method, an apparatus, and an electronic product.
Background
With the trend towards miniaturization development of various types of electronic devices such as intelligent wearable devices and Internet of Things (IoT) devices, the structural design of the electronic devices is more compact. Therefore, more and more electronic devices cancel the setting reset key.
In the related art, for an electronic device without a reset key, in order to perform reset when the device crashes, etc., a scheme of reducing the crash by using optimized software or a scheme of setting a watchdog circuit to perform reset is generally adopted. However, the above solutions cannot be reset actively by the user, and for the solution of optimizing software, the solution can only wait for the power to be exhausted and then restart when the device is halted, which results in a longer time required for resetting, and for the solution of setting the watchdog circuit, the extra power consumption of the electronic device is increased, and the standby time of the device is reduced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, a first object of the present invention is to provide a reset circuit, which counts once each time when being triggered by a high level, determines a count value according to the number of triggers, for example, counts once when the electronic product is connected to the charger and is powered on, and counts again when the electronic product is powered on next time after power off. And then automatically controlling the electronic product containing the circuit to reset when the counting value meets a preset threshold value within a preset time. Therefore, a user can control the electronic product containing the reset circuit to reset by repeatedly controlling the power-on and power-off modes of the reset circuit, such as repeatedly plugging and unplugging a charging port and the like, and the reset mode can be manually operated by the user according to actual needs, so that the initiative and the convenience for controlling the electronic product without the reset key to reset are improved.
The second objective of the present invention is to provide an electronic product.
A third object of the present invention is to provide a reset method.
A fourth object of the present invention is to provide a resetting device.
To achieve the above object, a first embodiment of the present invention provides a reset circuit applied in an electronic product having a charging port and a system chip, the reset circuit including: a power supply circuit and a trigger;
the input end of the power supply circuit is connected with a power pin of the charging port, and the output end of the power supply circuit is connected with the power supply end of the trigger;
the input end of the trigger is connected with a power pin of the charging port, and the output end of the trigger is connected with a reset pin of the system chip;
the trigger is used for counting once when the input end is triggered by high level each time, and outputting a reset signal to control the system chip of the electronic product to reset when the count value of the trigger reaches a first threshold value in a preset time period.
The reset circuit of the embodiment of the invention counts once when being triggered by high level each time, so that the counting value can be determined according to the triggering times, for example, the counting is performed once when the electronic product is connected with the charger and powered on, and the counting is performed again when the electronic product is powered on next time after power is off. And then automatically controlling the electronic product containing the circuit to reset when the counting value meets a preset threshold value within a preset time. Therefore, a user can control the electronic product containing the reset circuit to reset by repeatedly controlling the power-on and power-off modes of the reset circuit, such as repeatedly plugging and unplugging a charging port and the like, and the reset mode can be manually operated by the user according to actual needs, so that the initiative and the convenience for controlling the electronic product without the reset key to reset are improved.
In addition, the reset circuit according to the above embodiment of the present invention may further have the following additional technical features:
according to one embodiment of the invention, a power supply circuit includes: the circuit comprises a diode, a first resistor, a first capacitor and a second resistor; the anode of the diode is connected with a power pin of the charging port, and the cathode of the diode is respectively connected with one end of the first resistor and one end of the second resistor; the other end of the first resistor is connected with one end of the first capacitor; the other end of the first capacitor is connected with the ground; the other end of the second resistor is connected with the power supply end of the trigger.
According to an embodiment of the present invention, the reset circuit further includes a third resistor; and the input end of the trigger is connected with a power supply pin of the charging port through the third resistor.
According to an embodiment of the present invention, the reset circuit further includes a fourth resistor; one end of the fourth resistor is connected with a power pin of the charging port, and the other end of the fourth resistor is connected with the ground.
According to an embodiment of the invention, the flip-flop is further configured to record a duration of each time the level of the input terminal changes to a high level, and output a reset signal to control a system chip of the electronic product to reset when the duration of at least one time the level of the input terminal changes to a high level is less than a second threshold value within the preset time period.
In order to achieve the above object, a second aspect of the present invention provides an electronic product, including the reset circuit and a charging socket, wherein the charging socket accommodates the charging port;
the charging seat comprises a switch component connected in series in a charging circuit and a reset terminal used for controlling the working state of the switch component.
In addition, the electronic product according to the above embodiment of the present invention may further have the following additional technical features:
according to one embodiment of the invention, when a reset terminal is pressed, the switch assembly is disconnected, and the charging port stops supplying power to a power supply circuit and a trigger in the reset circuit; after the reset terminal resets, the switch assembly is conducted, and the charging port provides power for a power supply circuit and a trigger in the reset circuit.
According to the electronic product provided by the embodiment of the invention, the reset terminal is arranged on the charging seat, the charging port can be repeatedly controlled to be powered on and powered off by pressing and resetting the reset terminal, the trigger in the reset circuit can be controlled to count according to the mode in the embodiment, and when the count value reaches the preset threshold value, the reset signal is output to control the electronic product to reset. Therefore, the user can manually operate the reset terminal on the charging seat according to actual needs to reset the electronic equipment.
In order to achieve the above object, a reset method applied in an electronic product having a charging port and a system chip according to a third embodiment of the present invention includes:
monitoring the change state of the charging voltage in the charging port;
and outputting a reset signal to control the system chip of the electronic product to reset if the number of times that the charging voltage in the charging port changes to the high level is greater than a first threshold value within a preset time period.
According to the reset method provided by the embodiment of the invention, the number of times of changing the charging voltage into the high level can be determined by monitoring the change state of the charging voltage, so that whether the number of times of changing into the high level is greater than a preset threshold value or not is judged, and then the electronic product is automatically controlled to reset when the number of times of changing into the high level is greater than the preset threshold value. Therefore, the user can increase the times that the charging voltage in the charging port becomes high level by repeatedly controlling the charging port of the electronic product to be powered on and powered off, for example, repeatedly plugging and unplugging the charging port and the like, so as to control the electronic product to reset.
In addition, the reset method according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the invention, the reset method further comprises: monitoring the duration of each time the charging voltage in the charging port changes to a high level; and in the preset time period, if the duration of the charging voltage changing into the high level in the charging port at least once is less than a second threshold, outputting a reset signal to control the system chip of the electronic product to reset.
In order to achieve the above object, a fourth aspect of the present invention provides a resetting device, including:
the monitoring module is used for monitoring the change state of the charging voltage in the charging port;
and the processing module is used for outputting a reset signal to control the system chip of the electronic product to reset if the number of times of changing the charging voltage into the high level in the charging port is greater than a first threshold value in a preset time period.
In addition, the resetting device according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, the monitoring module is further configured to monitor a duration of each time the charging voltage in the charging port changes to a high level; the processing module is further configured to output a reset signal to control a system chip of the electronic product to reset if a duration of time during which the charging voltage in the charging port changes to the high level at least once is less than a second threshold within the preset time period.
The reset device of the embodiment of the invention can determine the times of changing the charging voltage into the high level by monitoring the change state of the charging voltage, further judge whether the times of changing into the high level is greater than a preset threshold value, and then automatically control the electronic product to reset when the times of changing into the high level is greater than the preset threshold value. Therefore, the user can increase the times that the charging voltage in the charging port becomes high level by repeatedly controlling the charging and power-off modes of the charging port of the electronic product, for example, repeatedly plugging and unplugging the charging port and the like, so as to control the electronic product to reset.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic structural diagram of a reset circuit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a specific reset circuit according to an embodiment of the present invention;
fig. 3 is a schematic waveform diagram of level signals of terminals in an electronic product according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic product according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a reset method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a resetting device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Reset circuits, methods, apparatuses, and electronic products according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a reset circuit according to an embodiment of the present invention, and as shown in fig. 1, the reset circuit includes a power supply circuit 10 and a flip-flop 20.
The reset circuit is applied to an electronic product having a charging port 30 and a system chip 40, wherein an input terminal of a power supply circuit 10 is connected to a power supply pin 31 of the charging port 30, an output terminal of the power supply circuit 10 is connected to a power supply terminal of a flip-flop 20, an input terminal of the flip-flop 20 is connected to the power supply pin 31 of the charging port 30, and an output terminal of the flip-flop 20 is connected to a reset pin 41 of the system chip 40.
The charging port 30 is used for connecting a charger to charge, and the charging port 30 supplies power to a device such as a reset circuit through a power pin 31. The system chip 40 may be a main control chip such as a microprocessor of an electronic product, and is configured to perform a corresponding function of the electronic product, and when the reset pin 41 in the system chip 40 receives a reset signal, for example, a high level signal, the system chip 40 is reset.
The trigger 20 is configured to detect whether the control signal received by the reset circuit satisfies a preset threshold, so as to determine whether to trigger the system chip 40 to reset. In an embodiment of the present invention, the flip-flop 20 may be a counter for counting the number of times that the reset circuit is triggered by the high level, wherein the flip-flop 20 counts once when the input terminal is triggered by the high level each time, the flip-flop 20 counts according to the number of times that the input terminal is triggered by the high level for a plurality of times, and the flip-flop 20 is triggered when the count value of the flip-flop 20 reaches a first threshold value within a preset time period, so as to output the reset signal to control the system chip of the electronic product to reset.
Specifically, after the charging port 30 is connected to a charger, the power pin 31 is powered on to supply power to the power supply circuit 10, and then the power supply circuit 10 supplies power to the trigger 20, so that the trigger 20 is powered on to operate, and meanwhile, the input end of the trigger 20 is triggered by a high level to count once. When the input terminal of the flip-flop 20 is continuously at the high level, the count value of the flip-flop 20 is only one time, and the electronic product is in a normal charging process. If the input terminal of the flip-flop 20 is triggered at the high level for a plurality of times, for example, the input terminal of the flip-flop 20 is changed from the high level to the low level and then triggered at the high level again, the flip-flop 20 is shifted to count, and the count is performed according to the number of times of triggering at the input terminal of the flip-flop 20. And when the count value of the trigger 20 reaches the first threshold value within the preset time period, it is determined that the control signal received by the trigger 20, i.e., the high-level trigger frequency, meets the trigger condition, and then the reset signal is output to the reset pin of the system chip 40 to control the system chip 40 of the electronic product to reset.
In an embodiment of the present invention, the count value of the trigger 20 reaches the first threshold within a preset time period, and the user may control the charging port 30 to power on and off for multiple times by repeatedly plugging and unplugging the charging port 30, so that the input end of the trigger 20 is triggered by a high level for multiple times. Wherein, first threshold value and predetermined time quantum can be set up according to user's actual need, for example, the user can set up first threshold value in advance and be 5 times, predetermined time quantum is a minute, thereby can avoid the lower of first threshold value setting, and detection time overlength and lead to producing the maloperation that resets, for example, avoid producing the maloperation that resets when the port that charges that breaks off because of the user carelessness leads to continuing to charge in normal charging process, simultaneously reasonable setting first threshold value can also avoid the too much complexity that leads to the operation that resets of plug number of times great.
It should be noted that, in order to avoid clearing the count value of the flip-flop 20 during the power-down process of the charging port 30, in an embodiment of the present invention, the power supply circuit 10 may be a storage circuit, so as to continuously supply power to the flip-flop 20 in a power-down state of the charging port 30, and the flip-flop 20 is convenient to count according to the power-up and power-down times.
Therefore, under the scene that the electronic product without the reset key needs to be reset, such as halt, blockage and the like, the user can connect the electronic product comprising the reset circuit with the charging seat, and repeatedly control the power-on and power-off of the reset circuit in modes of repeatedly plugging and unplugging the charging port and the like so as to control the reset of the electronic product, and the problem that the user can not actively operate the electronic product without the reset key to reset is solved.
In summary, the reset circuit according to the embodiment of the invention counts once each time it is triggered by the high level, and determines the count value according to the number of triggers, for example, the count value is counted once when the electronic product is connected to the charger and powered on, and the count value is counted again when the electronic product is powered on next time after the electronic product is powered off. And then automatically controlling the electronic product containing the circuit to reset when the counting value meets a preset threshold value within a preset time. Therefore, a user can control the electronic product containing the reset circuit to reset by repeatedly controlling the power-on and power-off modes of the reset circuit, such as repeatedly plugging and unplugging a charging port and the like, and the reset mode can be manually operated by the user according to actual needs, so that the initiative and the convenience for controlling the electronic product without the reset key to reset are improved.
Based on the above embodiments, in order to more clearly describe the operation process of the reset circuit according to the embodiments of the present invention, a specific reset circuit provided by the embodiments of the present invention is specifically described below.
Fig. 2 is a schematic structural diagram of a specific reset circuit according to an embodiment of the present invention, and as shown in fig. 2, on the basis of fig. 1, the power supply circuit 10 further includes: diode 11, first resistance 12, first electric capacity 13 and second resistance 14, this reset circuit still includes: a third resistor 50 and a fourth resistor 60.
An anode of the diode 11 is connected to the power supply pin 31(VBUS) of the charging port 30, a cathode of the diode 11 is connected to one end of the first resistor 12 and one end of the second resistor 14, respectively, the other end of the first resistor 11 is connected to one end of the first capacitor 13, the other end of the first capacitor 13 is connected to ground, and the other end of the second resistor 14 is connected to the power supply terminal (VDD) of the flip-flop 20. One end of the third resistor 50 is connected to the power supply pin 31(VBUS) of the charging port 30, the other end of the third resistor 50 is connected to the input terminal (D) of the flip-flop 20, one end of the fourth resistor 60 is connected to the power supply pin 31(VBUS), and the other end of the fourth resistor 60 is connected to ground.
The energy storage circuit is composed of a first resistor 12, a first capacitor 13 and a second resistor 14, and when VBUS is powered on, the energy storage circuit is charged, so that when VBUS is powered off, the energy storage circuit can still supply power to the trigger 20 to maintain the trigger 20 to work.
With continued reference to fig. 2, the third resistor 50 is used to limit the current input to the input terminal of the flip-flop 20, so as to prevent the transient peak value of the current input by VBUS from being too large to damage the flip-flop 20, and to improve the safety of the flip-flop 20 when the input terminal of the flip-flop 20 is repeatedly triggered by a high level. The fourth resistor 60 is a discharge resistor, and after the power is off, VBUS is rapidly discharged through the fourth resistor 60, and the voltage of VBUS is reduced, so that the input terminal of the flip-flop 20 is rapidly changed to a low level. The parameters of the third resistor 50 and the fourth resistor 60 may be set according to actual requirements, for example, the fourth resistor 60 with corresponding resistance and power is selected according to expected discharge voltage and discharge time, so as to control the time occupied by discharge, and then, in order to reduce the charge loss caused by discharge, a resistor with a larger resistance may be further selected as the fourth resistor 60 according to the discharge voltage.
In a specific application, as an example, the trigger 20 may be a counter, after the charging port 30 is connected to a charger, VBUS is powered on, and a tank circuit formed by the first resistor 12, the first capacitor 13, and the second resistor 14 is charged through the diode D1, the trigger 20 starts to operate, and when it is detected that a signal input to the D pin through the third resistor 50 is at a high level, the trigger 20 counts 1 time. In the normal charging process, the flip-flop 20 always counts 1 time, the Q0 pin output of the flip-flop 20 is set to 1, and the Q1 and Q2 pin outputs are set to 0, so that the reset pin 41 in the system chip 40 receives a low level signal, and the system is not triggered to restart.
When the system chip 40 is abnormally reset, a user can repeatedly plug and unplug the charging port 30 to repeatedly power on and power off, wherein when the system chip is powered on, the VBUS charges the energy storage circuit in the above manner, when the system chip is powered off, the energy storage circuit stores electric energy, and because the diode D1 is turned off in the reverse direction, the power supply circuit 10 continuously supplies power to the VDD terminal, so that the voltage of the trigger 20 is kept in a stable state, and the trigger can normally work during the power off. Meanwhile, after the power is off, VBUS is rapidly discharged through the fourth resistor 60, the voltage of the D pin is rapidly changed to a low level, and then, when VBUS is powered on again, the D pin of the flip-flop 20 is triggered by the high level again, the flip-flop 20 shifts to count, and the count value is increased. When the power-up and power-down are repeated for a preset number of times and the count value is increased to a preset first threshold value, for example, 5 times, the Q2 pin of the flip-flop 20 outputs a high level, and the reset pin 41 in the system chip 40 receives a reset signal, so that the system chip 40 is reset.
In order to more clearly describe the state of each terminal in the process of repeatedly powering on and powering off, the embodiment of the present invention further provides a waveform diagram of the level signal of each terminal in the electronic product, and the level signals of each terminal at different times are shown in fig. 3, where DQ is the counting end of the flip-flop 20, and RST is the reset pin 41 in the system chip 40. VBUS is powered on in the period of t0-t1, the VDD terminal voltage of the flip-flop 20 rises, the flip-flop 20 starts to work and triggers DQ counting, the Q0 outputs high level, and the Q1 and the Q2 are low level. At the stage of t1-t2, when VBUS is powered down, VDD keeps stable basically due to the energy storage function of the energy storage circuit, the trigger 20 keeps normal operation, and each output end of the trigger 20 keeps the original state. The operations of the stages t0 to t1 are repeated at the stages t2 to t3, and the flip-flop 20 performs shift counting and the count value is increased by 1. Further, after repeatedly powering up and down for a preset number of times, for example, 4 times, the count value of the flip-flop reaches the preset first threshold at the stage t6-t7, and then the Q2 of the flip-flop 20 outputs a high level, so as to trigger the RST to output a high level, and the system chip 40 is reset.
Therefore, in the reset circuit of the embodiment of the invention, the energy storage circuit is arranged in the power supply circuit to supply power to the trigger, the trigger counts when being triggered by high level, and the energy storage circuit keeps working when being powered off, so that the power-on and power-off times can be counted, and the system chip is automatically controlled to reset when the counted value meets the preset threshold value. Therefore, the user can repeatedly plug and unplug the charging port and the like to carry out repeated power-on and power-off operations, and further control the electronic product containing the reset circuit to reset, and the reset mode can be manually operated by the user according to actual needs, so that the initiative and the convenience for controlling the electronic product without the reset key to reset are improved. And the parameters of the discharge resistor and the current-limiting resistor are set according to actual requirements, so that the rapid power-off of the input end of the trigger and the anti-surge protection of the trigger are realized during power failure.
As another example, in order to reduce the number of times of plugging and unplugging the charging port and further improve the convenience of resetting the electronic product without the reset button, the trigger 20 may be further configured as a timer. When the flip-flop 20 is a timer, the connection manner of the components in the reset circuit can refer to the above example, and is not described herein again.
The trigger 20 is configured to record a duration that the level of the input terminal changes to the high level each time, and output a reset signal to control a system chip of the electronic product to reset when the duration that the level of the input terminal changes to the high level at least once is less than a second threshold in a preset time period.
The second threshold is a preset time value used for determining that the current charging time of the electronic device is less than the charging completion time, for example, when the normal charging completion time of the electronic product is 2 hours, the second threshold is preset to be 1 minute, and when the final timing value is less than the second threshold, it may be determined that the current charging time of the electronic device does not reach the charging completion time. The preset time period is used for determining whether the reset operation can be executed at the current time, and it can be understood that after the charging time exceeds a certain length, the user may not have the reset intention at present, and the electronic product is in the normal charging mode. The preset time period is greater than the second threshold, for example, the preset time period may be 1 hour.
Specifically, after the charging port 30 is connected to a charger, the power pin 31 is powered on to supply power to the power supply circuit 10, and then the power supply circuit 10 supplies power to the timer 20, so that the timer 20 is powered on to operate, and meanwhile, the input end of the trigger 20 is triggered by a high level to start timing. When the input end of the timer 20 is continuously at the high level, the timing value of the timer 20 is continuously increased and is greater than the preset second threshold value, and the electronic product is in the normal charging process. If the final timing value of the timer 20 is smaller than the second threshold, for example, after the charging port is powered off, the timing is finished, and it is determined that the final timing value of the timer 20 is smaller than the preset second threshold, it indicates that the reset circuit is powered off before the charging is finished, and then the timer 20 outputs a reset signal to the reset pin of the system chip 40 to control the system chip 40 of the electronic product to reset.
In an embodiment of the present invention, when the final timing value of the timer 20 is smaller than the second threshold, the last timing value may be implemented by the user unplugging the charging port when the power-on time of the reset circuit is smaller than the second threshold, and when the final timing value of the timer 20 is smaller than the second threshold, it may indicate that the user controls the electronic product to reset by unplugging the charging port. The timer 20 further outputs a reset signal to the reset pin of the system chip 40, so as to control the system chip 40 of the electronic product to reset.
Therefore, under the scene that the electronic product without the reset key needs to be reset, such as halt or blockage, the user can connect the electronic product containing the reset circuit with the charging seat, and the charging port is pulled out to reset when the charging time of the electronic device is less than the preset time, so that the convenience of resetting the electronic product without the reset key is improved.
Further, in order to avoid the erroneous judgment of the reset of the electronic device caused by the misoperation of the user when the electronic device is charged, in one implementation of the present invention, it may be further configured to output a reset signal to control the system chip of the electronic product to reset when the final timing value of the timer 20 is smaller than the second threshold and larger than the third threshold.
For example, in order to avoid that the reset circuit is powered off due to the fact that a user collides with the electronic device in the process of placing the electronic device after the electronic device is plugged into the charger, and thus a misoperation is generated due to the fact that the final timing value of the timer 20 is smaller than the second threshold value when the user does not control the electronic device to reset, the reset signal is output to control the system chip of the electronic product to reset when the final timing value of the timer 20 is set to be smaller than 1 minute and larger than 5 seconds.
The reset circuit of the embodiment of the invention is used for timing when being triggered by a high level by setting the timer, and automatically controlling the electronic product comprising the reset circuit to reset when the final timing value is smaller than the preset second threshold value in the preset time period. Therefore, a user can connect the charging seat through the electronic product containing the reset circuit, the charging port is pulled out when the charging time of the electronic equipment is less than the preset time, the electronic product containing the reset circuit is controlled to reset, the reset mode can be manually operated by the user according to actual needs, the initiative and the convenience for controlling the electronic product without the reset key to reset are improved, the plugging times of the charging port are reduced, the abrasion generated by the charging port is reduced, and the convenience for controlling the electronic product without the reset key to reset is further improved.
In order to implement the above embodiments, an electronic product 1000 is further provided in an embodiment of the present invention, as shown in fig. 4, the electronic product includes the reset circuit 100 and the charging dock 200 accommodating the charging port 210 according to any of the above embodiments.
The charging stand 200 further includes a switch module 220 serially connected to the charging line, and a reset terminal 230 for controlling the operating state of the switch module.
In one embodiment of the present invention, the reset terminal 230 can be manually pressed or reset by a user, the switch component 220 is turned off when the reset terminal 230 is pressed, and the charging port 210 stops supplying power to the power supply circuit 110 and the trigger 120 of the reset circuit 100. When the reset terminal 230 is reset, the switch element 220 is turned on, and the charging port 210 provides power to the power supply circuit 110 and the flip-flop 120 in the reset circuit 100.
Therefore, the reset terminal of the electronic equipment is arranged on the charging seat, the charging port can be repeatedly controlled to be powered on and powered off by pressing and resetting the reset terminal, the trigger in the reset circuit can be controlled to count according to the mode in the embodiment, and when the count value reaches the preset threshold value, the reset signal is output to control the electronic product to reset. Therefore, the user can manually operate the reset terminal on the charging seat according to actual needs to reset the electronic equipment.
In order to implement the above embodiment, the present invention further provides a reset method. It should be noted that the reset method is implemented based on the reset circuit described above.
Fig. 5 is a schematic flowchart of a resetting method according to an embodiment of the present invention, and as shown in fig. 5, the method includes the following steps:
step 101, monitoring the change state of the charging voltage in the charging port.
Wherein, the changing state of the charging voltage comprises changing from low level to high level and changing from high level to low level.
In one embodiment of the present invention, the flip-flop in the reset circuit proposed by the embodiment of the present invention monitors the changing state of the charging voltage in the charging port. The input end of the trigger is connected with a power pin of the charging port, the voltage of the input end of the trigger is equal to the charging voltage in the charging port so as to monitor the charging voltage in the charging port, and the output end of the trigger is connected with a reset pin of a system chip in an electronic product.
And 102, in a preset time period, if the number of times that the charging voltage in the charging port changes to the high level is greater than a first threshold value, outputting a reset signal to control the system chip of the electronic product to reset.
When the change state of the charging voltage in the charging port is monitored, the number of times that the charging voltage changes into the high level can be monitored, and whether the system chip of the electronic product is controlled to reset or not is determined according to whether the number of times that the charging voltage changes into the high level meets the preset requirement or not.
In specific implementation, with reference to the above embodiment, the trigger provided in the embodiment of the present invention may be a counter, configured to count the number of times that the charging port is triggered by the high level, where the trigger counts once each time the input terminal is triggered by the high level, and when the input terminal is triggered by the high level for multiple times, the trigger counts according to the number of times of triggering, and is triggered when a count value of the trigger reaches a first threshold value within a preset time period, so that it may be determined whether the number of times that the charging voltage in the charging port changes to the high level is greater than the first threshold value, and when the count value is greater than the first threshold value, a reset signal is output to control a system chip of the electronic product to reset.
After the charging port is powered on, the trigger is powered on to work, and meanwhile, the input end of the trigger is triggered by high level to count once. When the input end of the trigger is continuously at a high level, the count value of the trigger is only once, and the electronic product is in a normal charging process. If the input end of the trigger is triggered by high level for many times, for example, the input end of the trigger is triggered by high level again after being changed from high level to low level, the trigger is triggered to shift and count, and the count is carried out according to the triggering times of the input end of the trigger. And when the count value of the trigger reaches a first threshold value within a preset time period, determining that the control signal received by the trigger, namely the high-level trigger frequency, meets the trigger condition, and then outputting a reset signal to a reset pin of the system chip to control the system chip of the electronic product to reset.
In an embodiment of the present invention, the count value of the trigger reaches the first threshold within a preset time period, and the charging port may be controlled to be powered on and powered off for multiple times by a user through repeatedly plugging and unplugging the charging port, so that the input end of the trigger is triggered by a high level for multiple times.
It should be noted that, in order to reduce the number of times of plugging and unplugging the charging port and further improve the convenience of resetting the electronic product without the reset key, in another embodiment of the present invention, the duration of each time the charging voltage in the charging port becomes the high level may be monitored simultaneously, and in a preset time period, if the duration of at least one time the charging voltage in the charging port becomes the high level is less than a second threshold, the reset signal is output to control the system chip of the electronic product to reset.
In specific implementation, the trigger provided in the embodiment of the present invention may be set as a timer, and is configured to record a duration that a level of the input terminal changes into a high level each time, when a final timing value of the timer is smaller than a second threshold, the trigger may be implemented by pulling out the charging port when a power-on time of the reset circuit is smaller than the second threshold, and when the final timing value of the timer is smaller than the second threshold, it may indicate that a user pulls out the charging port to control the electronic product to reset. And then the timer outputs a reset signal to a reset pin of the system chip to control the system chip of the electronic product to reset.
It should be noted that, by using the trigger provided in the embodiment of the present invention, the implementation principle that the number of times of monitoring the charging voltage in the charging port changes into the high level is greater than the first threshold, and the duration of the charging voltage in the charging port changing into the high level for at least one time is less than the second threshold in the preset time period may be referred to the description of the reset circuit in the above embodiment, and details are not described here.
In summary, in the reset method according to the embodiment of the present invention, the change state of the charging voltage in the charging port is monitored, and then, in a preset time period, if the number of times that the charging voltage in the charging port changes to the high level is greater than the first threshold, the reset signal is output to control the system chip of the electronic product to reset. The method can determine the times of changing the charging voltage into the high level by monitoring the change state of the charging voltage, further judge whether the times of changing into the high level is greater than a preset threshold value, and then automatically control the electronic product to reset when the times of changing into the high level is greater than the preset threshold value. Therefore, the user can increase the times that the charging voltage in the charging port becomes high level by repeatedly controlling the charging port of the electronic product to be powered on and powered off, for example, repeatedly plugging and unplugging the charging port and the like, so as to control the electronic product to reset.
In order to implement the above embodiments, the embodiment of the present invention further provides a reset device. Fig. 6 is a schematic structural diagram of a resetting device according to an embodiment of the present invention. The reset device may be disposed in an electronic product, as shown in fig. 6, and includes: a monitoring module 100 and a processing module 200.
The monitoring module 100 is configured to monitor a change state of a charging voltage in the charging port.
The processing module 200 is configured to output a reset signal to control a system chip of the electronic product to reset if the number of times that the charging voltage in the charging port changes to the high level is greater than a first threshold value within a preset time period.
In one embodiment of the present invention, the monitoring module 100 is further configured to monitor the duration of each time the charging voltage in the charging port goes high.
Further, in an embodiment of the present invention, the processing module 200 is further configured to output a reset signal to control the system chip of the electronic product to reset if a duration of the charging voltage changing to the high level in the at least one charging port is less than a second threshold within a preset time period.
It should be noted that the foregoing explanations on the reset circuit and the reset method are also applicable to the reset device of the embodiment of the present invention, and the implementation principle thereof is similar, and details that are not disclosed in the embodiment of the reset device of the present invention are not described herein again.
In summary, the reset device according to the embodiment of the invention first monitors the change state of the charging voltage in the charging port, and then outputs the reset signal to control the system chip of the electronic product to reset if the number of times that the charging voltage in the charging port changes to the high level is greater than the first threshold value within the preset time period. The device can determine the times of changing the charging voltage into the high level by monitoring the change state of the charging voltage, further judge whether the times of changing into the high level is greater than a preset threshold value, and then automatically control the electronic product to reset when the times of changing into the high level is greater than the preset threshold value. Therefore, the user can increase the times that the charging voltage in the charging port becomes high level by repeatedly controlling the charging and power-off modes of the charging port of the electronic product, such as repeatedly plugging and unplugging the charging port and the like, so as to control the electronic product to reset.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (11)

1. A reset circuit applied to an electronic product having a charging port and a system chip, the reset circuit comprising: a power supply circuit and a trigger;
the input end of the power supply circuit is connected with a power pin of the charging port, and the output end of the power supply circuit is connected with the power supply end of the trigger;
the input end of the trigger is connected with a power pin of the charging port, and the output end of the trigger is connected with a reset pin of the system chip;
the trigger is used for counting once when the input end is triggered by high level each time, and outputting a reset signal to control the system chip of the electronic product to reset when the count value of the trigger reaches a first threshold value in a preset time period.
2. The reset circuit of claim 1, wherein the power supply circuit comprises: the circuit comprises a diode, a first resistor, a first capacitor and a second resistor;
the anode of the diode is connected with a power pin of the charging port, and the cathode of the diode is respectively connected with one end of the first resistor and one end of the second resistor;
the other end of the first resistor is connected with one end of the first capacitor;
the other end of the first capacitor is connected with the ground;
the other end of the second resistor is connected with the power supply end of the trigger.
3. The reset circuit of claim 1, further comprising a third resistor;
and the input end of the trigger is connected with a power pin of the charging port through the third resistor.
4. The reset circuit of claim 1, further comprising a fourth resistor;
one end of the fourth resistor is connected with a power pin of the charging port, and the other end of the fourth resistor is connected with the ground.
5. The reset circuit according to any one of claims 1 to 4, wherein the flip-flop is further configured to record a duration of each time the level of the input terminal changes to the high level, and output a reset signal to control a system chip of the electronic product to reset when the duration of at least one time the level of the input terminal changes to the high level is smaller than a second threshold value within the preset time period.
6. An electronic product, comprising the reset circuit of any one of claims 1-5 and a charging socket for receiving the charging port;
the charging seat comprises a switch component connected in series in a charging circuit and a reset terminal used for controlling the working state of the switch component.
7. The electronic product of claim 6, wherein when the reset terminal is pressed, the switch assembly is turned off, and the charging port stops supplying power to the power supply circuit and the trigger in the reset circuit;
after the reset terminal resets, the switch assembly is conducted, and the charging port provides power for a power supply circuit and a trigger in the reset circuit.
8. A reset method is applied to an electronic product with a charging port and a system chip, and is characterized by comprising the following steps:
monitoring the change state of the charging voltage in the charging port;
and in a preset time period, if the number of times of changing the charging voltage into the high level in the charging port is greater than a first threshold value, outputting a reset signal to control the system chip of the electronic product to reset.
9. The method of claim 8, further comprising:
monitoring the duration of each time the charging voltage in the charging port changes to a high level;
and in the preset time period, if the duration of the charging voltage changing into the high level in the charging port at least once is less than a second threshold, outputting a reset signal to control the system chip of the electronic product to reset.
10. A reset device, comprising:
the monitoring module is used for monitoring the change state of the charging voltage in the charging port;
and the processing module is used for outputting a reset signal to control the system chip of the electronic product to reset if the number of times of changing the charging voltage into the high level in the charging port is greater than a first threshold value in a preset time period.
11. The apparatus of claim 10,
the monitoring module is further configured to monitor a duration of each time the charging voltage in the charging port changes to a high level;
the processing module is further configured to output a reset signal to control a system chip of the electronic product to reset if a duration of time during which the charging voltage in the charging port changes to the high level at least once is less than a second threshold within the preset time period.
CN202010534694.2A 2020-06-12 2020-06-12 Reset circuit, method, device and electronic product Active CN111766929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010534694.2A CN111766929B (en) 2020-06-12 2020-06-12 Reset circuit, method, device and electronic product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010534694.2A CN111766929B (en) 2020-06-12 2020-06-12 Reset circuit, method, device and electronic product

Publications (2)

Publication Number Publication Date
CN111766929A true CN111766929A (en) 2020-10-13
CN111766929B CN111766929B (en) 2022-09-13

Family

ID=72720645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010534694.2A Active CN111766929B (en) 2020-06-12 2020-06-12 Reset circuit, method, device and electronic product

Country Status (1)

Country Link
CN (1) CN111766929B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433890A (en) * 2020-12-11 2021-03-02 南昌勤胜电子科技有限公司 Reset circuit, chip and electronic product
CN114861572A (en) * 2022-07-05 2022-08-05 上海泰矽微电子有限公司 Control system and method for multifunctional enabling pin
CN116774801A (en) * 2021-03-05 2023-09-19 福建诺诚数字科技有限公司 Method and system for resetting wearing equipment by multiple plugging and unplugging of power supply and application of method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5696979A (en) * 1993-12-10 1997-12-09 Zexell Resetting apparatus for a microcomputer
US20040257032A1 (en) * 2003-06-20 2004-12-23 Uniden Corporation Transformerless charger
CN201918695U (en) * 2010-09-29 2011-08-03 航天科工惯性技术有限公司 Low-voltage protection circuit for airborne computer
CN204155207U (en) * 2014-10-29 2015-02-11 广州位码付信息科技有限公司 A kind of reset circuit of wearable device
CN106100878A (en) * 2016-06-08 2016-11-09 深圳市梧桐世界科技股份有限公司 A kind of method realizing intel x86 router analog reset button
CN106200969A (en) * 2016-07-12 2016-12-07 广东乐心医疗电子股份有限公司 Method and device for triggering event and wearable device
CN108023582A (en) * 2018-01-17 2018-05-11 歌尔科技有限公司 A kind of automatic reset circuit and electronic product
CN109194317A (en) * 2018-09-05 2019-01-11 潍坊歌尔电子有限公司 A kind of reset circuit and wearable device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5696979A (en) * 1993-12-10 1997-12-09 Zexell Resetting apparatus for a microcomputer
US20040257032A1 (en) * 2003-06-20 2004-12-23 Uniden Corporation Transformerless charger
CN201918695U (en) * 2010-09-29 2011-08-03 航天科工惯性技术有限公司 Low-voltage protection circuit for airborne computer
CN204155207U (en) * 2014-10-29 2015-02-11 广州位码付信息科技有限公司 A kind of reset circuit of wearable device
CN106100878A (en) * 2016-06-08 2016-11-09 深圳市梧桐世界科技股份有限公司 A kind of method realizing intel x86 router analog reset button
CN106200969A (en) * 2016-07-12 2016-12-07 广东乐心医疗电子股份有限公司 Method and device for triggering event and wearable device
CN108023582A (en) * 2018-01-17 2018-05-11 歌尔科技有限公司 A kind of automatic reset circuit and electronic product
CN109194317A (en) * 2018-09-05 2019-01-11 潍坊歌尔电子有限公司 A kind of reset circuit and wearable device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433890A (en) * 2020-12-11 2021-03-02 南昌勤胜电子科技有限公司 Reset circuit, chip and electronic product
CN116774801A (en) * 2021-03-05 2023-09-19 福建诺诚数字科技有限公司 Method and system for resetting wearing equipment by multiple plugging and unplugging of power supply and application of method and system
CN114861572A (en) * 2022-07-05 2022-08-05 上海泰矽微电子有限公司 Control system and method for multifunctional enabling pin

Also Published As

Publication number Publication date
CN111766929B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN111766929B (en) Reset circuit, method, device and electronic product
US5811890A (en) Battery operated information processing apparatus
US7495416B2 (en) Battery pack, battery protection processing apparatus, and startup control method of the battery protection processing apparatus
US9618990B2 (en) Electronic device and power management method thereof
US5430363A (en) Charging device and method performing battery activation function
KR100326704B1 (en) A battery charging device and a method thereof for electric car
KR20160143591A (en) Power converter for external hard drive
CN106648016B (en) Power supply circuit, power supply equipment and power supply method
CN107743674B (en) Self-propelled electronic device
CN110416643B (en) Processing method and device and electronic equipment
EP0913906B1 (en) Electrical disconnection and automatic re-engagement of battery monitoring circuits
JP2006302567A (en) Secondary battery pack and its charging method
US20070035279A1 (en) Apparatus and method for controlling battery discharge
CN117096966A (en) Power supply equipment, health monitoring method of power supply equipment and storage system comprising power supply equipment
WO2019218821A1 (en) Dual-battery switching method and circuit, mobile terminal and storage medium
CN115328694A (en) Equipment short-time power failure recovery circuit, electronic equipment and power failure recovery method of electronic equipment
CN110875610A (en) Electronic equipment power supply method and device, electronic equipment and storage medium
CN210925500U (en) Power-down protection circuit
CN109193917B (en) UPS bus discharge control method, device, equipment and storage medium
CN113329286A (en) Wireless earphone and wireless earphone system
JP2007028744A (en) Power supply circuit for portable devices
KR20020074496A (en) Method of powering-up battery powered apparatus
CN216016478U (en) Connector, battery and electronic equipment
KR102539913B1 (en) Smart battery device and operating method thereof
CN116598614A (en) Energy storage device and key processing method thereof

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