Charging device

By setting a control circuit in the connector of the charging device, the voltage value of the detection pin is controlled, which solves the problem of failure of the detection pin due to electrochemical migration, extends the service life and ensures the normal function of the charging device.

CN119401600APending Publication Date: 2025-02-07VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411517217.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The detection pin of the charging device fails due to electrochemical migration, resulting in a shortening of the service life of the charging device.

Method used

Set up a control circuit in the connector of the charging device, and control the voltage value of the detection pin by detecting the connection state of the connection port and the transmission part and the level state of the detection pin to avoid the length between the detection pin and other pins There is a potential difference in time.

Benefits of technology

Reduces the duration of electrochemical migration of the detection pin, extends the service life of the detection pin, and ensures the normal function of the charging device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119401600A_ABST
    Figure CN119401600A_ABST
Patent Text Reader

Abstract

The invention discloses a charging device, and belongs to the technical field of electronic equipment. The charging device comprises a connector which is used for being connected to a power supply, the connector comprises a detection pin and a connection port, and the connection port is used for being connected with a transmission piece; the control circuit is arranged on the connector, and the control circuit is connected to the detection pin and the connection port; wherein under the condition that the connector is connected to a power supply, the control circuit is used for controlling the level state of the detection pin according to the connection state of the connection port and the transmission piece and the level state of the detection pin.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a charging device. Background Art

[0002] In related technologies, such as Figure 1 As shown, in the interface of the charging device of the electronic device, there are detection pins. For example, in the Type-c charging device, the detection pins are CC (connection configuration) pins, namely CC1 and CC2. When the charging device is powered on, that is, when the charging device is connected to the power source, and the detection pins do not detect that the electronic device is connected to the charging device, at this time, the detection pin will always be in a high level state, while the other pins of the charging device are in a low level state, resulting in a potential difference between the detection pin and the other pins. The potential difference will cause electrochemical migration to occur in the detection pin, and the continuous electrochemical migration will cause electrolytic corrosion of the metal of the detection pin, and eventually cause the charging device to fail. Summary of the invention

[0003] The present application aims to provide a charging device that can solve the technical problem in the related art that the detection pin of the charging device fails due to electrochemical migration.

[0004] The present application embodiment provides a charging device, including:

[0005] A connector, used to connect to a power source, the connector comprising a detection pin and a connection port, wherein the connection port is used to connect to a transmission element;

[0006] A control circuit is arranged on the connector, and the control circuit is connected to the detection pin and the connection port;

[0007] Wherein, when the connector is connected to the power supply, the control circuit is used to control the level state of the detection pin according to the connection state between the connection port and the transmission element and the level state of the detection pin.

[0008] The charging device of the embodiment of the present application includes a connector, and the connector includes a detection pin and a connection port. Among them, the connection port is used to connect with the transmission member, and the connection status between the connector and the terminal can be detected through the detection pin of the connector. Furthermore, by setting a control circuit, when the connector is connected to a power supply, the control circuit can control the voltage value of the detection pin according to the connection status between the connection port and the transmission member and the level state output by the detection pin, thereby avoiding the long-term existence of a potential difference between the detection pin and other pins, that is, when the charging device is not connected to the terminal, the duration of the electrochemical migration phenomenon of the detection pin can be reduced, thereby extending the service life of the detection pin.

[0009] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1 A circuit diagram of a charging device in the related art is shown;

[0012] Figure 2 A circuit diagram of a charging device according to an embodiment of the present application is shown;

[0013] Figure 3 One of the structural schematic diagrams of the connector of the charging device according to the embodiment of the present application is shown;

[0014] Figure 4 A second structural schematic diagram of a connector of a charging device according to an embodiment of the present application is shown;

[0015] Figure 5 A third structural schematic diagram of a connector of a charging device according to an embodiment of the present application is shown;

[0016] Figure 6 A schematic diagram showing the structure of a switch module in a charging device according to an embodiment of the present application is shown;

[0017] Figure 7 A flow chart showing the operation process of the charging device according to an embodiment of the present application is shown.

[0018] Reference numerals:

[0019] 100 charging device, 102 connector, 104 detection pin, 106 connection port, 108 control circuit, 110 control module, 112 detection module, 114 switch module, 116 metal spring, 118 metal shell, 120 body, 122 protrusion, 124 switch tube, 126 data transmission pin, 128 protocol module, 130 transmission component. DETAILED DESCRIPTION

[0020] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0021] The features of the terms "first" and "second" in the specification and claims of this application may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.

[0022] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, fixed connection, detachable connection, or integral connection; mechanical connection, electrical connection; direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0023] Combine the following Figures 2 to 7 A charging device 100 according to an embodiment of the present application is described.

[0024] In some embodiments of the present application, a charging device is provided. Figure 2 The circuit diagram of the charging device according to the embodiment of the present application is shown as follows: Figure 2 As shown, the charging device 100 includes: a connector 102, which is used to connect to a power source, the connector 102 includes a detection pin 104 and a connection port 106, wherein the connection port 106 is used to connect to a transmission element 130; a control circuit 108, which is arranged on the connector 102, and the control circuit 108 is connected to the detection pin 104 and the connection port 106; wherein, when the connector 102 is connected to a power source, the control circuit 108 is used to control the level state of the detection pin 104 according to the connection state of the connection port 106 and the transmission element 130 and the level state of the detection pin 104.

[0025] In an embodiment of the present application, the charging device 100 includes a connector 102, and the connector 102 includes a detection pin and a connection port 106, wherein the connector 102 is used to connect to a power source. Specifically, the connector 102 may include a transformer to convert the electric energy provided by the power source into the electric energy required by the terminal. The connection port 106 is used to connect to the transmission element 130, and the transmission element 130 can be used to connect to the terminal, thereby connecting the connector 102 to the terminal. Furthermore, the connector 102 includes a detection pin 104, and when the connector 102 is connected to the power source, the detection pin 104 can be used to detect the connection between the transmission element 130 and the terminal.

[0026] For example, in the Type-c charging device 100, when the transmission element 130 is not connected to the terminal, the maximum voltage value of the detection pin 104 is 3.3 V. When the transmission element 130 is connected to the terminal, the maximum voltage value of the detection pin 104 changes to 1.7 V. By detecting the change in the maximum voltage of the pin 104, the connection between the transmission element 130 and the terminal can be detected.

[0027] Furthermore, the charging device 100 further includes a control circuit 108 , which is disposed in the connector 102 and connected to the detection pin 104 , so that the voltage of the detection pin 104 can be controlled by the control circuit 108 .

[0028] Furthermore, the control circuit is also connected to the connection port 106 , so that the control circuit 108 can control the level state of the detection pin 104 according to the connection state between the connection port 106 and the transmission element 130 .

[0029] It is understandable that in the related art, when the charging device is connected to the power source and the terminal is not connected to the charging device, that is, when the connection port is not connected to the transmission element, or when the connection port is connected to the transmission element but the transmission element is not connected to the terminal, the detection pin will always be in a high level state, resulting in a potential difference between the detection pin and other pins, thereby generating electrochemical migration, and then causing electrolytic corrosion of the detection pin in the case of long-term electrochemical migration.

[0030] In the embodiment of the present application, when the connector 102 is connected to the power supply, the control circuit 108 controls the voltage value of the detection pin 104 according to the connection state between the connection port 106 and the transmission element 130, and according to the level state of the detection pin 104, so as to avoid the long-term existence of the potential difference between the detection pin 104 and other pins, that is, the duration of the electrochemical migration phenomenon of the detection pin 104 can be reduced, thereby extending the service life of the detection pin 104. For example, when the connector 102 is connected to the power supply and the transmission element 130 is not connected to the transmission port 106, the control circuit 108 can be used to control the voltage of the detection pin 104 to decrease, thereby reducing the potential difference between the detection pin 104 and other pins, thereby reducing the existence of the electrochemical migration phenomenon.

[0031] The charging device 100 of the embodiment of the present application includes a connector 102, and the connector 102 includes a detection pin and a connection port 106. Among them, the connection port 106 is used to connect with the transmission member 130, and the connection state between the connector 102 and the terminal can be detected through the detection pin 104 of the connector 102. Further, by setting a control circuit, when the connector 102 is connected to the power supply, the control circuit 108 can control the voltage value of the detection pin 104 according to the connection state between the connection port 106 and the transmission member 130 and the level state output by the detection pin 104, so as to avoid the long-term existence of a potential difference between the detection pin 104 and other pins, that is, when the charging device is not connected to the terminal, the duration of the electrochemical migration phenomenon of the detection pin 104 can be reduced, thereby extending the service life of the detection pin 104.

[0032] In some embodiments of the present application, the control circuit 108 includes: a detection module 112, connected to the connection port 106, for detecting the connection status between the connection port 106 and the transmission element 130; a control module 110, connected to the detection pin 104 and the detection module 112; a switch module 114, wherein the first end of the switch module 114 is connected to the control module 110, the second end of the switch module 114 is connected to the detection pin 104, and the third end of the switch module 114 is grounded; wherein, when the connector 102 is connected to the power supply, the control module 110 is used to control the conduction between the second end of the switch module 114 and the third end of the switch module 114 when the detection module 112 outputs a low level, so that the detection pin 104 is in a low level state.

[0033] In an embodiment of the present application, the control circuit 108 includes a detection module 112 and a control module 110, wherein the detection module 112 is connected to the connection port 106, so as to detect the connection status between the connection port 106 and the transmission element 130. By connecting the control module 110 to the detection pin 104 and the detection module 112, the control module 110 can control the level state of the detection pin according to the level state of the detection pin 104 and the level state of the detection module.

[0034] Furthermore, the control circuit 108 further includes a switch module 114, a first end of the switch module 114 is connected to the control module 110, a second end of the switch module 114 is connected to the detection pin 104, and a third end of the switch module 114 is grounded. Through the setting of the switch module 114, the control module 110 can control the switch module 114 to realize grounding the detection pin 104, thereby realizing changing the level state of the detection pin 104, and further realizing reducing the duration of the electrochemical migration phenomenon occurring at the detection pin 104, so as to extend the service life of the detection pin 104.

[0035] Specifically, Figure 7 1 shows a flowchart of the operation process of the charging device of the embodiment of the present application; Figure 7 As shown, the operation process of the charging device is as follows:

[0036] Step 302: Connect the connector to a power source;

[0037] Step 304: The detection module detects the connection status between the transmission component and the connector;

[0038] Step 306: When the transmission element is connected to the connector, the switch module is controlled to be turned on;

[0039] Step 308: When the transmission element is not connected to the connector, control the switch module to switch on and off at the first frequency;

[0040] Step 310: When the detection pin detects that the terminal is connected, the switch module is controlled to be disconnected;

[0041] Step 312: When the detection pin detects that the terminal is disconnected, the switch module is controlled to switch on and off at a first frequency.

[0042] Specifically, when the connector 102 is connected to the power supply, the control module 110 first determines the connection status between the connection port 106 and the transmission element 130 based on the detection result of the detection module 112. For example, when the detection module 112 outputs a low level, it can be determined that the transmission element 130 is not connected to the connector 102. The control module 110 can control the conduction between the second end of the switch module 114 and the third end of the switch module 114 to make the detection pin 104 grounded, thereby reducing the voltage value of the detection pin 104, that is, reducing the potential difference between the detection pin 104 and other pins, thereby reducing the existence time of the electrochemical migration phenomenon, so as to extend the service life of the detection pin 104.

[0043] In some embodiments of the present application, when the connector 102 is connected to a power source, the control module 110 is further configured to control the switch module 114 to be turned on and off at a first frequency when the detection module 112 outputs a high level, so that the level state of the detection pin 104 changes with the first frequency;

[0044] When the level state of the detection pin 104 changes at a first frequency and the highest voltage of the detection pin 104 is a first voltage value, the control module is used to control the disconnection between the second end of the switch module 114 and the third end of the switch module 114 so that the detection pin 104 is in a high level state.

[0045] In the embodiments of the present application, Figure 7As shown, when the connector 102 is connected to the power supply, the control module 110 first determines the connection state between the transmission element 130 and the connector 102 according to the detection result of the detection module 112. Specifically, when the detection module 112 outputs a high level, it can be determined that the transmission element 130 is connected to the connector, and the control module 110 can control the switch module 114 to switch on and off at a first frequency. That is, when the transmission element 130 is connected to the connector 102, but the terminal is not powered, the control module 110 controls the switch module 114 to switch on and off at a first frequency, so that the level state of the detection pin 104 changes at the first frequency.

