CN108411310B - Interface circuit and electronic device - Google Patents

Interface circuit and electronic device Download PDF

Info

Publication number
CN108411310B
CN108411310B CN201810107223.6A CN201810107223A CN108411310B CN 108411310 B CN108411310 B CN 108411310B CN 201810107223 A CN201810107223 A CN 201810107223A CN 108411310 B CN108411310 B CN 108411310B
Authority
CN
China
Prior art keywords
interface
detection
pin
detection pin
signal
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
CN201810107223.6A
Other languages
Chinese (zh)
Other versions
CN108411310A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810107223.6A priority Critical patent/CN108411310B/en
Publication of CN108411310A publication Critical patent/CN108411310A/en
Application granted granted Critical
Publication of CN108411310B publication Critical patent/CN108411310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • CCHEMISTRY; METALLURGY
    • C23COATING METALLIC MATERIAL; COATING MATERIAL WITH METALLIC MATERIAL; CHEMICAL SURFACE TREATMENT; DIFFUSION TREATMENT OF METALLIC MATERIAL; COATING BY VACUUM EVAPORATION, BY SPUTTERING, BY ION IMPLANTATION OR BY CHEMICAL VAPOUR DEPOSITION, IN GENERAL; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL
    • C23FNON-MECHANICAL REMOVAL OF METALLIC MATERIAL FROM SURFACE; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL; MULTI-STEP PROCESSES FOR SURFACE TREATMENT OF METALLIC MATERIAL INVOLVING AT LEAST ONE PROCESS PROVIDED FOR IN CLASS C23 AND AT LEAST ONE PROCESS COVERED BY SUBCLASS C21D OR C22F OR CLASS C25
    • C23F13/00Inhibiting corrosion of metals by anodic or cathodic protection
    • C23F13/02Inhibiting corrosion of metals by anodic or cathodic protection cathodic; Selection of conditions, parameters or procedures for cathodic protection, e.g. of electrical conditions
    • C23F13/06Constructional parts, or assemblies of cathodic-protection apparatus
    • C23F13/08Electrodes specially adapted for inhibiting corrosion by cathodic protection; Manufacture thereof; Conducting electric current thereto
    • C23F13/22Monitoring arrangements therefor
    • CCHEMISTRY; METALLURGY
    • C23COATING METALLIC MATERIAL; COATING MATERIAL WITH METALLIC MATERIAL; CHEMICAL SURFACE TREATMENT; DIFFUSION TREATMENT OF METALLIC MATERIAL; COATING BY VACUUM EVAPORATION, BY SPUTTERING, BY ION IMPLANTATION OR BY CHEMICAL VAPOUR DEPOSITION, IN GENERAL; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL
    • C23FNON-MECHANICAL REMOVAL OF METALLIC MATERIAL FROM SURFACE; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL; MULTI-STEP PROCESSES FOR SURFACE TREATMENT OF METALLIC MATERIAL INVOLVING AT LEAST ONE PROCESS PROVIDED FOR IN CLASS C23 AND AT LEAST ONE PROCESS COVERED BY SUBCLASS C21D OR C22F OR CLASS C25
    • C23F13/00Inhibiting corrosion of metals by anodic or cathodic protection
    • C23F13/02Inhibiting corrosion of metals by anodic or cathodic protection cathodic; Selection of conditions, parameters or procedures for cathodic protection, e.g. of electrical conditions
    • C23F13/04Controlling or regulating desired parameters
    • CCHEMISTRY; METALLURGY
    • C23COATING METALLIC MATERIAL; COATING MATERIAL WITH METALLIC MATERIAL; CHEMICAL SURFACE TREATMENT; DIFFUSION TREATMENT OF METALLIC MATERIAL; COATING BY VACUUM EVAPORATION, BY SPUTTERING, BY ION IMPLANTATION OR BY CHEMICAL VAPOUR DEPOSITION, IN GENERAL; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL
    • C23FNON-MECHANICAL REMOVAL OF METALLIC MATERIAL FROM SURFACE; INHIBITING CORROSION OF METALLIC MATERIAL OR INCRUSTATION IN GENERAL; MULTI-STEP PROCESSES FOR SURFACE TREATMENT OF METALLIC MATERIAL INVOLVING AT LEAST ONE PROCESS PROVIDED FOR IN CLASS C23 AND AT LEAST ONE PROCESS COVERED BY SUBCLASS C21D OR C22F OR CLASS C25
    • C23F13/00Inhibiting corrosion of metals by anodic or cathodic protection
    • C23F13/02Inhibiting corrosion of metals by anodic or cathodic protection cathodic; Selection of conditions, parameters or procedures for cathodic protection, e.g. of electrical conditions
    • C23F13/06Constructional parts, or assemblies of cathodic-protection apparatus
    • C23F13/08Electrodes specially adapted for inhibiting corrosion by cathodic protection; Manufacture thereof; Conducting electric current thereto
    • C23F13/20Conducting electric current to electrodes

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Mechanical Engineering (AREA)
  • Metallurgy (AREA)
  • Organic Chemistry (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses an interface circuit and an electronic device, wherein the interface circuit comprises an interface and an identification circuit, the interface comprises a first detection pin, and the identification circuit comprises a detection end; the detection end is connected with the first detection pin; the identification circuit inputs a detection signal to the first detection pin through the detection end; the detection signal is used for inhibiting electrochemical corrosion of the first detection pin and the conductive liquid when the first detection pin is contacted with the conductive liquid. According to the embodiment of the application, the conductive liquid can enter the first detection pin of the interface, so that the electrochemical corrosion of the interface is inhibited.

Description

Interface circuit and electronic device
Technical Field
The application relates to the technical field of terminals, in particular to an interface circuit and an electronic device.
Background
With the development of electronic devices such as smart phones, the hardware circuit design of the electronic devices is also more and more complex. Electronic devices are generally configured with a Universal Serial Bus (USB) interface, and the USB interface is used for connecting and communicating between the electronic device and external devices. As one of the USB interfaces, the TYPE-C interface gradually becomes the mainstream of the USB interface because it can be plugged in and unplugged from the USB interface. At present, the problem of electrochemical corrosion of the TYPE-C interface is serious, and solution is urgently needed.
Disclosure of Invention
The embodiment of the application provides an interface circuit and an electronic device, which can solve the problem of electrochemical corrosion of an interface.
A first aspect of an embodiment of the present application provides an interface circuit, including an interface and an identification circuit, where:
the interface comprises a first detection pin, and the identification circuit comprises a detection end;
the detection end is connected with the first detection pin;
the identification circuit inputs a detection signal to the first detection pin through the detection end; the detection signal is used for inhibiting electrochemical corrosion of the first detection pin and the conductive liquid when the first detection pin is in contact with the conductive liquid.
A second aspect of the embodiments of the present application provides an electronic device, including a housing and the interface circuit of the first aspect of the embodiments of the present application, a groove is formed on the housing, the interface circuit includes an interface and a controller, and the interface is disposed in the groove.
The embodiment of the application has the following beneficial effects:
the identification circuit inputs a detection signal to the first detection pin through the detection end; the detection signal is used for inhibiting the first detection pin from being electrochemically corroded with the conductive liquid when the first detection pin is contacted with the conductive liquid. When the interface is not connected with external equipment, the interface can not be subjected to electrochemical corrosion even if the first detection pin of the interface enters the conductive liquid.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an interface circuit disclosed in an embodiment of the present application;
fig. 2 is a schematic location diagram of a TYPE-C interface disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a TYPE-C interface disclosed in an embodiment of the present application;
fig. 4 is a schematic connection diagram of an identification circuit and a TYPE-C interface disclosed in an embodiment of the present application;
FIG. 5 is a schematic diagram of another interface circuit disclosed in the embodiments of the present application;
FIG. 6 is a schematic diagram of another interface circuit disclosed in the embodiments of the present application;
fig. 7 is a schematic structural diagram of a TYPE-C interface circuit disclosed in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the embodiments. 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 claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, system, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In addition, the electronic device according to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an interface circuit disclosed in an embodiment of the present application, and as shown in fig. 1, the interface circuit includes an interface 11 and an identification circuit 12, where:
the interface 11 comprises a first detection pin 111, and the identification circuit 12 comprises a detection terminal 121;
the first detection pin 111 is connected with the detection terminal 121;
the identification circuit 12 inputs a detection signal to the first detection pin 111 through the detection terminal 121; the detection signal is used for inhibiting electrochemical corrosion of the first detection pin 111 and the conductive liquid when the first detection pin 111 contacts the conductive liquid.
In the embodiment of the application, the electrochemical corrosion is that two electrodes are formed by metal and electrolyte to form a corrosion primary battery, because the electrode potential of the metal is lower than that of the electrolyte, the metal is a negative electrode, the metal and the electrolyte generate oxidation-reduction reaction, the metal loses electrons to become metal oxide, and the metal is corroded. Among them, metals, electrolytes and current circuits are the necessary conditions for electrochemical corrosion.
The conductive liquid may be a liquid containing an electrolyte, for example, mineral water, coffee, fruit juice drink, tea drink, carbonated drink, or the like.
The interface circuit in the embodiment of the present application may be used for a Universal Serial Bus (USB) interface. Specifically, the method can be used for a TYPE-C interface, the TYPE-C interface is generally positioned at the bottom of the smart phone, and the method is used for charging, data transmission and other purposes most of the time. Referring to fig. 2, fig. 2 is a schematic position diagram of a TYPE-C interface disclosed in the embodiment of the present application, and as shown in fig. 2, an interface 11 of the TYPE-C interface is located at the bottom of a smart phone. Wherein, the TYPE-C interface supports the forward insertion and backward insertion of the external equipment.
In the embodiment of the present application, the interface 11 may include a plurality of pins. Taking the TYPE-C interface as an example, 24 pins may be included. For example, please refer to fig. 3, fig. 3 is a schematic structural diagram of a TYPE-C interface disclosed in the embodiment of the present application. As shown in fig. 3, the TYPE-C interface may include 24 total pins a1, a2, A3, a4, a5, A6, a7, A8, a9, a10, a11, a12, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12. The A1, the A12, the B1 and the B12 are grounding pins and are used for grounding. A4, A9, B4 and B9 are power pins for connecting power. A2, A3, a10, a11, B2, B3, B10, and B11 are high-speed signal transmission pins for transmitting high-speed data signals. A6, A7, B6 and B7 are USB data transmission pins for transmitting differential data signals. A8 and B8 are auxiliary interfaces and provide auxiliary functions, and A8 and B8 can have different purposes in different application scenes. A5 is a CC1 pin, B5 is a CC2 pin, and the CC1 pin and the CC2 pin are used to determine the type of an external device connected to the interface 11, and to confirm the data transmission direction, and to confirm whether an inserted external device is being inserted or being inserted reversely.
The first detection pin 111 in the embodiment of the present application corresponds to any one of the 4 ground pins a1, a12, B1, and B12. Since a1, a12, B1, and B12 are ground pins themselves, one of the 4 ground pins is used as the first detection pin 111, the first detection pin 111 is disconnected from the ground terminal, and the other 3 ground pins are still grounded. For example, referring to fig. 4 in detail, fig. 4 is a schematic diagram illustrating a connection between an identification circuit and a TYPE-C interface according to an embodiment of the present disclosure. As shown in fig. 4, the first detection pin 111 is a pin a1, which disconnects the pin a1 from ground, and the pins a12, B1, and B12 are still grounded.
The pin in the interface generally adopts the metal material, and when the pin got into conducting liquid, conducting liquid was equivalent to the electrolyte, if the effective voltage on the pin reaches a definite value, can accelerate the electrochemical corrosion of pin and conducting liquid. In the embodiment of the present application, the detection signal is used to inhibit the first detection pin 111 from being electrochemically corroded with the conductive liquid when the first detection pin 111 enters the conductive liquid. Generally, when the effective voltage of the pin is higher than 1 volt, the pin and the conductive liquid entering the pin will be electrochemically etched faster. When the effective voltage of the pin is lower than 1 volt, the pin and the conductive liquid entering the pin are difficult to be subjected to electrochemical corrosion. In the embodiment of the present application, only the effective voltage value of the detection signal needs to be controlled below 1 volt, so that the first detection pin 111 and the conductive liquid entering the first detection pin 111 can be inhibited from being electrochemically corroded.
Optionally, the detection signal includes a low level signal or a pulse signal.
In the embodiment of the present application, the detection signal adopts a low level signal or a pulse signal, which can ensure that the effective voltage value of the detection signal is low, and when the effective voltage value of the detection signal is low (for example, lower than 1V), the first detection pin 111 and the conductive liquid entering the first detection pin 111 are difficult to be electrochemically corroded.
Wherein, the voltage of the low level signal is between 0.1V and 0.9V.
In the embodiment of the present application, the voltage range of the low level signal is limited to 0.1-0.9V, if the voltage of the low level signal is too high, electrochemical corrosion is easily caused between the first detection pin 111 and the conductive liquid entering the first detection pin 111, and if the voltage of the low level signal is too low, the level of the first detection pin 111 is easily interfered, which may cause the situation of false detection of the identification circuit 12. The voltage of the low level signal can be a fixed value between 0.1 and 0.9V. The low level signal is a fixed voltage that can be easily detected by the identification circuit 12.
Wherein, the effective voltage value of the pulse signal is less than 1V.
In the embodiment of the present application, when the effective voltage value of the detection signal is smaller than 1V, the first detection pin 111 and the conductive liquid entering the first detection pin 111 are difficult to be electrochemically corroded.
Specifically, the duty ratio of the pulse signal is less than 20%, and the amplitude of the pulse signal is less than 5 volts.
In the embodiment of the present application, when the duty ratio of the pulse signal is less than 20%, the effective value of the pulse signal is low. The amplitude of the pulse signal is generally lower than 10V, and when the duty ratio of the pulse signal is less than 20%, the effective value of the pulse signal is lower than 0.1 volt. When the effective voltage value of the pin of the interface 11 is lower than 1 volt, electrochemical corrosion between the pin of the interface 11 and the conductive liquid entering the pin of the interface 11 is difficult to occur. The duty ratio of the pulse signal is set to be less than 20%, so that electrochemical corrosion between the pins of the interface 11 and the conductive liquid entering the pins of the interface 11 can be inhibited.
In the embodiment of the present application, when the amplitude of the pulse signal is less than 5 volts, the effective value of the pulse signal is lower. When the duty ratio of the pulse signal is less than 20%, the effective value of the pulse signal is less than 1 volt. When the effective voltage value of the pin of the interface 11 is lower than 1 volt, electrochemical corrosion between the pin of the interface 11 and the conductive liquid entering the pin of the interface 11 is difficult to occur.
Alternatively, the identification circuit 12 is configured to detect the level of the first detection pin 111 through the detection terminal 121, and to determine that the interface 11 is connected to the external device when the level of the first detection pin 111 is at ground level.
The level of the first detection pin 111 is the level of the detection signal, if the detection signal is a low level signal, the low level signal is between 0.1V and 0.9V, when the interface 11 is not connected to the external device, the level of the first detection pin 111 is between 0.1V and 0.9V, and when the interface 11 is connected to the external device, the level of the first detection pin 111 is pulled to the ground level (i.e., 0V). The identification circuit 12 may determine whether the interface 11 is connected to an external device by detecting whether the level of the first detection pin 111 is a ground level. Determining that the interface 11 is connected to the external device when it is detected that the level of the first detection pin 111 is ground; when it is detected that the level of the first detection pin 111 is not the ground level, it is determined that the interface 11 is not connected to the external device.
The identification circuit 12 in the embodiment of the present application functions to identify whether the interface 12 is connected to an external device. When the first detection pin 111 of the interface 12 is inserted into an external device, the identification circuit 12 determines whether the interface 12 is connected to the external device by detecting whether the level of the first detection pin 111 is the ground level.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another interface circuit disclosed in the embodiment of the present application, and as shown in fig. 5, the interface circuit further includes a controller 13, the controller 13 includes an input terminal 131, and the identification circuit 12 further includes a feedback terminal 122;
the input end 131 is connected with the feedback end 122;
the identification circuit 12 is further configured to send a handshake success signal to the controller 13 through the feedback terminal 122 after determining that the interface 11 is connected to the external device.
In the embodiment of the present application, the controller 13 may include a processor and a memory, the processor is a control center of the electronic device, various interfaces and lines are used to connect various parts of the whole electronic device, and various functions of the electronic device and processing data are executed by running or executing software programs and/or modules stored in the memory and calling data stored in the memory, so as to perform overall monitoring on the electronic device. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory may be used for storing software programs and modules, and the processor executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
After the identification circuit 12 determines that the interface 11 is connected to the external device, it sends a handshake success signal to the controller 13 through the feedback terminal 122, where the handshake success signal is used to notify the controller 13 that the interface 11 has been inserted into the external device. The controller 13 in this embodiment of the application does not need to detect whether the interface 11 is plugged into an external device, but confirms whether the interface 11 is plugged into the external device by receiving a handshake success signal sent by the identification circuit 12, so that power consumption of the controller 13 can be saved.
Optionally, referring to fig. 6, fig. 6 is a schematic structural diagram of another interface circuit disclosed in the embodiment of the present application, and fig. 6 is obtained by further optimizing on the basis of fig. 5. As shown in fig. 6, the controller 13 further includes a first output 132 and a second output 133, and the interface 11 further includes a second detection pin 112 and a third detection pin 113;
the second detection pin 112 is connected to the first output 132, and the third detection pin 113 is connected to the second output 133;
the controller 13 is further configured to identify the type of the external device through the first output 132 and the second output 133 after the input 131 receives the handshake success signal sent by the identification circuit 12.
In the embodiment of the present application, the interface 11 is exemplified by a TYPE-C interface, and the second detection pin 112 corresponds to a5 pin of the TYPE-C interface, that is, a CC1 pin; the second detection pin 113 corresponds to a pin B5 of the TYPE-C interface, which is a pin CC 2. The CC1 pin and the CC2 pin are used to determine the type of external device connected to the interface 11, and to confirm the data transfer direction, and to confirm whether the inserted external device is being inserted or being inserted reversely.
The way that the controller 13 identifies the type of the external device through the first output 132 and the second output 133 is specifically: the controller 13 determines the type of the inserted external device by detecting the level sizes of the second and third detection pins 112 and 113 through the first and second outputs 132 and 133, respectively.
Optionally, the controller 13 is further configured to close the outputs of the first output 132 and the second output 133 or set the output levels of the first output 132 and the second output 133 to zero before the input 131 receives the handshake success signal sent by the identification circuit.
In the embodiment of the present application, the second detection pin 112 of the controller 13 is connected to the first output 132 of the interface 11, and the third detection pin 113 of the controller 13 is connected to the second output 133 of the interface 11. Before the input terminal 131 receives the handshake success signal sent by the identification circuit 12, that is, before no external device is inserted, the first output terminal 132 and the second output terminal 133 of the controller 13 turn off the output or the output level is zero (that is, the output is at the ground level), that is, before no external device is inserted, the second detection pin 112 and the third detection pin 113 have no level signal, and when the interface 11 is not inserted into an external device, even if the second detection pin 112 and the third detection pin 113 enter the conductive liquid, electrochemical corrosion does not occur.
The following illustrates the principles of the present application by taking the TYPE-C interface as an example. Referring to fig. 7, fig. 7 is a schematic structural diagram of a TYPE-C interface circuit according to an embodiment of the present disclosure. As shown in fig. 7, a12, B1, B12 of the TYPE-C interface 11 are grounded as ground pins. The original ground pin a1 of the TYPE-C interface 11 is modified to be the first detection pin 111, the first detection pin 111 receives the detection signal sent from the detection terminal 121 of the identification circuit 12, when the first detection pin 111 is plugged into the ground pin of the external device, the level of the first detection pin 111 is pulled to the ground level, and at this time, the identification circuit 12 can identify that the TYPE-C interface 11 is plugged into the external device, the identification circuit 12 outputs a handshake success signal to the input end 131 of the controller 13 through the feedback end 122, and after the controller 13 knows that the TYPE-C interface 11 is plugged into the external device through the handshake success signal, the first output 132 and the second output 133 of the controller 13 start outputting the device TYPE detection signal to the second detection pin 112 (i.e. the CC1 pin) and the third detection pin 113 (i.e. the CC2 pin) of the TYPE-C interface 11, the device TYPE detection signal is used to detect the TYPE of the external device inserted into the TYPE-C interface 11. In terms of suppressing electrochemical corrosion, the embodiment of the present application does not adopt the conventional method of detecting the second detection pin 112 (i.e., the CC1 pin) and the third detection pin 113 (i.e., the CC2 pin) of the TYPE-C interface 11 through the first output 132 and the second output 133 of the controller 13, but modifies one of the ground pins of the TYPE-C interface 11 into a detection pin for detecting whether the TYPE-C interface 11 is inserted into an external device through the identification circuit 12, and the voltage effective value of the detection signal output by the identification circuit 12 to the first detection pin 111 of the TYPE-C interface 11 is low, and the first detection pin 111 is not subject to electrochemical corrosion even if the first detection pin 111 enters a conductive liquid. Before the TYPE-C interface 11 is not inserted into an external device, the second detection pin 112 and the third detection pin 113 of the TYPE-C interface 11 have no level signal, and even if the TYPE-C interface 11 enters a conductive liquid, electrochemical corrosion cannot be generated.
Optionally, the identification circuit 12 comprises a micro-control unit or comparator.
In the embodiment of the present application, a Micro Controller Unit (MCU) may be used to identify the change of the pulse signal. The comparator is used for identifying the change of the low-level signal.
The embodiment of the application provides an electronic device, which comprises a shell and an interface circuit, wherein a groove is formed in the shell, the interface circuit comprises an interface and a controller, and the interface is arranged in the groove.
An electronic device is also provided in the embodiments of the present application, as shown in fig. 8, for convenience of description, only the relevant portions of the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the circuit portions of the embodiments of the present application. The electronic device may be any terminal equipment including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the electronic device as the mobile phone as an example:
referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application, and fig. 8 illustrates a mobile phone as an example. Referring to fig. 8, the handset includes: a Radio Frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wireless Fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 8:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. Fingerprint identification module 931, can gather the fingerprint data of user above it. The input unit 930 may include other input devices 932 in addition to the fingerprint recognition module 931. In particular, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941, and optionally, the display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 8, the fingerprint recognition module 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint recognition module 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and then processes the audio data by the audio data playing processor 980, and then sends the audio data to, for example, another mobile phone through the RF circuit 910, or plays the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 4 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces (e.g., a UART interface and a USB interface) and lines, performs various functions of the mobile phone and processes data by running or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby monitoring the mobile phone as a whole. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an Application Processor (AP), which mainly handles operating systems, user interfaces, application programs, etc., and a Modem processor (Modem), which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
The mobile phone may further include a camera 9100, and the camera 9100 is used for shooting images and videos and transmitting the shot images and videos to the processor 980 for processing.
The mobile phone can also be provided with a Bluetooth module and the like, which are not described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the core concepts of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An interface circuit comprising an interface and an identification circuit, wherein:
the interface comprises a first detection pin, the identification circuit comprises a detection end, the interface is a TYPE-C interface, the TYPE-C interface comprises 4 grounding pins, and the first detection pin is a pin disconnected with the grounding end in the 4 grounding pins;
the detection end is connected with the first detection pin;
the identification circuit inputs a detection signal to the first detection pin through the detection end; the detection signal is used for inhibiting electrochemical corrosion of the first detection pin and conductive liquid when the first detection pin is contacted with the conductive liquid;
the identification circuit is used for detecting the level of the first detection pin through the detection terminal and determining that the interface is connected with an external device when the level of the first detection pin is the ground level.
2. The interface circuit of claim 1, wherein the interface circuit further comprises a controller, the controller comprising an input, the identification circuit further comprising a feedback;
the input end is connected with the feedback end;
the identification circuit is further configured to send a handshake success signal to the controller through the feedback terminal after it is determined that the interface is connected to the external device.
3. The interface circuit of claim 2, wherein the controller further comprises a first output and a second output, and wherein the interface further comprises a second detect pin and a third detect pin;
the second detection pin is connected with the first output end, and the third detection pin is connected with the second output end;
the controller is further configured to identify the type of the external device through the first output terminal and the second output terminal after the input terminal receives the handshake success signal sent by the identification circuit.
4. The interface circuit of claim 3, wherein the controller is further configured to turn off the outputs of the first and second output terminals or set the output levels of the first and second output terminals to zero before the input terminal receives the handshake success signal sent by the identification circuit.
5. The interface circuit according to any one of claims 1 to 4, wherein the detection signal comprises a low level signal or a pulse signal.
6. The interface circuit of claim 5, wherein the identification circuit comprises a micro control unit for identifying a change in the pulse signal or a comparator for identifying a change in the low level signal.
7. The interface circuit of claim 6, wherein the voltage of the low level signal is between 0.1V and 0.9V.
8. The interface circuit of claim 7, wherein the voltage effective value of the pulse signal is less than 1V.
9. The interface circuit of claim 8, wherein the duty cycle of the pulse signal is less than 20% and the amplitude of the pulse signal is less than 5 volts.
10. An electronic device, comprising a housing and the interface circuit according to any one of claims 1 to 9, wherein the housing has a recess, the interface circuit comprises an interface and a controller, and the interface is disposed in the recess.
CN201810107223.6A 2018-02-02 2018-02-02 Interface circuit and electronic device Active CN108411310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810107223.6A CN108411310B (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810107223.6A CN108411310B (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Publications (2)

Publication Number Publication Date
CN108411310A CN108411310A (en) 2018-08-17
CN108411310B true CN108411310B (en) 2019-12-27

Family

ID=63127528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810107223.6A Active CN108411310B (en) 2018-02-02 2018-02-02 Interface circuit and electronic device

Country Status (1)

Country Link
CN (1) CN108411310B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286220B (en) * 2018-11-13 2021-05-07 Oppo(重庆)智能科技有限公司 Charging circuit, charging processing method, electronic device, and storage medium
CN110749845A (en) * 2019-10-14 2020-02-04 Oppo(重庆)智能科技有限公司 Socket foreign matter detection method and device, storage medium and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203411615U (en) * 2013-07-30 2014-01-29 钱伟 Potential detector and water heater equipped with same
CN106058975A (en) * 2016-06-15 2016-10-26 维沃移动通信有限公司 Protection circuit, method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203411615U (en) * 2013-07-30 2014-01-29 钱伟 Potential detector and water heater equipped with same
CN106058975A (en) * 2016-06-15 2016-10-26 维沃移动通信有限公司 Protection circuit, method and mobile terminal

Also Published As

Publication number Publication date
CN108411310A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN107947825B (en) Antenna selection circuit and mobile terminal
CN106549451B (en) A kind of wireless charging method and device
CN107613126B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN106845422B (en) Fingerprint identification module, fingerprint identification method and mobile terminal
CN103605077B (en) Predetermined battery recognition methods, device and electronic equipment
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN107678989B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN108415865A (en) Interface circuit and electronic device
CN108920390B (en) Insertion detection circuit, insertion detection method, and electronic device
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
CN110138052B (en) Charging control method and related product
CN108767919B (en) Charging device, terminal equipment and charging method
CN110536193B (en) Audio signal processing method and device
CN109995110B (en) Connector, electronic equipment, data transmission method and device
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN108411310B (en) Interface circuit and electronic device
CN110352532B (en) Method for detecting swelling of rechargeable battery and portable electronic equipment
EP3570404A1 (en) Power supply control method and apparatus, storage medium, and electronic device
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN108959002B (en) Insertion detection circuit, insertion detection method, and electronic device
CN110896240B (en) Charging control method and device, computer readable storage medium and terminal
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN110190641B (en) Charging control circuit, terminal equipment and data line
CN108255632B (en) Fall data calculation method based on artificial intelligence and related product

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant