Wearable device charging reset circuit and control method

文档序号:19619 发布日期:2021-09-21 浏览:21次 中文

阅读说明:本技术 一种可穿戴设备充电复位电路及控制方法 (Wearable device charging reset circuit and control method ) 是由 唐欣凌 于 2021-07-06 设计创作,主要内容包括:本发明公开了一种可穿戴设备充电复位电路,包括:微处理器,向所述可穿戴设备的至少一个工作功能提供硬件支撑;复位模块,向所述微处理器提供一电压复位信号,以使得该微处理器被复位;充电模块包括:第一直流端,向所述复位模块提供第一电压,以使得所述复位模块处于工作状态;第二直流端向一电池供电;当所述电池处于充电状态下,所述充电模块的第一直流端向所述复位模块提供第一电压,以及同时第二直流端向所述电池进行供电,当所述电池处于放电状态下,所述电池通过所述第二直流端向所述复位模块提供第一电压,所述第一电压大于所述复位模块的开启电压。通过本发明实现电池在过放时,能够对微处理器实现复位和重启功能。(The invention discloses a wearable device charging reset circuit, which comprises: a microprocessor providing hardware support for at least one operational function of the wearable device; the reset module provides a voltage reset signal to the microprocessor so that the microprocessor is reset; the charging module includes: the first direct current end is used for providing a first voltage for the reset module so as to enable the reset module to be in a working state; the second direct current end supplies power to a battery; when the battery is in a charging state, the first direct current end of the charging module provides a first voltage for the resetting module, and meanwhile, the second direct current end supplies power to the battery. The invention can realize the functions of resetting and restarting the microprocessor when the battery is over-discharged.)

1. A wearable device charge reset circuit, the circuit comprising:

a microprocessor providing hardware support for at least one operational function of the wearable device;

the reset module provides a voltage reset signal to the microprocessor so that the microprocessor is reset;

a charging module comprising:

the first direct current end is used for providing a first voltage for the reset module so as to enable the reset module to be in a working state;

the second direct current end supplies power to a battery;

when the battery is in a discharging state, the battery provides a first voltage to the reset module through the second direct current end, and the first voltage is greater than the starting voltage of the reset module.

2. The wearable device charge reset circuit of claim 1, wherein the charging module further comprises:

and the external power supply input end receives an external power supply and provides an input power supply for the charging module.

3. The wearable device charge reset circuit of claim 2,

the charging module comprises a charging chip with a power supply path management function, and a first direct current end of the charging chip is electrically connected with a voltage input end of the reset module to provide a first voltage.

4. The wearable device charging reset circuit of claim 3, wherein the reset module comprises a reset chip, the reset chip comprising an internal MOS transistor and a voltage input, the internal MOS transistor being turned on when a first voltage input by the voltage input is greater than the turn-on voltage.

5. The wearable device charge reset circuit of claim 4, wherein the reset chip further comprises a voltage output electrically connected to the microprocessor for providing a voltage signal to the microprocessor.

6. The wearable device charge reset circuit of claim 4, wherein the first DC terminal of the charging chip is electrically connected to the microprocessor for providing a first voltage to the microprocessor.

7. The wearable device charging reset circuit of claim 5 or 6, wherein a reserved resistor is connected in series between the first direct current terminal of the charging chip and the voltage output terminal of the reset chip, and the reserved resistor can be selectively welded or not welded;

when welding is selected, a first direct current end of the charging chip provides a first voltage for the microprocessor, so that the microprocessor does not have a hardware reset function;

when the welding is not selected, the voltage output end of the reset chip provides a voltage signal for the microprocessor, so that the microprocessor has a hardware reset function.

8. The wearable device charging reset circuit of claim 7, wherein the reset module comprises a reset button that provides a low external reset signal to the reset module when pressed for a long time.

9. The wearable device charging reset circuit of claim 8, wherein the reset chip comprises a reset terminal,

when the reset end receives a low-level external reset signal output by the reset key, the voltage output end of the reset chip outputs a zero-level signal to the microprocessor so as to cut off the power supply voltage of the microprocessor, and outputs a high-level signal to the microprocessor after a preset reset time so as to provide the power supply voltage for the microprocessor.

10. A method of controlling a wearable device charge reset circuit as claimed in any of claims 1-9, the method comprising:

when the battery is in a charging state, the charging module provides a first voltage for the resetting module and supplies power for the battery at the same time, and when the battery is in a discharging state, the battery provides the first voltage for the resetting module through the charging module, wherein the first voltage is greater than the starting voltage of the resetting module;

when the battery is in a charging or discharging state, and the reset module receives an external reset signal, a voltage reset signal is output to the microprocessor, so that the microprocessor is reset.

Technical Field

The invention relates to the technical field of reset circuits, in particular to a wearable device charging reset circuit and a control method.

Background

With the development of electronic technology, wearable equipment brings great convenience to the life of people. In the use process of the device, the problem of dead halt is caused by the running of system software or improper operation of the device, so that the product cannot work normally, and operations such as restarting or resetting must be executed.

In wearable devices such as smartband and smartwatch, a chip with a reset function is typically used to restart the battery voltage hardware, such as chip GLF 76121. Fig. 1 and 2 are circuit diagrams of typical charge reset circuits in the prior art. In the circuit design scheme in fig. 1, the power input end of the reset chip GLF76121 is powered by the rechargeable battery, and only when the voltage of the rechargeable battery reaches the working voltage of the reset chip, the reset chip can normally work, so that the reset restart work can be executed on the PMIC microprocessor chip. In the circuit design scheme in fig. 2, a charging chip with Power Path management is selected, when the charging chip charges a battery, current flows to a pin Vbat through a pin Vout of a reset chip GLF76121, so that the battery can be charged, but when the Power supply of the pin Vbat of the chip GLF76121 is less than 2.5V, an internal MOS transistor of the charging chip cannot be conducted, and if the current is required to be greater than 50 ma, the current flowing through the pin is required to be conducted, but when the battery of the smart bracelet is over-discharged, the trickle charging current is small, generally less than 50 ma, and the internal MOS transistor cannot be opened by the trickle charging current, so when the battery is over-discharged, the internal MOS transistor cannot be opened, and the Power supply is clamped. If the technical scheme meets the requirements of the MOS tube in the chip, the technical scheme conflicts with the charging design scheme of the system (the trickle charging current is small, and the switching-on of the MOS tube in the chip cannot be met), so that the trickle charging current and the charging current cannot be compatibly realized.

Therefore, it is necessary to improve the charging reset circuit in the prior art, so as to satisfy the charging design requirement of the system and the reset requirement of the chip at the same time, and implement a compatible design scheme.

Disclosure of Invention

The invention aims to provide a charging reset circuit of wearable equipment and a control method, and aims to improve the charging reset circuit in the prior art, so that the resetting and restarting functions of a microprocessor can be realized when a battery is overdischarged, the requirement of a reset chip is met, and the design requirement of system charging can be compatible.

To achieve the above object, the present invention provides a charging reset circuit for a wearable device, the circuit comprising:

a microprocessor providing hardware support for at least one operational function of the wearable device;

the reset module provides a voltage reset signal to the microprocessor so that the microprocessor is reset;

a charging module comprising:

the first direct current end is used for providing a first voltage for the reset module so as to enable the reset module to be in a working state;

the second direct current end supplies power to a battery;

when the battery is in a discharging state, the battery provides a first voltage to the reset module through the second direct current end, and the first voltage is greater than the starting voltage of the reset module.

Preferably, the charging module further includes: and the external power supply input end receives an external power supply and provides an input power supply for the charging module.

Preferably, the charging module includes a charging chip having a power path management function, and the first dc terminal of the charging chip is electrically connected to the voltage input terminal of the reset module to provide the first voltage.

Preferably, the reset module includes a reset chip, the reset chip includes an internal MOS transistor and a voltage input terminal, and when a first voltage input by the voltage input terminal is greater than the turn-on voltage, the internal MOS transistor is turned on.

Preferably, the reset chip further comprises a voltage output terminal electrically connected to the microprocessor for providing a voltage signal to the microprocessor.

Preferably, the first dc terminal of the charging chip is electrically connected to the microprocessor for providing the microprocessor with a first voltage.

Preferably, a reserved resistor is connected in series between the first direct current end of the charging chip and the voltage output end of the reset chip, and the reserved resistor can be selectively welded or not welded;

when welding is selected, a first direct current end of the charging chip provides a first voltage for the microprocessor, so that the microprocessor does not have a hardware reset function;

when the welding is not selected, the voltage output end of the reset chip provides a voltage signal for the microprocessor, so that the microprocessor has a hardware reset function.

Preferably, the reset module includes a reset key, and when the reset key is pressed for a long time, a low level reset signal is provided to the reset module.

Preferably, the reset chip includes a reset terminal,

when the reset end receives a low-level external reset signal output by the reset key, the voltage output end of the reset chip outputs a zero-level signal to the microprocessor so as to cut off the power supply voltage of the microprocessor, and outputs a high-level signal to the microprocessor after a preset reset time so as to provide the power supply voltage for the microprocessor.

In order to achieve the above object, the present invention provides a method for controlling a charging reset circuit of a wearable device, the method comprising:

when the battery is in a charging state, the charging module provides a first voltage for the resetting module and supplies power for the battery at the same time, and when the battery is in a discharging state, the battery provides the first voltage for the resetting module through the charging module, wherein the first voltage is greater than the starting voltage of the resetting module;

when the battery is in a charging or discharging state, and the reset module receives an external reset signal, a voltage reset signal is output to the microprocessor, so that the microprocessor is reset.

Compared with the prior art, the invention provides a wearable device charging reset circuit and a control method, and the wearable device charging reset circuit has the following beneficial effects: the charging reset circuit solves the problems in the prior art, improves the charging reset circuit in the prior art, provides stable direct-current voltage for the reset chip when the battery is in a charging or discharging state, and simultaneously provides stable direct-current voltage for the reset chip when the battery is over-discharged; when the battery is over-discharged, the charging and starting can still be realized, the charging design requirement of the wearable equipment is met, the reset function of the microprocessor can be realized, and the compatible design of the two functions can be realized; when the external reset key is pressed for a long time, the power supply voltage of the microprocessor is cut off through the reset module so as to implement the process of resetting the microprocessor, and the microprocessor is restarted through the reset chip, so that the functions of resetting and restarting the microprocessor can be realized, and the hardware power supply reset function is realized for the microprocessor.

Drawings

Fig. 1 is a schematic diagram of a charge reset circuit in the prior art.

FIG. 2 is a schematic diagram of a charge reset circuit in the prior art

Fig. 3 is a system diagram of a wearable device charge reset circuit in accordance with an embodiment of the present invention.

Fig. 4 is a circuit schematic of a charging module in accordance with an embodiment of the present invention.

Fig. 5 is a circuit schematic of a reset module in accordance with an embodiment of the present invention.

Detailed Description

The present invention will be described in detail with reference to the specific embodiments shown in the drawings, which are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the specific embodiments are included in the scope of the present invention.

In one embodiment of the present invention as shown in fig. 3, the present invention provides a wearable device charge reset circuit, the circuit comprising:

a microprocessor 30 providing hardware support for at least one operational function of the wearable device;

a reset module 31, which provides a voltage reset signal to the microprocessor to reset the microprocessor;

a charging module 32 comprising:

a first dc terminal 320 for providing a first voltage to the reset module to make the reset module in an operation state;

a second dc terminal 321 for supplying power to a battery;

when the battery is in a discharging state, the battery provides a first voltage to the reset module through the second direct current end, and the first voltage is greater than the starting voltage of the reset module.

The charging module has a power path management function and comprises an external power input end for receiving an external power and providing an input power for the charging module. When the battery is in a charging state, the charging module charges the battery, and the external power supply provides input power, for example, the wearable device is inserted into a charger, and the charger provides external input power. The module of charging has power route management function, when through external power source power supply, the electric current of the module of charging divide into two the tunnel, gives all the way the battery charges, gives all the way the module of resetting provides direct current voltage, promptly the first direct current end output voltage of the module of charging gives the module of resetting provides first voltage, the second direct current end output voltage of the module of charging gives the battery, be used for right the battery charges. When the battery is in a discharging state, the external power supply of the charging module is not input, namely when the battery supplies power to the wearable device, the battery supplies power to the resetting module through the second direct current end of the charging module, the second direct current end provides first voltage to the resetting module, and the resetting module provides input power supply, wherein the first voltage is larger than the starting voltage of the resetting module.

The battery charging method generally adopts a linear charging method, and generally adopts a three-stage charging method, wherein the three-stage charging method divides the lithium battery charging process into three stages, the battery voltage is detected to judge whether the battery is overdischarged in the initial charging stage, if the battery is overdischarged, a constant small current is adopted to charge the battery to activate the cells in the battery, and the stage is the first stage of the three-stage charging method of the battery, which is called a small current charging (also called trickle charging or pre-charging) stage. The second stage is a constant current charging stage, and the battery is charged by adopting constant current. In this process, it is necessary to constantly detect the power supply of the battery, and when the detected battery voltage reaches the charge limit voltage, it is switched to the third-stage constant voltage charging. The third stage is a constant voltage charging stage in which the charging current is automatically reduced while determining whether the battery is fully charged by detecting the magnitude of the charging current, and is mainly to ensure that the battery is fully charged and to prevent overcharge. The trickle charge current of wearable devices is relatively small, for example, the trickle charge current of a smart bracelet is only 20 milliamperes, which is less than the current required for turning on the MOS transistor of the reset chip as described in the background art, so that the MOS transistor cannot be turned on, and therefore, the design scheme in the invention is required to avoid this.

According to an embodiment of the present invention, the circuit diagram of the charging module shown in fig. 4 is shown. The charging module comprises a charging chip, the charging chip IN the embodiment is CPC4050, the charging chip has a power path management function, a pin BUS of the charging chip is connected with an external power input end VBUS _ IN, the external input power IN the embodiment is 5V, a first direct current end LDO _ LP of the charging chip is electrically connected with an input power end of the reset module, and a second direct current end BAT is electrically connected with the battery. When an external input power supply is input with 5V, the charging chip CPC4050 outputs two paths of currents, one path of current provides 3.3V direct-current voltage for the reset module through the first direct-current end LDO _ LP, the output current can reach 250 milliamperes, and the other path of current charges the battery through the second direct-current end BAT, so that the charging process of the battery is realized. When there is not external input power supply 5V, supply power to wearable equipment through the battery, the battery provides the electric current through second direct current terminal BAT to first direct current terminal LDO _ LP to provide stable first direct current voltage for the reset module.

According to an embodiment of the invention, the circuit diagram of the reset module shown in fig. 5 is shown. The reset module comprises a reset chip, the reset chip in the embodiment is a GLF76121, and the reset chip can realize a battery voltage hardware restart function. The reset chip comprises an internal MOS tube, a voltage input end VBAT and a voltage output end VOUT, and when the voltage input end is larger than the starting voltage, the internal MOS tube can be opened. In this embodiment, the turn-on voltage of the GLF76121 chip is 2.5V, that is, when the input voltage of the voltage input terminal VBAT is greater than 2.5V, the internal MOS transistor can be turned on. When the input voltage of the voltage input end VBAT is less than 2.5V, the charging current from the voltage output end VOUT to the voltage input end VBAT must be greater than 50 ma, and the internal diode can charge the voltage input end VBAT to be greater than 2.5V, so that the internal MOS transistor is turned on. However, when the battery is over-discharged, the trickle charging current is only 20 milliamperes, and the requirement of 50 milliamperes charging current cannot be met, so that when the battery is over-discharged, the MOS transistor cannot be turned on, and the power supply is clamped. Therefore, the voltage which is greater than the starting voltage is provided for the voltage input end of the reset chip, and the embodiment shows that the first direct current end LDO _ LP of the charging chip always provides the voltage of 3.3V for the voltage input end VBAT of the reset chip, and the voltage of 3.3V is provided for the reset chip through the first direct current end of the charging chip no matter whether the battery is charged or not even if the battery is overdischarged, so that the direct current voltage which is greater than the starting voltage of the reset chip by 2.5V can be provided, and the normal work of the reset chip can be ensured. The voltage output terminal VOUT of the reset chip is electrically connected to the microprocessor for providing a voltage signal to the microprocessor, such as the signal VDD _ NRF _3V3 shown in fig. 5, which is electrically connected to the microprocessor. In another embodiment of the present invention, the first dc terminal LDO _ LP of the charging chip is electrically connected to the microprocessor for providing a voltage signal to the microprocessor. As shown in fig. 4 and 5, the signal line VDD _ NRF _3V3_ F is electrically connected to the microprocessor, the signal line VDD _ NRF _3V3_ F is also connected to the first dc terminal LDO _ LP of the charging chip and the input terminal pin VBAT of the reset chip, and the first voltage is provided to the microprocessor through the first dc terminal LDO _ LP of the charging chip. The first voltage is directly output to the microprocessor from the first direct current end of the charging chip without passing through the reset chip so as to provide working voltage for the microprocessor, and at the moment, the microprocessor does not have the reset function because the first voltage is stable direct current voltage. In order to ensure system design compatibility and testability, a reserved resistor R0631 is connected in series between the first dc terminal of the charging chip and the voltage output terminal VOUT of the reset chip, and a resistor R0631 is shown in series between the voltage input terminal VBAT of the reset chip and the voltage output terminal VOUT, which is the same in practice, as can be seen from the foregoing description and fig. 4 and 5, the signal line VDD _ NRF _3V3_ F is also connected to the first dc terminal LDO _ LP of the charging chip and the input pin VBAT of the reset chip, although the voltage input terminal VBA of the reset chip is connected as shown in fig. 5, that is, the first dc terminal of the charging chip is connected. The reserved resistor can be selectively welded or not welded during production and processing, when the reserved resistor is selectively welded, a first direct current end of the charging chip provides a first voltage for the microprocessor, and the microprocessor always has a stable working voltage, so that the microprocessor does not have a reset function; when the reserved resistor is selected not to be welded, a voltage signal is provided to the microprocessor by the voltage output end of the reset chip, so that the microprocessor has a reset function. Through the technical scheme of reserving the series resistor, the voltage can be provided for the microprocessor through a pin LDO _ LP of the charging chip or a pin VBAT of the resetting chip.

The reset module provides a reset signal to the microprocessor so that the microprocessor is reset. The reset module comprises a reset key, and when the reset key is pressed for a long time, a low-level external reset signal is provided for the reset module. As shown in fig. 5, the circuit diagram of the reset module includes a reset chip GLF76121, a reset terminal SRO of the reset chip, and receives a low level reset signal from the reset key output. When the reset key is pressed for a long time, a low-level external reset signal is input to the reset terminal SRO of the reset module. When the reset terminal SRO receives the low-level external reset signal, the voltage output terminal VOUT of the reset chip outputs a zero level to the microprocessor to cut off the power supply voltage of the microprocessor, and outputs a high level to the microprocessor after a preset reset time to supply voltage to the microprocessor, thereby completing the reset and restart process of cutting off the power supply of the microprocessor. The reset time can be specifically set according to actual needs, or set based on the reset chip itself. According to the two embodiments, the reset chip is in a constant power supply state, after the reset key is pressed for a long time, the power supply voltage of the microprocessor is cut off by the reset chip to implement the process of resetting the microprocessor, and the microprocessor is restarted by the reset chip.

The invention provides a control method of a wearable device charging reset circuit, which comprises the following steps:

when the battery is in a charging state, the charging module provides a first voltage for the resetting module and supplies power for the battery at the same time, and when the battery is in a discharging state, the battery provides the first voltage for the resetting module through the charging module, wherein the first voltage is greater than the starting voltage of the resetting module;

when the battery is in a charging or discharging state, and the reset module receives an external reset signal, a voltage reset signal is output to the microprocessor, so that the microprocessor is reset.

The charging module has a power path management function, and when power is supplied by an external power supply, the current of the charging module is divided into two paths, one path of current is used for charging the battery, and the other path of current is used for providing direct-current voltage for the resetting module, so that the resetting module has stable input direct-current voltage. When the battery is in a discharging state and an external power supply of the charging module is not input, the battery supplies power to the resetting module through the second direct current end of the charging module to provide a first voltage for the resetting module, and the first voltage is greater than the starting voltage of the resetting module, so that the resetting module has stable direct current input voltage. The reset module can realize the hardware restart function of the battery voltage. The reset module comprises an internal MOS tube, a voltage input end and a voltage output end, and when a first voltage input by the voltage input end is greater than the starting voltage, the internal MOS tube is opened. Therefore, the invention provides the voltage which is larger than the starting voltage for the voltage input end of the reset chip, and the direct current voltage which is larger than the starting voltage of the reset module is provided for the reset module through the charging module no matter whether the battery is charged or not even if the battery is overdischarged, so that the normal work of the reset module can be ensured, and the voltage which is larger than the starting voltage of the reset module can be provided even if the battery is overdischarged, so that the normal work of the reset module can be ensured.

The reset module provides a reset signal to the microprocessor so that the microprocessor is reset. The reset module comprises a reset key, and when the reset key is pressed for a long time, a low-level external reset signal is provided for the reset module. When the reset key is pressed for a long time, a low-level external reset signal is input to the reset end of the reset module. When the reset end receives the low-level external reset signal, the voltage output end of the reset chip outputs a zero level to the microprocessor to cut off the power supply voltage of the microprocessor, and outputs a high level to the microprocessor after a preset reset time to provide voltage for the microprocessor, thereby completing the reset and restart processes of cutting off the power supply of the microprocessor. The reset time can be specifically set according to actual needs, or set based on the reset chip itself. According to the two embodiments, the reset module is in a constant power supply state, after the reset key is pressed for a long time, the power supply voltage of the microprocessor is cut off through the reset module to implement the process of resetting the microprocessor, and the microprocessor is restarted through the reset module.

Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:服务器解码卡下电控制方法、系统、终端及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!