[0046] It can be understood that the detection pin 104 is used to detect whether the transmission element 130 is connected to the terminal. Therefore, when the transmission element 130 is not connected to the terminal, the level state of the detection pin 104 is controlled to change at a first frequency. On the one hand, when the detection pin 104 is in a high level state, it can ensure that the detection pin 104 detects whether the transmission element 130 is connected to the terminal. On the other hand, when the detection pin 104 is in a low level state, it can reduce the voltage difference between the detection pin 104 and other pins, thereby reducing the duration of the electrochemical migration phenomenon of the detection pin 104, thereby extending the service life of the detection pin 104. That is, by controlling the level state of the detection pin 104 to change at a first frequency through the control circuit 108, the detection function of the detection pin 104 can be guaranteed to ensure the normal function of the charging device 100, and the duration of the electrochemical migration phenomenon of the detection pin 104 can be reduced, thereby extending the service life of the detection pin 104.

[0047] Furthermore, in the process where the level state of the detection pin 104 changes at a first frequency, if the highest voltage of the detection pin 104 is the first voltage value, it can be determined that the terminal is connected to the transmission element 130, that is, the charging device needs to charge the terminal at this time. Therefore, the control circuit 108 can control the disconnection between the second end of the switch module and the third end of the switch module to make the detection pin 104 in a high level state.

[0048] For example, in the Type-c charging device 100, when the transmission element 130 is not connected to the terminal, the maximum voltage value of the detection pin 104 is 3.3V, and when the transmission element 130 is connected to the terminal, the maximum voltage value of the detection pin 104 changes to 1.7V. That is, when the control module 110 detects that the maximum voltage value of the detection pin 104 is less than or equal to 1.7V, it can be determined that the transmission element 130 is connected to the terminal. That is, the first voltage value can be set to 1.7V.

[0049] Specifically, Figure 7As shown, when the transmission member 130 is connected to the connector 102 and the transmission member 130 is connected to the terminal, it means that the terminal needs to be powered by the charging device 100. At this time, the control module 110 can control the second end of the switch module 114 and the third end of the switch module 114 to be disconnected so that the detection pin 104 is in a high level state, thereby ensuring that the detection pin 104 can normally transmit electrical signals during the process of the charging device 100 powering the terminal, thereby ensuring stable power supply of the terminal by the charging device 100.

[0050] In some embodiments of the present application, when the level state of the detection pin 104 changes at a first frequency and the highest voltage of the detection pin 104 is a second voltage value, the second end of the switch module 114 and the third end of the switch module 114 are controlled to be disconnected so that the detection pin 104 is in a high level state; wherein the second voltage value is greater than the first voltage value.

[0051] In an embodiment of the present application, during the process in which the level state of the detection pin 104 changes at a first frequency, if the highest voltage of the detection pin 104 is a second voltage value, it can be determined that the terminal is not connected to the transmission element 130, that is, the charging device does not need to charge the terminal at this time. Therefore, the control circuit 108 can control the switch module to keep on and off at the first frequency to continuously detect the connection status of the terminal.

[0052] For example, in the Type-c charging device 100, when the transmission element 130 is not connected to the terminal, the maximum voltage value of the detection pin 104 is 3.3V, and when the transmission element 130 is connected to the terminal, the maximum voltage value of the detection pin 104 changes to 1.7V. That is, the second voltage value can be set to 3.3V, and when the maximum voltage value of the detection pin is 3.3V, the switch module can be controlled to keep switching at the first frequency to continuously detect the connection status of the terminal until the maximum voltage value of the detection pin 104 changes to 1.7V, or the level state output by the detection module 112 is low.

[0053] In some embodiments of the present application, the detection module 112 includes: a metal spring 116, which is disposed at the connection port 106 and connected to the control module 110; wherein, when the transmission element 130 is not connected to the connection port 106, the metal spring 116 is grounded.

[0054] In the embodiments of the present application, Figure 3 One of the structural schematic diagrams of the connector of the charging device according to the embodiment of the present application is shown; Figure 4 A second structural schematic diagram of a connector of a charging device according to an embodiment of the present application is shown; Figure 5The third structural schematic diagram of the connector of the charging device according to the embodiment of the present application is shown; Figure 3 , Figure 4 and Figure 5 As shown, the detection module 112 may include a metal dome 116 . The metal dome 116 may be disposed at the connection port 106 , and the metal dome 116 is connected to the control module 110 .

[0055] In the case where the transmission element 130 is not connected to the connection port 106, the metal dome 116 is grounded, that is, when the transmission element 130 is not connected to the connection port 106, the level state of the metal dome 116 is a low level state, on the contrary, when the transmission element 130 is connected to the connection port 106, the electrical frequency level state of the metal dome 116 is converted from a low level state to a high level state. Therefore, the control circuit 108 can determine the connection state between the transmission element 130 and the connection port 106 according to the level state of the metal dome 116.

[0056] In some embodiments of the present application, the connector 102 includes a metal shell 118, and when the connector 102 is connected to a power source, the metal shell 118 is used for grounding; wherein, when the transmission member 130 is not connected to the connection port 106, the metal spring 116 is connected to the metal shell 118, and when the transmission member 130 is connected to the connection port 106, the metal spring 116 is separated from the metal shell 118.

[0057] In the embodiments of the present application, Figure 3 , Figure 4 and Figure 5 As shown, the connector 102 further includes a metal shell 118 . When the connector 102 is connected to a power source, the metal shell 118 can be used for grounding, so that the connector 102 can form a complete circuit during operation, thereby ensuring the functionality of the connector 102 .

[0058] Further, when the transmission member 130 is not connected to the connection port 106, the metal dome 116 is connected to the metal shell 118, that is, when the transmission member 130 is not connected to the connection port 106, the metal dome 116 can be grounded through the metal shell 118 of the connector 102, so that the level state of the metal dome 116 is a low level state. On the contrary, when the transmission member 130 is connected to the connection port 106, the metal dome 116 is separated from the metal shell 118, so that the level state of the metal dome 116 is a high level state.

[0059] In some embodiments of the present application, the metal spring 116 includes: a main body 120, connected to the control module 110; and a protrusion 122, disposed on the main body 120; wherein, when the transmission member 130 is not connected to the connection port 106, the main body 120 is connected to the metal shell 118, and when the transmission member 130 is connected to the connection port 106, the transmission member 130 abuts against the protrusion 122 to drive the main body 120 to undergo elastic deformation, so that the main body 120 is separated from the metal shell 118.

[0060] In the embodiments of the present application, Figure 3 , Figure 4 and Figure 5 As shown, the metal spring 116 may include a body 120, one end of which is connected to the control module 110. Specifically, the body 120 may be made of a metal material and has elasticity. When the transmission member 130 is not connected to the connection port 106, the body 120 is connected to the metal shell 118, that is, grounded through the metal shell 118.

[0061] Furthermore, a protrusion 122 is provided on the body 120, and the protrusion 122 is used to abut against the transmission member 130 when the transmission member 130 is connected to the connection port 106, thereby driving the body 120 to undergo elastic deformation. When the body 120 undergoes elastic deformation, the body 120 can be separated from the metal shell 118, thereby realizing the detection of the connection state between the transmission member 130 and the connector 102.

[0062] Specifically, the protrusion 122 may be made of insulating material to ensure that the metal spring 116 is in a high level state when the transmission element 130 is connected to the connector 102 .

[0063] In some embodiments of the present application, the switch module 114 includes: a switch tube 124 , a first end of the switch tube 124 is connected to the detection pin 104 , a second end of the switch tube 124 is grounded, and a control end of the switch tube 124 is connected to the control module 110 .

[0064] In the embodiments of the present application, Figure 6 Schematic diagram of the structure of the switch module in the charging device of the embodiment of the present application is shown; Figure 6 As shown, the switch module 114 may include a switch tube 124, a first end of the switch tube 124 is connected to the detection pin 104, a second end of the switch tube 124 is grounded, and a control end of the switch tube 124 is connected to the control module 110. By controlling the level state of the control end of the switch tube 124 through the control module 110, the conduction state between the first end of the switch tube 124 and the second end of the switch tube 124 can be controlled, and then the detection pin 104 is controlled to be grounded, so as to control the level state of the detection pin 104.

[0065] In addition, the number of switch tubes 124 can be set according to the number of detection pins 104. For example, in the Type-c charging device 100, the detection pin 104 is a CC (connection configuration) pin. Usually, the number of CC pins is two, namely CC1 and CC2. Correspondingly, the number of switch tubes 124 of the switch module 114 can also be set to two, and the level states of the two detection pins 104 can be controlled separately by two switch tubes 124.

[0066] In some embodiments of the present application, the connector 102 further includes at least one data transmission pin 126 ; wherein, when the transmission element 130 is connected to the connection port 106 , the transmission element 130 is connected to the data transmission pin 126 .

[0067] In the embodiments of the present application, Figure 2 As shown, the charging device 100 further includes a data transmission pin 126. When the transmission element 130 is connected to the connection port 106, the transmission element 130 is connected to the data transmission pin 126. Through the data transmission pin 126, data transmission can be achieved to achieve the corresponding function of the charging device 100.

[0068] For example, the data transmission pin 126 may include a pin for detecting a communication protocol between the charging device 100 and the terminal.

[0069] In some embodiments of the present application, Figure 2 As shown, the charging device 100 also includes a protocol module 128, which is arranged on the connector 102. The protocol module 128 is connected to the detection pin 104 and the data transmission pin 126. When the transmission element 130 is connected to the terminal, the protocol module 128 is used to configure the transmission protocol between the connector 102 and the terminal.

[0070] In the embodiment of the present application, the charging device 100 may further include a protocol module 128, through which the transmission protocol between the connector 102 and the terminal may be configured. Specifically, the protocol module 128 includes a protocol chip, which communicates with the terminal through the transmission interface of the connector 102, and the communication content includes the charging protocol and charging power information supported by the charging device 100 and the terminal, and selects which protocol the charging device 100 outputs according to according to the communication information and adjusts the output power of the charging device 100 to the power required by the terminal.

[0071] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0072] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A charging device, characterized in that: include: A connector, used to connect to a power source, the connector comprising a detection pin and a connection port, wherein the connection port is used to connect to a transmission element; A control circuit is arranged on the connector, and the control circuit is connected to the detection pin and the connection port; Wherein, when the connector is connected to the power supply, the control circuit is used to control the level state of the detection pin according to the connection state between the connection port and the transmission element and the level state of the detection pin.

2. The charging device according to claim 1, characterized in that: The control circuit comprises: A detection module, connected to the connection port, for detecting a connection state between the connection port and the transmission element; A control module connected to the detection pin and the detection module; A switch module, wherein a first end of the switch module is connected to the control module, a second end of the switch module is connected to the detection pin, and a third end of the switch module is grounded; Wherein, when the connector is connected to the power supply, the control module is used to control the conduction between the second end of the switch module and the third end of the switch module when the detection module outputs a low level, so that the detection pin is in a low level state.

3. The charging device according to claim 2, characterized in that: In the case where the connector is connected to the power supply, the control module is further used to control the switch module to switch on and off at a first frequency when the detection module outputs a high level, so that the level state of the detection pin changes at the first frequency; When the level state of the detection pin changes at the first frequency and the highest voltage of the detection pin is a first voltage value, the control module is also used to control the disconnection between the second end of the switch module and the third end of the switch module to make the detection pin in a high level state.

4. The charging device according to claim 3, characterized in that: When the level state of the detection pin changes at the first frequency and the highest voltage of the detection pin is a second voltage value, controlling the switch module to keep switching at the first frequency so that the level state of the detection pin changes at the first frequency; Wherein, the second voltage value is greater than the first voltage value.

5. The charging device according to claim 2, characterized in that: The detection module comprises: A metal spring, disposed at the connection port, and connected to the control module; Wherein, when the transmission component is not connected to the connection port, the metal spring is grounded.

6. The charging device according to claim 5, characterized in that: The connector comprises a metal shell, and when the connector is connected to the power supply, the metal shell is used for grounding; Wherein, when the transmission member is not connected to the connection port, the metal spring is connected to the metal shell, and when the transmission member is connected to the connection port, the metal spring is separated from the metal shell.

7. The charging device according to claim 6, characterized in that: The metal shrapnel comprises: A body connected to the control module; A raised portion, disposed on the body; Wherein, when the transmission member is not connected to the connection port, the main body is connected to the metal shell, and when the transmission member is connected to the connection port, the transmission member abuts against the protrusion to drive the main body to undergo elastic deformation, so as to separate the main body from the metal shell.

8. The charging device according to claim 2, characterized in that: The switch module comprises: A switch tube, wherein a first end of the switch tube is connected to the detection pin, a second end of the switch tube is grounded, and a control end of the switch tube is connected to the control module.

9. The charging device according to any one of claims 1 to 8, characterized in that: The connector further comprises: at least one data transmission pin; Wherein, when the transmission element is connected to the connection port, the transmission element is connected to the data transmission pin.

10. The charging device according to claim 9, characterized in that: Also includes: A protocol module is arranged on the connector, the protocol module is connected to the detection pin and the data transmission pin, and when the transmission component is connected to the terminal, the protocol module is used to configure the transmission protocol between the connector and the terminal.