CN111799858B - Protection circuit, detection method and device thereof, electronic device and medium - Google Patents

Protection circuit, detection method and device thereof, electronic device and medium Download PDF

Info

Publication number
CN111799858B
CN111799858B CN202010555265.3A CN202010555265A CN111799858B CN 111799858 B CN111799858 B CN 111799858B CN 202010555265 A CN202010555265 A CN 202010555265A CN 111799858 B CN111799858 B CN 111799858B
Authority
CN
China
Prior art keywords
circuit
switch circuit
controlling
charging
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010555265.3A
Other languages
Chinese (zh)
Other versions
CN111799858A (en
Inventor
熊年登
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010555265.3A priority Critical patent/CN111799858B/en
Publication of CN111799858A publication Critical patent/CN111799858A/en
Application granted granted Critical
Publication of CN111799858B publication Critical patent/CN111799858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation

Abstract

The application discloses a protection circuit, a detection method and device thereof, electronic equipment and a medium, and belongs to the field of communication. The circuit includes: the first end of the first switch circuit is connected with a charging pin of the electronic equipment; the first end of the voltage division circuit is connected with the second end of the first switch circuit, and the second end of the voltage division circuit is connected with the power supply; the first end of the second switch circuit is connected with the charging pin, and the second end of the second switch circuit is connected with the ground terminal pin; the detection circuit is connected with the first end of the voltage division circuit and is used for detecting the voltage value of the voltage division circuit; under the condition that the voltage value is smaller than the first preset value, the second switch circuit is conducted; under the condition that the voltage value is larger than a second preset value, the first switch circuit and the second switch circuit are disconnected; wherein the first preset value is smaller than the second preset value. According to the embodiment of the application, the protection of the charging interface can be realized.

Description

Protection circuit, detection method and device thereof, electronic device and medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a protection circuit, a detection method and device thereof, electronic equipment and a medium.
Background
Along with the development of wearable technology, intelligent wearable equipment such as intelligent wrist-watch, bracelet are more and more popularized. People typically utilize wearable devices for the collection of health data or athletic data. Because wearable equipment inner space is comparatively narrow and small, for the pleasing to the eye and waterproof requirement of the outward appearance of wearable equipment, can adopt wireless charging or expose the mode of charging the foot when charging for the inside battery of wearable equipment simultaneously. In a scene that a user wears the wearable device, sweat on the skin of the user generally exists, particularly on hot weather or after sports, the sweat on the skin is more, and the sweat carried on the skin of the user is easy to adhere to the surface of the wearable device when the sweat is more.
Under the scene of charging when more liquid exists on the surface of the wearable device, micro current can be formed at the positive and negative electrodes of the two charging pins of the wearable device, so that the on-resistance between the exposed charging pins is reduced, and the exposed charging pins are easily corroded by electricity for a long time. In addition, if liquid is inadvertently scattered into the charging interface of the charging device, the charging pins of the charging device are corroded.
After the charging pin is corroded, the impedance of the metal surface is increased, so that the charging contact impedance is increased, the charging current is finally reduced, and even the device cannot be charged under the limit condition. Therefore, it is urgently needed to provide a method for protecting the charging interface.
Disclosure of Invention
The application aims to provide a protection circuit, a detection method and device thereof, electronic equipment and a medium, which can protect a charging interface.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, the present application provides a protection circuit comprising:
the first end of the first switch circuit is connected with a charging pin of the electronic equipment;
the first end of the voltage division circuit is connected with the second end of the first switch circuit, and the second end of the voltage division circuit is connected with the power supply;
the first end of the second switch circuit is connected with the charging pin, and the second end of the second switch circuit is connected with the ground terminal pin;
the detection circuit is connected with the first end of the voltage division circuit and is used for detecting the voltage value of the voltage division circuit;
under the condition that the voltage value is smaller than the first preset value, the second switch circuit is conducted;
under the condition that the voltage value is larger than a second preset value, the first switch circuit and the second switch circuit are disconnected;
wherein the first preset value is smaller than the second preset value.
In a second aspect, the present application provides a detection method for a protection circuit, applied to the detection circuit provided in the first aspect, the method including:
controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off;
acquiring a voltage value of a voltage division circuit;
under the condition that the voltage value is smaller than the first preset value, controlling the second switch circuit to be conducted;
under the condition that the voltage value is larger than a second preset value, the first switching circuit and the second switching circuit are controlled to be disconnected;
wherein the first preset value is smaller than the second preset value.
In a third aspect, the present application provides an electronic device comprising the protection circuit as provided in the first aspect above.
In a fourth aspect, the present application provides a detection apparatus for a protection circuit, which is applied to the protection circuit provided in the first aspect, and the apparatus includes:
the control module is used for controlling the first switching circuit to be switched on and controlling the second switching circuit to be switched off;
the first acquisition module is used for acquiring a voltage value of the voltage division circuit;
the control module is also used for controlling the second switch circuit to be conducted under the condition that the voltage value is smaller than the first preset value;
the control module is also used for controlling the first switching circuit and the second switching circuit to be switched off under the condition that the voltage value is greater than a second preset value;
wherein the first preset value is smaller than the second preset value.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the second aspect.
In the embodiment of the application, the voltage of the voltage dividing circuit can reflect the impedance change between the charging pin and the ground terminal pin of the charging interface, and the impedance change between the charging pin and the ground terminal pin can reflect whether liquid exists between the two pins, so that whether liquid exists in the charging interface of the electronic device can be determined according to whether the voltage value of the voltage dividing circuit is smaller than the first preset value. When the voltage value of the voltage division circuit is smaller than the first preset value, the liquid in the charging interface can be determined to be present. And when the voltage value is smaller than the first preset value, the second switch circuit is switched on, so that a short circuit is formed between the charging pin and the ground terminal pin, and the current cannot flow through the surface of the electronic equipment. And a short-circuit protection mechanism is arranged in the general charging equipment, and the charging equipment enters short-circuit protection to stop outputting after detecting a short-circuit state between the charging pin and the grounding terminal pin, so that current is finally cut off, the exposed charging interface of the equipment is not corroded, and the charging interface is protected. And under the condition that the voltage value is greater than the second preset value, if the liquid does not exist on the charging interface, the first switch circuit and the second switch circuit can be disconnected so as to charge the electronic equipment.
Drawings
Fig. 1 is a schematic structural diagram of a wearable device provided with exposed charging pins according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a corroded charging pin provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a protection circuit according to a first embodiment of the present application;
fig. 4 is a schematic structural diagram of a protection circuit according to a second embodiment of the present application;
FIG. 5 is a schematic flow chart of a detection method according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of a detection method according to another embodiment of the present application;
FIG. 7 is a schematic structural diagram of a detection apparatus provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a detection method, an apparatus, an electronic device, and a medium provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios thereof.
In order to meet the requirements of attractive appearance and water resistance of the wearable device, the charging pins can be exposed when the battery in the device is charged. Fig. 1 is a schematic structural diagram of a wearable device providing an exposed charging pin according to an embodiment of the present disclosure. When liquid adheres to the surface of the wearable device, the charging pin of the wearable device is easily corroded. Fig. 2 is a schematic diagram of a corroded charging pin provided in an embodiment of the present application. The sweat soaking of the wearable device is simulated by soaking the charging pin of the wearable device with the liquid. Shown in fig. 2 is a schematic diagram that simulates the erosion of the surface of a charging pin over time after sweat has soaked the exposed charging pin of a wearable device.
Based on the above, the application provides a protection circuit, a detection method and device thereof, an electronic device and a medium, which can protect a charging interface. The following description is presented with reference to specific embodiments and accompanying drawings.
Fig. 3 is a schematic structural diagram of a protection circuit according to a first embodiment of the present application. As shown in fig. 3, the protection circuit provided in the embodiment of the present application includes:
the first end of the first switch circuit K1 is connected with a charging pin VBUS of the electronic device;
a first end of the voltage division circuit F is connected with a second end of the first switch circuit, and a second end of the voltage division circuit F is connected with a power supply V1;
a first end of the second switch circuit K2 is connected to the charging pin VBUS, and a second end of the second switch circuit K2 is connected to the ground terminal pin GND;
the detection circuit P is connected with the first end of the voltage division circuit F and is used for detecting the voltage value of the voltage division circuit F;
under the condition that the voltage value is smaller than the first preset value, the second switch circuit K2 is conducted;
under the condition that the voltage value is larger than a second preset value, the first switch circuit K1 and the second switch circuit K2 are disconnected;
wherein the first preset value is smaller than the second preset value.
It should be noted that the electronic device may be a wearable device, a charging device, or other electronic devices with an exposed charging interface.
In the embodiment of the application, the voltage of the voltage dividing circuit can reflect the impedance change between the charging pin and the ground terminal pin of the charging interface, and the impedance change between the charging pin and the ground terminal pin can reflect whether liquid exists between the two pins, so that whether liquid exists in the charging interface of the electronic device can be determined according to whether the voltage value of the voltage dividing circuit is smaller than the first preset value. When the voltage value of the voltage division circuit is smaller than the first preset value, the liquid in the charging interface can be determined to be present. And when the voltage value is smaller than the first preset value, the second switch circuit is switched on, so that a short circuit is formed between the charging pin and the ground terminal pin, and the current cannot flow through the surface of the electronic equipment. And a short-circuit protection mechanism is arranged in the general charging equipment, and the charging equipment enters short-circuit protection to stop outputting after detecting the short-circuit state between the charging pin and the grounding terminal pin, so that the current is finally cut off, the exposed charging interface of the equipment is not corroded, and the charging interface is protected. And under the condition that the voltage value is greater than the second preset value, if the liquid does not exist on the charging interface, the first switch circuit and the second switch circuit can be disconnected so as to charge the electronic equipment.
If no liquid exists in the charging interface, the impedance R1 between the charging pin VBUS of the charging interface and the ground terminal pin GND is infinite, and the voltage value acquired by the detection circuit P is basically close to the voltage of the power supply V1. If the charging interface contains liquid such as sweat, the impedance R1 between the charging pin VBUS of the charging interface and the ground terminal pin GND is reduced, and the voltage value of the voltage division circuit acquired by the detection circuit P is lower voltage, so that whether the liquid exists in the charging interface exposed out of the electronic equipment can be judged through the acquired voltage value of the first end of the voltage division circuit F.
At present, in order to solve the problem that the exposed charging pin is corroded, a metal material which is not easy to corrode and has a higher price is adopted in the related technology, but the cost is relatively higher, the time required by the corrosion of the exposed charging pin is only prolonged, and the exposed charging pin can still be corroded after a long time. In addition, the distance between the exposed charging pins can be enlarged as much as possible to solve the problem that the charging pins are corroded, but the appearance is affected by the distance, and the structural stacking of the whole machine is limited. Or, the exposed charging pins are isolated by a structural method, such as a structural retaining wall, which not only affects the appearance of the device, but also increases the cost.
In the embodiment of the application, by setting a certain threshold judgment mechanism, when the voltage of the first end of the voltage division circuit F is high (for example, the voltage of the first end of the voltage division circuit F is smaller than the second preset threshold and larger than the first preset value), it is considered that the liquid in the charging interface is less, a prompt message is output to prompt a user to dry the charging interface, so that the charging interface is kept dry.
When the voltage of the first end of the voltage dividing circuit F is low (for example, the voltage of the first end of the voltage dividing circuit F is smaller than a first preset value), it is considered that the liquid of the charging interface is more, the first switch circuit K1 is controlled to be in an off state, and the second switch circuit K2 is controlled to be in an on state, at this time, a short circuit is formed between the charging pin VBUS and the ground terminal pin GND, the current cannot flow through the surface of the electronic device, and a short-circuit protection mechanism is arranged inside the general charging device.
When detecting the voltage at the first end of the voltage divider circuit F, it is necessary to control not only the first switch circuit K1 to be in the on state but also the second switch circuit K2 to be in the off state, so that the impedance between the voltage divider circuit and the power supply pin and the ground pin of the charging interface divides the voltage of the power supply. That is, the detection circuit P acquires the voltage value of the first terminal of the voltage dividing circuit F in the case where the first switch circuit K1 is in the on state and the second switch circuit K2 is controlled to be in the off state.
Fig. 4 is a schematic structural diagram of a protection circuit according to a second embodiment of the present application.
As shown in fig. 4, in some embodiments, the first switch circuit K1 includes a first Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET).
The source of the first MOSFET Q1 is connected to the first end of the voltage divider circuit F, the drain of the first MOSFET Q1 is connected to the charging pin VBUS, and the gate of the first MOSFET Q1 is connected to the control circuit.
As one example, the control circuit may control whether the first switch circuit K1 is in an on state or an off state by controlling whether the voltage of the gate of the first MOSFET Q1 is a high level or a low level.
As an example, the control circuit controls the voltage of the gate of the first MOSFET Q1 to be a high level to control the first switch circuit K1 to be in a turned-on state, so that the impedance R1 between the charging pin VBUS of the charging interface and the ground terminal pin GND and the voltage dividing circuit F divide the voltage of the power supply.
In an embodiment of the present application, the first switch circuit K1 may further include one or more of an Insulated Gate Bipolar Transistor (IGBT) chip, an IGBT module, a Transistor, and other switch devices.
With continued reference to fig. 4, the protection circuit provided by the embodiment of the present application further includes a first regulator D1, and the first regulator D1 is disposed between the gate of the first MOSFET Q1 and the source of the first MOSFET Q1.
Since the gate and source of the MOSFET have high impedance, the abrupt change of the source and drain voltages can cause high gate-source spike voltage, and the gate-source oxide layer is easy to break down, so the first voltage regulator D1 is arranged between the gate of the first MOSFET Q1 and the source of the first MOSFET Q1, and the first MOSFET Q1 can be protected from breaking down.
In some embodiments, the second off circuit includes a second MOSFET Q2. The source of the second MOSFET Q2 is connected to the ground terminal GND of the charging interface, the drain of the second MOSFET Q2 is connected to the charging pin VBUS of the charging interface, and the gate of the first MOSFET Q1 is connected to the control circuit.
The control circuit may be a control module in the electronic device, or may be a control circuit separately provided in the protection circuit. That is, in some embodiments, the protection circuit may include a control circuit. The control circuit can control the on-off of the first MOSFET and the on-off of the second MOSFET.
In an embodiment of the present application, the second switch circuit K2 may further include one or more of an Insulated Gate Bipolar Transistor (IGBT) chip, an IGBT module, a Transistor, and other switch devices.
As one example, the control circuit may control whether the second switch circuit K2 is in an on state or an off state by controlling whether the voltage of the gate of the second MOSFET Q2 is a high level or a low level.
When the voltage value of the voltage dividing circuit F is smaller than the first preset value, it is determined that the liquid in the charging interface is more, and the control circuit may control the voltage of the gate of the first MOSFET Q1 to be at a low level to control the first MOSFET Q1 to be in an off state, and control the voltage of the gate of the second MOSFET Q2 to be at a high level to control the second MOSFET Q2 to be in an on state.
When the first MOSFET Q1 is in an off state and the second MOSFET Q2 is in an on state, a short circuit is formed between the charging pin VBUS and the ground terminal pin GND, so that current does not flow through the surface of the electronic device, a short-circuit protection mechanism is provided inside the general charging device, and the charging device enters the short-circuit protection mode to stop outputting after detecting the short-circuit state between the charging pin VBUS and the ground terminal pin GND, so that current cut-off is finally realized, and the exposed charging pin of the device is not corroded.
With continued reference to fig. 4, the protection circuit provided by the embodiment of the present application further includes a second regulator D2, and the second regulator D2 is disposed between the gate of the second MOSFET Q2 and the source of the second MOSFET Q2.
Since the gate and source of the MOSFET have high impedance, the abrupt change of the source and drain voltages can cause high gate-source spike voltage, and the gate-source oxide layer is easy to break down, so that the second MOSFET Q2 can be protected from breaking down by arranging the second voltage regulator D2 between the gate of the second MOSFET Q2 and the source of the second MOSFET Q2.
With continued reference to fig. 4, the voltage divider circuit F may include a resistor network. A first terminal of the resistor network is connected to a second terminal of the first switching circuit K1, and a second terminal of the resistor network may be connected to the power supply V1. In some embodiments, the resistor network N may include a resistor R2. A first terminal of the resistor R2 is connected to the source of the first MOSFET Q1, and a second terminal of the resistor R2 may be connected to the power supply V1.
The application also provides a detection method of the protection circuit, which is applied to the protection circuit of the embodiment. The main body of the detection method may be a control circuit in the electronic device, or may be a control circuit included in the protection circuit itself. Fig. 5 is a schematic flowchart of an embodiment of a detection method of a protection circuit provided in the present application.
Referring to fig. 5, the detection method of the protection circuit provided by the present application includes:
step 510, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off;
step 520, acquiring a voltage value of the voltage division circuit;
step 530, controlling the second switch circuit to be conducted under the condition that the voltage value is smaller than the first preset value;
step 540, controlling the first switch circuit and the second switch circuit to be switched off under the condition that the voltage value is greater than a second preset value;
wherein the first preset value is smaller than the second preset value.
In the embodiment of the application, when the voltage value is smaller than the first preset value, the second switch circuit is turned on, so that a short circuit is formed between the charging pin and the ground terminal pin, and the current does not flow through the surface of the electronic device. And a short-circuit protection mechanism is arranged in the general charging equipment, and the charging equipment enters short-circuit protection to stop outputting after detecting a short-circuit state between the charging pin and the grounding terminal pin, so that current is finally cut off, the exposed charging interface of the equipment is not corroded, and the charging interface is protected. And under the condition that the voltage value is greater than the second preset value, if the liquid does not exist on the charging interface, the first switch circuit and the second switch circuit can be disconnected so as to charge the electronic equipment.
In the embodiment of the present application, in step 510, the first switch circuit is controlled to be turned on and the second switch circuit is controlled to be turned off so as to divide the voltage of the power supply by the impedance between the voltage divider circuit and the charging pin and the ground pin.
In some embodiments of the present application, in step 520, a voltage value of the first terminal of the voltage divider circuit may be obtained from the detection circuit P in the protection circuit.
It should be noted that, in the embodiment of the present application, in step 530, when it is determined that the voltage value is smaller than the first preset value, the second switch circuit is controlled to be turned on, and the first switch circuit is controlled to be turned off, so as to implement protection on the charging interface.
In some embodiments of the present application, in step 540, if it is determined that the liquid is not present in the charging interface when the voltage value of the voltage dividing circuit F is greater than the second preset value, the first switch circuit and the second switch circuit may be turned off to charge the electronic device.
In some embodiments of the present application, when the voltage value of the voltage dividing circuit F is greater than or equal to the first preset value and less than or equal to the second preset value, it may be determined that liquid is present at the charging interface, but the liquid is less. The control circuit may output a prompt to prompt the user to dry the liquid at the charging interface.
In the embodiment of the application, the prompting information is output, so that the user can be prompted that the liquid exists in the charging interface, the user can dry the liquid and then charge the liquid, and the charging interface can be prevented from being corroded.
In some embodiments of the application, when the voltage value of the voltage dividing circuit F is smaller than the first preset value, it indicates that more liquid exists in the charging interface, and the control circuit may further output a prompt message to prompt a user when the second switch circuit is controlled to be turned off.
In some embodiments of the present application, when the voltage value of the voltage dividing circuit F is greater than the second preset value, it represents that there is no liquid in the charging interface, and the electronic device can be normally charged, so that the first switch circuit and the second switch circuit can be controlled to be turned off.
This application can detect and expose whether there is liquid in the interface that charges through at a simple protection circuit of electronic equipment internal design to under the interface condition that has liquid that charges, the suggestion user not only does not influence the outward appearance of equipment, also can not increase too much cost, improved the convenience that the user used electronic equipment.
It should be noted that, for the electronic device including the protection circuit provided in the embodiment of the present application, if the electronic device has a display module, the control circuit outputs the prompt information to the display module when determining that the voltage at the first end of the voltage division circuit F is smaller than the second preset value, so that the display module displays the prompt information to prompt a user to dry the liquid in the charging interface.
As an example, when the electronic device is a wearable device, and when the detection circuit P in the wearable device determines that the voltage at the first end of the voltage division circuit F is less than or equal to the second preset value and greater than or equal to the first preset value, it may display "please dry the back of the wearable device, keeping the back dry" on a screen of the wearable device to prompt a user to dry the liquid of the charging interface, so as to avoid corrosion to the charging interface. When the detection voltage in the wearable device determines that the voltage of the first end of the voltage division circuit F is smaller than the first preset value, a prompt message of "the wearable device has more sweat on the back, and charging is prohibited, and charging is performed after wiping dry" can be displayed on a screen of the wearable device, so as to prompt a user to wipe dry the liquid of the charging interface, and avoid corrosion to the charging interface.
The protection circuit provided by the embodiment of the application can determine the amount of liquid in the charging interface according to the voltage of the first end of the voltage division circuit F, so that a user is reminded of charging the liquid in the charging interface of the electronic equipment if the liquid is needed to be wiped dry under the condition that the liquid exists in the charging interface; when the liquid of the charging interface reaches a certain amount, the exposed charging pins of the electronic equipment are prevented from being corroded by adopting a short-circuit charging pin mode.
In some embodiments, in order to reduce the waste of resources, the protection circuit may be turned on under certain conditions, and in the case where the electronic device is a wearable device, the control circuit is configured to control the first switch circuit K1 to be in a conducting state and the second switch circuit K2 to be turned off in the case where it is determined that the user has an intention to charge the wearable device.
That is to say, when it is detected that the user has an intention to charge the wearable device, the first switch circuit K1 is controlled to be in the on state and the second switch circuit K2 is controlled to be turned off, so as to detect whether liquid exists in the charging interface, and it is possible to prevent the protection circuit from being in the detection state all the time, that is, to prevent the waste of resources. This application embodiment judges whether the user needs to charge through the intellectual detection system mode, adopts the intellectual detection system mechanism also can avoid the protection circuit in the electronic equipment to be in the detection state always, just goes to detect when needs charge, saves the consumption.
In some embodiments, whether the user has an intention to charge the electronic device may be determined by state information and/or motion information of the electronic device.
In some embodiments of the present application, before step 510, the method for detecting a protection circuit provided in the embodiments of the present application further includes: step 501, state information and/or motion information of the electronic device is acquired. On this basis, step 510 includes step 5101. In step 5101, the first switch circuit is controlled to be turned on and the second switch circuit is controlled to be turned off when the state information and/or the motion information meet the preset conditions.
In some embodiments, the electronic device comprises a wearable device, and step 5101 comprises: the first switch circuit is controlled to be turned on and the second switch circuit is controlled to be turned off in the case where the wearable device is determined to be in the unworn state based on the state information and/or the wearable device is determined to be in the moving state based on the motion information.
In some embodiments, the state information may be information indicating whether the wearable device is in an unworn state.
In some embodiments, the motion information may be information indicating whether the wearable device is in a moving state.
Since the wearable device does not go to charge in the wearing mode, it is possible to determine whether the user has an intention to charge the wearable device according to whether the wearable device is in the unworn mode. If it is determined that the wearable device is in the unworn mode based on the state information, the representative user may have an intention to charge the wearable device.
Since the wearable device is in the wearing mode, the user makes contact with the wearable device. Whether an object is close to the wearable device can be detected by using the optical wear detection sensor. Whether a conductor is in contact with the wearable device can be detected by the optical wear detection sensor. Therefore, the control circuit can determine whether the wearable device is in the non-wearing mode using the first detection result obtained from the capacitance wearing detection sensor inside the wearable device and the second detection result obtained from the optical wearing detection sensor. That is, the state information includes the first detection result and the second detection result.
If the control circuit determines that an object is close to the wearable device based on the detection result obtained from the optical wearing sensor and the second detection result obtained from the capacitive wearing detection sensor is that a conductor is in contact with the wearable device, it is determined that the wearable device is in the wearing mode. If the control circuit determines that no object is close to the wearable device based on the detection result obtained from the optical wearable sensor and/or the control circuit determines that no conductor is in contact with the wearable device based on the second detection result obtained from the capacitive wearable detection sensor, it is determined that the wearable device is in the non-wearable mode.
In some embodiments, when the user wants to charge the wearable device, there is an action of moving the wearable device close to the charging device after the wearable device is removed, that is, in a case where the wearable device is in the unworn mode.
In some embodiments of the present application, the control circuit may determine whether the wearable device is in a moving state by acquiring motion information from a gyroscope detection device in the wearable device. In some embodiments, in a case where it is determined that the wearable device is in the moving state, it may be determined that the user has a charging intention for the wearable device.
In some embodiments, in order to improve the accuracy of the determination that the user has the charging intention with respect to the wearable device, it may be determined that the user has the charging intention with respect to the wearable device in the case where it is determined that the wearable device is in the unworn state based on the state information and/or it is determined that the wearable device is in the moving state based on the motion information.
In some embodiments, step 5101 includes: determining whether a charging device is close to the wearable device based on the state information and/or the motion information; and under the condition that the charging device is close to the wearable device, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
In some embodiments, the control circuit may determine whether there is a target object approaching the wearable device according to a detection result of the optical wearable detection sensor inside the wearable device. That is, the status information includes the detection result of the optical wear detection sensor. If the control circuit determines that the target object is close to the wearable device based on the state information, it is determined whether the target object is a charging device.
As an example, in order to ensure good contact between the exposed charging pin of the wearable device and the charging cradle during charging, the charging cradle of the wearable device is generally provided with a built-in magnet for attracting the wearable device. Therefore, whether the wearable device is close to the charging seat can be judged by utilizing the fixed magnet environment.
The control circuit can determine whether the electronic device is a charging device by using a detection result of the magnetic sensor inside the wearable device. That is, the state information includes the detection result of the magnetic sensor. If the magnetic parameter detected by the magnetic sensor is greater than the preset threshold, it may be determined that the wearable device is approaching the charging device, and it may be determined that the user has an intention to charge the wearable device.
In other embodiments, the control circuit may determine whether the wearable device is in the mobile state by obtaining motion information from a gyroscope detection device in the wearable device. In some embodiments, when it is determined that the wearable device is in the moving state, it may be determined that there is a charging device close to the wearable device, and it may be determined that the user has an intention to charge the wearable device.
In still other embodiments, the control circuit may determine whether there is a charging device in proximity to the wearable device based on the state information and the motion information to improve the accuracy of the determination.
To further improve the accuracy of determining that the user has an intention to charge the wearable device, step 5101 includes: determining whether a charging device is close to the wearable device based on the state information and/or the motion information in the case that the wearable device is determined to be in an unworn state based on the state information and/or the wearable device is determined to be in a moving state based on the motion information; and under the condition that the charging device is close to the wearable device, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
When the control circuit determines that the user has charging intention on the wearable device and the wearable device is just before contacting the charging device, whether liquid exists in the exposed charging interface on the back of the wearable device is detected.
In some embodiments of the present application, after step 530, the detection method of the protection circuit provided by the present application further includes: receiving a first input of a user; in response to the first input, the first switch circuit is controlled to be turned on and the second switch circuit is controlled to be turned off when the first switch circuit is turned off.
As one example, the first input may be a click input, a press input, a slide input, or a preset gesture operation, among other inputs. The first input is used for indicating that liquid detection is carried out on the charging interface.
In some embodiments of the present application, after step 530, if the charging interface is to be checked again for the presence of liquid, the first switch circuit needs to be controlled to be turned on, and the second switch circuit needs to be kept turned off, so that the divided voltage and the impedance between the charging pin and the ground pin divide the voltage of the power supply.
Whether liquid exists between exposed charging pins of the electronic equipment or not is detected through a protection circuit inside the electronic equipment, and under the condition that the liquid exists in the charging interface, a user is reminded to wipe the liquid or stop the charging mode, and finally the charging pins are prevented from being corroded.
In the embodiment of the application, whether the wearable device has the charging intention or not is intelligently detected, and whether the charging interface has liquid or not is detected, so that only the wearable device needs to be charged by the user under the condition of the dual detection mechanism, and the user is reminded to wipe the liquid when the charging interface of the wearable device really has the liquid during charging, and good experience of the user on the device is improved.
In the embodiment of the application, whether liquid exists in the charging interface of the electronic device can be judged by detecting the resistance between the exposed charging pins of the electronic device, because a micro short circuit state can be formed between the two charging pins under different liquid conditions, that is, the on-resistance between the two charging pins can be reduced under the condition that liquid exists.
The universal meter is connected with a resistor in series, tap water and saline water are used for soaking the meter pen, the universal meter is used for testing voltage division, and data of equivalent earth impedance of the exposed charging pin are calculated. Table 1 shows the equivalent impedance to ground for the exposed charging pin under different test conditions and different liquids.
Test conditions 1: the red and black surface pen is inserted into a paper cup with a little liquid, and the depth of the water in the paper cup is about 4 mm. Under test condition 1, the equivalent resistance to ground was 15.9 kilo-ohms (K Ω) when the liquid was tap water, and 1.7K Ω when the liquid was brine.
Test conditions 2: inserting the red and black surface pens into a paper cup filled with liquid, wherein the depth of water in the paper cup is about 7cm, and the distance between the red and black surface pens is 7 cm. Under test condition 2, the equivalent resistance to ground was 4.6 kilo-ohms (K Ω) when the liquid was tap water, and 0.4K Ω when the liquid was brine.
Test conditions 3: inserting the red and black surface pens into a paper cup filled with liquid, wherein the depth of water in the paper cup is about 7cm, and the distance between the red and black surface pens is 3.5 cm. Under test condition 3, the equivalent resistance to ground was 3.4 kilo-ohms (K Ω) when the liquid was tap water, and was 0.4K Ω when the liquid was brine.
When the red and black meter pens are not inserted into the liquid, the equivalent ground resistance between the two meter pens is infinite; it can be seen from the data in table 1 that when the red and black pens were inserted into the simulated fluid, the equivalent resistance to ground between the two pens decreased. Moreover, the larger the distance between the two meter pens is, the larger the impedance is; the more the red and black pens are immersed in the liquid, the smaller the equivalent resistance to ground impedance between the two pens.
TABLE 1
Figure BDA0002544062560000151
Through adopting this application, can realize reminding the user to charge when having the sweat and will wipe dry the sweat and recharge at the back of wearable equipment, automatic control wearable equipment gets into the short circuit mode and prevents to expose the foot that charges and corrode even, improves and charges experience, and extension equipment charging life improves the outward appearance, has brought better experience for the user.
Optionally, an embodiment of the present application provides an electronic device, where the electronic device includes the protection circuit provided in the embodiment of the present application.
Fig. 6 is a schematic flowchart of a detection method according to another embodiment of the present application. As shown in fig. 6, a wearable device is taken as an example. First, whether the wearable device is in a non-wearing mode and in a moving state is judged. If the wearable device is not in the non-wearing mode and/or in the moving state, whether the wearable device is in the non-wearing mode and in the moving state is continuously judged in the next period.
If the wearable device is determined to be in the non-wearing mode and in the moving state, whether a charging device is close to the wearable device or not is judged. If the charging device is determined not to be close to the wearable device, whether the wearable device is in the non-wearing mode and in the moving state is continuously judged in the next period.
If the charging device is close to the wearable device, the user is determined to have charging intention on the wearable device, and the detection function is started to detect whether liquid exists in a charging interface of the wearable device.
And if the fact that the liquid exists in the charging interface of the wearable device is determined, outputting prompt information to prompt a user to dry the liquid and then charge the liquid. If it is determined that no liquid exists in the charging interface of the wearable device, the wearable device can be directly charged.
It should be clear that the embodiments in this specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For the embodiments of the detection method, reference may be made to the description of the protection circuit. The present invention is not limited to the specific steps and structures described above and shown in the drawings. Those skilled in the art may make various changes, modifications and additions or change the order between the steps after appreciating the spirit of the invention. Also, a detailed description of known process techniques is omitted herein for the sake of brevity.
It should be noted that, in the embodiment of the present application, a method for a control circuit in a protection circuit to execute a load detection is taken as an example, and the detection method provided in the embodiment of the present application is described. In the detection method provided by the embodiment of the present application, the execution main body may be an electronic device, or a control circuit in the protection circuit, for executing the loading detection method.
Fig. 7 is a schematic structural diagram of a detection device of the protection circuit provided in the present application, and is applied to the protection circuit provided in the present application. As shown in fig. 7, the detection device 700 of the protection circuit includes:
the control module 710 is configured to control the first switch circuit to be turned on and control the second switch circuit to be turned off;
a first obtaining module 720, configured to obtain a voltage value of the voltage divider circuit;
the control module 710 is further configured to control the second switch circuit to be turned on when the voltage value is smaller than the first preset value;
the control module 710 is further configured to control the first switch circuit and turn off the second switch circuit when the voltage value is greater than a second preset value;
wherein the first preset value is smaller than the second preset value.
In the embodiment of the application, when the voltage value is smaller than the first preset value, the second switch circuit is turned on, so that a short circuit is formed between the charging pin and the ground terminal pin, and the current does not flow through the surface of the electronic device. And a short-circuit protection mechanism is arranged in the general charging equipment, and the charging equipment enters short-circuit protection to stop outputting after detecting a short-circuit state between the charging pin and the grounding terminal pin, so that current is finally cut off, the exposed charging interface of the equipment is not corroded, and the charging interface is protected. And under the condition that the voltage value is greater than the second preset value, if the liquid does not exist on the charging interface, the first switch circuit and the second switch circuit can be disconnected so as to charge the electronic equipment.
In some embodiments of the present application, the detection apparatus 700 of the protection circuit further includes:
the second acquisition module is used for acquiring the state information and/or the motion information of the electronic equipment;
a control module 710 to:
and under the condition that the state information and/or the motion information meet the preset conditions, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
In some embodiments of the present application, the electronic device comprises a wearable device; the control module 710 is specifically configured to:
the first switch circuit is controlled to be turned on and the second switch circuit is controlled to be turned off in the case where the wearable device is determined to be in the unworn state based on the state information and/or the wearable device is determined to be in the moving state based on the motion information.
In some embodiments of the present application, the electronic device includes a wearable device, and the control module 710 is specifically configured to:
determining whether a charging device is close to the wearable device based on the state information and/or the motion information;
and under the condition that the charging device is close to the wearable device, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
In some embodiments of the present application, the detection apparatus 700 of the protection circuit further includes:
the first input receiving module is used for receiving a first input of a user;
the control module 710 is further configured to control the first switch circuit to be turned on and the second switch circuit to be turned off when the first switch circuit is turned off in response to the first input.
The detection device of the protection circuit in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The detection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
Optionally, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of being executed on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 910 is configured to control the first switch circuit to be turned on and control the second switch circuit to be turned off; acquiring a voltage value of a voltage division circuit; under the condition that the voltage value is smaller than the first preset value, controlling the second switch circuit to be conducted; under the condition that the voltage value is larger than a second preset value, the first switching circuit and the second switching circuit are controlled to be disconnected; wherein the first preset value is smaller than the second preset value.
In the embodiment of the application, the voltage of the voltage dividing circuit can reflect the impedance change between the charging pin and the ground terminal pin of the charging interface, and the impedance change between the charging pin and the ground terminal pin can reflect whether liquid exists between the two pins, so that whether liquid exists in the charging interface of the electronic device can be determined according to whether the voltage value of the voltage dividing circuit is smaller than the first preset value. When the voltage value of the voltage division circuit is smaller than the first preset value, the liquid in the charging interface can be determined to be present. And when the voltage value is smaller than the first preset value, the second switch circuit is switched on, so that a short circuit is formed between the charging pin and the ground terminal pin, and the current cannot flow through the surface of the electronic equipment. And a short-circuit protection mechanism is arranged in the general charging equipment, and the charging equipment enters short-circuit protection to stop outputting after detecting a short-circuit state between the charging pin and the grounding terminal pin, so that current is finally cut off, the exposed charging interface of the equipment is not corroded, and the charging interface is protected. And under the condition that the voltage value is greater than the second preset value, if the liquid does not exist on the charging interface, the first switch circuit and the second switch circuit can be disconnected so as to charge the electronic equipment.
Optionally, the processor 910 is configured to obtain status information and/or motion information of the electronic device; and under the condition that the state information and/or the motion information meet the preset conditions, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
That is to say, when detecting that the user has the intention of charging to the wearable device, control first switch circuit in the conducting state again and control the disconnection of second switch circuit to whether there is liquid to the interface that charges to detect, can avoid the protection circuit to be in the detection state always, realized avoiding the waste of resource promptly.
Optionally, the electronic device includes a wearable device, and the processor 910 is configured to control the first switch circuit to be turned on and control the second switch circuit to be turned off when the wearable device is determined to be in an unworn state based on the state information and/or the wearable device is determined to be in a moving state based on the motion information.
Optionally, the electronic device includes a wearable device, and the processor 910 is configured to determine whether a charging device is close to the wearable device based on the state information and/or the motion information;
and under the condition that the charging device is close to the wearable device, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
That is to say, when detecting that the user has the intention of charging to the wearable device, control first switch circuit in the conducting state again and control the disconnection of second switch circuit to whether there is liquid to the interface that charges to detect, can avoid the protection circuit to be in the detection state always, realized avoiding the waste of resource promptly.
Optionally, the user input unit 907 is used for receiving a first input of the user;
optionally, the processor 910 is configured to control the first switch circuit to be turned on and the second switch circuit to be turned off in case that the first switch circuit is turned off in response to a first input received by the user input unit 907.
In the embodiment of the application, the charging interface can be detected according to the requirements of the user, the personalized requirements of the user are met, and the use convenience of the user is improved.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing detection method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A protection circuit, characterized in that the circuit comprises:
the first end of the first switch circuit is connected with a charging pin of the electronic equipment;
the first end of the voltage division circuit is connected with the second end of the first switch circuit, and the second end of the voltage division circuit is connected with a power supply;
a first end of the second switch circuit is connected with the charging pin, and a second end of the second switch circuit is connected with a ground terminal pin;
the detection circuit is connected with the first end of the voltage division circuit and detects the voltage value of the voltage division circuit by controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off;
under the condition that the voltage value is smaller than a first preset value, the second switch circuit is conducted;
under the condition that the voltage value is larger than a second preset value, the first switch circuit and the second switch circuit are disconnected;
wherein the first preset value is smaller than the second preset value.
2. The circuit of claim 1, wherein the first switching circuit comprises a first MOSFET,
the source electrode of the first MOSFET is connected with the first end of the voltage division circuit, the drain electrode of the first MOSFET is connected with the charging pin, and the grid electrode of the first MOSFET is connected with the control circuit;
the second switch circuit comprises a second MOSFET, the source electrode of the second MOSFET is connected with the ground terminal pin, the drain electrode of the second MOSFET is connected with the charging pin, and the grid electrode of the second MOSFET is connected with the control circuit.
3. The circuit of claim 2, further comprising a first regulator disposed between the gate of the first MOSFET and the source of the first MOSFET;
the circuit further comprises a second voltage regulator tube, and the second voltage regulator tube is arranged between the grid electrode of the second MOSFET and the source electrode of the second MOSFET.
4. A method for detecting a protection circuit, applied to a protection circuit according to any one of claims 1 to 3, the method comprising:
controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off;
acquiring a voltage value of the voltage division circuit;
under the condition that the voltage value is smaller than a first preset value, controlling the second switch circuit to be conducted;
under the condition that the voltage value is larger than a second preset value, the first switch circuit and the second switch circuit are controlled to be switched off;
wherein the first preset value is smaller than the second preset value.
5. The method of claim 4, wherein before controlling the first switching circuit to be on and the second switching circuit to be off, the method comprises:
acquiring state information and/or motion information of the electronic equipment;
the controlling the first switch circuit to be turned on and the second switch circuit to be turned off includes:
and under the condition that the state information and/or the motion information meet preset conditions, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
6. The method of claim 5, wherein the electronic device comprises a wearable device; the controlling the first switch circuit to be turned on and the second switch circuit to be turned off when the state information and/or the motion information satisfy a preset condition includes:
controlling the first switch circuit to be turned on and the second switch circuit to be turned off in a case where it is determined that the wearable device is in an unworn state based on the state information and/or it is determined that the wearable device is in a moving state based on the motion information.
7. The method according to claim 5, wherein the electronic device comprises a wearable device, and the controlling the first switch circuit to be turned on and the second switch circuit to be turned off when the state information and/or the motion information satisfy a preset condition comprises:
determining whether a charging device is close to the wearable device based on the state information and/or the motion information;
and under the condition that the charging device is close to the wearable device, controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off.
8. The method of claim 4, wherein after said controlling the second switching circuit to conduct, the method further comprises:
receiving a first input of a user;
in response to the first input, controlling the first switching circuit to turn on and the second switching circuit to turn off if the first switching circuit is turned off.
9. An electronic device, characterized in that the electronic device comprises a protection circuit according to any one of claims 1-3.
10. A detection apparatus for a protection circuit, applied to the protection circuit according to any one of claims 1 to 3, characterized in that the apparatus comprises:
the control module is used for controlling the first switch circuit to be switched on and controlling the second switch circuit to be switched off;
the first acquisition module is used for acquiring the voltage value of the voltage division circuit;
the control module is further used for controlling the second switch circuit to be conducted under the condition that the voltage value is smaller than a first preset value;
the control module is further used for controlling the first switch circuit and the second switch circuit to be switched off under the condition that the voltage value is greater than a second preset value;
wherein the first preset value is smaller than the second preset value.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of any one of claims 4 to 8.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method according to any one of claims 4-8.
CN202010555265.3A 2020-06-17 2020-06-17 Protection circuit, detection method and device thereof, electronic device and medium Active CN111799858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010555265.3A CN111799858B (en) 2020-06-17 2020-06-17 Protection circuit, detection method and device thereof, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010555265.3A CN111799858B (en) 2020-06-17 2020-06-17 Protection circuit, detection method and device thereof, electronic device and medium

Publications (2)

Publication Number Publication Date
CN111799858A CN111799858A (en) 2020-10-20
CN111799858B true CN111799858B (en) 2022-05-10

Family

ID=72804140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010555265.3A Active CN111799858B (en) 2020-06-17 2020-06-17 Protection circuit, detection method and device thereof, electronic device and medium

Country Status (1)

Country Link
CN (1) CN111799858B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050176A (en) * 2021-03-10 2021-06-29 维沃移动通信有限公司 Proximity detection circuit, electronic device, proximity detection processing method, and proximity detection processing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014210262A1 (en) * 2013-06-28 2014-12-31 Honeywell International Inc. A power transformation system with characterization
CN205792219U (en) * 2016-06-13 2016-12-07 浙江科博达工业有限公司 A kind of dummy load circuit of power circuit
CN107546797A (en) * 2017-08-15 2018-01-05 上海与德科技有限公司 Short-circuit protection circuit and electronic product
CN109245244A (en) * 2018-11-13 2019-01-18 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100384787B1 (en) * 2000-07-20 2003-05-22 주식회사 하이닉스반도체 Digital-Analog Converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014210262A1 (en) * 2013-06-28 2014-12-31 Honeywell International Inc. A power transformation system with characterization
CN205792219U (en) * 2016-06-13 2016-12-07 浙江科博达工业有限公司 A kind of dummy load circuit of power circuit
CN107546797A (en) * 2017-08-15 2018-01-05 上海与德科技有限公司 Short-circuit protection circuit and electronic product
CN109245244A (en) * 2018-11-13 2019-01-18 Oppo(重庆)智能科技有限公司 Charging circuit, charging method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111799858A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
US10042534B2 (en) Mobile terminal and method to change display screen
US8976153B2 (en) Touch panel device detecting water
US9711090B2 (en) Portable electronic device changing display brightness based on acceleration and distance
DK201500594A1 (en) Devices and Methods for Processing Touch Inputs Based on Their Intensities
EP3754475A1 (en) Method and apparatus for controlling display of electronic device
EP2397936A2 (en) Mobile terminal and method of controlling the same
CN103218243A (en) Method and device of displaying application program icons
US9489130B2 (en) Mobile terminal selectively acting only part of a display and control method thereof
EP2811388A2 (en) Portable terminal and user interface method in portable terminal
CN107318091B (en) Network connection control method and mobile terminal
CN108769299B (en) Screen control method and device and mobile terminal
CN112000269A (en) Screen opening method and device and electronic equipment
CN107580134B (en) Display method of mobile terminal and mobile terminal
CN111799858B (en) Protection circuit, detection method and device thereof, electronic device and medium
CN105183304B (en) Based on the navigation menu display methods and device under human-computer interaction
CN103294583A (en) Terminal screen control method and mobile terminal
CN104793878A (en) Method for achieving quick screen blacking and locking of mobile terminal by long press of touch screen
CN109086103B (en) Application display method and device, storage medium and electronic equipment
CN108259660A (en) A kind of information cuing method and device, terminal, readable storage medium storing program for executing
CN105511597B (en) A kind of page control method and device based on browser
CN109032487A (en) Control method of electronic device, device, storage medium and electronic equipment
CN113253883A (en) Application interface display method and device and electronic equipment
CN105022633A (en) Solving method of hotkey conflict and terminal
CN106325692B (en) Method and device for switching display modes and mobile terminal thereof
US20120306744A1 (en) Electronic device with illuminating touchpad

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant