WO2022068004A1 - Terminal humidity detection method and system - Google Patents

Terminal humidity detection method and system Download PDF

Info

Publication number
WO2022068004A1
WO2022068004A1 PCT/CN2020/128937 CN2020128937W WO2022068004A1 WO 2022068004 A1 WO2022068004 A1 WO 2022068004A1 CN 2020128937 W CN2020128937 W CN 2020128937W WO 2022068004 A1 WO2022068004 A1 WO 2022068004A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
terminal
charging port
liquid
humidity detection
Prior art date
Application number
PCT/CN2020/128937
Other languages
French (fr)
Chinese (zh)
Inventor
武建高
李文
沈奕鹏
黄洪文
姜栋才
Original Assignee
深圳市联新移动医疗科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202011061063.XA external-priority patent/CN112186855A/en
Priority claimed from CN202011065145.1A external-priority patent/CN112202224A/en
Application filed by 深圳市联新移动医疗科技有限公司 filed Critical 深圳市联新移动医疗科技有限公司
Publication of WO2022068004A1 publication Critical patent/WO2022068004A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Definitions

  • the present disclosure relates to the technical field of terminal humidity detection, and in particular, to a terminal humidity detection method and system.
  • Information terminals have been widely used in hospital information processing systems.
  • the charging port of the information terminal will inevitably enter the corrosive liquid containing electrolytes, such as sodium chloride solution. If the charging port enters this kind of liquid, it is particularly easy to corrode the PIN pin part.
  • the consequences of corrosion are functional problems such as communication failure and inability to charge electricity. The more serious situation is that after corroding the charging pin, it will lead to contact resistance. If it becomes larger, it will generate high temperature at the contact part during charging, which will bring security risks.
  • the technical problem to be solved by the present disclosure is to provide a terminal humidity detection method and system in view of the above-mentioned defects of the prior art, aiming to solve the problem that the charging port of the information terminal in the prior art is easy to enter the liquid and easily lead to potential safety hazards. .
  • the present disclosure provides a terminal humidity detection method, wherein the method includes:
  • the terminal If there is liquid, the terminal outputs charging prompt information, and the charging prompt information is used to prompt that charging connection is prohibited.
  • the acquiring humidity information of the charging port of the terminal includes:
  • the moisture detection chip is placed in the detection cycle
  • the terminal obtains the input voltage of the charging port of the terminal.
  • the determining whether there is liquid in the charging port of the terminal according to the input voltage includes:
  • the power supply to the terminal is cut off to cut off the power supply to the main board of the terminal.
  • the moisture detection chip is provided with a moisture detection chip, and the moisture detection chip is connected to the main board of the terminal.
  • the method further includes:
  • the capacitance value is analyzed by the capacitance detection unit to determine whether there is liquid on the pin;
  • the charging device cuts off the power supply of the charging device to the terminal through the switch unit.
  • the method further includes:
  • the charging device will give an indication through the indicator light unit.
  • the present disclosure provides a terminal humidity detection system, wherein the system includes a terminal and a charging device connected to the terminal; the terminal is provided with a charging port, and the charging port is used for connecting the charging device,
  • the charging port is provided with a moisture detection chip, and the moisture detection chip is connected to the main board of the terminal; the moisture detection chip is used to detect the input voltage of the charging port of the terminal, obtain the humidity information of the charging port, and When it is detected that there is liquid in the charging port, the power supply of the charging device to the main board of the terminal is cut off.
  • the moisture detection chip includes a programmable current source and an analog-to-digital converter for detecting the input voltage.
  • the analog-to-digital converter is an 8-bit analog-to-digital converter.
  • the terminal further includes a display screen, and the display screen is connected to the main board of the terminal.
  • the charging device includes: a charging portion movably connected to the charging port of the terminal, a charging cable disposed on one side of the charging portion, and one end of the charging cable is connected to the charging port.
  • a charging part, the other end of the charging cable is connected with a connecting part;
  • a humidity detection component is arranged on the charging cable, and the humidity detection component includes a circuit board, and a capacitance detection unit and a connection with the capacitance are arranged on the circuit board.
  • a switch unit connected to the detection unit, the capacitance detection unit is used to detect the capacitance value of the adjacent pins on the charging part, and the capacitance value is used to reflect the humidity of the charging part.
  • the humidity detection unit further includes a MOS tube control unit, and the MOS tube control unit is connected to the capacitance detection unit.
  • an indicator light unit is further provided on the circuit board, and the indicator light unit is connected to the capacitance detection unit.
  • a power management unit is further provided on the circuit board, and the power management unit is connected to the capacitance detection unit and the indicator light unit.
  • the charging part is any one of a micro USB connector, a micro USB type-c connector, and a type-c connector.
  • connection part is any one of a type-a plug, a plug adapter, or a type-a female connector of a computer.
  • the present disclosure provides a terminal humidity detection method and system.
  • the present disclosure first obtains the input voltage of the charging port of the terminal; and then determines whether the charging port of the terminal is not based on the input voltage. There is liquid; if there is liquid, the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited, which effectively ensures the safety performance of the terminal and avoids potential safety hazards.
  • the present disclosure does not need to use a rubber plug, maintains a clean appearance, and is functionally timely when the user prohibits charging. convenient.
  • FIG. 1 is a flowchart of a specific implementation of a terminal humidity detection method provided by an embodiment of the present disclosure.
  • FIG. 2 is a schematic diagram of a terminal humidity detection system provided by an embodiment of the present disclosure.
  • FIG. 3 is a schematic structural diagram of a terminal with a humidity detection function according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a charging device with a humidity detection function according to an embodiment of the present disclosure.
  • this embodiment provides a terminal humidity detection method and system.
  • the input voltage of the charging port of the terminal is obtained first; then, according to the input voltage, it is determined whether the charging port of the terminal exists. liquid; if there is liquid, the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited, which effectively ensures the safety performance of the terminal and avoids potential safety hazards.
  • this embodiment does not need to use a rubber plug, maintains the cleanliness of the appearance, and can be used by the user if the user prohibits charging in time. to offer comfort.
  • the method in this embodiment can be applied to smart terminals, such as mobile phone devices, ipad devices, or NDA (Nurse Digital Assistant) terminals used in a hospital environment, where the NAD terminal refers to a mobile terminal applied to a medical clinical data system equipment.
  • this embodiment is mainly applied in terminal China, as shown in FIG. 1 , the method includes the following steps:
  • Step S100 acquiring the input voltage of the charging port of the terminal.
  • the charging port of the information terminal will inevitably enter the corrosive liquid containing electrolytes, such as sodium chloride solution. If the charging port enters this kind of liquid, it is particularly easy to corrode the PIN pin part. The consequences of corrosion are functional problems such as communication failure and inability to charge electricity. The more serious situation is that after corroding the charging pin, it will lead to contact resistance. If it becomes larger, it will generate high temperature at the contact part during charging, which will bring security risks. It can be seen that when liquid enters the charging port of the terminal, the contact resistance increases. Based on this, this embodiment can analyze whether there is liquid in the charging port by acquiring the contact resistance at the charging port of the terminal. The contact resistance is related to the input voltage of the charging port, so in this embodiment, the input voltage of the charging port is obtained first.
  • the terminal of the present embodiment is provided with a moisture detection chip in advance, and the moisture detection chip is connected with the main board of the terminal, and is used for analyzing by obtaining the input voltage of the charging port of the terminal, In order to find out whether there is liquid contamination in the charging port.
  • the moisture detection chip in this embodiment can only be implemented within the detection period. Therefore, in this embodiment, after the charging port of the terminal is inserted into the charging device, the moisture detection chip can be placed in the detection cycle, and then the input voltage of the charging port of the terminal can be obtained according to the moisture detection chip. . That is to say, the moisture detection chip in this embodiment can work only after the charging port is inserted into the charging device (ie, externally powered).
  • Step S200 according to the input voltage, determine whether there is liquid in the charging port of the terminal.
  • this embodiment can calculate the contact resistance between the charging port and the charging device according to the input voltage.
  • the moisture detection chip in this embodiment includes a programmable current source and an analog-to-digital converter for detecting the input voltage, and the analog-to-digital converter is an 8-bit analog-to-digital converter.
  • the main board in the terminal in this embodiment can compare the calculated contact resistance with preset resistance information to generate a comparison result.
  • the preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated.
  • the comparison result is used to represent the humidity information, and according to the comparison result, it can be determined whether there is liquid in the charging port.
  • Step S300 If there is liquid, output charging prompt information, where the charging prompt information is used to prompt that charging connection is prohibited.
  • the screen of the terminal when it is determined that there is liquid in the charging port of the terminal, the screen of the terminal can be woken up and abnormal information can be reported when charging the charging port of the terminal.
  • a charging prompt message indicating that charging is prohibited is also displayed on the screen of the terminal, as shown in Fig. 3.
  • the terminal displays "Detected that the USB port is wet or a non-standard device is inserted, please check. Is the USB port and cable normal” charging prompt message, thus prompting the user to prohibit charging.
  • the present embodiment can cut off the power supply to the terminal to cut off the power supply to the main board of the terminal. It can be clearly seen from FIG. 2 that the moisture detection chip is connected to the main board of the terminal, and after the moisture detection chip detects that there is liquid in the terminal, the moisture detection chip will report to the terminal.
  • the control board in the device sends the power supply between the main board and the charging device to cut off, so as to avoid potential safety hazards.
  • the terminal humidity detection method in this embodiment can also be applied to a charging device connected to the terminal.
  • a charging device connected to the terminal.
  • the charging part is inserted into the charging port of the terminal, or the charging part is inserted into a liquid-infiltrating device
  • the capacitance value between adjacent pins on the charging part will change, the contact resistance between the charging part and the charging port will increase, and high temperature heat will be generated, causing security incident.
  • a humidity detection component is arranged on the charging line, and a capacitance detection unit is arranged on the humidity detection component. Then, by analyzing the capacitance value, the contact resistance is determined, and then the humidity on the charging part is determined, that is, it is determined whether there is liquid on the charging part.
  • the circuit board of the humidity detection component in this embodiment is further provided with a switch unit, which is used to cut off the power supply of the charging device to the terminal when it is detected that there is liquid in the charging part. That is to say, in this embodiment, after the capacitance detection unit detects the capacitance value between the adjacent pins on the charging part, the contact resistance is obtained according to the calculation, and then the contact resistance of the charging part can be determined according to the contact resistance. humidity, and then the switch unit can determine whether to cut off the power supply of the charging line according to the determined humidity, and cut off the power supply to the charging line if it is determined that there is liquid according to the humidity.
  • the contact resistance between the charging part and the charging port is calculated according to the capacitance values, and then the calculated contact resistance is calculated.
  • the resistance is compared with preset resistance information to generate a comparison result.
  • the preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated.
  • the contact resistance is too large, it may indicate that there is liquid on the charging part, and even corrosion occurs, resulting in excessive contact resistance between the charging port and the charging device (ie, the charging pins of the charging device).
  • the comparison result is used to represent the humidity information of the charging part, and according to the comparison result, it can be determined whether there is liquid on the charging part.
  • the capacitance detection unit in this embodiment may use a humidity detection sensor chip, for example, a humidity detection sensor chip with a chip model of HIH-3602 or HM1500.
  • a humidity detection sensor chip with a chip model of HIH-3602 or HM1500.
  • an appropriate chip model can be selected according to the actual situation, and is designed on the charging line through a circuit.
  • a MOS tube control unit is provided on the charging line in this embodiment, and the tube control unit is connected to the capacitance detection unit.
  • the MOS transistor control unit is used to control the power supply path of the charging line.
  • the MOS tube control unit can be connected to the switch unit, because the switch unit can cut off the power supply of the charging device to the terminal in time when it is detected that there is liquid on the charging part .
  • the MOS tube control unit is used to control the power supply path of the charging line, so in this embodiment, the power supply path can be switched by the MOS tube control unit, so as to cut off the power supply to the terminal motherboard.
  • an indicator light unit when it is detected that there is liquid on the charging portion, an indicator light unit will be used for prompting.
  • an indicator light unit is further provided on the circuit board, and the indicator light unit is connected to the capacitance detection unit.
  • the contact resistance is obtained according to the calculation, and then according to the contact resistance
  • the indicator light unit can be controlled to work according to the humidity to prompt the user.
  • this embodiment can be implemented by the indicator unit flashing lights of different colors when it is detected that there is liquid on the charging portion.
  • the indicator light unit can be set as an indicator light, and the indicator light can display different colors.
  • the indicator light can display red, and the indicator light can be displayed in red.
  • the indicator light can display green, which means that the charging device 20 is normally charging at this time.
  • charging prompt information may be output from a terminal connected to the charging portion.
  • the terminal in this embodiment includes a display screen, and the display screen is connected to the main board of the terminal.
  • the display screen of the terminal can be woken up, and abnormal information can be reported.
  • a charging prompt message indicating that charging is prohibited is also displayed on the display screen of the terminal. For example, the terminal displays the message "It is detected that the USB port is wet or a non-standard device is inserted, please check whether the USB port and cable are normal". Charging prompt information, thus prompting the user to prohibit charging.
  • the present disclosure also provides a terminal humidity detection system.
  • the system includes a terminal and a charging device connected to the terminal.
  • the terminal in this embodiment has a charging port humidity detection function.
  • the terminal 100 in this embodiment is provided with a charging port 10 , and the charging port 10 is used for connecting the charging device 20 .
  • 10 is provided with a moisture detection chip 30, and the moisture detection chip 30 is connected with the main board 40 of the terminal 100; the moisture detection chip 30 is used to detect the input voltage of the charging port 10 of the terminal 100, and obtain the value of the charging port. humidity information, and when liquid is detected in the charging port 10 , the power supply of the charging device 20 to the main board 40 of the terminal 100 is cut off.
  • the moisture detection chip 30 can be placed in the detection cycle, and then the moisture detection chip 30 can be used to obtain the moisture detection chip 30.
  • the input voltage of the charging port 10 of the terminal 100 that is to say, the moisture detection chip 30 in this embodiment can work only after the charging port 10 is inserted into the charging device 20 (ie, externally powered).
  • the moisture detection chip 30 in this embodiment includes a programmable current source and an analog-to-digital converter for detecting the input voltage, and the analog-to-digital converter is an 8-bit analog-to-digital converter.
  • the main board 40 in the terminal 100 in this embodiment can compare the calculated contact resistance with preset resistance information to generate a comparison result.
  • the preset resistance information is used for judging whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated, and the comparison result is used to reflect the humidity information.
  • the contact resistance is too large, it can indicate that liquid has entered the charging port, and even corrosion occurs, resulting in excessive contact resistance between the charging port and the charging device (ie, the charging pins of the charging device). Therefore, the comparison result is used to represent the humidity information, and according to the comparison result, it can be determined whether there is liquid in the charging port.
  • the terminal 100 in this embodiment further includes a display screen 50 , and the display screen 50 is connected to the main board 40 of the terminal 100 .
  • the display screen 50 of the terminal 100 can be woken up and abnormal information can be reported when the charging port 10 of the terminal 100 is being charged.
  • a charging prompt message indicating that charging is prohibited is also displayed on the display screen 50 of the terminal 100.
  • the terminal 100 displays “The USB port is wet or a non-standard device is detected. Please check whether the USB port and cable are not plugged in. "Normal" charging prompt message, thus prompting the user to prohibit charging.
  • the charging device 20 includes a charging part 210, the charging part 210 is connected to the charging port 10, and the charging part is a micro USB connector, a micro USB type Either the -c linker or the type-c linker.
  • the charging port 10 on the terminal 100 in this embodiment is also set as an interface matching the micro USB connector, the micro USB type-c connector and the type-c connector.
  • the charging device 20 further includes: a charging cable 220 disposed on one side of the charging portion 210 , one end of the charging cable 220 is connected to the charging portion 210 , and the other end of the charging cable 220 is connected to a connection Section 230.
  • the connection part 230 is any one of a type-a plug, a plug-in adapter or a type-a female connector of a computer. That is to say, the charging device 20 in this embodiment is used to charge the terminal 100 .
  • the charging device in this embodiment also has a humidity detection function.
  • the charging device 20 includes: a charging port 10 (as shown in FIG. 4 ) connected to the terminal 100 .
  • the flexibly connected charging portion 210 is provided on a charging cable 220 on one side of the charging portion 210 , one end of the charging cable 220 is connected to the charging portion 210 , and the other end of the charging cable 220 is connected to a connecting portion 230 ;
  • the charging cable 220 is provided with a humidity detection component 240 , and the humidity detection component 240 includes a circuit board 241 .
  • the circuit board 241 is provided with a capacitance detection unit 242 and a switch unit connected to the capacitance detection unit 242 . 243 , the switch unit is connected to the capacitance detection unit 242 .
  • the capacitance detection unit 242 is used to detect the capacitance value of the adjacent pins on the charging part, and the capacitance value is used to reflect the humidity of the charging part 210 .
  • a humidity detection unit 240 is arranged on the charging cable 220 , and a capacitance detection unit 242 is arranged on the humidity detection unit 240 .
  • the capacitance value of the pin, and then the contact resistance is determined by analyzing the capacitance value, and then the humidity on the charging part 210 is determined, that is, whether there is liquid on the charging part 210 is determined.
  • the circuit board of the humidity detection component 240 in this embodiment is further provided with a switch unit 243 , and the switch unit 243 is used to cut off the connection between the charging device 20 and the terminal 100 when liquid is detected in the charging unit 210 . of power supply. That is to say, in this embodiment, after the capacitance detection unit 242 detects the capacitance value between the adjacent pins on the charging part 210, the contact resistance is obtained according to the calculation, and then the charging can be determined according to the contact resistance. Then, the switch unit can determine whether to cut off the power supply of the charging cable 220 according to the determined humidity, and cut off the power supply to the charging cable 220 if it is determined that there is liquid according to the humidity.
  • the contact resistance between the charging part 210 and the charging port 10 is calculated according to the capacitance values, and then the The calculated contact resistance is compared with preset resistance information to generate a comparison result.
  • the preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated.
  • the contact resistance is too large, it may indicate that there is liquid on the charging portion 210, or even corrosion occurs, resulting in excessive contact resistance between the charging port 10 and the charging device 20 (ie, the charging pins of the charging device).
  • the comparison result is used to represent the humidity information of the charging part 210 , and according to the comparison result, it can be determined whether there is liquid on the charging part 210 .
  • the capacitance detection unit 242 in this embodiment may use a humidity detection sensor chip, such as a humidity detection sensor chip whose chip model is HIH-3602 or HM1500.
  • a humidity detection sensor chip such as a humidity detection sensor chip whose chip model is HIH-3602 or HM1500.
  • an appropriate chip model can be selected according to the actual situation, and is designed on the charging line 220 through a circuit.
  • the humidity detection unit 240 in this embodiment further includes a MOS tube control unit 221 , and the MOS tube control unit 221 is connected to the capacitance detection unit 242 .
  • the MOS transistor control unit 221 is used to control the power supply path of the charging line 220 .
  • the MOS tube control unit 221 can be connected to the switch unit 243 , because the switch unit 243 can cut off the charging device in time when it detects that there is liquid on the charging portion 210 . 20 power supplies to the terminal.
  • the MOS tube control unit 221 is used to control the power supply path of the charging cable 220. Therefore, in this embodiment, the MOS tube control unit 221 can be used to switch the power supply path, so as to cut off the power supply to the terminal motherboard.
  • the circuit board 241 in this embodiment is further provided with an indicator light unit 244 , and the indicator light unit 244 is connected to the capacitance detection unit 242 .
  • the contact resistance is calculated according to the After the humidity of the charging part 210 can be determined by the contact resistance, the indicator light unit 244 can be controlled to work according to the humidity to prompt the user.
  • this embodiment can be implemented by the indicator light unit 244 flashing lights of different colors when it is detected that there is liquid on the charging portion 210 .
  • the indicator light unit 244 can be set as an indicator light, and the indicator light can display different colors.
  • the indicator light can display red
  • the indicator light can display green, which means that the charging device 20 is normally charging at this time.
  • a power management unit 245 is further disposed on the circuit board 241 , and the power management unit 245 is connected to the capacitance detection unit 242 and the indicator light unit 244 .
  • the power management unit 242 in this embodiment is configured to provide the required voltages such as 1.8V and 2.8V for the capacitance detection unit 242 , the indicator light unit 244 and the like.
  • the circuit board 241 in this embodiment is disposed on the charging cable 220 at a position close to the charging portion 210 .
  • the capacitance detection unit 242 can better detect whether there is liquid on the charging part 210 .
  • the terminal 100 in this embodiment further includes a display screen 50 , and the display screen 50 is connected to the main board 40 of the terminal 100 .
  • the display screen 50 of the terminal 100 can be woken up and abnormal information can be reported when the charging port 10 of the terminal 100 is being charged.
  • a charging prompt message indicating that charging is prohibited is also displayed on the display screen 50 of the terminal 100.
  • the terminal 100 displays “The USB port is wet or a non-standard device is detected. Please check whether the USB port and cable are not plugged in. "Normal" charging prompt message, thus prompting the user to prohibit charging.
  • the charging unit 210 is any one of a micro USB connector, a micro USB type-c connector, and a type-c connector.
  • the charging port 10 on the terminal 100 in this embodiment is also set as an interface matching the micro USB connector, the micro USB type-c connector and the type-c connector.
  • the connecting portion 230 is also any one of a type-a plug, a plug adapter or a type-a female connector of a computer. That is to say, the charging device 20 in this embodiment is used to charge the terminal 100 .
  • the present disclosure discloses a terminal humidity detection method and system.
  • the method includes: acquiring an input voltage of a charging port of a terminal; determining whether there is liquid in the charging port of the terminal according to the input voltage; if there is liquid , the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited.
  • the present disclosure can determine whether there is liquid in the charging port by analyzing the input voltage of the charging port of the terminal, and then prompt the charging prohibition when there is liquid, effectively ensuring the safety performance of the terminal, and compared with the existing
  • the charging port is provided with a rubber stopper to realize the method of prohibiting charging.
  • the present disclosure does not need to use a rubber stopper, which keeps the appearance clean, and the user prohibits charging in time in terms of function, which provides convenience for the user to use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Disclosed are a terminal humidity detection method and system. The method comprises: obtaining an input voltage of a charging port of a terminal; determining, according to the input voltage, whether liquid exists in the charging port of the terminal; and if the liquid exists, outputting charging prompt information, the charging prompt information being used for prompting that charging connection is prohibited. According to the present invention, the input voltage of the charging port of the terminal can be analyzed to determine whether liquid exists in the charging port, and then charging prohibition prompt is conducted when the liquid exists, so that the safety performance of the terminal is effectively guaranteed; and compared with the mode in the prior art that a rubber plug is provided at a charging port to achieve charging prohibition, the rubber plug is not needed in the present invention, the appearance tidiness is kept, charging is prohibited in time for a user functionally, and convenience is provided for the user.

Description

一种终端湿度检测方法及系统A terminal humidity detection method and system
优先权priority
本公开要求于申请日为2020年09月30日提交中国专利局、申请号为“202011061063.X”、申请名称为“一种智能湿度检测充电装置及湿度检测方法”的中国专利申请;以及申请日为2020年09月30日提交中国专利局、申请号为“202011065145.1”、申请名称为“一种NDA终端充电口湿度检测方法及NDA终端”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure requires a Chinese patent application with an application date of September 30, 2020, with an application number of "202011061063.X" and an application title of "An Intelligent Humidity Detection Charging Device and Humidity Detection Method"; and the application The priority of the Chinese patent application filed on September 30, 2020 with the application number "202011065145.1" and the application name "An NDA terminal charging port humidity detection method and NDA terminal", the entire content of which is by reference Incorporated in this disclosure.
技术领域technical field
本公开涉及终端湿度检测技术领域,尤其涉及一种终端湿度检测方法及系统。The present disclosure relates to the technical field of terminal humidity detection, and in particular, to a terminal humidity detection method and system.
背景技术Background technique
信息终端已经被广泛应用在医院信息化处理系统中。而在医院的环境下,信息终端的充电口难免会进入腐蚀性含电解质类的液体,比如氯化钠溶液。如果充电口进入这类液体后,特别容易在PIN针部分产生腐蚀,腐蚀后的后果是通讯功能失效、充不进电等功能性问题,更严重的情况是腐蚀充电管脚后,导致接触电阻变大,充电时会在接触部位产生高温,会带来安全隐患。Information terminals have been widely used in hospital information processing systems. In the hospital environment, the charging port of the information terminal will inevitably enter the corrosive liquid containing electrolytes, such as sodium chloride solution. If the charging port enters this kind of liquid, it is particularly easy to corrode the PIN pin part. The consequences of corrosion are functional problems such as communication failure and inability to charge electricity. The more serious situation is that after corroding the charging pin, it will lead to contact resistance. If it becomes larger, it will generate high temperature at the contact part during charging, which will bring security risks.
因此,现有技术还有待改进和提高。Therefore, the existing technology still needs to be improved and improved.
发明内容SUMMARY OF THE INVENTION
本公开要解决的技术问题在于,针对现有技术的上述缺陷,提供一种终端湿度检测方法及系统,旨在解决现有技术中信息终端的充电口容易进入液体,并易导致安全隐患的问题。The technical problem to be solved by the present disclosure is to provide a terminal humidity detection method and system in view of the above-mentioned defects of the prior art, aiming to solve the problem that the charging port of the information terminal in the prior art is easy to enter the liquid and easily lead to potential safety hazards. .
为了解决上述技术问题,本公开所采用的技术方案如下:In order to solve the above-mentioned technical problems, the technical solutions adopted in the present disclosure are as follows:
第一方面,本公开提供一种终端湿度检测方法,其中,所述方法包括:In a first aspect, the present disclosure provides a terminal humidity detection method, wherein the method includes:
获取终端的充电口的输入电压;Obtain the input voltage of the charging port of the terminal;
根据所述输入电压,确定所述终端的充电口是否存在液体;According to the input voltage, determine whether there is liquid in the charging port of the terminal;
若存在液体,则所述终端输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接。If there is liquid, the terminal outputs charging prompt information, and the charging prompt information is used to prompt that charging connection is prohibited.
在一种实现方式中,所述获取终端的充电口的湿度信息,包括:In an implementation manner, the acquiring humidity information of the charging port of the terminal includes:
当所述终端的充电口插入充电装置后,将水分检测芯片置于检测周期;When the charging port of the terminal is inserted into the charging device, the moisture detection chip is placed in the detection cycle;
根据所述水分检测芯片,所述终端获取所述终端的充电口的输入电压。According to the moisture detection chip, the terminal obtains the input voltage of the charging port of the terminal.
在一种实现方式中,所述根据所述输入电压确定所述终端的充电口是否存在液体,包括:In an implementation manner, the determining whether there is liquid in the charging port of the terminal according to the input voltage includes:
根据所述输入电压,确定所述终端的充电口与充电装置之间的接触电阻;determining the contact resistance between the charging port of the terminal and the charging device according to the input voltage;
根据所述接触电阻与预设的电阻信息进行比较,生成比较结果;Comparing the contact resistance with preset resistance information to generate a comparison result;
根据所述比较结果,确定所述终端的充电口中存在液体。According to the comparison result, it is determined that there is liquid in the charging port of the terminal.
在一种实现方式中,所述若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接,包括:In an implementation manner, if there is liquid, output charging prompt information, and the charging prompt information is used to prompt that charging connection is prohibited, including:
若所述终端的充电口中存在液体,则在对所述终端的充电口进行充电时,唤醒所述终端的屏幕,并上报异常信息;If there is liquid in the charging port of the terminal, when charging the charging port of the terminal, wake up the screen of the terminal and report abnormal information;
在所述终端的屏幕上显示禁止充电的充电提示信息;Displaying a charging prompt message prohibiting charging on the screen of the terminal;
当所述终端的充电口插入充电装置后,切断对所述终端的供电,以切断对所述终端的主板的供电。When the charging port of the terminal is inserted into the charging device, the power supply to the terminal is cut off to cut off the power supply to the main board of the terminal.
在一种实现方式中,所述水分检测芯片中设置有水分检测芯片,所述水分检测芯片与所述终端的主板连接。In an implementation manner, the moisture detection chip is provided with a moisture detection chip, and the moisture detection chip is connected to the main board of the terminal.
在一种实现方式中,所述方法还包括:In one implementation, the method further includes:
获取与所述终端连接的充电装置上的充电部上相邻的引脚的电容值;Obtain the capacitance value of the adjacent pin on the charging part of the charging device connected to the terminal;
通过电容检测单元对所述电容值进行分析,判断所述引脚上是否存在液体;The capacitance value is analyzed by the capacitance detection unit to determine whether there is liquid on the pin;
若所述充电部存在液体,则所述充电装置通过切换开关单元切断所述充电装置对终端的供电。If there is liquid in the charging part, the charging device cuts off the power supply of the charging device to the terminal through the switch unit.
在一种实现方式中,所述方法还包括:In one implementation, the method further includes:
若所述充电部存在液体,则所述充电装置通过指示灯单元进行提示。If there is liquid in the charging part, the charging device will give an indication through the indicator light unit.
第二方面,本公开害提供一种终端湿度检测系统,其中,所述系统包括终端以及与所述终端连接的充电装置;所述终端设置有充电口,所述充电口用于充电装置连接,所述充电口中设置有水分检测芯片,所述水分检测芯片与所述终端的主板连接;所述水分检测芯片用于检测终端的充电口的输入电压,得到所述充电口的湿度信息,并且在检测到所述充电口存在液体时,切断所述充电装置对所述终端的主板的供电。In a second aspect, the present disclosure provides a terminal humidity detection system, wherein the system includes a terminal and a charging device connected to the terminal; the terminal is provided with a charging port, and the charging port is used for connecting the charging device, The charging port is provided with a moisture detection chip, and the moisture detection chip is connected to the main board of the terminal; the moisture detection chip is used to detect the input voltage of the charging port of the terminal, obtain the humidity information of the charging port, and When it is detected that there is liquid in the charging port, the power supply of the charging device to the main board of the terminal is cut off.
在一种实现方式中,所述水分检测芯片包括可编程电流源以及用于检测输入电压的模拟数字转换器。In one implementation, the moisture detection chip includes a programmable current source and an analog-to-digital converter for detecting the input voltage.
在一种实现方式中,所述模拟数字转换器为8位模拟数字转换器。In one implementation, the analog-to-digital converter is an 8-bit analog-to-digital converter.
在一种实现方式中,所述终端还包括有显示屏,所述显示屏与所述终端的主板连接。In an implementation manner, the terminal further includes a display screen, and the display screen is connected to the main board of the terminal.
在一种实现方式中,所述充电装置包括:与所述终端的所述充电口活动连接的充电部,设置在所述充电部的一侧的充电线,所述充电线的一端连接所述充电部,所述充电线的另一端连接有连接部;所述充电线上设置有湿度检测部件,所述湿度检测部件包括电路板,所述电路板上设置有电容检测单元以及与所述电容检测单元连接的切换开关单元,所述电容检测单元用于检测所述充电部上的相邻引脚的电容值,所述电容值用于反映所述充电部的湿度。In an implementation manner, the charging device includes: a charging portion movably connected to the charging port of the terminal, a charging cable disposed on one side of the charging portion, and one end of the charging cable is connected to the charging port. A charging part, the other end of the charging cable is connected with a connecting part; a humidity detection component is arranged on the charging cable, and the humidity detection component includes a circuit board, and a capacitance detection unit and a connection with the capacitance are arranged on the circuit board. A switch unit connected to the detection unit, the capacitance detection unit is used to detect the capacitance value of the adjacent pins on the charging part, and the capacitance value is used to reflect the humidity of the charging part.
在一种实现方式中,所述湿度检测单元还包括MOS管控制单元,所述MOS管控制单元与所述电容检测单元连接。In an implementation manner, the humidity detection unit further includes a MOS tube control unit, and the MOS tube control unit is connected to the capacitance detection unit.
在一种实现方式中,所述电路板上还设置有指示灯单元,所述指示灯单元与所述电容检测单元连接。In an implementation manner, an indicator light unit is further provided on the circuit board, and the indicator light unit is connected to the capacitance detection unit.
在一种实现方式中,所述电路板上还设置有电源管理单元,所述电源管理单元与所述电容检测单元以及所述指示灯单元连接。In an implementation manner, a power management unit is further provided on the circuit board, and the power management unit is connected to the capacitance detection unit and the indicator light unit.
在一种实现方式中,所述充电部为micro USB接头、micro USB type-c接头以及type-c接头中任意一种。In an implementation manner, the charging part is any one of a micro USB connector, a micro USB type-c connector, and a type-c connector.
在一种实现方式中,所述连接部为type-a插头,插适配器或者电脑的type-a母头中的任意一种。In an implementation manner, the connection part is any one of a type-a plug, a plug adapter, or a type-a female connector of a computer.
有益效果:与现有技术相比,本公开提供了一种终端湿度检测方法及系统,本公开首先获取终端的充电口的输入电压;然后根据所述输入电压,确定所述终端的充电口是否存在液体;若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接,有效保证了终端的安全性能,避免了安全隐患。并且相对于现有技术中在充电口设置加胶塞来实现禁止充电的方式,本公开无需使用加胶塞,保持外观的整洁性,并且在功能上及时用户禁止充电的,给用户的使用提供方便。Beneficial effects: Compared with the prior art, the present disclosure provides a terminal humidity detection method and system. The present disclosure first obtains the input voltage of the charging port of the terminal; and then determines whether the charging port of the terminal is not based on the input voltage. There is liquid; if there is liquid, the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited, which effectively ensures the safety performance of the terminal and avoids potential safety hazards. In addition, compared with the prior art method of disposing a rubber plug at the charging port to prohibit charging, the present disclosure does not need to use a rubber plug, maintains a clean appearance, and is functionally timely when the user prohibits charging. convenient.
附图说明Description of drawings
图1为本公开实施例提供的终端湿度检测方法的具体实施方式的流程图。FIG. 1 is a flowchart of a specific implementation of a terminal humidity detection method provided by an embodiment of the present disclosure.
图2为本公开实施例提供的终端湿度检测系统的原理图。FIG. 2 is a schematic diagram of a terminal humidity detection system provided by an embodiment of the present disclosure.
图3为本公开实施例提供的具有湿度检测功能的终端的结构示意图。FIG. 3 is a schematic structural diagram of a terminal with a humidity detection function according to an embodiment of the present disclosure.
图4为本公开实施例提供的具有湿度检测功能的充电装置的结构示意图。FIG. 4 is a schematic structural diagram of a charging device with a humidity detection function according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本公开进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本公开,并不用于限定本公开。In order to make the objectives, technical solutions and effects of the present disclosure clearer and clearer, the present disclosure will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present disclosure, but not to limit the present disclosure.
信息终端已经被广泛应用在医院信息化处理系统中。而在医院的环境下,信息终端的充电口难免会进入腐蚀性含电解质类的液体,比如氯化钠溶液。如果充电口进入这类液体后,特别容易在PIN针部分产生腐蚀,腐蚀后的后果是通讯功能失效、充不进电等功能性问题,更严重的情况是腐蚀充电管脚后,导致接触电阻变大,充电时会在接触 部位产生高温,会带来安全隐患。虽然现有技术中也有通过在充电口处设置加胶塞的方式来禁止液体进入充电口,但是频繁地设置加胶塞会损坏充电口,并且也不美观。Information terminals have been widely used in hospital information processing systems. In the hospital environment, the charging port of the information terminal will inevitably enter the corrosive liquid containing electrolytes, such as sodium chloride solution. If the charging port enters this kind of liquid, it is particularly easy to corrode the PIN pin part. The consequences of corrosion are functional problems such as communication failure and inability to charge electricity. The more serious situation is that after corroding the charging pin, it will lead to contact resistance. If it becomes larger, it will generate high temperature at the contact part during charging, which will bring security risks. Although there is a method in the prior art to prevent the liquid from entering the charging port by arranging a rubber plug at the charging port, the frequent setting of the rubber plug will damage the charging port and be unsightly.
为了解决现有技术的问题,本实施例提供一种终端湿度检测方法及系统,本实施例首先获取终端的充电口的输入电压;然后根据所述输入电压,确定所述终端的充电口是否存在液体;若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接,有效保证了终端的安全性能,避免了安全隐患。并且相对于现有技术中在充电口设置加胶塞来实现禁止充电的方式,本实施例无需使用加胶塞,保持外观的整洁性,并且在功能上及时用户禁止充电的,给用户的使用提供方便。In order to solve the problem in the prior art, this embodiment provides a terminal humidity detection method and system. In this embodiment, the input voltage of the charging port of the terminal is obtained first; then, according to the input voltage, it is determined whether the charging port of the terminal exists. liquid; if there is liquid, the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited, which effectively ensures the safety performance of the terminal and avoids potential safety hazards. And compared with the prior art method in which a rubber plug is installed at the charging port to prohibit charging, this embodiment does not need to use a rubber plug, maintains the cleanliness of the appearance, and can be used by the user if the user prohibits charging in time. to offer comfort.
示例性方法Exemplary method
本实施例的方法可应用于智能终端中,比如手机设备、ipad设备或者在医院环境下使用的NDA(Nurse Digital Assistant)终端中等,所述NAD终端指的是应用于医疗临床数据系统的移动终端设备。具体应用时,本实施例主要应用在终端中国,如图1中所示,所述方法包括如下步骤:The method in this embodiment can be applied to smart terminals, such as mobile phone devices, ipad devices, or NDA (Nurse Digital Assistant) terminals used in a hospital environment, where the NAD terminal refers to a mobile terminal applied to a medical clinical data system equipment. In specific application, this embodiment is mainly applied in terminal China, as shown in FIG. 1 , the method includes the following steps:
步骤S100、获取终端的充电口的输入电压。Step S100, acquiring the input voltage of the charging port of the terminal.
在医院环境中,由于信息终端的充电口难免会进入腐蚀性含电解质类的液体,比如氯化钠溶液。如果充电口进入这类液体后,特别容易在PIN针部分产生腐蚀,腐蚀后的后果是通讯功能失效、充不进电等功能性问题,更严重的情况是腐蚀充电管脚后,导致接触电阻变大,充电时会在接触部位产生高温,会带来安全隐患。可见,当所述终端的充电口中进入液体后会导致接触电阻变大。基于此,本实施例可通过获取到所述终端的充电口处的接触电阻来分析出充电口中是否存在液体。而所述接触电阻是与充电口的输入电压有关的,因此本实施例首先获取的是所述充电口的输入电压。In the hospital environment, the charging port of the information terminal will inevitably enter the corrosive liquid containing electrolytes, such as sodium chloride solution. If the charging port enters this kind of liquid, it is particularly easy to corrode the PIN pin part. The consequences of corrosion are functional problems such as communication failure and inability to charge electricity. The more serious situation is that after corroding the charging pin, it will lead to contact resistance. If it becomes larger, it will generate high temperature at the contact part during charging, which will bring security risks. It can be seen that when liquid enters the charging port of the terminal, the contact resistance increases. Based on this, this embodiment can analyze whether there is liquid in the charging port by acquiring the contact resistance at the charging port of the terminal. The contact resistance is related to the input voltage of the charging port, so in this embodiment, the input voltage of the charging port is obtained first.
在一种实现方式中,本实施例的终端中预先设置有水分检测芯片,所述水分检测芯片与所述终端的主板连接,用于通过获取所述终端的充电口的输入电压来进行分析,以得出所述充电口中是否存在液体的结轮。并且,本实施例中的水分检测芯片只有在检测周期内才能进行实现。因此在本实施例中,当所述终端的充电口插入充电装置后,即可 将所述水分检测芯片置于检测周期,然后根据所述水分检测芯片,获取所述终端的充电口的输入电压。也就是说,本实施例中的所述水分检测芯片只有在充电口插入充电装置后(即外部供电)才可以进行工作。In an implementation manner, the terminal of the present embodiment is provided with a moisture detection chip in advance, and the moisture detection chip is connected with the main board of the terminal, and is used for analyzing by obtaining the input voltage of the charging port of the terminal, In order to find out whether there is liquid contamination in the charging port. Moreover, the moisture detection chip in this embodiment can only be implemented within the detection period. Therefore, in this embodiment, after the charging port of the terminal is inserted into the charging device, the moisture detection chip can be placed in the detection cycle, and then the input voltage of the charging port of the terminal can be obtained according to the moisture detection chip. . That is to say, the moisture detection chip in this embodiment can work only after the charging port is inserted into the charging device (ie, externally powered).
步骤S200、根据所述输入电压,确定所述终端的充电口是否存在液体。Step S200, according to the input voltage, determine whether there is liquid in the charging port of the terminal.
在本实施例中,当得到所述输入电压后,本实施例可根据所述输入电压计算出所述充电口与充电装置之间的接触电阻。在一种实现方式中,本实施例中的所述水分检测芯片包括可编程电流源以及用于检测输入电压的模拟数字转换器,并且所述模拟数字转换器为8位模拟数字转换器。当读取到所述输入电压值时,输入电压VIN和输出电压GND之间的接触电阻可以通过公式:Rvin=Vvin/Isrc计算,其中,Vvin是一个值,可以从寄存器0x08的值查看,Isrc根据输入电压得到。然后本实施例中的所述终端中的主板可将计算出的接触电阻与预设的电阻信息进行比较,生成比较结果。所述预设的电阻信息是用于判断所述接触电阻是否过大,如果所述接触电阻过大,则生成接触电阻过大的比较结果。而由于接触电阻过大,则可表明所述充电口中进入了液体,甚至产生腐蚀,从而导致充电口与充电装置(即充电装置的充电管脚)之间接触电阻过大。因此,该比较结果即用于体现湿度信息,根据这个比较结果,就可以判断所述充电口中是否存在液体。In this embodiment, after the input voltage is obtained, this embodiment can calculate the contact resistance between the charging port and the charging device according to the input voltage. In an implementation manner, the moisture detection chip in this embodiment includes a programmable current source and an analog-to-digital converter for detecting the input voltage, and the analog-to-digital converter is an 8-bit analog-to-digital converter. When the input voltage value is read, the contact resistance between the input voltage VIN and the output voltage GND can be calculated by the formula: Rvin=Vvin/Isrc, where Vvin is a value, which can be viewed from the value of register 0x08, Isrc according to the input voltage. Then, the main board in the terminal in this embodiment can compare the calculated contact resistance with preset resistance information to generate a comparison result. The preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated. However, because the contact resistance is too large, it can indicate that liquid has entered the charging port, and even corrosion occurs, resulting in excessive contact resistance between the charging port and the charging device (ie, the charging pins of the charging device). Therefore, the comparison result is used to represent the humidity information, and according to the comparison result, it can be determined whether there is liquid in the charging port.
步骤S300、若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接。Step S300: If there is liquid, output charging prompt information, where the charging prompt information is used to prompt that charging connection is prohibited.
在本实施例中,在判断所述终端的充电口中存在液体时,则就可在对所述终端的充电口进行充电时,唤醒所述终端的屏幕,并上报异常信息。并且本实施例还在所述终端的屏幕上显示禁止充电的充电提示信息,具体如图3中所示,图3中在终端中显示了“检测到USB端口潮湿或非标设备插入,请检查USB端口和线缆是否正常”的充电提示信息,从而提示用户禁止进行充电。In this embodiment, when it is determined that there is liquid in the charging port of the terminal, the screen of the terminal can be woken up and abnormal information can be reported when charging the charging port of the terminal. In addition, in this embodiment, a charging prompt message indicating that charging is prohibited is also displayed on the screen of the terminal, as shown in Fig. 3. In Fig. 3, the terminal displays "Detected that the USB port is wet or a non-standard device is inserted, please check. Is the USB port and cable normal” charging prompt message, thus prompting the user to prohibit charging.
由于检测出所述充电口中存在液体,因此当所述终端的充电口插入充电装置后,本实施例可切断对所述终端的供电,以切断对所述终端的主板的供电。从图2中可以明显看出,所述水分检测芯片是与所述终端的主板连接,所述水分检测芯片在检测到所述终 端中存在液体后,所述水分检测芯片就会就会向终端中的控制板发送切断主板与充电装置之间的供电,从而避免安全隐患。Since it is detected that there is liquid in the charging port, after the charging port of the terminal is inserted into the charging device, the present embodiment can cut off the power supply to the terminal to cut off the power supply to the main board of the terminal. It can be clearly seen from FIG. 2 that the moisture detection chip is connected to the main board of the terminal, and after the moisture detection chip detects that there is liquid in the terminal, the moisture detection chip will report to the terminal. The control board in the device sends the power supply between the main board and the charging device to cut off, so as to avoid potential safety hazards.
此外,本实施例中的终端湿度检测方法还可应用于与终端连接的充电装置,当充电装置上的充电部上存在液体并插入至终端的充电口时,或者所述充电部插入渗入液体的终端的充电口中时,由于存在液体,因此所述充电部上相邻引脚之间的电容值就会变化,充电部与充电口之间的接触电阻就会增大,并产生高温热量,引起安全事故。为此,本实施例在所述充电线上设置有湿度检测部件,所述湿度检测部件上设置有电容检测单元,所述电容检测单元中就会实时充电部上的相邻引脚的电容值,然后通过对电容值进行分析,确定接触电阻,进而确定所述充电部上的湿度,即确定出充电部上是否存在液体。In addition, the terminal humidity detection method in this embodiment can also be applied to a charging device connected to the terminal. When there is liquid on the charging part of the charging device and is inserted into the charging port of the terminal, or the charging part is inserted into a liquid-infiltrating device When there is liquid in the charging port of the terminal, the capacitance value between adjacent pins on the charging part will change, the contact resistance between the charging part and the charging port will increase, and high temperature heat will be generated, causing security incident. To this end, in this embodiment, a humidity detection component is arranged on the charging line, and a capacitance detection unit is arranged on the humidity detection component. Then, by analyzing the capacitance value, the contact resistance is determined, and then the humidity on the charging part is determined, that is, it is determined whether there is liquid on the charging part.
此外,本实施例中的所述湿度检测部件的电路板还设置有切换开关单元,该切换开关单元用于在检测出所述充电部存在液体时,切断充电装置对终端的供电。也就是说,本实施例中,当所述电容检测单元检测出充电部上相邻引脚之间的电容值后,根据计算得到接触电阻,再根据所述接触电阻即可确定出充电部的湿度,然后切换开关单元就可根据确定出的湿度来确定是否将充电线的供电切断,如果根据湿度确定存在液体,就对充电线的供电切断。In addition, the circuit board of the humidity detection component in this embodiment is further provided with a switch unit, which is used to cut off the power supply of the charging device to the terminal when it is detected that there is liquid in the charging part. That is to say, in this embodiment, after the capacitance detection unit detects the capacitance value between the adjacent pins on the charging part, the contact resistance is obtained according to the calculation, and then the contact resistance of the charging part can be determined according to the contact resistance. humidity, and then the switch unit can determine whether to cut off the power supply of the charging line according to the determined humidity, and cut off the power supply to the charging line if it is determined that there is liquid according to the humidity.
具体地,本实施例中通过所述电容检测单元检测到充电部相邻两个引脚的电容值后,根据电容值计算出充电部与充电口之间的接触电阻,然后将计算出的接触电阻与预设的电阻信息进行比较,生成比较结果。所述预设的电阻信息是用于判断所述接触电阻是否过大,如果所述接触电阻过大,则生成接触电阻过大的比较结果。而由于接触电阻过大,则可表明所述充电部上存在液体,甚至产生腐蚀,从而导致充电口与充电装置(即充电装置的充电引脚)之间接触电阻过大。因此,该比较结果即用于体现充电部的湿度信息,根据这个比较结果,就可以判断所述充电部上是否存在液体。在一种实现方式中,本实施例中的电容检测单元可采用湿度检测传感芯片,比如采用芯片型号为HIH-3602型号或者HM1500的湿度检测传感芯片。在具体应用时,本实施例可根据实际情况来选用合适的芯片型号,并通过电路设计在所述充电线上。Specifically, in this embodiment, after the capacitance detection unit detects the capacitance values of two adjacent pins of the charging part, the contact resistance between the charging part and the charging port is calculated according to the capacitance values, and then the calculated contact resistance is calculated. The resistance is compared with preset resistance information to generate a comparison result. The preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated. However, because the contact resistance is too large, it may indicate that there is liquid on the charging part, and even corrosion occurs, resulting in excessive contact resistance between the charging port and the charging device (ie, the charging pins of the charging device). Therefore, the comparison result is used to represent the humidity information of the charging part, and according to the comparison result, it can be determined whether there is liquid on the charging part. In an implementation manner, the capacitance detection unit in this embodiment may use a humidity detection sensor chip, for example, a humidity detection sensor chip with a chip model of HIH-3602 or HM1500. In a specific application, in this embodiment, an appropriate chip model can be selected according to the actual situation, and is designed on the charging line through a circuit.
在一种实现方式中,本实施例中的所述充电线上设置有MOS管控制单元,所述管控制单元与所述电容检测单元连接。在本实施例中,所述MOS管控制单元用于控制所述充电线的供电路径。并且,在本实施例中,所述MOS管控制单元可与所述切换开关单元连接,由于所述切换开关单元可在检测出所述充电部上存在液体时,及时切断充电装置对终端的供电。而所述MOS管控制单元用于控制所述充电线的供电路径,因此本实施例中可通过该所述MOS管控制单元来切换供电路径,从而实现对终端主板供电的切断。In an implementation manner, a MOS tube control unit is provided on the charging line in this embodiment, and the tube control unit is connected to the capacitance detection unit. In this embodiment, the MOS transistor control unit is used to control the power supply path of the charging line. In addition, in this embodiment, the MOS tube control unit can be connected to the switch unit, because the switch unit can cut off the power supply of the charging device to the terminal in time when it is detected that there is liquid on the charging part . The MOS tube control unit is used to control the power supply path of the charging line, so in this embodiment, the power supply path can be switched by the MOS tube control unit, so as to cut off the power supply to the terminal motherboard.
在一种实现方式中,本实施例中在检测所述充电部上存在液体时,会通过指示灯单元进行提示。具体地,本实施例在所述电路板上还设置有指示灯单元,所述指示灯单元与所述电容检测单元连接。为了能够更为直观地对用户进行提醒,本实施例在所述电容检测单元通过检测出充电部上相邻引脚之间的电容值后,根据计算得到接触电阻,并再根据所述接触电阻即可确定出充电部的湿度后,即可根据所述湿度进行控制所述指示灯单元进行工作来对用户进行提示。比如,本实施例可在检测出所述充电部上存在液体时,通过所述指示灯单元闪烁出不同颜色的光来实现。在一种实现方式中,所述指示灯单元可设置为指示灯,该指示灯可显示出不同的颜色,当检测出所述充电部上存在液体时,则该指示灯可显示出红色,而当检测出所述充电部上不存在液体时,则该指示灯可显示绿色,即表示所述充电装置20此时正常进行充电工作。In an implementation manner, in this embodiment, when it is detected that there is liquid on the charging portion, an indicator light unit will be used for prompting. Specifically, in this embodiment, an indicator light unit is further provided on the circuit board, and the indicator light unit is connected to the capacitance detection unit. In order to remind the user more intuitively, in this embodiment, after the capacitance detection unit detects the capacitance value between adjacent pins on the charging part, the contact resistance is obtained according to the calculation, and then according to the contact resistance After the humidity of the charging portion is determined, the indicator light unit can be controlled to work according to the humidity to prompt the user. For example, this embodiment can be implemented by the indicator unit flashing lights of different colors when it is detected that there is liquid on the charging portion. In an implementation manner, the indicator light unit can be set as an indicator light, and the indicator light can display different colors. When it is detected that there is liquid on the charging portion, the indicator light can display red, and the indicator light can be displayed in red. When it is detected that there is no liquid on the charging portion, the indicator light can display green, which means that the charging device 20 is normally charging at this time.
此外,本实施例在检测出所述充电部存在液体时,可在与所述充电部连接的终端输出充电提示信息。具体地,本实施例中的终端中包括有显示屏,所述显示屏与所述终端的主板连接。当检测出所述充电部上存在液体时,则就可在对所述终端的充电口进行充电时,唤醒所述终端的显示屏,并上报异常信息。并且本实施例还在所述终端的显示屏上显示禁止充电的充电提示信息,例如,在终端中显示“检测到USB端口潮湿或非标设备插入,请检查USB端口和线缆是否正常”的充电提示信息,从而提示用户禁止进行充电。In addition, in this embodiment, when it is detected that there is liquid in the charging portion, charging prompt information may be output from a terminal connected to the charging portion. Specifically, the terminal in this embodiment includes a display screen, and the display screen is connected to the main board of the terminal. When it is detected that there is liquid on the charging part, when charging the charging port of the terminal, the display screen of the terminal can be woken up, and abnormal information can be reported. In addition, in this embodiment, a charging prompt message indicating that charging is prohibited is also displayed on the display screen of the terminal. For example, the terminal displays the message "It is detected that the USB port is wet or a non-standard device is inserted, please check whether the USB port and cable are normal". Charging prompt information, thus prompting the user to prohibit charging.
示例性设备Exemplary Equipment
基于上述实施例,本公开还提供一种种终端湿度检测系统,如图2中所示,所述系统包括终端以及与所述终端连接的充电装置。本实施例的终端具有充电口湿度检测功能,如图2中所示,本实施例中的所述终端100设置有充电口10,所述充电口10用于充电装置20连接,所述充电口10中设置有水分检测芯片30,所述水分检测芯片30与所述终端100的主板40连接;所述水分检测芯片30用于检测终端100的充电口10的输入电压,得到所述充电口的湿度信息,并且在检测到所述充电口10存在液体时,切断所述充电装置20对所述终端100的主板40的供电。Based on the above embodiments, the present disclosure also provides a terminal humidity detection system. As shown in FIG. 2 , the system includes a terminal and a charging device connected to the terminal. The terminal in this embodiment has a charging port humidity detection function. As shown in FIG. 2 , the terminal 100 in this embodiment is provided with a charging port 10 , and the charging port 10 is used for connecting the charging device 20 . 10 is provided with a moisture detection chip 30, and the moisture detection chip 30 is connected with the main board 40 of the terminal 100; the moisture detection chip 30 is used to detect the input voltage of the charging port 10 of the terminal 100, and obtain the value of the charging port. humidity information, and when liquid is detected in the charging port 10 , the power supply of the charging device 20 to the main board 40 of the terminal 100 is cut off.
具体地,在本实施例中,当所述终端100的充电口10插入充电装置20后,即可将所述水分检测芯片30置于检测周期,然后根据所述水分检测芯片30,获取所述终端100的充电口10的输入电压。也就是说,本实施例中的所述水分检测芯片30只有在充电口10插入充电装置20后(即外部供电)才可以进行工作。Specifically, in this embodiment, after the charging port 10 of the terminal 100 is inserted into the charging device 20, the moisture detection chip 30 can be placed in the detection cycle, and then the moisture detection chip 30 can be used to obtain the moisture detection chip 30. The input voltage of the charging port 10 of the terminal 100 . That is to say, the moisture detection chip 30 in this embodiment can work only after the charging port 10 is inserted into the charging device 20 (ie, externally powered).
在一种实现方式中,本实施例中的所述水分检测芯片30包括可编程电流源以及用于检测输入电压的模拟数字转换器,并且所述模拟数字转换器为8位模拟数字转换器。当读取到所述输入电压值时,输入电压VIN和输出电压GND之间的接触电阻可以通过公式:Rvin=Vvin/Isrc计算,其中,Vvin是一个值,可以从寄存器0x08的值查看,Isrc根据输入电压得到。然后本实施例中的所述终端100中的主板40可将计算出的接触电阻与预设的电阻信息进行比较,生成比较结果。所述预设的电阻信息是用于判断所述接触电阻是否过大,如果所述接触电阻过大,则生成接触电阻过大的比较结果,该比较结果即用于体现湿度信息。而由于接触电阻过大,则可表明所述充电口中进入了液体,甚至产生腐蚀,从而导致充电口与充电装置(即充电装置的充电管脚)之间接触电阻过大。因此,该比较结果即用于体现湿度信息,根据这个比较结果,就可以判断所述充电口中是否存在液体。In an implementation manner, the moisture detection chip 30 in this embodiment includes a programmable current source and an analog-to-digital converter for detecting the input voltage, and the analog-to-digital converter is an 8-bit analog-to-digital converter. When the input voltage value is read, the contact resistance between the input voltage VIN and the output voltage GND can be calculated by the formula: Rvin=Vvin/Isrc, where Vvin is a value, which can be viewed from the value of register 0x08, Isrc according to the input voltage. Then, the main board 40 in the terminal 100 in this embodiment can compare the calculated contact resistance with preset resistance information to generate a comparison result. The preset resistance information is used for judging whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated, and the comparison result is used to reflect the humidity information. However, because the contact resistance is too large, it can indicate that liquid has entered the charging port, and even corrosion occurs, resulting in excessive contact resistance between the charging port and the charging device (ie, the charging pins of the charging device). Therefore, the comparison result is used to represent the humidity information, and according to the comparison result, it can be determined whether there is liquid in the charging port.
此外,本实施例中的终端100中还包括有显示屏50,所述显示屏50与所述终端100的主板40连接。当判断所述终端100的充电口10中存在液体时,则就可在对所述终端100的充电口10进行充电时,唤醒所述终端100的显示屏50,并上报异常信息。并且 本实施例还在所述终端100的显示屏50上显示禁止充电的充电提示信息,例如,在终端100中显示“检测到USB端口潮湿或非标设备插入,请检查USB端口和线缆是否正常”的充电提示信息,从而提示用户禁止进行充电。In addition, the terminal 100 in this embodiment further includes a display screen 50 , and the display screen 50 is connected to the main board 40 of the terminal 100 . When it is determined that there is liquid in the charging port 10 of the terminal 100 , the display screen 50 of the terminal 100 can be woken up and abnormal information can be reported when the charging port 10 of the terminal 100 is being charged. In addition, in this embodiment, a charging prompt message indicating that charging is prohibited is also displayed on the display screen 50 of the terminal 100. For example, the terminal 100 displays “The USB port is wet or a non-standard device is detected. Please check whether the USB port and cable are not plugged in. "Normal" charging prompt message, thus prompting the user to prohibit charging.
在一种实现方式中,如图3中所示,所述充电装置20包括有充电部210,所述充电部210与所述充电口10连接,所述充电部为micro USB接头、micro USB type-c接头以及type-c接头中任意一种。对应的,本实施例中的所述终端100上的充电口10也是设置为与micro USB接头、micro USB type-c接头以及type-c接头相匹配的接口。此外,所述充电装置20还包括:设置在所述充电部210的一侧的充电线220,所述充电线220的一端连接所述充电部210,所述充电线220的另一端连接有连接部230。并且,所述连接部230为type-a插头,插适配器或者电脑的type-a母头中的任意一种。也就是说,本实施例中的所述充电装置20用于对所述终端100进行充电。In an implementation manner, as shown in FIG. 3 , the charging device 20 includes a charging part 210, the charging part 210 is connected to the charging port 10, and the charging part is a micro USB connector, a micro USB type Either the -c linker or the type-c linker. Correspondingly, the charging port 10 on the terminal 100 in this embodiment is also set as an interface matching the micro USB connector, the micro USB type-c connector and the type-c connector. In addition, the charging device 20 further includes: a charging cable 220 disposed on one side of the charging portion 210 , one end of the charging cable 220 is connected to the charging portion 210 , and the other end of the charging cable 220 is connected to a connection Section 230. Moreover, the connection part 230 is any one of a type-a plug, a plug-in adapter or a type-a female connector of a computer. That is to say, the charging device 20 in this embodiment is used to charge the terminal 100 .
本实施例的充电装置同样具有湿度检测功能,具体地,如图2、图3以及图4中所示,所述充电装置20包括:与终端100的充电口10(如图4中所示)活动连接的充电部210,设置在所述充电部210的一侧的充电线220,所述充电线220的一端连接所述充电部210,所述充电线220的另一端连接有连接部230;所述充电线220上设置有湿度检测部件240,所述湿度检测部件240包括有电路板241,所述电路板241上设置有电容检测单元242以及与所述电容检测单元242连接的切换开关单元243,所述切换开关单元与所述电容检测单元242连接。在本实施例中,所述电容检测单元242用于检测所述充电部上的相邻引脚的电容值,所述电容值用于反映所述充电部210的湿度。The charging device in this embodiment also has a humidity detection function. Specifically, as shown in FIG. 2 , FIG. 3 and FIG. 4 , the charging device 20 includes: a charging port 10 (as shown in FIG. 4 ) connected to the terminal 100 . The flexibly connected charging portion 210 is provided on a charging cable 220 on one side of the charging portion 210 , one end of the charging cable 220 is connected to the charging portion 210 , and the other end of the charging cable 220 is connected to a connecting portion 230 ; The charging cable 220 is provided with a humidity detection component 240 , and the humidity detection component 240 includes a circuit board 241 . The circuit board 241 is provided with a capacitance detection unit 242 and a switch unit connected to the capacitance detection unit 242 . 243 , the switch unit is connected to the capacitance detection unit 242 . In this embodiment, the capacitance detection unit 242 is used to detect the capacitance value of the adjacent pins on the charging part, and the capacitance value is used to reflect the humidity of the charging part 210 .
由于当充电装置20上的充电部210上存在液体并插入至终端的充电口10时,或者所述充电部210插入渗入液体的终端100的充电口10中时,由于存在液体,因此所述充电部210上相邻引脚之间的电容值就会变化,充电部210与充电口10之间的接触电阻就会增大,并产生高温热量,引起安全事故。而本实施例中的所述充电线220上设置有湿度检测部件240,所述湿度检测部件240上设置有电容检测单元242,所述电容检测单元242中就会实时充电部210上的相邻引脚的电容值,然后通过对电容值进行分析, 确定接触电阻,进而确定所述充电部210上的湿度,即确定出充电部210上是否存在液体。此外,本实施例中的所述湿度检测部件240的电路板还设置有切换开关单元243,该切换开关单元243用于在检测出所述充电部210存在液体时,切断充电装置20对终端100的供电。也就是说,本实施例中,当所述电容检测单元242检测出充电部210上相邻引脚之间的电容值后,根据计算得到接触电阻,再根据所述接触电阻即可确定出充电部210的湿度,然后切换开关单元就可根据确定出的湿度来确定是否将充电线220的供电切断,如果根据湿度确定存在液体,就对充电线220的供电切断。Since there is liquid on the charging part 210 of the charging device 20 and is inserted into the charging port 10 of the terminal, or when the charging part 210 is inserted into the charging port 10 of the terminal 100 that is infiltrated with liquid, the charging is performed due to the presence of liquid. The capacitance value between adjacent pins on the part 210 will change, the contact resistance between the charging part 210 and the charging port 10 will increase, and high temperature heat will be generated, causing a safety accident. In this embodiment, a humidity detection unit 240 is arranged on the charging cable 220 , and a capacitance detection unit 242 is arranged on the humidity detection unit 240 . The capacitance value of the pin, and then the contact resistance is determined by analyzing the capacitance value, and then the humidity on the charging part 210 is determined, that is, whether there is liquid on the charging part 210 is determined. In addition, the circuit board of the humidity detection component 240 in this embodiment is further provided with a switch unit 243 , and the switch unit 243 is used to cut off the connection between the charging device 20 and the terminal 100 when liquid is detected in the charging unit 210 . of power supply. That is to say, in this embodiment, after the capacitance detection unit 242 detects the capacitance value between the adjacent pins on the charging part 210, the contact resistance is obtained according to the calculation, and then the charging can be determined according to the contact resistance. Then, the switch unit can determine whether to cut off the power supply of the charging cable 220 according to the determined humidity, and cut off the power supply to the charging cable 220 if it is determined that there is liquid according to the humidity.
具体地,本实施例中通过所述电容检测单元242检测到充电部210相邻两个引脚的电容值后,根据电容值计算出充电部210与充电口10之间的接触电阻,然后将计算出的接触电阻与预设的电阻信息进行比较,生成比较结果。所述预设的电阻信息是用于判断所述接触电阻是否过大,如果所述接触电阻过大,则生成接触电阻过大的比较结果。而由于接触电阻过大,则可表明所述充电部210上存在液体,甚至产生腐蚀,从而导致充电口10与充电装置20(即充电装置的充电引脚)之间接触电阻过大。因此,该比较结果即用于体现充电部210的湿度信息,根据这个比较结果,就可以判断所述充电部210上是否存在液体。在一种实现方式中,本实施例中的电容检测单元242可采用湿度检测传感芯片,比如采用芯片型号为HIH-3602型号或者HM1500的湿度检测传感芯片。在具体应用时,本实施例可根据实际情况来选用合适的芯片型号,并通过电路设计在所述充电线220上。Specifically, in this embodiment, after the capacitance detection unit 242 detects the capacitance values of two adjacent pins of the charging part 210, the contact resistance between the charging part 210 and the charging port 10 is calculated according to the capacitance values, and then the The calculated contact resistance is compared with preset resistance information to generate a comparison result. The preset resistance information is used to determine whether the contact resistance is too large, and if the contact resistance is too large, a comparison result that the contact resistance is too large is generated. However, because the contact resistance is too large, it may indicate that there is liquid on the charging portion 210, or even corrosion occurs, resulting in excessive contact resistance between the charging port 10 and the charging device 20 (ie, the charging pins of the charging device). Therefore, the comparison result is used to represent the humidity information of the charging part 210 , and according to the comparison result, it can be determined whether there is liquid on the charging part 210 . In an implementation manner, the capacitance detection unit 242 in this embodiment may use a humidity detection sensor chip, such as a humidity detection sensor chip whose chip model is HIH-3602 or HM1500. In specific applications, in this embodiment, an appropriate chip model can be selected according to the actual situation, and is designed on the charging line 220 through a circuit.
在一种实现方式中,本实施例中的所述湿度检测单元240还包括MOS管控制单元221,所述MOS管控制单元221与所述电容检测单元242连接。在本实施例中,所述MOS管控制单元221用于控制所述充电线220的供电路径。并且,在本实施例中,所述MOS管控制单元221可与所述切换开关单元243连接,由于所述切换开关单元243可在检测出所述充电部210上存在液体时,及时切断充电装置20对终端的供电。而所述MOS管控制单元221用于控制所述充电线220的供电路径,因此本实施例中可通过该所述MOS管控制单元221来切换供电路径,从而实现对终端主板供电的切断。In an implementation manner, the humidity detection unit 240 in this embodiment further includes a MOS tube control unit 221 , and the MOS tube control unit 221 is connected to the capacitance detection unit 242 . In this embodiment, the MOS transistor control unit 221 is used to control the power supply path of the charging line 220 . In addition, in this embodiment, the MOS tube control unit 221 can be connected to the switch unit 243 , because the switch unit 243 can cut off the charging device in time when it detects that there is liquid on the charging portion 210 . 20 power supplies to the terminal. The MOS tube control unit 221 is used to control the power supply path of the charging cable 220. Therefore, in this embodiment, the MOS tube control unit 221 can be used to switch the power supply path, so as to cut off the power supply to the terminal motherboard.
此外,本实施例所述电路板241上还设置有指示灯单元244,所述指示灯单元244与所述电容检测单元242连接。为了能够更为直观地对用户进行提醒,本实施例在所述电容检测单元242通过检测出充电部210上相邻引脚之间的电容值后,根据计算得到接触电阻,并再根据所述接触电阻即可确定出充电部210的湿度后,即可根据所述湿度进行控制所述指示灯单元244进行工作来对用户进行提示。比如,本实施例可在检测出所述充电部210上存在液体时,通过所述指示灯单元244闪烁出不同颜色的光来实现。在一种实现方式中,所述指示灯单元244可设置为指示灯,该指示灯可显示出不同的颜色,当检测出所述充电部210上存在液体时,则该指示灯可显示出红色,而当检测出所述充电部210上不存在液体时,则该指示灯可显示绿色,即表示所述充电装置20此时正常进行充电工作。In addition, the circuit board 241 in this embodiment is further provided with an indicator light unit 244 , and the indicator light unit 244 is connected to the capacitance detection unit 242 . In order to remind the user more intuitively, in this embodiment, after the capacitance detection unit 242 detects the capacitance value between the adjacent pins on the charging part 210, the contact resistance is calculated according to the After the humidity of the charging part 210 can be determined by the contact resistance, the indicator light unit 244 can be controlled to work according to the humidity to prompt the user. For example, this embodiment can be implemented by the indicator light unit 244 flashing lights of different colors when it is detected that there is liquid on the charging portion 210 . In an implementation manner, the indicator light unit 244 can be set as an indicator light, and the indicator light can display different colors. When it is detected that there is liquid on the charging part 210, the indicator light can display red , and when it is detected that there is no liquid on the charging part 210 , the indicator light can display green, which means that the charging device 20 is normally charging at this time.
在本实施例中,所述电路板241上还设置有电源管理单元245,所述电源管理单元245与所述电容检测单元242以及所述指示灯单元244连接。本实施例中的所述电源管理单元242用于为所述电容检测单元242、所述指示灯单元244等提供需要的1.8V、2.8V等电压。In this embodiment, a power management unit 245 is further disposed on the circuit board 241 , and the power management unit 245 is connected to the capacitance detection unit 242 and the indicator light unit 244 . The power management unit 242 in this embodiment is configured to provide the required voltages such as 1.8V and 2.8V for the capacitance detection unit 242 , the indicator light unit 244 and the like.
在一种实现方式中,本实施例中的所述电路板241设置在所述充电线220上靠近所述充电部210的位置处。这样就可以使得所述电容检测单元242可以更好地检测出充电部210上是否存在液体。此外,本实施例中的终端100中还包括有显示屏50,所述显示屏50与所述终端100的主板40连接。当检测出所述充电部210上存在液体时,则就可在对所述终端100的充电口10进行充电时,唤醒所述终端100的显示屏50,并上报异常信息。并且本实施例还在所述终端100的显示屏50上显示禁止充电的充电提示信息,例如,在终端100中显示“检测到USB端口潮湿或非标设备插入,请检查USB端口和线缆是否正常”的充电提示信息,从而提示用户禁止进行充电。In an implementation manner, the circuit board 241 in this embodiment is disposed on the charging cable 220 at a position close to the charging portion 210 . In this way, the capacitance detection unit 242 can better detect whether there is liquid on the charging part 210 . In addition, the terminal 100 in this embodiment further includes a display screen 50 , and the display screen 50 is connected to the main board 40 of the terminal 100 . When it is detected that there is liquid on the charging part 210 , the display screen 50 of the terminal 100 can be woken up and abnormal information can be reported when the charging port 10 of the terminal 100 is being charged. In addition, in this embodiment, a charging prompt message indicating that charging is prohibited is also displayed on the display screen 50 of the terminal 100. For example, the terminal 100 displays “The USB port is wet or a non-standard device is detected. Please check whether the USB port and cable are not plugged in. "Normal" charging prompt message, thus prompting the user to prohibit charging.
在一种实现方式中,如图4中所示,所述充电部210为micro USB接头、micro USB type-c接头以及type-c接头中任意一种。对应的,本实施例中的所述终端100上的充电口10也是设置为与micro USB接头、micro USB type-c接头以及type-c接头相匹配的接 口。此外,所述连接部230也为type-a插头,插适配器或者电脑的type-a母头中的任意一种。也就是说,本实施例中的所述充电装置20用于对所述终端100进行充电。In an implementation manner, as shown in FIG. 4 , the charging unit 210 is any one of a micro USB connector, a micro USB type-c connector, and a type-c connector. Correspondingly, the charging port 10 on the terminal 100 in this embodiment is also set as an interface matching the micro USB connector, the micro USB type-c connector and the type-c connector. In addition, the connecting portion 230 is also any one of a type-a plug, a plug adapter or a type-a female connector of a computer. That is to say, the charging device 20 in this embodiment is used to charge the terminal 100 .
综上,本公开公开了一种终端湿度检测方法及系统,所述方法包括:获取终端的充电口的输入电压;根据所述输入电压,确定所述终端的充电口是否存在液体;若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接。本公开可以通过对终端的充电口的输入电压进行分析,来判断出所述充电口中是否存在液体,进而在存在液体时进行禁止充电的提示,有效保证了终端的安全性能,并且相对于现有技术中在充电口设置加胶塞来实现禁止充电的方式,本公开无需使用加胶塞,保持外观的整洁性,并且在功能上及时用户禁止充电的,给用户的使用提供方便。In summary, the present disclosure discloses a terminal humidity detection method and system. The method includes: acquiring an input voltage of a charging port of a terminal; determining whether there is liquid in the charging port of the terminal according to the input voltage; if there is liquid , the charging prompt information is output, and the charging prompt information is used to prompt that the charging connection is prohibited. The present disclosure can determine whether there is liquid in the charging port by analyzing the input voltage of the charging port of the terminal, and then prompt the charging prohibition when there is liquid, effectively ensuring the safety performance of the terminal, and compared with the existing In the technology, the charging port is provided with a rubber stopper to realize the method of prohibiting charging. The present disclosure does not need to use a rubber stopper, which keeps the appearance clean, and the user prohibits charging in time in terms of function, which provides convenience for the user to use.
最后应说明的是:以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, but not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims (17)

  1. 一种终端湿度检测方法,其中,所述方法包括:A terminal humidity detection method, wherein the method comprises:
    获取终端的充电口的输入电压;Obtain the input voltage of the charging port of the terminal;
    根据所述输入电压,确定所述终端的充电口是否存在液体;According to the input voltage, determine whether there is liquid in the charging port of the terminal;
    若存在液体,则所述终端输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接。If there is liquid, the terminal outputs charging prompt information, and the charging prompt information is used to prompt that charging connection is prohibited.
  2. 根据权利要求1所述的终端湿度检测方法,其中,所述获取终端的充电口的湿度信息,包括:The terminal humidity detection method according to claim 1, wherein the acquiring humidity information of the charging port of the terminal comprises:
    当所述终端的充电口插入充电装置后,将水分检测芯片置于检测周期;When the charging port of the terminal is inserted into the charging device, the moisture detection chip is placed in the detection cycle;
    根据所述水分检测芯片,所述终端获取所述终端的充电口的输入电压。According to the moisture detection chip, the terminal obtains the input voltage of the charging port of the terminal.
  3. 根据权利要求1所述的终端湿度检测方法,其中,所述根据所述输入电压确定所述终端的充电口是否存在液体,包括:The terminal humidity detection method according to claim 1, wherein the determining whether there is liquid in the charging port of the terminal according to the input voltage comprises:
    根据所述输入电压,确定所述终端的充电口与充电装置之间的接触电阻;determining the contact resistance between the charging port of the terminal and the charging device according to the input voltage;
    根据所述接触电阻与预设的电阻信息进行比较,生成比较结果;Comparing the contact resistance with preset resistance information to generate a comparison result;
    根据所述比较结果,确定所述终端的充电口中存在液体。According to the comparison result, it is determined that there is liquid in the charging port of the terminal.
  4. 根据权利要求1所述的终端湿度检测方法,其中,所述若存在液体,则输出充电提示信息,所述充电提示信息用于提示禁止进行充电连接,包括:The terminal humidity detection method according to claim 1, wherein if there is liquid, outputting charging prompt information, the charging prompt information is used to prompt that charging connection is prohibited, comprising:
    若所述终端的充电口中存在液体,则在对所述终端的充电口进行充电时,唤醒所述终端的屏幕,并上报异常信息;If there is liquid in the charging port of the terminal, when charging the charging port of the terminal, wake up the screen of the terminal and report abnormal information;
    在所述终端的屏幕上显示禁止充电的充电提示信息;Displaying a charging prompt message prohibiting charging on the screen of the terminal;
    当所述终端的充电口插入充电装置后,切断对所述终端的供电,以切断对所述终端的主板的供电。When the charging port of the terminal is inserted into the charging device, the power supply to the terminal is cut off to cut off the power supply to the main board of the terminal.
  5. 根据权利要求2所述的终端湿度检测方法,其中,所述水分检测芯片中设置有水分检测芯片,所述水分检测芯片与所述终端的主板连接。The terminal humidity detection method according to claim 2, wherein a moisture detection chip is provided in the moisture detection chip, and the moisture detection chip is connected to a main board of the terminal.
  6. 根据权利要求1所述的终端湿度检测方法,其中,所述方法还包括:The terminal humidity detection method according to claim 1, wherein the method further comprises:
    获取与所述终端连接的充电装置上的充电部上相邻的引脚的电容值;Obtain the capacitance value of the adjacent pin on the charging part of the charging device connected to the terminal;
    通过电容检测单元对所述电容值进行分析,判断所述引脚上是否存在液体;The capacitance value is analyzed by the capacitance detection unit to determine whether there is liquid on the pin;
    若所述充电部存在液体,则所述充电装置通过切换开关单元切断所述充电装置对终端的供电。If there is liquid in the charging part, the charging device cuts off the power supply of the charging device to the terminal through the switch unit.
  7. 根据权利要求6所述的终端湿度检测方法,其中,所述方法还包括:The terminal humidity detection method according to claim 6, wherein the method further comprises:
    若所述充电部存在液体,则所述充电装置通过指示灯单元进行提示。If there is liquid in the charging part, the charging device will give an indication through the indicator light unit.
  8. 一种终端湿度检测系统,其中,所述系统包括终端以及与所述终端连接的充电装置;所述终端设置有充电口,所述充电口用于充电装置连接,所述充电口中设置有水分检测芯片,所述水分检测芯片与所述终端的主板连接;所述水分检测芯片用于检测终端的充电口的输入电压,得到所述充电口的湿度信息,并且在检测到所述充电口存在液体时,切断所述充电装置对所述终端的主板的供电。A terminal humidity detection system, wherein the system includes a terminal and a charging device connected to the terminal; the terminal is provided with a charging port, the charging port is used for connecting the charging device, and the charging port is provided with a moisture detection device The chip, the moisture detection chip is connected with the main board of the terminal; the moisture detection chip is used to detect the input voltage of the charging port of the terminal, obtain the humidity information of the charging port, and detect that there is liquid in the charging port When the power is supplied to the main board of the terminal, the power supply of the charging device is cut off.
  9. 根据权利要求8所述的终端湿度检测系统,其中,所述水分检测芯片包括可编程电流源以及用于检测输入电压的模拟数字转换器。The terminal humidity detection system according to claim 8, wherein the moisture detection chip comprises a programmable current source and an analog-to-digital converter for detecting the input voltage.
  10. 根据权利要求9所述的终端湿度检测系统,其中,所述模拟数字转换器为8位模拟数字转换器。The terminal humidity detection system according to claim 9, wherein the analog-to-digital converter is an 8-bit analog-to-digital converter.
  11. 根据权利要求9所述的终端湿度检测系统,其中,所述终端还包括有显示屏,所述显示屏与所述终端的主板连接。The terminal humidity detection system according to claim 9, wherein the terminal further comprises a display screen, and the display screen is connected to the main board of the terminal.
  12. 根据权利要求9所述的终端湿度检测系统,其中,所述充电装置包括:与所述终端的所述充电口活动连接的充电部,设置在所述充电部的一侧的充电线,所述充电线的一端连接所述充电部,所述充电线的另一端连接有连接部;所述充电线上设置有湿度检测部件,所述湿度检测部件包括电路板,所述电路板上设置有电容检测单元以及与所述电容检测单元连接的切换开关单元,所述电容检测单元用于检测所述充电部上的相邻引脚的电容值,所述电容值用于反映所述充电部的湿度。The terminal humidity detection system according to claim 9, wherein the charging device comprises: a charging part movably connected to the charging port of the terminal, a charging cable provided on one side of the charging part, the One end of the charging wire is connected to the charging part, and the other end of the charging wire is connected to the connecting part; the charging wire is provided with a humidity detection component, the humidity detection component includes a circuit board, and a capacitor is provided on the circuit board A detection unit and a switch unit connected to the capacitance detection unit, the capacitance detection unit is used to detect the capacitance value of the adjacent pins on the charging part, and the capacitance value is used to reflect the humidity of the charging part .
  13. 根据权利要求12所述的终端湿度检测系统,其中,所述湿度检测单元还包括MOS管控制单元,所述MOS管控制单元与所述电容检测单元连接。The terminal humidity detection system according to claim 12, wherein the humidity detection unit further comprises a MOS tube control unit, and the MOS tube control unit is connected to the capacitance detection unit.
  14. 根据权利要求12所述的终端湿度检测系统,其中,所述电路板上还设置有指示灯单元,所述指示灯单元与所述电容检测单元连接。The terminal humidity detection system according to claim 12, wherein an indicator light unit is further provided on the circuit board, and the indicator light unit is connected with the capacitance detection unit.
  15. 根据权利要求14所述的终端湿度检测系统置,其中,所述电路板上还设置有电源管理单元,所述电源管理单元与所述电容检测单元以及所述指示灯单元连接。The terminal humidity detection system device according to claim 14, wherein a power management unit is further provided on the circuit board, and the power management unit is connected to the capacitance detection unit and the indicator light unit.
  16. 根据权利要求12所述的终端湿度检测系统,其中,所述充电部为micro USB接头、micro USB type-c接头以及type-c接头中任意一种。The terminal humidity detection system according to claim 12, wherein the charging part is any one of a micro USB connector, a micro USB type-c connector and a type-c connector.
  17. 根据权利要求12所述的终端湿度检测系统,其中,所述连接部为type-a插头,插适配器或者电脑的type-a母头中的任意一种。The terminal humidity detection system according to claim 12, wherein the connection part is any one of a type-a plug, a plug adapter or a type-a female connector of a computer.
PCT/CN2020/128937 2020-09-30 2020-11-16 Terminal humidity detection method and system WO2022068004A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202011065145.1 2020-09-30
CN202011061063.XA CN112186855A (en) 2020-09-30 2020-09-30 Intelligent humidity detection charging device and humidity detection method
CN202011061063.X 2020-09-30
CN202011065145.1A CN112202224A (en) 2020-09-30 2020-09-30 NDA terminal charging port humidity detection method and NDA terminal

Publications (1)

Publication Number Publication Date
WO2022068004A1 true WO2022068004A1 (en) 2022-04-07

Family

ID=80949459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128937 WO2022068004A1 (en) 2020-09-30 2020-11-16 Terminal humidity detection method and system

Country Status (1)

Country Link
WO (1) WO2022068004A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105098884A (en) * 2015-07-01 2015-11-25 小米科技有限责任公司 Charging device and charging method for mobile terminal
CN106776228A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The method for security protection and mobile terminal of a kind of mobile terminal
WO2018039881A1 (en) * 2016-08-29 2018-03-08 华为技术有限公司 Electric charging protection method, terminal, and charger
CN109378877A (en) * 2018-11-13 2019-02-22 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105098884A (en) * 2015-07-01 2015-11-25 小米科技有限责任公司 Charging device and charging method for mobile terminal
WO2018039881A1 (en) * 2016-08-29 2018-03-08 华为技术有限公司 Electric charging protection method, terminal, and charger
CN106776228A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The method for security protection and mobile terminal of a kind of mobile terminal
CN109378877A (en) * 2018-11-13 2019-02-22 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106169783B (en) Electronic equipment, charger, integrated circuit and electronic equipment connector detection method
US10998683B2 (en) Connector protection method and system
TWI700498B (en) High contact resistance detection
US20140191588A1 (en) Apparatuses, systems, and methods for reducing power to ports of electronic devices
CN109412234B (en) Charging circuit, charging processing method, electronic device, and storage medium
TW201722014A (en) Power distribution unit and fault detecting method
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
CN113602123B (en) DC charging pile and charging control method
US20210305822A1 (en) Charging device and method thereof
JP6165860B2 (en) Apparatus and method for reducing risk of electric shock of biosensor measuring device
CN211605566U (en) USBType-C connects, USB data line and battery charging outfit
US20140344962A1 (en) Preventing water damage in portable devices
WO2022068004A1 (en) Terminal humidity detection method and system
TWI542885B (en) Electrical device and connector thereof
CN209029913U (en) Electronic equipment protection device
CN210038763U (en) USB equipment plug detection circuit under operating system off-line state
TW200536229A (en) Power switch device
CN213637108U (en) Intelligence humidity detection charging device
CN214176929U (en) NDA terminal with charge mouthful humidity detection function
CN112202224A (en) NDA terminal charging port humidity detection method and NDA terminal
US20140197804A1 (en) Charging system and charging method thereof
CN112186855A (en) Intelligent humidity detection charging device and humidity detection method
CN1296167A (en) Method and device for testing temp. of notebook computer
CN113359190A (en) Interface foreign matter detection circuit, charger and terminal equipment
CN218271116U (en) Battery contact detection device and XR equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20956023

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20956023

Country of ref document: EP

Kind code of ref document: A1