CN106526403A - Terminal leak current detection circuit, terminal and terminal leak current detection system - Google Patents
Terminal leak current detection circuit, terminal and terminal leak current detection system Download PDFInfo
- Publication number
- CN106526403A CN106526403A CN201611117721.6A CN201611117721A CN106526403A CN 106526403 A CN106526403 A CN 106526403A CN 201611117721 A CN201611117721 A CN 201611117721A CN 106526403 A CN106526403 A CN 106526403A
- Authority
- CN
- China
- Prior art keywords
- terminal
- power supply
- leakage current
- switch
- control unit
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 77
- 230000001105 regulatory effect Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009666 routine test Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
Abstract
本发明实施例公开了一种终端漏电流检测电路,包括:接入端,用于接入所述外部电源和识别模块,其中,所述外部电源和识别模块用于供给接入端外部电源和用于输出漏电流值;终端电池,用于供给终端系统电力;第一开关,输入端与所述接入端电连接;第二开关,输入端与所述终端电池电连接;电源输出端,分别与第一开关的输出端和第二开关的输出端电连接;控制单元,分别控制第一开关和第二开关的导通和断开;其中,当控制单元接收到漏电流检测指令时,控制单元控制第一开关导通,且控制第二开关断开,以使外部电源和识别模块获得漏电流值。本发明实施例还公开了一种终端及终端漏电流检测系统。采用本发明,具有方便终端漏电流检测的优点。
The embodiment of the present invention discloses a terminal leakage current detection circuit, including: an access terminal, used to access the external power supply and identification module, wherein the external power supply and identification module are used to supply the external power supply and identification module of the access terminal Used to output the leakage current value; the terminal battery is used to supply power to the terminal system; the first switch, the input end is electrically connected to the access end; the second switch, the input end is electrically connected to the terminal battery; the power output end, respectively electrically connected to the output end of the first switch and the output end of the second switch; the control unit controls the on and off of the first switch and the second switch respectively; wherein, when the control unit receives the leakage current detection instruction, The control unit controls the first switch to be turned on, and controls the second switch to be turned off, so that the external power supply and the identification module can obtain the leakage current value. The embodiment of the invention also discloses a terminal and a terminal leakage current detection system. Adopting the present invention has the advantage of being convenient for terminal leakage current detection.
Description
技术领域technical field
本发明涉及漏电流检测技术领域,尤其涉及一种终端漏电流检测电路、终端及终端漏电流检测系统。The invention relates to the technical field of leakage current detection, in particular to a terminal leakage current detection circuit, a terminal and a terminal leakage current detection system.
背景技术Background technique
现有的终端,例如手机、平板电脑等,在开发设计过程中,会存在一些潜在的漏电风险,终端漏电会导致终端耗电快,用户需要经常充电,影响用户的体验,而且终端漏电会导致手机长期放置时,终端中的电池可能会过放保护,用户需要对电池重新激活,对用户的使用造成不便,而且终端漏电会导致部分元器件失效等。Existing terminals, such as mobile phones, tablets, etc., will have some potential leakage risks during the development and design process. Terminal leakage will lead to rapid power consumption of the terminal, and users need to charge frequently, which will affect the user experience, and terminal leakage will cause When the mobile phone is placed for a long time, the battery in the terminal may be over-discharged, and the user needs to reactivate the battery, which will cause inconvenience to the user, and the leakage of the terminal will cause some components to fail.
终端的漏电流检测是终端出厂前的一项常规测试,现有技术提出了通过假电池进行漏电检测,具体方案为:把终端的电池取出,取代电池的是保护板和外面的稳压电源,稳压电源可以给手机供电,在不开机的时侯,稳压电源输出的电流近似为手机的漏电流,从而可以检测出终端是否符合要求。然而,通过假电池进行终端的漏电流检测,只能进行抽样检测,不能对整批次的手机都进行漏电测试。可能存在漏测的风险,同时效率也比较低下。The leakage current detection of the terminal is a routine test before the terminal leaves the factory. The existing technology proposes a leakage detection through a fake battery. The specific solution is: take out the battery of the terminal, and replace the battery with a protection board and an external regulated power supply. The regulated power supply can supply power to the mobile phone. When it is not turned on, the current output by the regulated power supply is approximately the leakage current of the mobile phone, so that it can be detected whether the terminal meets the requirements. However, the detection of terminal leakage current through fake batteries can only be performed on a sample basis, and the leakage test cannot be performed on the entire batch of mobile phones. There may be a risk of missed detection, and the efficiency is relatively low.
发明内容Contents of the invention
本发明实施例所要解决的技术问题在于,提供一种终端漏电流检测电路、终端及系统。可方便终端漏电流检测。The technical problem to be solved by the embodiments of the present invention is to provide a terminal leakage current detection circuit, a terminal and a system. Can facilitate terminal leakage current detection.
为了解决上述技术问题,本发明实施例第一方面提供了一种终端漏电流检测电路,包括:In order to solve the above technical problems, the first aspect of the embodiment of the present invention provides a terminal leakage current detection circuit, including:
接入端,用于接入所述外部电源和识别模块,其中,所述外部电源和识别模块用于供给接入端外部电源和用于输出漏电流值;The access terminal is used to access the external power supply and the identification module, wherein the external power supply and the identification module are used to supply the external power supply to the access terminal and output the leakage current value;
终端电池,用于供给终端系统电力;terminal battery, used to supply power to the terminal system;
第一开关,输入端与所述接入端电连接;a first switch, the input end of which is electrically connected to the access end;
第二开关,输入端与所述终端电池电连接;a second switch, the input end of which is electrically connected to the terminal battery;
电源输出端,分别与第一开关的输出端和第二开关的输出端电连接;The output terminal of the power supply is electrically connected to the output terminal of the first switch and the output terminal of the second switch respectively;
控制单元,分别控制第一开关和第二开关的导通和断开;其中,当控制单元接收到漏电流检测指令时,控制单元控制第一开关导通,且控制第二开关断开,以使外部电源和识别模块获得漏电流值。The control unit controls the on and off of the first switch and the second switch respectively; wherein, when the control unit receives the leakage current detection instruction, the control unit controls the first switch to be on, and controls the second switch to be off, so that Make the external power supply and identification module obtain the leakage current value.
本发明实施例第二方面提供了一种终端,包括上述的终端漏电流检测电路。A second aspect of the embodiments of the present invention provides a terminal, including the above-mentioned terminal leakage current detection circuit.
本发明实施例第三方面提供了一种终端漏电流检测系统,包括外部电源和识别模块和上述的终端,所述外部电源和识别模块用于供给接入端外部电源和用于输出漏电流值。The third aspect of the embodiment of the present invention provides a terminal leakage current detection system, including an external power supply and identification module and the above-mentioned terminal, the external power supply and identification module are used to supply the external power supply to the access terminal and to output the leakage current value .
实施本发明实施例,具有如下有益效果:由于接入端用于接入所述外部电源和识别模块,第一开关、第二开关、电源输出端、控制单元和终端电池都位于终端内,从而,工作人员只需要将外部电源和识别模块与接入端电连接,当控制单元收到漏电流检测指令时,工作人员就能很方便的获得终端的漏电流值,操作简便,方便对批量终端的漏电流检测,不会存在漏测的风险,同时检测效率也较高。而且,此种检测电路可以用在不可拆终端电池上,拓宽了该检测电路的应用范围。Implementing the embodiment of the present invention has the following beneficial effects: since the access terminal is used to access the external power supply and the identification module, the first switch, the second switch, the power supply output terminal, the control unit and the terminal battery are all located in the terminal, thus , the staff only need to electrically connect the external power supply and the identification module to the access terminal. When the control unit receives the leakage current detection instruction, the staff can easily obtain the leakage current value of the terminal, which is easy to operate and convenient for batch terminals. There is no risk of leakage current detection, and the detection efficiency is also high. Moreover, this detection circuit can be used on non-detachable terminal batteries, which broadens the application range of the detection circuit.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明第一实施例终端漏电流检测电路;Fig. 1 is a terminal leakage current detection circuit of the first embodiment of the present invention;
图2是本发明第一实施例外部电源和识别模块的电路图;Fig. 2 is a circuit diagram of an external power supply and an identification module according to the first embodiment of the present invention;
图3是本发明第二实施例终端漏电流检测电路;Fig. 3 is a terminal leakage current detection circuit according to the second embodiment of the present invention;
图4是本发明第二实施例的供电选择电路的电连接图;4 is an electrical connection diagram of a power supply selection circuit according to a second embodiment of the present invention;
图示标号:Icon label:
110-接入端;120-第一开关;121-第一PMOS管;122-第二PMOS管;130-第二开关;131-第一NMOS管;132-第二NMOS管;140-电源输出端;150、250-控制单元;160-终端电池;170-稳压电源;180-计算机;270-供电选择电路。110-access terminal; 120-first switch; 121-first PMOS tube; 122-second PMOS tube; 130-second switch; 131-first NMOS tube; 132-second NMOS tube; 140-power output 150, 250-control unit; 160-terminal battery; 170-stabilized power supply; 180-computer; 270-power supply selection circuit.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
第一实施例first embodiment
请参照图1和图2,为本发明一实施例终端漏电流检测电路,在本实施例中,所述终端漏电流检测电路用于跟外部电源和识别模块电连接,所述外部电源和识别模块包括稳压电源170和计算机180,所述稳压电源170的输出端与检测电路的输入端电连接以供电给检测电路,所述计算机180用于输出漏电流值,所述稳压电源170与计算机180通信以将稳压电源170的输出电压和输出电流发送给计算机180,在本发明的其他实施例中,所述稳压电源和计算机还可以组合在一起。所述终端漏电流检测电路包括接入端110、终端电池160、第一开关120、第二开关130、电源输出端140和控制单元150。Please refer to FIG. 1 and FIG. 2, which are terminal leakage current detection circuits according to an embodiment of the present invention. In this embodiment, the terminal leakage current detection circuit is used for electrical connection with an external power supply and an identification module. The module includes a regulated power supply 170 and a computer 180, the output of the regulated power supply 170 is electrically connected to the input of the detection circuit to supply power to the detection circuit, the computer 180 is used to output the leakage current value, and the regulated power supply 170 Communicate with the computer 180 to send the output voltage and output current of the regulated power supply 170 to the computer 180. In other embodiments of the present invention, the regulated power supply and the computer can also be combined together. The terminal leakage current detection circuit includes an access terminal 110 , a terminal battery 160 , a first switch 120 , a second switch 130 , a power output terminal 140 and a control unit 150 .
具体而言,在本实施例中,所述接入端110与外部电源和识别模块电连接,具体与稳压电源170电连接,在本实施例中,所述接入端110为终端的USB的Vbus引脚,从而,稳压电源170可以通过数据线与终端漏电流检测电路电连接。所述终端电池160位于终端上,用于供给终端系统的电力,所述终端电池160是可拆电池,也可以是不可拆电池。Specifically, in this embodiment, the access terminal 110 is electrically connected to the external power supply and the identification module, specifically to the regulated power supply 170. In this embodiment, the access terminal 110 is the USB terminal of the terminal. Vbus pin, so that the regulated power supply 170 can be electrically connected to the terminal leakage current detection circuit through the data line. The terminal battery 160 is located on the terminal and is used to supply power to the terminal system. The terminal battery 160 is a detachable battery or a non-detachable battery.
所述第一开关120的输入端与所述接入端110电连接,所述第一开关120的输出端与电源输出端140电连接,从而稳压电源170的电力通过接入端110、导通的第一开关120、电源输出端140供给终端系统,在此将这路电力供应电路称作检测供电电路。所述第二开关130的输入端与所述终端电池160电连接,所述第二开关130的输出端与所述电源输出端140电连接,从而,终端电池160的电力通过导通的第二开关130、电源输出端140输出的终端系统,在此将这路电力供应电路称作正常供电电路。The input end of the first switch 120 is electrically connected to the access end 110, and the output end of the first switch 120 is electrically connected to the power supply output end 140, so that the power of the stabilized power supply 170 passes through the access end 110, leads to The first switch 120 and the power output terminal 140 that are turned on are supplied to the terminal system, and this power supply circuit is referred to as a detection power supply circuit here. The input terminal of the second switch 130 is electrically connected to the terminal battery 160, and the output terminal of the second switch 130 is electrically connected to the power supply output terminal 140, so that the power of the terminal battery 160 passes through the conductive second The terminal system output by the switch 130 and the power supply output terminal 140 is referred to as a normal power supply circuit here.
所述控制单元150分别控制第一开关120和第二开关130的导通和断开,从而,控制单元150控制是检测供电电路或者正常供电电路给终端系统供电。具体的,控制单元150会接收到漏电流检测指令,该指令可以是工作人员输入的操作指令,例如通过USB的其他引脚可以输入该指令,也可以触发终端上按键来实现输入该指令,也可以是声控来输入该指令,等形式,当控制单元150接收到该漏电流检测指令时,控制单元150控制第一开关120导通,且控制第二开关130断开,此时,检测供电电路正常工作,正常供电电路被断开,此时终端时关机状态,此时,稳压电源170的输出电流就是终端漏电流,从而,由于稳压电源170会将输出电流、输出电压传输给计算机180,从而,计算机180可以获得该漏电流信息并输出,例如显示在显示屏上,或者对输出的漏电流信息进行处理,例如计算机180中可以预设阈值,当大于该阈值时,计算机180标红该漏电流信息,表示检测的对应终端不符合要求,从而可以从计算机的显示屏幕上看出不符合要求的终端。The control unit 150 controls on and off of the first switch 120 and the second switch 130 respectively, so that the control unit 150 controls whether the detection power supply circuit or the normal power supply circuit supplies power to the terminal system. Specifically, the control unit 150 will receive the leakage current detection instruction, which can be an operation instruction input by the staff, for example, the instruction can be input through other pins of the USB, or the button on the terminal can be triggered to input the instruction. It can be voice control to input the instruction, etc. When the control unit 150 receives the leakage current detection instruction, the control unit 150 controls the first switch 120 to turn on, and controls the second switch 130 to turn off. At this time, the detection power supply circuit Normal work, the normal power supply circuit is disconnected, and the terminal is in the shutdown state at this time. At this time, the output current of the regulated power supply 170 is the terminal leakage current. Therefore, because the regulated power supply 170 will transmit the output current and output voltage to the computer 180 , thus, the computer 180 can obtain the leakage current information and output it, such as displaying it on the display screen, or process the output leakage current information, for example, a threshold value can be preset in the computer 180, and when it is greater than the threshold value, the computer 180 will mark red The leakage current information indicates that the detected corresponding terminals do not meet the requirements, so that the terminals that do not meet the requirements can be seen from the display screen of the computer.
在本实施例中,由于接入端110用于接入所述外部电源和识别模块,第一开关120、第二开关130、电源输出端140、控制单元150和终端电池160都位于终端内,从而,工作人员只需要将外部电源和识别模块与接入端110电连接,当控制单元150收到漏电流检测指令时,工作人员就能很方便的获得终端的漏电流值,操作简便,方便对批量终端的漏电流检测,不会存在漏测的风险,同时检测效率也较高。而且,此种检测电路可以用在不可拆终端电池160上,拓宽了该检测电路的应用范围。In this embodiment, since the access terminal 110 is used to access the external power supply and the identification module, the first switch 120, the second switch 130, the power output terminal 140, the control unit 150 and the terminal battery 160 are all located in the terminal, Therefore, the staff only need to electrically connect the external power supply and the identification module to the access terminal 110. When the control unit 150 receives the leakage current detection instruction, the staff can easily obtain the leakage current value of the terminal, which is easy and convenient to operate. For the leakage current detection of batch terminals, there is no risk of missing detection, and the detection efficiency is also high. Moreover, this detection circuit can be used on the non-detachable terminal battery 160, which broadens the application range of the detection circuit.
在本实施例中,所述第一开关120可以有以下几种形式:In this embodiment, the first switch 120 may have the following forms:
1、第一开关120包括两个反接的PMOS管(positive channel Metal OxideSemiconductor),具体的,所述第一PMOS管121的D极(漏极)与接入端110电连接,所述第一PMOS管121的S极(源极)与第二PMOS管122电连接,所述第一PMOS管121的G极(栅极)与所述控制单元150电连接;所述第二PMOS管122的S极与所述第一PMOS管121的S极电连接,所述第二PMOS管的D极与电源输出端140电连接,所述第二PMOS管122的G极与所述控制单元150电连接,此种两个PMOS管反接的方式,能够较好的控制第一开关120的导通和断开,且检测供电电路断开时,正常供电电路工作时,也不会在第一开关120处产生漏电流,从而此种方案产业上实现性较好,成本也较低。另外,在本发明的其他实施例中,所述第一PMOS管的S极与接入端电连接,所述第一PMOS管的D极与第二PMOS管电连接,所述第一PMOS管的G极与所述控制单元电连接;所述第二PMOS管的D极与所述第一PMOS管的D极电连接,所述第二PMOS管的S极与电源输出端电连接,所述第二PMOS管的G极与所述控制单元电连接,此种方式也是两个PMOS管反接的方式。1. The first switch 120 includes two reversely connected PMOS transistors (positive channel Metal Oxide Semiconductor). Specifically, the D pole (drain) of the first PMOS transistor 121 is electrically connected to the access terminal 110, and the first The S pole (source) of the PMOS transistor 121 is electrically connected to the second PMOS transistor 122, and the G pole (gate) of the first PMOS transistor 121 is electrically connected to the control unit 150; The S pole is electrically connected to the S pole of the first PMOS transistor 121, the D pole of the second PMOS transistor is electrically connected to the power output terminal 140, and the G pole of the second PMOS transistor 122 is electrically connected to the control unit 150. Connection, this way of reverse connection of two PMOS transistors can better control the on and off of the first switch 120, and when the detection power supply circuit is disconnected, the normal power supply circuit will not be in the first switch 120. Leakage current is generated at 120, so this kind of scheme has better industrial realization and lower cost. In addition, in other embodiments of the present invention, the S pole of the first PMOS transistor is electrically connected to the access terminal, the D pole of the first PMOS transistor is electrically connected to the second PMOS transistor, and the first PMOS transistor The G pole of the second PMOS transistor is electrically connected to the control unit; the D pole of the second PMOS transistor is electrically connected to the D pole of the first PMOS transistor, and the S pole of the second PMOS transistor is electrically connected to the output terminal of the power supply. The G pole of the second PMOS transistor is electrically connected to the control unit, and this method is also a reverse connection method of the two PMOS transistors.
2、第一开关120包括两个反接的NMOS管(Negative channel Metal OxideSemiconductor),具体与接入端110、电源输出端140、控制单元150的连接方式请见第1点,在此就不再赘述。2. The first switch 120 includes two reversely connected NMOS transistors (Negative channel Metal Oxide Semiconductor). For details on how to connect to the access terminal 110, the power supply output terminal 140, and the control unit 150, please refer to point 1, which will not be repeated here. repeat.
3、第一开关120包括一个PMOS管或一个NMOS管,同样可以实现控制检测供电电路的导通或断开,以第一开关120包括一个PMOS管为例进行说明,所述PMOS管的D极与接入端110电连接,所述PMOS管的S极与电源输出端140电连接,所述PMOS管的G极与所述控制单元150电连接。3. The first switch 120 includes a PMOS transistor or an NMOS transistor, which can also control and detect the conduction or disconnection of the power supply circuit. Taking the first switch 120 including a PMOS transistor as an example, the D pole of the PMOS transistor It is electrically connected to the access terminal 110 , the S pole of the PMOS transistor is electrically connected to the power output terminal 140 , and the G pole of the PMOS transistor is electrically connected to the control unit 150 .
4、第一开关120包括三极管,例如为NPN型三极管或PNP型三极管,下面以NPN型三极管为例进行说明,所述三极管的集电极与所述接入端110电连接,所述三极管的发射极与电源输出端140电连接,所述三极管的基极与所述控制单元150电连接。4. The first switch 120 includes a transistor, such as an NPN transistor or a PNP transistor. The NPN transistor is used as an example for illustration below. The collector of the transistor is electrically connected to the access terminal 110, and the emitter of the transistor The pole is electrically connected to the power output terminal 140 , and the base of the triode is electrically connected to the control unit 150 .
当然,第一开关120还可以是其他常用的开关,在此就不再赘述。Of course, the first switch 120 may also be other commonly used switches, which will not be repeated here.
在本实施例中,所述第二开关130可以有以下几种形式:In this embodiment, the second switch 130 may have the following forms:
1、第二开关130包括两个反接的NMOS管,具体的,所述第一NMOS管131的S极(源极)与终端电池160电连接,所述第一NMOS管131的D极(漏极)与第二NMOS管132电连接,所述第一NMOS管131的G极(栅极)与所述控制单元150电连接;所述第二NMOS管132的D极与所述第一NMOS管131的D极电连接,所述第二NMOS管的S极与电源输出端140电连接,所述第二NMOS管132的G极与所述控制单元150电连接,此种两个NMOS管反接的方式,能够较好的控制第一开关120的导通和断开,且正常供电电路断开时,检测供电电路工作时,也不会在第二开关130处产生漏电流,从而此种方案产业上实现性较好,成本也较低。另外,在本发明的其他实施例中,所述第一NMOS管的D极与终端电池电连接,所述第一NMOS管的S极与第二NMOS管电连接,所述第一NMOS管的G极与所述控制单元电连接;所述第二NMOS管的S极与所述第一NMOS管的S极电连接,所述第二NMOS管的D极与电源输出端电连接,所述第二NMOS管的G极与所述控制单元电连接,此种方式也是两个NMOS管反接的方式。1. The second switch 130 includes two reversely connected NMOS transistors. Specifically, the S pole (source) of the first NMOS transistor 131 is electrically connected to the terminal battery 160, and the D pole (source) of the first NMOS transistor 131 ( Drain) is electrically connected to the second NMOS transistor 132, and the G pole (gate) of the first NMOS transistor 131 is electrically connected to the control unit 150; the D pole of the second NMOS transistor 132 is electrically connected to the first The D pole of the NMOS transistor 131 is electrically connected, the S pole of the second NMOS transistor is electrically connected to the power output terminal 140, and the G pole of the second NMOS transistor 132 is electrically connected to the control unit 150. The way of reverse connection of the tube can better control the conduction and disconnection of the first switch 120, and when the normal power supply circuit is disconnected, no leakage current will be generated at the second switch 130 when the detection power supply circuit is working, so that This kind of solution has better industrial realization and lower cost. In addition, in other embodiments of the present invention, the D pole of the first NMOS transistor is electrically connected to the terminal battery, the S pole of the first NMOS transistor is electrically connected to the second NMOS transistor, and the The G pole is electrically connected to the control unit; the S pole of the second NMOS transistor is electrically connected to the S pole of the first NMOS transistor, and the D pole of the second NMOS transistor is electrically connected to the output terminal of the power supply. The G pole of the second NMOS transistor is electrically connected to the control unit, and this method is also a method in which the two NMOS transistors are connected in reverse.
2、第二开关130包括两个反接的PMOS管,具体与终端电池160、电源输出端140、控制单元150的连接方式请见第1点,在此就不再赘述。2. The second switch 130 includes two reversely connected PMOS transistors. Please refer to point 1 for details on how to connect to the terminal battery 160 , the power output terminal 140 , and the control unit 150 , and details will not be repeated here.
3、第二开关130包括一个PMOS管或一个NMOS管,同样可以实现控制检测供电电路的导通或断开,以第二开关130包括一个NMOS管为例进行说明,所述NMOS管的S极(源极)与终端电池160电连接,所述NMOS管的D极(漏极)与电源输出端140电连接,所述NMOS管的G极(栅极)与所述控制单元150电连接。3. The second switch 130 includes a PMOS transistor or an NMOS transistor, which can also control and detect the conduction or disconnection of the power supply circuit. Taking the second switch 130 including an NMOS transistor as an example, the S pole of the NMOS transistor The (source) is electrically connected to the terminal battery 160 , the D pole (drain) of the NMOS transistor is electrically connected to the power output terminal 140 , and the G pole (gate) of the NMOS transistor is electrically connected to the control unit 150 .
4、第一开关120包括三极管,例如为NPN型三极管或PNP型三极管,下面以NPN型三极管为例进行说明,所述三极管的集电极与所述接入端110电连接,所述三极管的发射极与电源输出端140电连接,所述三极管的基极与所述控制单元150电连接。4. The first switch 120 includes a transistor, such as an NPN transistor or a PNP transistor. The NPN transistor is used as an example for illustration below. The collector of the transistor is electrically connected to the access terminal 110, and the emitter of the transistor The pole is electrically connected to the power output terminal 140 , and the base of the triode is electrically connected to the control unit 150 .
当然,第二开关130还可以是其他常用的开关,在此就不再赘述。Of course, the second switch 130 may also be other commonly used switches, which will not be repeated here.
在本实施例中,所述控制单元150可以是微处理器,也可以是其他控制芯片,在此就不再赘述。在本实施例中,所述控制单元150是通过纽扣电池供电的,但本发明不限于此,在本发明的其他实施例中,所述控制单元与终端电池一直电连接,从而可以通过终端电池一直给控制单元供电。In this embodiment, the control unit 150 may be a microprocessor, or other control chips, which will not be repeated here. In this embodiment, the control unit 150 is powered by a button battery, but the present invention is not limited thereto. In other embodiments of the present invention, the control unit is always electrically connected to the terminal battery, so that the terminal battery can Always supply power to the control unit.
在本实施例中,所述终端为手机、平板电脑等需要漏电流检测的电子设备。In this embodiment, the terminal is an electronic device such as a mobile phone or a tablet computer that requires leakage current detection.
第二实施例second embodiment
图3为本发明第二实施例终端漏电流检测电路,图3的电路与图1的电路相似,因此相同的元件符号代表相同的元件,本实施例与第一实施例的主要不同点为控制单元的供电。Fig. 3 is the terminal leakage current detection circuit of the second embodiment of the present invention. The circuit in Fig. 3 is similar to the circuit in Fig. 1, so the same component symbols represent the same components. The main difference between this embodiment and the first embodiment is the control power supply of the unit.
请参见图3和图4,在本实施例中,所述接入端110还电连接供电选择电路270的第一输入端,所述供电选择电路270的第二输入端电连接终端电池160,所述供电选择电路270的输出端电连接控制单元250,以将电力供给控制单元250。Referring to FIG. 3 and FIG. 4, in this embodiment, the access terminal 110 is also electrically connected to the first input terminal of the power supply selection circuit 270, and the second input terminal of the power supply selection circuit 270 is electrically connected to the terminal battery 160, The output end of the power supply selection circuit 270 is electrically connected to the control unit 250 to supply power to the control unit 250 .
具体说来,在终端处在正常工作状态时,所述供电选择电路270选择第二输入端与输出端导通,第一输入端和输出端断开,此时,终端电池160的电力经由供电选择电路270的第二输入端、输出端供给控制单元250。在终端处在检测漏电流状态时,所述供电选择电路270选择第一输入端与输出端导通,第二输入端与输出端断开,此时,外部电源和识别模块的电力经由第一输入端、输出端供给控制单元250。Specifically, when the terminal is in a normal working state, the power supply selection circuit 270 selects the second input terminal to be connected to the output terminal, and the first input terminal to be disconnected from the output terminal. The second input terminal and output terminal of the selection circuit 270 are supplied to the control unit 250 . When the terminal is in the leakage current detection state, the power supply selection circuit 270 selects the first input terminal to be connected to the output terminal, and the second input terminal to be disconnected from the output terminal. At this time, the power of the external power supply and the identification module passes through the first The input terminal and the output terminal are supplied to the control unit 250 .
在本实施例中,所述供电选择电路270为单刀双掷开关,所述单刀双掷开关的动端与控制单元250电连接,所述单刀双掷开关的两不动端分别与接入端110和终端电池160电连接,也即所述单刀双掷开关的第一输入端和第二输入端分别与接入端110和终端电池160电连接。In this embodiment, the power supply selection circuit 270 is a single-pole double-throw switch, the moving end of the single-pole double-throw switch is electrically connected to the control unit 250, and the two fixed ends of the single-pole double-throw switch are respectively connected to the access end 110 is electrically connected to the terminal battery 160 , that is, the first input end and the second input end of the SPDT switch are electrically connected to the access terminal 110 and the terminal battery 160 respectively.
在本实施例中,所述单刀双掷开关具体导通接入端110还是导通终端电池160这端,是有控制单元250进行控制,具体说来,所述单刀双掷开关在常态下动端与电连接终端电池160的不动端电连接,也即常态下控制单元250的电力是由终端电池160供给的;当控制单元250接收到漏电流检测指令时,也即在终端处在检测漏电流状态时,控制单元250控制单刀双掷开关的动端与电连接接入端110的不动端导通,从而控制单元250的电力是由外部电源和识别模块供给的。从而通过控制单元250控制单刀双掷开关。另外,在本发明的其他实施例中,所述供电选择电路还可以是其他类似具有单刀双掷开关功能的电路或者电子元器件构成,例如继电器等。In this embodiment, whether the SPDT switch is turned on to the access terminal 110 or to the terminal battery 160 is controlled by the control unit 250. Specifically, the SPDT switch operates under normal conditions. terminal is electrically connected to the fixed terminal electrically connected to the terminal battery 160, that is, the power of the control unit 250 is supplied by the terminal battery 160 under normal conditions; In the state of leakage current, the control unit 250 controls the moving end of the SPDT switch to conduct with the fixed end electrically connected to the access end 110, so that the power of the control unit 250 is supplied by the external power supply and the identification module. Thus, the SPDT switch is controlled by the control unit 250 . In addition, in other embodiments of the present invention, the power supply selection circuit may also be composed of other similar circuits or electronic components with a single-pole-double-throw switch function, such as relays.
在本实施例中,由于具有供电选择电路270,处理器的电力可以通过外部电源和识别模块供给,从而在生产终端时,需要漏电流检测的终端不需要安装终端电池160,检测完了在安装终端电池160,从而节省了工序,方便了大批量的终端检测;而且,即使终端上已经安装了终端电池160,漏电流检测时也不需要拆下终端电池160,从而节省了工序,降低了成本,方便了批量的检测。而且,此种检测电路可以用在不可拆终端电池160上,拓宽了该检测电路的应用范围。In this embodiment, due to the power supply selection circuit 270, the power of the processor can be supplied by an external power supply and an identification module, so that when producing a terminal, the terminal that needs leakage current detection does not need to install the terminal battery 160, and the terminal battery 160 is installed after the detection is completed. battery 160, thereby saving the process and facilitating large-scale terminal detection; and, even if the terminal battery 160 has been installed on the terminal, the terminal battery 160 does not need to be removed during leakage current detection, thereby saving the process and reducing the cost. It is convenient for batch detection. Moreover, this detection circuit can be used on the non-detachable terminal battery 160, which broadens the application range of the detection circuit.
另外,在本实施例中,所述计算机180从稳压电源170处获得电流值近似为终端的漏电流值,但是为了获得更精准的漏电流值,还可以通过计算机180运算,也即,从稳压电源170处获得的电流值减去控制单元250消耗的电流值就为漏电流值,进而可以输出;但由于控制单元250消耗的电力非常小,也即控制单元250处流过的电流值非常低,从而在本实施例中计算机180从稳压电源170处获得的电流值近似为终端的漏电流值。In addition, in this embodiment, the current value obtained by the computer 180 from the regulated power supply 170 is approximately the leakage current value of the terminal, but in order to obtain a more accurate leakage current value, it can also be calculated by the computer 180, that is, from The current value obtained at the regulated power supply 170 minus the current value consumed by the control unit 250 is the leakage current value, which can be output; is very low, so in this embodiment, the current value obtained by the computer 180 from the regulated power supply 170 is approximately the leakage current value of the terminal.
另外,本发明还提供了一种终端,所述终端包括上述的终端漏电流检测电路。In addition, the present invention also provides a terminal, which includes the above-mentioned terminal leakage current detection circuit.
另外,本发明还提供了一种终端漏电流检测系统,所述终端漏电流检测系统包括外部电源和识别模块和上述的终端,所述外部电源和识别模块用于供给接入端外部电源和用于输出漏电流值。其中,在本实施例中,所述外部电源和识别模块包括稳压电源和计算机,所述稳压电源与终端的接入端电连接,具体所述稳压电源与终端漏电流检测电路的接入端电连接,所述稳压电源与计算机连接以获得稳压电源输出的电流值。In addition, the present invention also provides a terminal leakage current detection system, the terminal leakage current detection system includes an external power supply and an identification module and the above-mentioned terminal, the external power supply and identification module are used to supply the external power supply of the access terminal and the user at the output leakage current value. Wherein, in this embodiment, the external power supply and the identification module include a regulated power supply and a computer, the regulated power supply is electrically connected to the terminal access terminal, specifically the connection between the regulated power supply and the terminal leakage current detection circuit The input terminal is electrically connected, and the stabilized power supply is connected to the computer to obtain the output current value of the stabilized power supply.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
通过上述实施例的描述,本发明具有以下优点:Through the description of the foregoing embodiments, the present invention has the following advantages:
由于接入端用于接入所述外部电源和识别模块,第一开关、第二开关、电源输出端、控制单元和终端电池都位于终端内,从而,工作人员只需要将外部电源和识别模块与接入端电连接,当控制单元收到漏电流检测指令时,工作人员就能很方便的获得终端的漏电流值,操作简便,方便对批量终端的漏电流检测,不会存在漏测的风险,同时检测效率也较高。而且,此种检测电路可以用在不可拆终端电池上,拓宽了该检测电路的应用范围。Since the access terminal is used to access the external power supply and the identification module, the first switch, the second switch, the power output terminal, the control unit and the terminal battery are all located in the terminal, so that the staff only need to connect the external power supply and the identification module Electrically connected to the access terminal, when the control unit receives the leakage current detection instruction, the staff can easily obtain the leakage current value of the terminal, which is easy to operate and convenient for batch terminal leakage current detection, and there will be no missing test risk, and the detection efficiency is also high. Moreover, this detection circuit can be used on non-detachable terminal batteries, which broadens the application range of the detection circuit.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117721.6A CN106526403B (en) | 2016-12-07 | 2016-12-07 | A terminal leakage current detection circuit, a terminal and a terminal leakage current detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117721.6A CN106526403B (en) | 2016-12-07 | 2016-12-07 | A terminal leakage current detection circuit, a terminal and a terminal leakage current detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106526403A true CN106526403A (en) | 2017-03-22 |
CN106526403B CN106526403B (en) | 2019-06-11 |
Family
ID=58342121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611117721.6A Active CN106526403B (en) | 2016-12-07 | 2016-12-07 | A terminal leakage current detection circuit, a terminal and a terminal leakage current detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106526403B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959386A (en) * | 2017-03-30 | 2017-07-18 | 维沃移动通信有限公司 | A kind of creepage detection method and mobile terminal |
CN111693891A (en) * | 2020-05-07 | 2020-09-22 | 芯讯通无线科技(上海)有限公司 | Terminal with communication module and remote diagnosis system |
CN114487914A (en) * | 2022-04-13 | 2022-05-13 | 荣耀终端有限公司 | Electronic equipment and leakage current testing method |
CN116413632A (en) * | 2023-06-12 | 2023-07-11 | 荣耀终端有限公司 | Leakage current testing device and leakage current testing method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042418A (en) * | 2006-03-23 | 2007-09-26 | 株式会社京浜 | Leakage detection circuit and battery electronic control unit |
JP2012141199A (en) * | 2010-12-28 | 2012-07-26 | Advantest Corp | Measuring device |
US20160018454A1 (en) * | 2014-07-15 | 2016-01-21 | Byung-Gil Jeon | Leakage current detection device, integrated circuit device having the same, and method of detecting leakage current in nonvolatile memory device |
CN105510759A (en) * | 2015-11-30 | 2016-04-20 | 华为技术有限公司 | Electric leakage detection equipment and detection method thereof |
WO2016101224A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Terminal leaked current detection system |
WO2016179749A1 (en) * | 2015-05-08 | 2016-11-17 | 华为技术有限公司 | Leakage current testing circuit and method |
-
2016
- 2016-12-07 CN CN201611117721.6A patent/CN106526403B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042418A (en) * | 2006-03-23 | 2007-09-26 | 株式会社京浜 | Leakage detection circuit and battery electronic control unit |
JP2012141199A (en) * | 2010-12-28 | 2012-07-26 | Advantest Corp | Measuring device |
US20160018454A1 (en) * | 2014-07-15 | 2016-01-21 | Byung-Gil Jeon | Leakage current detection device, integrated circuit device having the same, and method of detecting leakage current in nonvolatile memory device |
WO2016101224A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | Terminal leaked current detection system |
CN106164686A (en) * | 2014-12-25 | 2016-11-23 | 华为技术有限公司 | A kind of leakage current test system of terminal |
WO2016179749A1 (en) * | 2015-05-08 | 2016-11-17 | 华为技术有限公司 | Leakage current testing circuit and method |
CN105510759A (en) * | 2015-11-30 | 2016-04-20 | 华为技术有限公司 | Electric leakage detection equipment and detection method thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959386A (en) * | 2017-03-30 | 2017-07-18 | 维沃移动通信有限公司 | A kind of creepage detection method and mobile terminal |
CN111693891A (en) * | 2020-05-07 | 2020-09-22 | 芯讯通无线科技(上海)有限公司 | Terminal with communication module and remote diagnosis system |
CN114487914A (en) * | 2022-04-13 | 2022-05-13 | 荣耀终端有限公司 | Electronic equipment and leakage current testing method |
CN114487914B (en) * | 2022-04-13 | 2022-08-19 | 荣耀终端有限公司 | Electronic equipment and leakage current testing method |
CN116413632A (en) * | 2023-06-12 | 2023-07-11 | 荣耀终端有限公司 | Leakage current testing device and leakage current testing method |
CN116413632B (en) * | 2023-06-12 | 2023-10-20 | 荣耀终端有限公司 | Leakage current testing device and leakage current testing method |
Also Published As
Publication number | Publication date |
---|---|
CN106526403B (en) | 2019-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10153652B2 (en) | Charging system | |
US8977870B2 (en) | Apparatus for determining a USB compatible device, and supplying corresponding power thereafter | |
JP5941135B2 (en) | Electronic device having USB interface and USB communication activation method | |
CN105790356A (en) | Data line having charging circuit | |
CN103683348B (en) | There is the electronic installation of power consumption detecting function | |
CN106526403A (en) | Terminal leak current detection circuit, terminal and terminal leak current detection system | |
CN103079138B (en) | Earphone and method for realizing automatic recognition switching control of earphone | |
US20190356160A1 (en) | Control circuit compatible with battery power supply and external power supply | |
CN104935030A (en) | Charging circuit, electronic device and charging method | |
US8970175B2 (en) | Charging circuit employing a southbridge microchip to control charging when the electronic apparatus is shut down | |
CN105071489A (en) | Charging method and apparatus of terminal having data exchange function | |
CN106797414A (en) | The leakage current detection circuit and terminal of a kind of terminal | |
CN214375036U (en) | Mobile device test system | |
CN105676986A (en) | Interface switching system for electronic equipment | |
US20120267958A1 (en) | Current suppression circuit and electronic device employing the same | |
CN107492934B (en) | Electronic device with power supply circuit | |
CN106054681A (en) | Card inserting and plugging safe control circuit and method and mobile terminal | |
CN102854813A (en) | Electronic device | |
CN210488494U (en) | EC reset circuit and electronic equipment based on USB C type interface | |
CN105098854A (en) | Charging method and electronic device | |
CN210518243U (en) | EC reset circuit and electronic equipment based on composite signal | |
CN103226724B (en) | A kind of NFC label and a kind of NFC electronic equipment | |
CN110688260B (en) | EC reset circuit and electronic equipment based on earphone interface | |
CN114624524A (en) | Charging detection method, device and equipment | |
TWI615704B (en) | Electronic device and the control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241219 Address after: No. 611, 6th Floor, Unit 1, Building 6, No. 1700, Tianfu Avenue North Section, Chengdu High tech Zone, China (Sichuan) Pilot Free Trade Zone, Chengdu, Sichuan Province, 610000 Patentee after: Sichuan Carbon Fenghe Environmental Protection Technology Co.,Ltd. Country or region after: China Address before: 518057, Nanshan District hi tech Industrial Park (North Zone), Guangdong, Shenzhen Province, No. 2, Mengxi Road Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before: China |