CN219475810U - Detection circuit and electronic equipment - Google Patents

Detection circuit and electronic equipment Download PDF

Info

Publication number
CN219475810U
CN219475810U CN202320570838.9U CN202320570838U CN219475810U CN 219475810 U CN219475810 U CN 219475810U CN 202320570838 U CN202320570838 U CN 202320570838U CN 219475810 U CN219475810 U CN 219475810U
Authority
CN
China
Prior art keywords
usbtype
pin
connector
female
seat connector
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
CN202320570838.9U
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202320570838.9U priority Critical patent/CN219475810U/en
Application granted granted Critical
Publication of CN219475810U publication Critical patent/CN219475810U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The disclosure provides a detection circuit and electronic equipment, and relates to the technical field of circuit detection, wherein the detection circuit comprises a detection pin and a comparator, and the detection pin is arranged on a USBType-C female seat connector; the first input port of the comparator is connected with the first voltage output end, the second input port of the comparator is connected with the detection pin, when the USB Type-C male seat connector is not connected in the female seat connector, the detection pin is connected with the second voltage output end, and when the male seat connector is connected in the female seat connector, the detection pin is connected with the male seat connector. In the present disclosure, whether the CC pin of the detection pin replacing the female seat connector is connected to the male seat connector is detected in the female seat connector, so that the problem of CC pin leakage and corrosion of the female seat connector caused by long-time electrified exposure of the CC pin to the environment with higher voltage is avoided, and the use reliability and safety of the female seat connector are improved.

Description

Detection circuit and electronic equipment
Technical Field
The disclosure relates to the technical field of detection circuits, and in particular relates to a detection circuit and electronic equipment.
Background
The Type-C interface is a USB (universal serial bus) Type-C connector, and is characterized by supporting a function of "plug-in" that both the front and back sides can be plugged in, but the corrosion problem of the ports of the Type-C interface is serious, which affects the quality and user experience of the electronic device.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a detection circuit and an electronic device.
According to a first aspect of the present disclosure, there is provided a detection circuit comprising:
the detection pin is arranged on the USBType-C female seat connector;
the comparator comprises a first input port and a second input port, wherein the first input port is connected with a first voltage output end, and the first voltage output end outputs a first voltage signal;
when the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is connected with the USBType-C male seat connector through the detection pin, the output port of the comparator is used for outputting a first indication signal, and the first indication signal is used for representing that the USBType-C male seat connector is inserted into the USBType-C female seat connector;
when the USBType-C male seat connector is not inserted into the USBType-C female seat connector, the second input port is connected with the second voltage output end through the detection pin, the second voltage output end is used for outputting a second voltage signal, the output port outputs a second indication signal, the second indication signal is used for representing that the USBType-C female seat connector is in an empty state, and the CC pin of the USBType-C female seat connector is in a power-off state.
Optionally, a switch is arranged between the second voltage output end and the detection pin, and the detection circuit further comprises a timer, wherein the timer is connected with the switch and is used for outputting a pulse signal to the switch so as to turn on or off the switch;
the switch is turned on, and the second voltage output end is connected with the detection pin;
and the switch is closed, and the second voltage output end is disconnected with the detection pin.
Optionally, the detection circuit further includes a controller electrically connected to the timer, the output port, the first voltage output terminal, and the second voltage output terminal, respectively.
Optionally, when the usb type-C male socket connector is inserted into the usb type-C female socket connector, the controller is electrically connected to the CC pin of the usb type-C female socket connector;
when the USBType-C male seat connector is not inserted into the USBType-C female seat connector, the controller is electrically disconnected from the CC pin of the USBType-C female seat connector.
Optionally, the USBType-C female connector comprises a plurality of female ground pins, and the detection pin is set to any one of the plurality of female ground pins.
Optionally, the A1 pin of the USBType-C female connector is set as the detection pin.
Optionally, the USBType-C male socket connector includes a plurality of male socket grounding pins, where the plurality of male socket grounding pins are arranged in one-to-one correspondence with the plurality of female socket grounding pins;
when the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is grounded through the detection pin and the male seat grounding pin corresponding to the detection pin.
Optionally, the detection pin is connected with a conductor arranged around the detection pin in an insulating manner.
According to a second aspect of the present disclosure, there is provided an electronic device comprising the detection circuit of the first aspect of the present disclosure.
Optionally, the electronic device further comprises a charging chip, and the comparator, the timer, the switch and the controller of the detection circuit are arranged on the charging chip.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: through setting up comparator and detection pin, and then whether insert USB Type-C public seat connector in the female seat connector of USBType-C according to the signal of telecommunication that detects the pin department, replace the CC pin detection of the female seat connector of USBType-C, avoid the CC pin to expose the CC pin electricity leakage and the corruption problem of female seat connector that lead to in the environment with higher voltage electrified for a long time, promoted female seat connector's reliability in use and security.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the utility model and together with the description, serve to explain the principles of the utility model.
Fig. 1 is a circuit diagram of a detection circuit shown according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the utility model. Rather, they are merely examples of apparatus and methods consistent with aspects of the utility model as detailed in the accompanying claims.
At present, electronic equipment all adopts USBType-C connector, including USBType-C female seat connector and USB Type-C male seat connector, set up a CC pin on the USBType-C female seat connector, set up two CC pins on the USBType-C male seat connector, and two CC pins on the USBType-C male seat connector set up relatively.
When the CC pin on the USBType-C female seat connector detects that the CC pin on the USBType-C male seat connector is accessed, the fact that the USBType-C male seat connector is inserted into the USBType-C female seat connector can be determined, and then charging and data transmission can be conducted.
To ensure that the usb type-C female connector can quickly detect when the usb type-C male connector is inserted, the CC pin of the usb type-C female connector needs to remain charged even when no device is connected in the usb type-C female connector, and therefore, the CC pin of the usb type-C female connector needs to be maintained at a high frequency power supply. Moreover, the voltage of the CC pin of the USB Type-C female connector needs to be kept at 1.8V or 3.3V, which causes the CC pin of the USB Type-C female connector to be in a high-frequency and high-voltage state for a long time, and if liquid, metal, dust, or the like enters into the USB Type-C female connector when the USB Type-C female connector is not connected to a device, the CC pin of the USB Type-C female connector is easily corroded at high frequency and high voltage, thereby shorting between the CC pin of the USB Type-C female connector and other pins of the USB Type-C female connector, which results in failure of the function of the USB Type-C female connector.
In order to solve the problem of port corrosion caused by CC pin leakage, noble metals with better corrosion resistance such as rhodium ruthenium, platinum and the like are electroplated in the related technology, and a protective layer is formed on the CC pin of the USBType-C female connector. The noble metal forms the protective layer with high cost, and as the number of plugging and unplugging times of the USBType-C female connector increases, the protective layer is worn, and the effect of the protective layer for preventing corrosion is reduced.
In the related art, a scheme is also adopted, a fixed constant current source is arranged on the equipment to be detected, when the equipment to be detected is inserted into the USBType-C female seat connector, the current of the constant current source of the equipment to be detected flows through the CC pin of the USBType-C female seat connector, and the pins of the USBType-C female seat connector form differential pressure. The equivalent impedance to ground can then be determined from the calculation formulas for resistance, current and voltage. However, this method requires adding an additional impedance detection chip in the electronic device, which increases the cost, and the accuracy of impedance detection is poor and is easily affected by other factors, and the CC pin is turned off due to incorrect identification. Moreover, the impedance detection often has certain hysteresis, after the CC pins of the USBType-C female connector are corroded, the to-be-detected equipment is inserted into the USBType-C female connector, the impedance of the CC pins of the USBType-C female connector is changed to detect abnormality, the CC pins are directly closed after the abnormality is detected, and the USBType-C female connector cannot continuously identify the plugging equipment.
In order to solve the above problems, the present disclosure provides a detection circuit, which includes a detection pin and a comparator, wherein the detection pin is disposed on a usb type-C female socket connector; the comparator comprises a first input port and a second input port, the first input port is connected with the first voltage output end 3, the second input port of the comparator is connected with a detection pin, when the USBType-C male seat connector is not connected in the USBType-C female seat connector, the detection pin is connected with the second voltage output end, and when the USBType-C male seat connector is connected in the USBType-C female seat connector, the detection pin is grounded through the connection of the USBType-C male seat connector. According to the detection circuit, whether the USBType-C male seat connector is connected in the USBType-C female seat connector or not can be determined according to the electric signals at the detection pins by arranging the comparator and the detection pins, the CC pin detection of the USBType-C female seat connector is replaced, the problem of CC pin leakage and corrosion of the female seat connector caused by long-time electrified exposure of the CC pin in the environment with higher voltage is avoided, and the use reliability and safety of the female seat connector are improved.
According to an exemplary embodiment, a detection circuit is provided, which is applied to a usb type-C female socket connector and is used for detecting whether a device is connected to the usb type-C female socket connector, and the usb type-C female socket connector can be arranged on an electronic device such as a mobile phone, a tablet computer, a notebook computer, an intelligent wearable device, etc. which needs to be charged or data transmission is performed.
As shown in fig. 1, the detection circuit includes a detection pin 1 and a comparator 2, where the detection pin 2 is disposed on the usb type-C socket connector, and the detection pin 1 uses pins originally existing on the usb type-C socket connector, and no additional pins are required, such as a ground pin or other pins that do not affect the charging stage or the data transmission stage. The comparator 2 is arranged on a control chip of the electronic device or on a charging chip, and no additional chip is required.
The comparator 2 includes a first input port (a port located above the comparator shown in fig. 1) connected to a first voltage output terminal 3, and a second input port, the first voltage output terminal 3 outputting a first voltage signal.
A second input port of the comparator 2 (the port shown in fig. 1 located below the comparator) is connected to the detection pin 1 and the second voltage output 4, respectively. When the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is connected with the USBType-C male seat connector through the detection pin 1, and the output port of the comparator 2 is used for outputting a first indication signal, and the first indication signal is used for representing that the USBType-C male seat connector is inserted into the USB Type-C female seat connector. When the USBType-C male seat connector is not inserted into the USBType-C female seat connector, the second input port is connected with the second voltage output end 4 through the detection pin 1, the second voltage output end 4 is used for outputting a second voltage signal, the output port 2 outputs a second indication signal, and the second indication signal is used for representing that the USBType-C female seat connector is in an empty state. The first indication signal may be a high level signal, for example, and the second indication signal may be a low level signal, for example.
In some embodiments, in order to enhance the safety of the circuit and avoid a short circuit condition, a pull-up load 5 is disposed between the detection pin 1 and the second voltage output terminal 4, and the pull-up load 5 may be, for example, a resistor. When the USBType-C female connector is not connected with the USBType-C male connector, the detection pin 1 is connected to the second voltage output end 4 through the pull-up load 5, the second voltage output end 4 outputs a second voltage signal, the voltage of the detection pin 1 is pulled up to a preset voltage, the preset voltage can be 0.5V, and the preset voltage is much lower than 1.8V or 3.3V of the CC pin 9 of the USBType-C female connector because the preset voltage is 0.5V, the detection pin 1 is kept in a long-time electrified state under the lower preset voltage, and compared with the CC pin 9 of the USBType-C female connector, the detection pin 1 is not easy to corrode.
As shown in fig. 1, the second input port of the comparator 2 obtains the voltage of the detection pin 1, and the first input port of the comparator 2 is connected to the first voltage output terminal 3, so as to receive the first voltage signal output by the first voltage output terminal 3, where the first voltage signal is lower than the preset voltage. After the comparator 2 receives the first voltage signal and the second voltage signal, the first voltage signal is used as a reference voltage, the voltage of the detection pin 1 is compared with the first voltage signal, if the detection pin 1 presents a high level state relative to the first voltage signal, that is, the voltage of the detection pin is larger than the first voltage signal, the connection between the detection pin 1 and the second voltage output end 4 is indicated, the second voltage output end 4 pulls up the voltage of the detection pin 1 to a preset voltage, the USBType-C female connector is not connected with the USBType-C male connector, the USBType-C female connector is in an empty state, and the comparator 2 outputs a second indication signal.
If the detection pin 1 presents a low level state relative to the first voltage signal, that is, the voltage of the detection pin 1 is lower than the first voltage signal, the connection between the detection pin 1 and the second voltage output end 4 is interrupted, the detection pin 1 is connected with a pin of the USBType-C male connector, the USBType-C male connector is connected into the USBType-C female connector, and the comparator 2 outputs a first indication signal to a control chip or a charging chip of the electronic device, so that the electronic device is controlled to be charged or data transmission is controlled.
According to the detection circuit, whether the USBType-C male seat connector is connected in the USBType-C female seat connector or not is judged according to the level state of the detection pin 1 relative to the first voltage output end 3 by comparing the voltage of the detection pin 1 with the voltage of the first voltage output end 3, whether equipment is connected in the USBType-C female seat connector or not can be replaced by the CC pin 9, the detection frequency and the working time of the CC pin 9 are reduced, the working voltage of the CC pin 9 is 1.8V-3.3V when the detection pin 1 is detected, the working voltage of the detection pin 1 is 0.5V, the working voltage of the detection pin 1 is lower than the working voltage of the CC pin 9, and therefore the problems that the electrified pin of the USBType-C female seat connector is exposed to the environment in a high voltage are solved, and the service reliability and the safety of the female seat connector are improved.
According to an exemplary embodiment, as shown in fig. 1, a switch 7 is disposed between the second voltage output terminal 4 and the detection pin 1, and the detection circuit further includes a timer 6, where the timer 6 is connected to the switch 7, and the timer 6 is configured to output a pulse signal to the switch 7 to turn on or off the switch 7. The switch 7 is turned on, and the second voltage output end 4 is connected with the detection pin 1; the switch 7 is closed and the second voltage output 4 is disconnected from the detection pin 1.
As shown in fig. 1, the timer 6 continuously outputs a pulse signal to the switch 7, the switch 7 is turned on in response to the pulse signal, the second voltage output end 4 is connected with the detection pin 1, the detection pin 1 is electrified to detect, and the detection circuit starts to detect whether equipment is connected into the USB Type-C female socket connector. The set period of the timer 6 includes a pulse time and a dead time, and when the timer runs to the dead time, the second voltage output terminal 4 is disconnected from the detection pin 1. By adjusting the duty cycle in the set period of the timer 6 and setting the operation mode of the timer 6 to continuous operation, i.e. the end of one set period is followed by the next set period.
For example, the period of the pulse signal output by the timer 6 is 17ms, the duty ratio of the positive output is 1/17, that is, the duration of the pulse signal is 1ms, the duration of the idle signal is 16ms, in one set period, the switch 7 is turned on for 1ms and then turned off for 16ms, then the next set period is entered, the switch 7 is turned on for 1ms and then turned off for 16ms, and the above steps are circulated. The timer 6 in the disclosure can keep the detection pin 1 in a low-frequency connection state by setting the duty ratio, and when no physical structure is inserted into the usb type-C female socket connector, the detection pin 1 is combined with a lower preset voltage output by the second voltage output end 4, so that the detection pin 1 is kept in a low-frequency and short-time electrified state under the lower preset voltage, and the probability of corrosion of the detection pin is further reduced. Because the CC pin 9 of the USBType-C female connector is not electrified in the working process of the detection pin 1, the CC pin 9 can be prevented from being corroded due to the fact that the CC pin is in a high-voltage high-frequency working state for a long time.
Of course, it will be appreciated that the above setting period is merely an example, and in the implementation process, the output high level time may be configured from 400us, 1ms, 2ms, 4ms, 10ms, 40ms, 100ms, 400ms through adjustment of the timer 6 parameter, and the off time (i.e. the idle time) may be configured to output multiple of the high level, 16x, 128x, 512x, 1024x, so as to adjust the operating frequency of the detection pin 1.
According to an exemplary embodiment, as shown in fig. 1, the detection circuit further comprises a controller 8, the controller 8 being electrically connected to the timer 6, the output port of the comparator 2, the first voltage output 3 and the second voltage output 4, respectively. The controller 8 may be provided on a control chip of the electronic device or may be provided on a charging control chip.
As shown in fig. 1, the controller 8 is configured to control the duty ratio of the set period of the pulse signal of the timer 6 so that the detection circuit detects at a low frequency. When the detection circuit detects (i.e. when the switch 7 is turned on), the controller 8 controls the first voltage output terminal 3 to output a first voltage signal as a reference voltage, the first voltage signal may be 0.5V, and simultaneously, the controller 8 controls the second voltage output terminal 4 to output a second voltage signal, the second voltage signal pulls up the voltage of the detection pin 1 to a preset voltage, and the preset voltage may be 0.5V.
As shown in fig. 1, the comparator 2 compares the voltage of the detection pin 1 with the first voltage signal of the first voltage output end 3 to determine whether the detection pin 1 is in a high level state or in a low level state, and if the detection pin 1 is in the high level state, the detection pin 1 is connected with the second voltage output end 4, the comparator 2 outputs a second indication signal to the controller 8 through the output port, which indicates that the usb type-C female socket connector is in a vacant state, and the controller 8 controls the CC pin 9 of the usb type-C female socket connector to be in a power-off state. The detection pin 1 is in a low level state, which means that the detection pin 1 is disconnected from the second voltage output end 4, the comparator 2 outputs a first indication signal to the controller 8 through the output port, the USB Type-C female socket connector is characterized in that the USB Type-C male socket connector is connected, the controller 8 controls the CC pin 9 to be powered on, and controls the CC pin 9 to detect whether the USB Type-C male socket connector inserted into the USB Type-C female socket connector is valid or not.
According to an exemplary embodiment, as shown in fig. 1, when the usb type-C male socket connector is inserted into the usb type-C female socket connector, the controller 8 is electrically connected to the CC pin 9 of the usb type-C female socket connector, where the electrical connection refers to the controller 8 controlling the power-up of the CC pin 9 of the usb type-C female socket connector. When the USBType-C male socket connector is not inserted into the USBType-C female socket connector, the controller 8 is electrically disconnected from the CC pin 9 of the USBType-C female socket connector, and the electrical disconnection refers to the controller 8 controlling the CC pin 9 of the USBType-C female socket connector to be powered off.
In the present disclosure, the CC pin 9 of the usb type-C female connector is in a power-off state for a long time, and only when the controller 8 receives the first indication signal from the output of the comparator 2, the controller 8 controls the CC pin 9 to be powered on, so as to further detect the physical structure inserted into the usb type-C female connector, so as to ensure the reliability of the subsequent charging process or the signal transmission process.
The switch 7 of the detection circuit is turned on or off according to the pulse period, so that the detection circuit detects whether the USB Type-C female socket connector is connected to the USB Type-C male socket connector at a lower frequency, and when the detection circuit detects that the voltage of the detection pin 1 is in a low level state relative to the reference voltage of the first voltage output end 3, the comparator 2 transmits a first indication signal to the controller 8 through the output port. The controller 8 responds to the first indication signal to control the CC pin 9 to be electrified for detection, further detects whether equipment is connected into the USBType-C female socket connector, and makes an accurate detection result, and after the detection task of the CC pin 9 is completed, the controller 8 controls the CC pin 9 to be switched to a power-off state. The CC pin 9 is reduced and is exposed to the environment for a long time in the electrified state, so that the problems of electric leakage and corrosion of the CC pin 9 are avoided.
According to an exemplary embodiment, the USBType-C female connector comprises a plurality of female ground pins, the detection pin 1 being set to any one of the plurality of female ground pins. Whether detect in the female seat connector of USBType-C and insert equipment with female seat ground pin as detecting pin 1, need not to change the standard structure of the female seat connector of USBType-C.
Illustratively, the usb type-C female socket connector includes four female socket ground pins, the a face of the usb type-C female socket connector is provided with two female socket ground pins of A1 pin and A2 pin, and the B face of the usb type-C female socket connector is provided with two female socket ground pins of B1 pin and B2 pin. Three of the four female ground pins are electrically connected together to form the ground point of the usb type-C female connector. The other female seat grounding pin of the four female seat grounding pins is not connected to the grounding point any more, but is electrically connected with the second voltage output end 4, and the independently arranged female seat grounding pin is used as a detection pin 1 of a detection circuit and is connected with the second voltage output end 4 through a switch 7. The sense pin 1 may be provided as any one of a plurality of female ground pins. For example, in this embodiment, the A1 pin of the USBType-C female connector is set to detect pin 1.
By adopting the structure in the disclosure, the structure of the USBType-C female seat connector is not required to be improved, and only the wiring mode of one grounding pin of the grounding pins is required to be improved, so that the grounding pin can be used as the detection pin 1, and the detection circuit in the disclosure is realized. The ground pin as the detection pin needs to be insulated from the surrounding metal or the like having a conductive function.
According to an exemplary embodiment, the USBType-C male socket connector comprises a plurality of male socket grounding pins, and the plurality of male socket grounding pins are arranged in one-to-one correspondence with the plurality of female socket grounding pins. When the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is grounded through the detection pin 1 and a male seat grounding pin corresponding to the detection pin 1. The plurality of male ground pins of the usb type-C male connector are electrically connected together to form a ground point of the usb type-C male connector, the ground point of the usb type-C male connector being connected to a ground point of an external structure.
Illustratively, the USBType-C male seat connector includes an A 'face and a B' face that correspond to the USBType-C female seat connector including an A face and a B face, respectively. The USBType-C male connector comprises four male ground pins, namely an A1 'pin and an A2' pin which are arranged on an A 'face, and a B1' pin and a B2 'pin which are arranged on a B' face.
When the usb type-C female connector is not inserted into the usb type-C male connector, the female socket grounding pin of the usb type-C female connector serving as the detection pin 1 is not grounded, the voltage of the detection pin 1 may be pulled up to a preset voltage by the second voltage output end 4, and the voltage of the detection pin 1 is in a high level state relative to the first voltage signal output by the first voltage output end 3. When the USBType-C male seat connector is inserted into the USBType-C female seat connector, the female seat grounding pin serving as the detection pin 1 is correspondingly connected with the male seat grounding pin of the USBType-C male seat connector, the voltage of the detection pin 1 is reduced to zero through the grounding of the male seat grounding pin of the USBType-C male seat connector, and the voltage of the detection pin 1 is in a low level state relative to a first voltage signal output by the first voltage output end 3. Therefore, the comparator 2 can determine whether the usb type-C male connector is inserted into the usb type-C female connector by detecting the level state of the detection pin 1.
According to an exemplary embodiment, the detection pin 1 is connected with a conductor arranged around the detection pin 1 in an insulating manner, so as to avoid the problem that the detection pin 1 is exposed to the environment, and the detection pin 1 and surrounding structures are short-circuited, so that the detection pin 1 leaks to the surrounding structures and corrodes.
According to an exemplary embodiment, referring to fig. 1, a method for detecting whether a usb type-C male socket connector is inserted into a usb type-C female socket connector is provided, and the detection circuit in the above embodiment is used.
The detection circuit detects whether the USBType-C male seat connector is inserted into the USBType-C female seat connector at low frequency, and the comparator 2 compares the voltage of the detection pin 1 with a first voltage signal of the first input port to judge whether the detection pin 1 is in a low level state or a high level state relative to the first voltage signal.
And the comparison result of the comparator 2 is that the detection pin 1 is in a high level state relative to the first voltage signal, if the detection pin 1 is judged that the USBType-C female connector is not inserted into the USBType-C female connector, the comparator 2 outputs a second indication signal to the controller 8, the state that the USBType-C female connector is in an empty state is represented, and the detection circuit continues to detect whether the USBType-C female connector is inserted into the USBType-C male connector at a low frequency.
And the comparison result of the comparator 2 is that the detection pin 1 is in a low level state relative to the first voltage signal, and the USB Type-C female socket connector is judged to be connected with the USBTtype-C male socket connector, and the comparator 2 outputs a first indication signal to the controller 8 to represent that the USB Type-C female socket connector is connected with the USBTtype-C male socket connector.
When the controller 8 receives the first indication signal from the comparator 2, the controller 8 controls the CC pin 9 to be electrified, and the CC pin 9 starts to detect the physical structure inserted into the USBType-C female socket connector and judges whether equipment is connected into the USBType-C female socket connector.
The detection result of the CC pin 9 is that the USBType-C female connector is connected with equipment, the controller 8 processes a connection task, and the connected equipment is charged or data is transmitted. After the connection task is completed, the device is pulled out from the USBType-C female socket connector, the controller 8 controls the CC pin 9 to be switched to a power-off state, and the detection circuit continues to detect whether the USBType-C male socket connector is inserted into the USB Type-C female socket connector at low frequency.
The detection result of the CC pin 9 is that no equipment is connected into the USBType-C female socket connector, the controller 8 controls the CC pin 9 to be switched to a power-off state, and the detection circuit continues to detect whether the USBType-C male socket connector is inserted into the USBType-C female socket connector at low frequency.
According to the embodiment, the CC pin 9 can be powered off for a long time, the CC pin 9 is started to accurately detect only when the detection circuit detects that the USBType-C male seat connector is connected, the CC pin 9 is prevented from being exposed to the environment for a long time in a charged mode, and the problem that the USBType-C female seat connector is corroded due to the fact that the CC pin 9 leaks electricity is solved.
According to an exemplary embodiment, an electronic device is provided, which comprises a detection circuit as in the above embodiments.
According to an exemplary embodiment, the electronic device further comprises a charging chip, and the comparator 2, the timer 6, the switch 7 and the controller 8 of the detection circuit are arranged on the charging chip.
The electronic device may be a mobile phone, a tablet computer, a game machine, a wearable device, a computer, a digital broadcast terminal, a messaging device, a medical device, a fitness device, or the like, and the electronic device includes the display screen in the above embodiment.
Other embodiments of the utility model will be apparent to those skilled in the art from consideration of the specification and practice of the utility model disclosed herein. This application is intended to cover any variations, uses, or adaptations of the utility model following, in general, the principles of the utility model and including such departures from the present disclosure as come within known or customary practice within the art to which the utility model pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the utility model being indicated by the following claims.
It is to be understood that the utility model is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the utility model is limited only by the appended claims.

Claims (10)

1. A detection circuit, comprising:
the detection pin is arranged on the USBType-C female seat connector;
the comparator comprises a first input port and a second input port, wherein the first input port is connected with a first voltage output end, and the first voltage output end outputs a first voltage signal;
when the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is connected with the USBType-C male seat connector through the detection pin, the output port of the comparator is used for outputting a first indication signal, and the first indication signal is used for representing that the USBType-C male seat connector is inserted into the USBType-C female seat connector;
when the USBType-C male seat connector is not inserted into the USBType-C female seat connector, the second input port is connected with the second voltage output end through the detection pin, the second voltage output end is used for outputting a second voltage signal, the output port outputs a second indication signal, the second indication signal is used for representing that the USBType-C female seat connector is in an empty state, and the CC pin of the USBType-C female seat connector is in a power-off state.
2. The detection circuit of claim 1, wherein a switch is disposed between the second voltage output terminal and the detection pin, the detection circuit further comprising a timer, the timer being connected to the switch, the timer being configured to output a pulse signal to the switch to turn the switch on or off;
the switch is turned on, and the second voltage output end is connected with the detection pin;
and the switch is closed, and the second voltage output end is disconnected with the detection pin.
3. The detection circuit of claim 2, further comprising a controller electrically connected to the timer, the output port, the first voltage output, and the second voltage output, respectively.
4. The detection circuit of claim 3, wherein,
when the USBType-C male seat connector is inserted into the USBType-C female seat connector, the controller is electrically connected with a CC pin of the USBType-C female seat connector;
when the USBType-C male seat connector is not inserted into the USBType-C female seat connector, the controller is electrically disconnected from the CC pin of the USBType-C female seat connector.
5. The detection circuit of any one of claims 1-4, wherein the USBType-C female connector comprises a plurality of female ground pins, the detection pin being configured as any one of the plurality of female ground pins.
6. The detection circuit of claim 5, wherein an A1 pin of the USBType-C female connector is set as the detection pin.
7. The detection circuit of claim 5, wherein the USBType-C male receptacle connector comprises a plurality of male receptacle ground pins, the plurality of male receptacle ground pins being disposed in one-to-one correspondence with the plurality of female receptacle ground pins;
when the USBType-C male seat connector is inserted into the USBType-C female seat connector, the second input port is grounded through the detection pin and the male seat grounding pin corresponding to the detection pin.
8. The detection circuit according to any one of claims 1 to 4, wherein the detection pin is connected in an insulated manner to a conductor provided around the detection pin.
9. An electronic device comprising a detection circuit as claimed in any one of claims 1 to 8.
10. The electronic device of claim 9, further comprising a charging chip, wherein the comparator, timer, switch, and controller of the detection circuit are disposed on the charging chip.
CN202320570838.9U 2023-03-22 2023-03-22 Detection circuit and electronic equipment Active CN219475810U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202320570838.9U CN219475810U (en) 2023-03-22 2023-03-22 Detection circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202320570838.9U CN219475810U (en) 2023-03-22 2023-03-22 Detection circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN219475810U true CN219475810U (en) 2023-08-04

Family

ID=87435487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202320570838.9U Active CN219475810U (en) 2023-03-22 2023-03-22 Detection circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN219475810U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117250566A (en) * 2023-09-18 2023-12-19 珠海智融科技股份有限公司 Type-C connection detection circuit and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117250566A (en) * 2023-09-18 2023-12-19 珠海智融科技股份有限公司 Type-C connection detection circuit and electronic equipment
CN117250566B (en) * 2023-09-18 2024-05-03 珠海智融科技股份有限公司 Type-C connection detection circuit and electronic equipment

Similar Documents

Publication Publication Date Title
CN111917163B (en) Multi-port charging control circuit and method, charging chip and power supply equipment
US10481216B1 (en) Device for field verification of multi-device power over ethernet
CN219475810U (en) Detection circuit and electronic equipment
CN108710593B (en) Power supply method and device based on Type-C connector
CN107409057B (en) Apparatus and method for power supply restoration via data link after power outage
US20220083100A1 (en) Coupling manager for managing a multimodal electrical coupling and method of operation
TWI742582B (en) Charging device and method thereof
CN106526403B (en) A kind of terminal leakage current detection circuit, terminal and terminal leakage current test system
US20180331548A1 (en) Systems and methods for monitoring an operating status of a connector
CN111835074A (en) Multi-output charging head
CN107706977B (en) Charging current detection method and charging device
CN102141582A (en) Status detecting device
CN110096382A (en) The electronic device of mainboard and the application mainboard
CN212410835U (en) Detection circuit of alternating current input line and socket with detection circuit
US10573997B1 (en) Power supply unit with connector protection circuit
CN112910041A (en) Charging circuit of terminal equipment, terminal equipment and terminal system
CN115642659A (en) Battery connector state detection method, controller, terminal device, and storage medium
CN217135148U (en) Safety circuit for monitoring equipment, monitoring equipment and monitoring system
CN111812553A (en) Detection circuit of alternating current input line and socket with detection circuit
JP2015207155A (en) Electronic apparatus
CN217689360U (en) Fill detection circuitry and device soon
CN210895423U (en) Test system for host interface
CN212514913U (en) Full-automatic relay calibration equipment
CN111522767B (en) USB-C device and electronic device
CN217768948U (en) Wearable device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant