技术领域technical field
本发明涉及移动终端领域,尤其涉及一种移动终端充电器移除检测系统及其检测方法。The invention relates to the field of mobile terminals, in particular to a mobile terminal charger removal detection system and a detection method thereof.
背景技术Background technique
在现有技术中,充电器移除检测是通过检测充电器的供电管脚的电压是否下降到预设门限来实现的。例如,当移动终端使用市场上最常用的充电器为5V充电器,检测预设门限设置为4V,当移动终端检测到充电器接口的供电管脚(VIN端)电压下降到小于4V时,则认为充电器被拔出。In the prior art, the charger removal detection is realized by detecting whether the voltage of the power supply pin of the charger drops to a preset threshold. For example, when the mobile terminal uses the most commonly used charger on the market as a 5V charger, and the detection preset threshold is set to 4V, when the mobile terminal detects that the voltage of the power supply pin (VIN terminal) of the charger interface drops to less than 4V, then Think charger is unplugged.
但在市场上各种充电器鱼龙混杂,充电器输出电压各有不同,有5V输出的充电器、5.5V输出的充电器、甚至还有6V输出的充电器。根据现有技术检测充电器移除的方法,上述预设门限都是依据移动终端一般使用的充电器在出厂时已经设定好,无法改变的。由于高电压下降到预设门限的时间会长于低电压下降到预设门限的时间,所以会导致使用高电压充电器时,移动终端检测反应时间延长的问题。例如,6V充电器与常用的5V充电器相比,6V下降到4V的时间将明显长于5V下降到4V的时间,移动终端检测到6V充电器移除的时间将长于5V充电器移除检测。因此,现有技术存在高电压的充电器移除检测反应时间比低电压的充电器长的缺陷,有待改进。However, there are various chargers in the market, and the output voltages of the chargers are different. There are 5V output chargers, 5.5V output chargers, and even 6V output chargers. According to the method for detecting the removal of the charger in the prior art, the above-mentioned preset threshold is based on that the charger generally used by the mobile terminal has been set before leaving the factory and cannot be changed. Since the time for the high voltage to drop to the preset threshold is longer than the time for the low voltage to drop to the preset threshold, when using a high-voltage charger, the detection reaction time of the mobile terminal is prolonged. For example, compared with a commonly used 5V charger, the time for a 6V charger to drop from 6V to 4V will be significantly longer than the time for 5V to drop to 4V, and the time for the mobile terminal to detect the removal of the 6V charger will be longer than the detection of the removal of the 5V charger. Therefore, the prior art has the disadvantage that the high-voltage charger removal detection reaction time is longer than that of the low-voltage charger, which needs to be improved.
发明内容Contents of the invention
鉴于上述现有技术的不足之处,本发明的目的在于提供一种移动终端充电器移除检测系统及其检测方法,旨在解决现有技术中高电压的充电器移除检测反应时间较长的问题。In view of the deficiencies of the prior art above, the purpose of the present invention is to provide a mobile terminal charger removal detection system and its detection method, aiming to solve the problem of long reaction time in the prior art for high-voltage charger removal detection. question.
为了达到上述目的,本发明采取了以下技术方案:In order to achieve the above object, the present invention has taken the following technical solutions:
一种移动终端充电器移除检测系统,包括:充电接口,用于检测充电接口的VIN端是否产生上升沿中断的中断检测模块,用于中断检测模块产生上升沿中断时获取充电接口的VIN端电压的电压获取模块,用于设置检测充电器移除的电压门限值的移除门限设置模块、用于对VIN端电压进行电压转换的电压转换模块和用于依据当前VIN端的电压值与电压门限值判断充电器是否移除的电压比较模块;充电接口的VIN端与中断检测模块的输入端和电压获取模块的第一输入端相连、还通过电压转换模块与电压比较模块的第一输入端相连,中断检测模块的输出端与电压获取模块的第二输入端相连,电压获取模块的输出端通过移除门限设置模块与电压比较模块的第二输入端相连。A mobile terminal charger removal detection system, comprising: a charging interface, an interrupt detection module used to detect whether the VIN terminal of the charging interface generates a rising edge interrupt, and is used to obtain the VIN terminal of the charging interface when the interrupt detection module generates a rising edge interrupt The voltage acquisition module of the voltage is used to set the removal threshold setting module for detecting the voltage threshold value of the removal of the charger, the voltage conversion module for voltage conversion of the VIN terminal voltage, and the voltage conversion module for voltage conversion based on the current VIN terminal voltage and voltage Threshold value judges whether the charger is removed from the voltage comparison module; the VIN terminal of the charging interface is connected to the input terminal of the interrupt detection module and the first input terminal of the voltage acquisition module, and is also connected to the first input terminal of the voltage comparison module through the voltage conversion module The output terminal of the interrupt detection module is connected with the second input terminal of the voltage acquisition module, and the output terminal of the voltage acquisition module is connected with the second input terminal of the voltage comparison module by removing the threshold setting module.
所述的移动终端充电器移除检测系统中,所述电压获取模块具体包括:第一电阻和第二电阻,所述充电接口的VIN端通过第一电阻连接第二电阻的一端和移除门限设置模块,所述第二电阻的另一端接地,所述VIN端电压由下述公式得出:In the mobile terminal charger removal detection system, the voltage acquisition module specifically includes: a first resistor and a second resistor, and the VIN terminal of the charging interface is connected to one end of the second resistor and the removal threshold through the first resistor The module is set, the other end of the second resistor is grounded, and the voltage at the VIN terminal is obtained by the following formula:
其中,R1为第一电阻的阻值,R2为第二电阻的阻值,为第一电阻的电压。Wherein, R1 is the resistance value of the first resistor, R2 is the resistance value of the second resistor, is the voltage across the first resistor.
所述的移动终端充电器移除检测系统中,所述移除门限设置模块将电压门限值设置为移动终端连接充电器时的VIN端电压的80%。In the mobile terminal charger removal detection system, the removal threshold setting module sets the voltage threshold to 80% of the VIN terminal voltage when the mobile terminal is connected to the charger.
所述的移动终端充电器移除检测系统中,所述电压转换模块包括第三电阻和第四电阻;所述充电接口的VIN端通过第三电阻连接第四电阻的一端和电压比较模块的第一输入端,第四电阻另一端接地。In the mobile terminal charger removal detection system, the voltage conversion module includes a third resistor and a fourth resistor; the VIN terminal of the charging interface is connected to one end of the fourth resistor and the first terminal of the voltage comparison module through the third resistor. One input end, the other end of the fourth resistor is grounded.
所述的移动终端充电器移除检测系统中,所述移除门限设置模块由如下算式设置检测电压门限值:In the mobile terminal charger removal detection system, the removal threshold setting module sets the detection voltage threshold value by the following formula:
其中,R3为第三电阻的阻值,R4为第四电阻的阻值,V0为移动终端连接充电器时VIN端的电压。Wherein, R3 is the resistance value of the third resistor, R4 is the resistance value of the fourth resistor, and V0 is the voltage of the VIN terminal when the mobile terminal is connected to the charger.
所述的移动终端充电器移除检测系统中,所述电压比较模块包括电压比较器和移除检测模块,所述电压比较器的第一输入端与第三电阻的一端和第四电阻的一端相连,电压比较器的第二输入端与移除门限设置模块相连,电压比较器的输出端与移除检测模块相连,当第一输入端电压小于第二输入端电压时,电压比较器输出低电平,移除检测模块判断充电器移除;当第一输入端电压大于等于第二输入端电压时,电压比较器输出高电平,移除检测模块判断充电器插入。In the mobile terminal charger removal detection system, the voltage comparison module includes a voltage comparator and a removal detection module, the first input terminal of the voltage comparator is connected to one end of the third resistor and one end of the fourth resistor connected, the second input terminal of the voltage comparator is connected with the removal threshold setting module, the output terminal of the voltage comparator is connected with the removal detection module, when the voltage at the first input terminal is less than the voltage at the second input terminal, the output of the voltage comparator is low level, the removal detection module judges that the charger is removed; when the voltage at the first input terminal is greater than or equal to the voltage at the second input terminal, the voltage comparator outputs a high level, and the removal detection module judges that the charger is inserted.
一种移动终端充电器移除检测方法,包括:A mobile terminal charger removal detection method, comprising:
A、在检测到移动终端连接充电器时,获取充电器接口VIN端的电压;A. When detecting that the mobile terminal is connected to the charger, obtain the voltage at the VIN terminal of the charger interface;
B、依据VIN端的电压设置检测充电器移除的电压门限值;B. Set the voltage threshold value for detecting the removal of the charger according to the voltage of the VIN terminal;
C、将电压门限值与当前VIN端的电压值比较,当电压门限值大于当前VIN端的电压值时,判断充电器移除。C. Comparing the voltage threshold value with the current voltage value of the VIN terminal, when the voltage threshold value is greater than the current voltage value of the VIN terminal, it is judged that the charger is removed.
所述的移动终端充电器移除检测方法中,所述步骤B中电压门限值设置为移动终端连接充电器时的VIN端的电压值的80%。In the mobile terminal charger removal detection method, the voltage threshold value in the step B is set to 80% of the voltage value of the VIN terminal when the mobile terminal is connected to the charger.
所述的移动终端充电器移除检测方法中,所述步骤A中,VIN端的电压通过如下方式获取:In the mobile terminal charger removal detection method, in the step A, the voltage at the VIN terminal is obtained in the following manner:
其中,R1为第一电阻的阻值,R2为第二电阻的阻值,为第一电阻的电压。Wherein, R1 is the resistance value of the first resistor, R2 is the resistance value of the second resistor, is the voltage across the first resistor.
有益效果:本发明提供的移动终端充电器移除检测系统及其检测方法,通过获取移动终端连接充电器时的充电接口VIN端的电压,并依据该电压调整预设电压门限值,从而使电压门限值能够与充电器电压相适应,有效的缩短了高电压充电器移除检测的反应时间。Beneficial effects: the mobile terminal charger removal detection system and detection method provided by the present invention obtain the voltage of the VIN terminal of the charging interface when the mobile terminal is connected to the charger, and adjust the preset voltage threshold value according to the voltage, so that the voltage The threshold value can be adapted to the voltage of the charger, which effectively shortens the reaction time of high-voltage charger removal detection.
附图说明Description of drawings
图1为本发明提供的移动终端充电器移除检测系统的结构框图。FIG. 1 is a structural block diagram of a mobile terminal charger removal detection system provided by the present invention.
图2本发明具体实施方式中移动终端充电器移除检测方法的方法流程图。Fig. 2 is a flow chart of a method for detecting removal of a mobile terminal charger in a specific embodiment of the present invention.
具体实施方式detailed description
本发明提供一种移动终端充电器移除检测系统及其检测方法。为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The invention provides a mobile terminal charger removal detection system and a detection method thereof. In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1所示,一种移动终端充电器移除检测系统,其具体包括:充电接口100、中断检测模块200、电压获取模块300、移除门限设置模块400、电压转换模块500和电压比较模块600。充电接口100的VIN端与中断检测模块200的输入端和电压获取模块300的第一输入端相连、还通过电压转换模块500与电压比较模块600的第一输入端相连,中断检测模块200的输出端与电压获取模块300的第二输入端相连,电压获取模块300的输出端通过移除门限设置模块400与电压比较模块600的第二输入端相连。As shown in Figure 1, a mobile terminal charger removal detection system, which specifically includes: a charging interface 100, an interruption detection module 200, a voltage acquisition module 300, a removal threshold setting module 400, a voltage conversion module 500 and a voltage comparison module 600. The VIN terminal of the charging interface 100 is connected to the input terminal of the interruption detection module 200 and the first input terminal of the voltage acquisition module 300, and is also connected to the first input terminal of the voltage comparison module 600 through the voltage conversion module 500, and the output of the interruption detection module 200 terminal is connected to the second input terminal of the voltage acquisition module 300 , and the output terminal of the voltage acquisition module 300 is connected to the second input terminal of the voltage comparison module 600 by removing the threshold setting module 400 .
所述充电器移除检测系统工作流程具体如下,充电接口100与充电器相连接,包括VIN端与地端(图中未示出)两个接头。充电接口100的VIN端连接充电器输出电压脚,充电接口100的地端与充电器的地脚相连接。The workflow of the charger removal detection system is specifically as follows. The charging interface 100 is connected to the charger, including two connectors, VIN terminal and ground terminal (not shown in the figure). The VIN terminal of the charging interface 100 is connected to the output voltage pin of the charger, and the ground terminal of the charging interface 100 is connected to the ground pin of the charger.
当充电接口100与充电器连接后,VIN端被上拉到充电器的输出电压,产生上升沿中断。中断检测模块200检测到VIN端产生上升沿中断时,判断充电器已连接,通知电压获取模块300获取此时VIN端的电压V0。移除门限设置模块400依据电压获取模块300获取的电压V0,设置相应的移除检测电压门限值V2。电压转换模块500将充电接口100的VIN端电压转换为V1。之后由电压比较模块600比较当前VIN端的电压V1与电压门限值V2的大小。当V1≧V2,且VIN端产生上升沿中断时,表明充电器与移动终端相连接;当V1<V2时,判断充电器已经移除,从而完成对移动终端充电器移除的检测。When the charging interface 100 is connected to the charger, the VIN terminal is pulled up to the output voltage of the charger, and a rising edge interrupt is generated. When the interrupt detection module 200 detects that the VIN terminal generates a rising edge interrupt, it determines that the charger is connected, and notifies the voltage acquisition module 300 to obtain the voltage V0 of the VIN terminal at this time. The removal threshold setting module 400 sets a corresponding removal detection voltage threshold V2 according to the voltage V0 acquired by the voltage acquisition module 300 . The voltage conversion module 500 converts the VIN terminal voltage of the charging interface 100 into V1. Then, the voltage comparison module 600 compares the current voltage V1 of the VIN terminal with the voltage threshold V2. When V1≧V2, and the VIN terminal generates a rising edge interrupt, it indicates that the charger is connected to the mobile terminal; when V1<V2, it is judged that the charger has been removed, thereby completing the detection of the removal of the mobile terminal charger.
具体的,电压获取模块300获取VIN处的电压由中断检测模块200检测到VIN处产生上升沿中断时触发;由于在移动终端连接上充电器后VIN端电压V0将高于移动终端的参考电压,因此,电压获取模块300无法直接获取VIN处的电压。如图1所示,所述电压获取模块300具体包括:第一电阻R1和第二电阻R2。所述充电接口的VIN端通过第一电阻R1连接第二电阻R2的一端和移除门限设置模块400,第二电阻R2另一端接地。Specifically, the voltage acquisition module 300 acquires the voltage at VIN and is triggered when the interrupt detection module 200 detects that a rising edge interrupt occurs at VIN; since the VIN terminal voltage V0 will be higher than the reference voltage of the mobile terminal after the mobile terminal is connected to the charger, Therefore, the voltage acquisition module 300 cannot directly acquire the voltage at VIN. As shown in FIG. 1 , the voltage acquisition module 300 specifically includes: a first resistor R1 and a second resistor R2. The VIN end of the charging interface is connected to one end of the second resistor R2 and the removal threshold setting module 400 through the first resistor R1, and the other end of the second resistor R2 is grounded.
所述电压获取单元300可以通过如下间接方法获取VIN端的电压:电压获取单元300获取第一电阻R1的电压,依据电路电压分配原理,所述VIN端电压V0由下述算式得出:,其中,R1为第一电阻的阻值,R2为第二电阻的阻值,为第一电阻的电压。The voltage acquisition unit 300 can acquire the voltage of the VIN terminal through the following indirect method: the voltage acquisition unit 300 acquires the voltage of the first resistor R1 , according to the circuit voltage distribution principle, the VIN terminal voltage V0 is obtained by the following formula: , wherein, R1 is the resistance value of the first resistor, R2 is the resistance value of the second resistor, is the voltage across the first resistor.
因为在充电接口100连接充电器后,VIN端的电压V0将明显高于移动终端的参考电压,所以,不容易采用直接测量的方式获取所述电压V0。采用上述间接测量的电压获取方法简单易行,实现了对充电器连接时VIN端电压V0的获取。当然,也可以采用其他合适的方法获取所述电压V0。Because after the charging interface 100 is connected to the charger, the voltage V0 at the VIN terminal will be obviously higher than the reference voltage of the mobile terminal, so it is not easy to obtain the voltage V0 by direct measurement. The voltage acquisition method using the above indirect measurement is simple and easy, and realizes the acquisition of the voltage V0 of the VIN terminal when the charger is connected. Of course, other suitable methods may also be used to obtain the voltage V0.
较佳的是,所述移除门限设置模块将电压门限值V1设置为移动终端连接充电器时的VIN端电压V0的80%。例如,当移动终端与充电器连接后的VIN端电压为6V,则设置充电器移除检测电压门限值为6V×80%=4.8V,如果VIN端电压低于4.8V则判断充电器移除。Preferably, the removal threshold setting module sets the voltage threshold V1 to be 80% of the VIN terminal voltage V0 when the mobile terminal is connected to the charger. For example, when the VIN terminal voltage after the mobile terminal is connected to the charger is 6V, set the charger removal detection voltage threshold to 6V×80%=4.8V, and if the VIN terminal voltage is lower than 4.8V, it is judged that the charger is removed. remove.
一般来说,当VIN端电压下降20%时,可以认为是充电器已经移除,可以在保证检测准确率的同时确保较短的检测时间。当然,电压门限值越接近充电器电压,移除检测时间越短,但相应的检测错误率也越高,反之亦然。因此,可以依据实际需要,设置相应的阈值。Generally speaking, when the VIN terminal voltage drops by 20%, it can be considered that the charger has been removed, which can ensure a short detection time while ensuring detection accuracy. Of course, the closer the voltage threshold value is to the charger voltage, the shorter the removal detection time is, but the corresponding detection error rate is also higher, and vice versa. Therefore, corresponding thresholds can be set according to actual needs.
请一继续参阅图1,所述电压转换模块500包括第三电阻R3和第四电阻R4。所述充电接口100的VIN端通过第三电阻R3连接第四电阻R4的一端和电压比较模块600的第一输入端,第四电阻R4另一端接地。Please continue to refer to FIG. 1 , the voltage conversion module 500 includes a third resistor R3 and a fourth resistor R4 . The VIN end of the charging interface 100 is connected to one end of the fourth resistor R4 and the first input end of the voltage comparison module 600 through the third resistor R3, and the other end of the fourth resistor R4 is grounded.
因为在充电接口连接充电器后,VIN端的电压将高于移动终端的参考电压,所以不容易采用直接测量的方式测量当前VIN端电压。本发明通过电压转换模块500将VIN端电压转换为较低的电压,使其低于移动终端的参考电压,从而能够极大的方便电压比较模块600对当前VIN端电压的测量。Because after the charging interface is connected to the charger, the voltage at the VIN terminal will be higher than the reference voltage of the mobile terminal, so it is not easy to directly measure the current VIN terminal voltage. The present invention converts the VIN terminal voltage to a lower voltage through the voltage conversion module 500 to make it lower than the reference voltage of the mobile terminal, thereby greatly facilitating the voltage comparison module 600 to measure the current VIN terminal voltage.
移除门限设置模块400依据500的转换系数,相应的降低电压门限值从而保证最终充电器移除检测结果的准确性。The removal threshold setting module 400 reduces the voltage threshold correspondingly according to the conversion factor of 500 so as to ensure the accuracy of the final charger removal detection result.
具体的,所述移除门限设置模块400可以依据如下算式设置检测电压门限值V1,,其中,R3为第三电阻R3的阻值,R4为第四电阻的阻值R4,V0为移动终端连接充电器时VIN端的电压。Specifically, the removal threshold setting module 400 can set the detection voltage threshold V1 according to the following formula, , wherein, R3 is the resistance value of the third resistor R3, R4 is the resistance value R4 of the fourth resistor, and V0 is the voltage of the VIN terminal when the mobile terminal is connected to the charger.
更具体的,所述电压比较模块600具体包括电压比较器601和移除检测模块602。所述电压比较器601有两个输入端,第一输入端与电压转换模块500的第三电阻R3的一端相连,第二输入端与移除门限设置模块400相连,输出端与移除检测模块602相连。More specifically, the voltage comparison module 600 specifically includes a voltage comparator 601 and a removal detection module 602 . The voltage comparator 601 has two input ends, the first input end is connected to one end of the third resistor R3 of the voltage conversion module 500, the second input end is connected to the removal threshold setting module 400, and the output end is connected to the removal detection module 602 connected.
在具体工作过程中,当第一输入端电压(即经过500转换后的VIN端当前电压)小于第二输入端电压(即检测移除电压门限值)时,电压比较器输出低电平,移除检测模块检测到下降沿中断时,判断充电器移除。在其余情况下(即第一输入端电压大于或等于第二输入端电压),电压比较器输出高电平,移除检测模块判断充电器没有移除。In the specific working process, when the voltage at the first input terminal (that is, the current voltage at the VIN terminal after 500 conversion) is less than the voltage at the second input terminal (that is, the detection and removal voltage threshold value), the voltage comparator outputs a low level, When the removal detection module detects a falling edge interrupt, it is judged that the charger is removed. In other cases (that is, the voltage at the first input terminal is greater than or equal to the voltage at the second input terminal), the voltage comparator outputs a high level, and the removal detection module determines that the charger is not removed.
如图2所示,一种移动终端充电器移除检测方法,具体包括如下步骤:As shown in Figure 2, a mobile terminal charger removal detection method specifically includes the following steps:
S100、在检测到移动终端连接充电器时,获取充电器接口VIN端的电压;S100, when it is detected that the mobile terminal is connected to the charger, obtain the voltage at the VIN terminal of the charger interface;
S200、依据VIN端的电压设置检测充电器移除的电压门限值;S200, setting a voltage threshold value for detecting the removal of the charger according to the voltage of the VIN terminal;
S300、将电压门限值与当前VIN端的电压值比较,当电压门限值大于当前VIN端的电压值时,判断充电器移除。S300. Comparing the voltage threshold value with the current voltage value of the VIN terminal, and judging that the charger is removed when the voltage threshold value is greater than the current voltage value of the VIN terminal.
具体的,因为在充电接口连接充电器后,充电接口VIN端的电压V0将明显高于移动终端的参考电压,不容易采用直接测量的方式获取所述电压V0,所以,VIN端的电压V0可通过如下方式获取:VIN端依次串联连接第一电阻及第二电阻,第二电阻另一端接地;通过电压获取模块连接第一电阻和第二电阻,获取第一电阻的电压来计算VIN端的电压V0,其计算公式如下:Specifically, because after the charging interface is connected to the charger, the voltage V0 at the VIN terminal of the charging interface will be significantly higher than the reference voltage of the mobile terminal, and it is not easy to obtain the voltage V0 by direct measurement. Therefore, the voltage V0 at the VIN terminal can be obtained as follows Method of acquisition: VIN terminal is connected in series with the first resistor and the second resistor in sequence, and the other end of the second resistor is grounded; connect the first resistor and the second resistor through the voltage acquisition module to obtain the voltage of the first resistor To calculate the voltage V0 at the VIN terminal, the calculation formula is as follows:
其中,R1为第一电阻的阻值,R2为第二电阻的阻值,为第一电阻的电压。Wherein, R1 is the resistance value of the first resistor, R2 is the resistance value of the second resistor, is the voltage across the first resistor.
由于VIN端的电压高于移动终端参考电压,不易直接测量,因此,可以对VIN端电压进行转换处理。具体为VIN端依次串联连接第三电阻及第四电阻,第四电阻另一端接地。通过获取第三电阻的电压进行计算,具体计算方式请参阅系统中的相应实施列。Since the voltage at the VIN terminal is higher than the reference voltage of the mobile terminal, it is difficult to measure directly, so the voltage at the VIN terminal can be converted. Specifically, the VIN end is sequentially connected in series with the third resistor and the fourth resistor, and the other end of the fourth resistor is grounded. The calculation is performed by obtaining the voltage of the third resistor, and for the specific calculation method, please refer to the corresponding implementation column in the system.
具体的,在所述步骤S200中,电压门限值V1设置为移动终端连接充电器时的VIN端电压V0的80%。当然,也可以依据实际的需要调整电压门限值占电压V0的比例。Specifically, in the step S200, the voltage threshold V1 is set to be 80% of the VIN terminal voltage V0 when the mobile terminal is connected to the charger. Of course, the ratio of the voltage threshold value to the voltage V0 can also be adjusted according to actual needs.
综上所述,本发明提供的移动终端充电器移除检测系统及其检测方法,能够在移动终端连接充电器后,根据充电器的输出电压(即移动终端连接充电器时的充电接口VIN端的电压)动态设置充电器移除检测电压(即电压门限值),与现有技术中充电器移除电压固定的方案相比较,在用户连接不同输出电压的充电器时,使电压门限值能够与充电器电压相适应,有效的缩短了高电压充电器移除检测的反应时间,能够更快速地检测充电器移除,提高移动终端的使用效率。To sum up, the mobile terminal charger removal detection system and detection method provided by the present invention can, after the mobile terminal is connected to the charger, according to the output voltage of the charger (that is, the VIN terminal of the charging interface when the mobile terminal is connected to the charger) voltage) to dynamically set the charger removal detection voltage (that is, the voltage threshold value). Compared with the solution in the prior art where the charger removal voltage is fixed, the voltage threshold It can adapt to the voltage of the charger, effectively shortens the reaction time for detecting the removal of the high-voltage charger, can detect the removal of the charger more quickly, and improves the use efficiency of the mobile terminal.
可以理解的是,对本领域普通技术人员来说,可以根据本发明的技术方案及本发明构思加以等同替换或改变,而所有这些改变或替换都应属于本发明所附的权利要求的保护范围。It can be understood that those skilled in the art can make equivalent replacements or changes according to the technical solutions of the present invention and the concept of the present invention, and all these changes or replacements should belong to the protection scope of the appended claims of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410548181.1ACN104280655B (en) | 2014-10-16 | 2014-10-16 | Mobile terminal charger removes detecting system and its detection method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410548181.1ACN104280655B (en) | 2014-10-16 | 2014-10-16 | Mobile terminal charger removes detecting system and its detection method |
| Publication Number | Publication Date |
|---|---|
| CN104280655Atrue CN104280655A (en) | 2015-01-14 |
| CN104280655B CN104280655B (en) | 2018-02-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410548181.1AActiveCN104280655B (en) | 2014-10-16 | 2014-10-16 | Mobile terminal charger removes detecting system and its detection method |
| Country | Link |
|---|---|
| CN (1) | CN104280655B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106356580A (en)* | 2016-10-13 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Method and system for discharging rechargeable battery of mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5793624A (en)* | 1996-06-05 | 1998-08-11 | Hydro-Quebec | Apparatus and method for charging a DC battery |
| CN101493490A (en)* | 2009-02-23 | 2009-07-29 | 深圳华为通信技术有限公司 | Terminal port insertion detection circuit |
| CN101902054A (en)* | 2009-05-26 | 2010-12-01 | 辉芒微电子(深圳)有限公司 | Charging state indication device and charger |
| CN102466768A (en)* | 2010-10-28 | 2012-05-23 | 英飞凌科技奥地利有限公司 | Accessory presence detection |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5793624A (en)* | 1996-06-05 | 1998-08-11 | Hydro-Quebec | Apparatus and method for charging a DC battery |
| CN101493490A (en)* | 2009-02-23 | 2009-07-29 | 深圳华为通信技术有限公司 | Terminal port insertion detection circuit |
| CN101902054A (en)* | 2009-05-26 | 2010-12-01 | 辉芒微电子(深圳)有限公司 | Charging state indication device and charger |
| CN102466768A (en)* | 2010-10-28 | 2012-05-23 | 英飞凌科技奥地利有限公司 | Accessory presence detection |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106356580A (en)* | 2016-10-13 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Method and system for discharging rechargeable battery of mobile terminal |
| CN106356580B (en)* | 2016-10-13 | 2019-04-30 | 惠州Tcl移动通信有限公司 | A kind of pair of mobile terminal rechargeable battery carries out the method and system of discharge treatment |
| Publication number | Publication date |
|---|---|
| CN104280655B (en) | 2018-02-13 |
| Publication | Publication Date | Title |
|---|---|---|
| US10601238B2 (en) | Charging apparatus and charging control circuit thereof and charging control method | |
| US9142985B2 (en) | Battery charger for portable electronic equipment | |
| JP6301756B2 (en) | Overcurrent detection circuit, host using the same, and overcurrent detection method | |
| CN107732998B (en) | Battery charging system, battery charging protection control method and charging circuit | |
| WO2014075498A1 (en) | Charging management method, device and system | |
| CN101924383A (en) | A mobile terminal that automatically sets charging current and its implementation method | |
| CN105449757B (en) | Prevent the method and device that adapter or portable power source disconnect in charging process | |
| WO2014079380A1 (en) | Charging method and charger | |
| US9787121B2 (en) | Power supply control method and portable electronic device using the same | |
| CN104101808B (en) | Charger detection system and its detection method and mobile terminal | |
| WO2016183802A1 (en) | Charging method, charging device and terminal | |
| CN104330638A (en) | Identifying method and system for original charging cable | |
| CN104009265B (en) | A kind of battery activated method and apparatus of mobile terminal | |
| TWI544717B (en) | Method of setting charging current and charging module | |
| CN104638313B (en) | Battery recognition method for mobile handheld device | |
| JP2015136221A (en) | Mobile electronic device and charge control method | |
| CN202798035U (en) | Charging mode detection circuit and mobile terminal | |
| CN206041578U (en) | Double cell single port charging control circuit | |
| CN103633719B (en) | A charging system and charging control method thereof | |
| CN205004952U (en) | Direct current soft start circuit | |
| CN102636709B (en) | Circuit capable of fast recognizing types of chargers and recognizing method for circuit | |
| CN104280655B (en) | Mobile terminal charger removes detecting system and its detection method | |
| CN106483378A (en) | A kind of D+/D- pin spurious impedance detection circuit in USB interface mobile device quick charge control | |
| CN205195361U (en) | Charge indication circuit structure in advance | |
| CN105790603A (en) | Power supply control method and portable electronic device applying same |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20211202 Address after:264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province Patentee after:WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY Address before:516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before:HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20221116 Address after:264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong Patentee after:Weihai Shenzhou Information Technology Research Institute Co.,Ltd. Address before:264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province Patentee before:WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY | |
| TR01 | Transfer of patent right | Effective date of registration:20250815 Address after:No. 66 Chuhe North Road, Gaoqu District, Weihai City, Shandong Province 264200 Patentee after:WEIHAI TONSLOAD POWER-TECH Co.,Ltd. Country or region after:China Address before:264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong Patentee before:Weihai Shenzhou Information Technology Research Institute Co.,Ltd. Country or region before:China |