CN113823971A - Interface conversion system and control method thereof - Google Patents

Interface conversion system and control method thereof Download PDF

Info

Publication number
CN113823971A
CN113823971A CN202111045931.XA CN202111045931A CN113823971A CN 113823971 A CN113823971 A CN 113823971A CN 202111045931 A CN202111045931 A CN 202111045931A CN 113823971 A CN113823971 A CN 113823971A
Authority
CN
China
Prior art keywords
pin
terminal
charger
earphone
adapter
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.)
Pending
Application number
CN202111045931.XA
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111045931.XA priority Critical patent/CN113823971A/en
Publication of CN113823971A publication Critical patent/CN113823971A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts

Abstract

The application discloses an interface conversion system and a control method thereof, and relates to the technical field of electronics. The interface conversion system includes: a patch cord and a terminal; the patch cord includes: the earphone adapter comprises a charger adapter end, an earphone adapter end and a terminal adapter end, wherein the charger adapter end and the earphone adapter end are respectively connected with the terminal adapter end; the terminal includes: the terminal interface is respectively connected with the audio switch and the controller; under the condition that the charger adaptation end is connected with the charger, the earphone adaptation end is connected with the earphone, and the terminal adaptation end is connected with the terminal, a sound channel pin of the earphone adaptation end is connected with the audio switch through a data pin of the terminal adaptation end and a data pin of the terminal interface; and a data pin of the charger adapting end is connected with the controller through a communication pin of the terminal adapting end and a communication pin of the terminal interface, so that the charger and the controller can communicate to adjust the charging power of the charger.

Description

Interface conversion system and control method thereof
Technical Field
The application belongs to the technical field of electronics, and particularly relates to an interface conversion system and a control method thereof.
Background
In the process of using an electronic device (such as a mobile phone, a tablet computer, etc.) daily, a patch cord is often used to connect an earphone and a charger to the electronic device at the same time.
However, when the earphone and the charger are connected to the electronic device through the patch cord, the charger only supports charging the electronic device with a low fixed power, and the charging power cannot be adjusted.
Disclosure of Invention
The embodiment of the application provides an interface conversion system and a control method thereof, and solves the technical problem that charging power cannot be adjusted under the condition that a terminal is connected with an earphone and a charger simultaneously through a patch cord in the related art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an interface conversion system, including a patch cord and a terminal;
the patch cord includes: the earphone adapter comprises a charger adapter end, an earphone adapter end and a terminal adapter end, wherein the charger adapter end and the earphone adapter end are respectively connected with the terminal adapter end;
the terminal includes: the terminal interface is respectively connected with the audio switch and the controller;
under the condition that the charger adaptation end is connected with a charger, the earphone adaptation end is connected with an earphone, and the terminal adaptation end is connected with a terminal, a sound channel pin of the earphone adaptation end is connected with an audio switch through a data pin of the terminal adaptation end and a data pin of the terminal interface; and the data pin of the charger adapter is connected with the controller through the communication pin of the terminal adapter and the communication pin of the terminal interface, so that the charger and the controller can communicate to adjust the charging power of the charger.
In a second aspect, an embodiment of the present application provides a method for controlling an interface conversion system according to the first aspect, including:
in response to the charger adapting end being connected with a charger, the earphone adapting end being connected with an earphone and the terminal adapting end being connected with a terminal, the processor sends a first conduction signal to a third end of the first switch component and sends a second conduction signal to a third end of the second switch component;
the controller communicates with the charger in response to the first and second switching components being conductive;
wherein a first path formed by the controller and the first switch assembly is used for receiving communication signals; the second channel formed by the controller and the second switch assembly is used for sending communication signals.
The interface conversion system provided by the embodiment of the application comprises a patch cord and a terminal; the patch cord includes: the earphone adapter comprises a charger adapter end, an earphone adapter end and a terminal adapter end, wherein the charger adapter end and the earphone adapter end are respectively connected with the terminal adapter end; the terminal includes: the terminal interface is respectively connected with the audio switch and the controller; under the condition that the charger adaptation end is connected with a charger, the earphone adaptation end is connected with an earphone, and the terminal adaptation end is connected with a terminal, a sound channel pin of the earphone adaptation end is connected with an audio switch through a data pin of the terminal adaptation end and a data pin of the terminal interface; and the data pin of the charger adapter is connected with the controller through the communication pin of the terminal adapter and the communication pin of the terminal interface, so that the charger and the controller can communicate to adjust the charging power of the charger. Therefore, under the condition that the terminal is connected with the earphone and the charger through the patch cord, the data pin of the charger adaptation end is connected with the controller through the communication pin of the terminal adaptation end and the communication pin of the terminal interface, so that the controller can be communicated and interacted with the charger, the charging power of the charger is adjusted, and the charging rate is improved.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram of an interface conversion system provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of another interface conversion system provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of another interface conversion system provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of another interface conversion system provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another interface conversion system provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of another interface conversion system provided in an embodiment of the present application;
fig. 7(a) is a partial schematic view of an interface conversion system provided in an embodiment of the present application;
fig. 7(b) is a partial schematic view of another interface conversion system provided in the embodiment of the present application;
fig. 7(c) is a partial schematic view of another interface conversion system provided in the embodiment of the present application;
FIG. 8 is a schematic flow chart diagram illustrating a method for controlling an interface conversion system according to an embodiment of the present application;
description of reference numerals:
100-patch cords; 101-a charger adapter; 102-a headset adaptation end; 103-terminal adaptation end; 200-a terminal; 201-terminal interface; 202-an audio switch; 203-a controller; 204-a switch module; 2041-a first switch assembly; 2042 — a second switch assembly; 205-a processor; 206-a battery; 207-charging management chip; 208-an audio codec; 300-a charger; 400-earphone.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The features of the terms first and second in the description and in the claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more unless otherwise specified. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the description of the present application, it is to be noted that the terms "connected" and "connected," unless otherwise specifically stated or limited, are to be construed broadly, e.g., as meaning directly connected to one another, indirectly connected through an intermediary, and communicating between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
In the related art, if the charger is independently connected to the terminal interface of the terminal, the communication between the charger and the controller can be realized through a path where a data pin on the terminal interface is located; if the earphone is independently connected to the terminal interface of the terminal, the sound channel signal transmission between the earphone and the terminal can be realized through a channel where a data pin on the terminal interface is located. However, when the charger and the earphone are simultaneously connected to the terminal, a path where a data pin on a terminal interface of the terminal is located is preferentially used by a sound channel signal, so as to realize sound channel signal transmission between the earphone and the terminal; at this time, compared with the terminal interface in which the charger is individually connected to the terminal, the path in which the data pin is located on the terminal interface of the terminal is occupied by the sound channel signal, that is, the communication between the charger and the controller cannot be realized through the path in which the data pin is located on the terminal interface of the terminal, the communication between the charger and the controller is interrupted, the charger is difficult to perform quick charging identification, the charger only supports charging to the electronic device with a lower fixed power, and the charging power of the charger cannot be adjusted.
Based on this, the application provides an interface conversion system. The general idea of the application is that: and a new communication channel is established between the charger and the controller. Under the condition that the charger and the earphone are simultaneously connected to the terminal, sound channel signal transmission between the earphone and the terminal can be achieved through a channel where a data pin on a terminal interface is located, meanwhile, communication between the charger and the controller is achieved through a newly built communication channel, and the controller can be in communication interaction with the charger, so that the charging power of the charger is adjusted, and the charging rate is improved.
Exemplary embodiments of the present application will be described in more detail below with reference to fig. 1-8.
Fig. 1 is a schematic diagram of an interface conversion system according to an embodiment of the present application.
As shown in fig. 1, an interface conversion system provided in the embodiment of the present application may include: a patch cord 100 and a terminal 200;
the patch cord 100 includes: the device comprises a charger adaptive end 101, an earphone adaptive end 102 and a terminal adaptive end 103, wherein the charger adaptive end 101 and the earphone adaptive end 102 are respectively connected with the terminal adaptive end 103;
the terminal 200 includes: a terminal interface 201, an audio switch 202, and a controller 203; the terminal interface 201 is connected to an audio switch 202 and a controller 203, respectively.
Taking fig. 1 as an example, the charger adapter 101 has a data pin a 1; the headphone adapter 102 has a channel pin b 1; the terminal adapter 103 has a data pin a2, and the terminal adapter 103 also has a communication pin c 1; the terminal interface 201 has a data pin a3, and the terminal interface 201 also has a communication pin c 2.
As shown in fig. 1, in the case that the charger adaptor 101 is connected to the charger 300, the earphone adaptor 102 is connected to the earphone 400, and the terminal adaptor 103 is connected to the terminal 200, the sound channel pin b1 of the earphone adaptor 102 is connected to the audio switch through the data pin a2 of the terminal adaptor 103 and the data pin a3 of the terminal interface 201; the data pin a1 of the charger adaptor 101 is connected to the controller 203 through the communication pin c1 of the terminal adaptor 103 and the communication pin c2 of the terminal interface 201, so that the charger 300 and the controller 203 can communicate to adjust the charging power of the charger. Therefore, under the condition that the terminal is connected with the earphone and the charger through the patch cord at the same time, the controller can be communicated and interacted with the charger, so that the charging power of the charger is adjusted, and the charging rate is improved.
It can be understood that, in the related art, if the charger is separately connected to the terminal interface of the terminal, the terminal interface realizes communication between the charger and the controller through a path where a data pin on the terminal interface is located; if the earphone is independently connected to the terminal interface of the terminal, the terminal interface realizes the sound channel signal transmission between the earphone and the terminal through a channel where a data pin on the terminal interface is located. However, when the charger and the earphone are simultaneously connected to the terminal, the path where the data pin is located on the terminal interface of the terminal is occupied by the sound channel signal, and at this time, compared with the case where the charger is connected to the terminal interface of the terminal alone, the path where the data pin is located on the terminal interface of the terminal cannot realize the communication between the charger and the controller.
Based on this, in the embodiment of the present application, in the case where a charger and an earphone are simultaneously connected to a terminal, the data pin a1 of the charger adaptor 101 is connected to the controller 203 through the communication pin c1 of the terminal adaptor 103 and the communication pin c2 of the terminal interface 201, so that the charger 300 and the controller 203 can communicate. Thus, in the case where the charger and the earphone are simultaneously connected to the terminal, the charger 300 and the controller 203 can communicate to adjust the charging power of the charger, and the controller adjusts the charging power of the charger, thereby increasing the charging rate in the case where the terminal uses the earphone and the charger through the patch cord.
The controller may specifically adjust the charging power of the charger by adjusting a charging voltage of the charger, or by adjusting a charging current of the charger. Next, the adjustment of the charging voltage of the charger will be described as an example.
For example, if the charging voltage of the charger defaults to 5 volts, in the case that the charger 300 communicates with the controller 203, the controller sends a control command to the charger to adjust the charging voltage of the charger, for example, to instruct the charging voltage value of the charger to be adjusted to 10 volts, and then the charging voltage value of the charger may be 10 volts. The charging rate can be increased by adjusting the charging power of the charger compared to the default fixed charging power of the charger.
In the embodiment of the present application, the charger 300 may be a Type-C interface charger or other types of chargers such as a USB charger, and the present application is not particularly limited. Correspondingly, the charger adapter 101 may be a Type-C interface charger adapter or other types of charger adapters such as a USB, and the application is not particularly limited.
In the embodiment of the present application, the earphone 400 may be a 3.5 mm earphone or a Type-C earphone, or other types of earphones, and the present application is not particularly limited. Accordingly, the earphone adapter 102 may be a 3.5 mm earphone adapter or a Type-C earphone adapter, or other types of earphone adapters, which is not limited in this application.
In this embodiment of the application, the types of the terminal adapter 103 and the terminal interface 201 may be a Type-C interface, or other types of interfaces, and this application is not limited in particular.
In the embodiment of the present application, the terminal 200 may be a mobile terminal, a portable terminal, or the like, such as a smart phone, a tablet computer, or other terminals, and the present application is not particularly limited.
The interface conversion system provided by the embodiment of the application comprises a patch cord and a terminal; the patch cord includes: the device comprises a charger adaptation end, an earphone adaptation end and a terminal adaptation end, wherein the charger adaptation end and the earphone adaptation end are respectively connected with the terminal adaptation end; the terminal includes: a terminal interface, an audio switch and a controller; the terminal interface is respectively connected with the audio switch and the controller; under the condition that the charger adaptation end is connected with a charger, the earphone adaptation end is connected with an earphone, and the terminal adaptation end is connected with a terminal, a sound channel pin of the earphone adaptation end is connected with an audio switch through a data pin of the terminal adaptation end and a data pin of the terminal interface; and the data pin of the charger adapter is connected with the controller through the communication pin of the terminal adapter and the communication pin of the terminal interface, so that the charger and the controller can communicate to adjust the charging power of the charger. Therefore, under the condition that the terminal is connected with the earphone and the charger through the patch cord, the data pin of the charger adaptation end is connected with the controller through the communication pin of the terminal adaptation end and the communication pin of the terminal interface, and the controller can be communicated and interacted with the charger, so that the charging power of the charger is adjusted, and the charging rate is improved.
Fig. 2 is a schematic diagram of another interface conversion system provided in the embodiment of the present application.
It can be understood that, in order to accurately turn on a path where a communication signal between the charger and the controller is located at a time when the charger adaptation end is connected to the charger, the earphone adaptation end is connected to the earphone, and the terminal adaptation end is connected to the terminal, so that the charger can communicate with the controller, the interface conversion system provided by the embodiment of the present application may further include a switch module disposed between the communication pin of the terminal interface and the controller. The following description will be made specifically by taking fig. 2 as an example.
In a specific embodiment, as shown in fig. 2, the interface conversion system provided in the embodiment of the present application may further include: a switch module 204, wherein the switch module 204 is connected to the controller 203, and the switch module 204 is connected to the communication pin of the terminal interface 201.
The switch module 204 is a module with a switch function, and can be used to conduct a circuit between a communication pin of the terminal interface and the controller. The switch module may be a field effect transistor, a double pole double throw switch, or other type of switch, and the application is not particularly limited.
Therefore, when the charger adaptive end is connected with the charger, the earphone adaptive end is connected with the earphone, and the terminal adaptive end is connected with the terminal, the communication pin of the terminal interface is controlled to be connected with the controller through the conduction switch module so as to adjust the data pin of the charger adaptive end to pass through the communication pin of the terminal adaptive end and the communication pin of the terminal interface to be connected with the controller, so that the charger and the controller can communicate to adjust the charging power of the charger.
Fig. 3 is a schematic diagram of another interface conversion system provided in the embodiment of the present application.
It can be understood that, in practical applications, the channel signals of the headset are divided into a left channel signal and a right channel signal, and the communication signals between the charger and the controller are also divided into a reception signal and a transmission signal. Based on this, the following specifically describes a specific circuit case in which the charger 300 and the controller 203 can communicate in the case where the charger and the earphone are simultaneously accessed to the terminal. The following is described specifically by taking fig. 3 as an example.
In a specific embodiment, as shown in fig. 3, in the interface conversion system provided in the embodiment of the present application, the channel pin b1 of the earphone adapter 102 may include a first channel pin L and a second channel pin R;
as shown in FIG. 3, the data pin a1 of the charger adapter 101 may include a first data pin D1+ and a second data pin D1-; the data pins a2 of the terminal adapter 103 may include a first mating data pin D2+, a second mating data pin D2-, and the communication pin c1 of the terminal adapter 103 may include a first communication pin TX1+ and a second communication pin TX 1-;
as shown in fig. 3, the data pin a3 of the terminal interface 201 may include: the third and fourth match data pins D3 and D3-, and the communication pin c2 of the terminal interface 201 may include: a third communication pin TX2+ and a fourth communication pin TX 2-;
as shown in fig. 3, when the charger adaptor 101 is connected to the charger 300, the earphone adaptor 102 is connected to the earphone 400, and the terminal adaptor 103 is connected to the terminal 200, the first channel pin L is connected to the first match data pin D2+, the second channel pin R is connected to the second match data pin D2-, the first match data pin D2+ is connected to the third match data pin D3+, and the second match data pin D2-is connected to the fourth match data pin D3-; the third matched data pin D3+ and the fourth matched data pin D3-are both connected with an audio switch;
as shown in fig. 3, in the case that the charger adaptor 101 is connected to the charger 300, the earphone adaptor 102 is connected to the earphone 400, and the terminal adaptor 103 is connected to the terminal 200, the first data pin D1+ is connected to the first communication pin TX1+, and the second data pin D1-is connected to the second communication pin TX 1-; the first communication pin TX1+ is connected with the third communication pin TX2+, and the second communication pin TX 1-is connected with the fourth communication pin TX 2-; the third communication pin TX2+ and the fourth communication pin TX 2-are both connected with a controller.
The path through which the left channel signal of the headphone passes may include a first channel pin L, a first matching data pin D2+, a third matching data pin D3+, and an audio switch. The headphone may include a second channel pin R, a second matching data pin D2-, a fourth matching data pin D3-, and an audio switch on a path through which a right channel signal passes. In this way, the terminal 200 is enabled to perform transmission of the left channel signal and the right channel signal using the headphone 400 through the patch cord 100.
The path through which a Transmit signal TXD (Transmit Data) between the charger and the controller passes may include a first Data pin D1+, a first communication pin TX1+, a third communication pin TX2+, and the controller. The path through which a receiving signal RXD (receiving Data) between the charger and the controller passes may include a second Data pin D1-, a second communication pin TX1-, a fourth communication pin TX 2-and the controller. Therefore, under the condition that the terminal is connected with the earphone and the charger through the patch cord at the same time, the controller can be communicated and interacted with the charger, so that the charging power of the charger is adjusted, and the charging rate is improved.
Fig. 4-5 are schematic diagrams of another interface conversion system provided in the embodiments of the present application.
It can be understood that, in order to accurately turn on a path where a communication signal between the charger and the controller is located at a time when the charger adaptation end is connected to the charger, the earphone adaptation end is connected to the earphone, and the terminal adaptation end is connected to the terminal, so that the charger and the controller can communicate to adjust the charging power of the charger, the interface conversion system provided by the embodiment of the present application may further include a switch module and a controller which are arranged between a communication pin of the terminal interface and the controller. The following is a detailed description taking fig. 4-5 as an example.
In a specific embodiment, as shown in fig. 4, the interface conversion system provided in the embodiment of the present application may further include: a switch module 204 and a processor 205;
as shown in fig. 4-5, the switch module 204 includes a first switch assembly 2041 and a second switch assembly 2042;
as shown in fig. 5, the first switch assembly 2041 has a first end, a second end and a third end; a first terminal of the first switch component is connected to the controller 203, a second terminal of the first switch component is connected to a third communication pin TX2+ of the terminal interface 201, and a third terminal of the first switch component is connected to the processor 205;
as shown in fig. 5, the second switch assembly 2042 has a first end, a second end, and a third end; a first terminal of the second switch component is connected to the controller 203, a second terminal of the second switch component is connected to a fourth communication pin TX2 "of the terminal interface 201, and a third terminal of the second switch component is connected to the processor 205.
As shown in fig. 5, it can be understood that the third terminal G1 of the first switch assembly 2041 can be a control terminal of the first switch assembly, and the third terminal G2 of the second switch assembly 2042 can be a control terminal of the second switch assembly. Under the condition that the charger adaptor end is connected to the charger, the earphone adaptor end is connected to the earphone, and the terminal adaptor end is connected to the terminal, the processor 205 may simultaneously send a conduction signal to the third end G1 of the first switch element 2041 and the third end G2 of the second switch element 2042, respectively, to turn on the first switch element 2041 and the second switch element 2042. In this way, by turning on the first switch component 2041 and the second switch component 2042, the third communication pin TX2+ and the fourth communication pin TX 2-of the terminal interface 201 are connected to the controller, so that the first data pin D1+ and the second data pin D1-of the charger adaptor 101 are connected to the controller through the first communication pin TX1+ and the second communication pin TX 1-of the terminal adaptor 103 and the third communication pin TX2+ and the fourth communication pin TX 2-of the terminal interface 201, so that the charger and the controller can communicate to adjust the charging power of the charger.
For example, in one embodiment, the first switch element 2041 may be a first metal-oxide semiconductor field effect transistor, and the second switch element 2042 may be a second metal-oxide semiconductor field effect transistor; the third terminal G1 of the first switch element 2041 is a gate, and the third terminal G2 of the second switch element 2042 is a gate.
Specifically, the first metal-oxide semiconductor field effect transistor may be an N-type metal-oxide semiconductor field effect transistor, or a P-type metal-oxide semiconductor field effect transistor. In the case that the first metal-oxide semiconductor field effect transistor is an N-type metal-oxide semiconductor field effect transistor, the first end of the first switch element 2041 may be a source, and the second end of the first switch element 2041 may be a drain; in the case that the first metal-oxide semiconductor field effect transistor is a P-type metal-oxide semiconductor field effect transistor, the first end of the first switch element 2041 may be a drain, and the second end of the first switch element 2041 may be a source.
Similarly, the second metal-oxide-semiconductor field effect transistor may be an N-type metal-oxide-semiconductor field effect transistor or a P-type metal-oxide-semiconductor field effect transistor. In the case that the second metal-oxide semiconductor field effect transistor is an N-type metal-oxide semiconductor field effect transistor, the first end of the second switch element 2042 may be a source, and the second end of the second switch element 2042 may be a drain; in the case that the second metal-oxide semiconductor field effect transistor is a P-type metal-oxide semiconductor field effect transistor, the first end of the second switch element 2042 may be a drain, and the second end of the second switch element 2042 may be a source.
In this way, the third communication pin TX2+ and the fourth communication pin TX 2-of the terminal interface 201 are connected to the controller by turning on the two mosfets, so that the first data pin D1+ and the second data pin D1-of the charger adaptor 101 are connected to the controller through the first communication pin TX1+ and the second communication pin TX 1-of the terminal adaptor 103 and the third communication pin TX2+ and the fourth communication pin TX 2-of the terminal interface 201, so that the charger and the controller can communicate to adjust the charging power of the charger.
In the above description, in the case that the charger adaptor terminal is connected to the charger, the earphone adaptor terminal is connected to the earphone, and the terminal adaptor terminal is connected to the terminal, the processor 205 may simultaneously send the conducting signals to the third terminal G1 of the first switch assembly 2041 and the third terminal G2 of the second switch assembly 2042, respectively, to conduct the first switch assembly 2041 and the second switch assembly 2042. The following describes how the processor detects that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal. The following is described specifically by taking fig. 6 as an example.
Fig. 6 is a schematic diagram of another interface conversion system provided in the embodiment of the present application.
In a specific embodiment, as shown in fig. 6, in the interface conversion system provided in the embodiment of the present application, the terminal adapter 103 further includes a first detection pin CC1 and a second detection pin CC 2; the charger adapter 101 further comprises a voltage pin VBUS;
the first detection pin CC1 is connected to the voltage pin VBUS of the charger adaptor 101, and the first detection pin CC1 is grounded through a resistor; the first detection pin CC1 is connected to the processor 205 through a first matching detection pin CC 1' of the terminal interface 201; the second detection pin CC2 is connected to the detection pin CC of the earphone adapter 102, and the second detection pin CC2 is connected to the processor 205 through the second matching detection pin CC 2' of the terminal interface 201.
It can be understood that, for the earphone adapter 102, under the condition that the earphone adapter is connected to the earphone and the terminal adapter is connected to the terminal, the detection pin CC of the earphone adapter 102 is at a low level, and at this time, the second matching detection pin CC 2' of the terminal interface 201 sends a low level signal to the processor 205; in case the earphone adapter is disconnected from the earphone, the detection pin CC of the earphone adapter 102 is at a high level (for example, the detection pin CC may be regarded as a high level in case of being suspended), and at this time, the second matching detection pin CC 2' of the terminal interface 201 sends a high level signal to the processor 205.
It can be understood that, for the terminal adaptor 103, under the condition that the charger adaptor is connected to the charger and the terminal adaptor is connected to the terminal, the voltage pin VBUS of the charger adaptor 101 is at a high level, so that the first detection pin CC1 of the terminal adaptor 103 is at a high level, and at this time, the first matching detection pin CC 1' of the terminal interface 201 sends a high level signal to the processor 205; in the case that the charger adaptor is disconnected from the charger, the first detection pin CC1 of the terminal adaptor 103 is at a low level, and the first matching detection pin CC 1' of the terminal interface 201 sends a low level signal to the processor 205.
Thus, if the second match detect pin CC2 'of the terminal interface 201 sends a low level signal to the processor 205 and the first match detect pin CC 1' of the terminal interface 201 sends a high level signal to the processor 205, the processor can detect that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal. When detecting that the charger adaptation end is connected with the charger, the earphone adaptation end is connected with the earphone, and the terminal adaptation end is connected with the terminal, the processor can simultaneously send a conduction signal to the switch module 204 to conduct the switch module 204, so that the charger and the controller can communicate to adjust the charging power of the charger.
In practical applications, for convenience of understanding, both the terminal adaptation terminal 103 and the terminal interface 201 may be Type-C Type interfaces. Fig. 7(a) and 7(b) are exemplified as follows.
Fig. 7(a) is a partial schematic view of an interface conversion system according to an embodiment of the present application.
Fig. 7(b) is a partial schematic view of another interface conversion system provided in the embodiment of the present application.
Fig. 7(a) and fig. 7(b) may together form a schematic diagram of an interface conversion system provided in the embodiments of the present application.
In one particular embodiment, as shown in fig. 7(a), the patch cord 100 includes: charger adaptation end 101, earphone adaptation end 102, terminal adaptation end 103. Wherein, the earphone adapting end 102 may be a 3.5 mm earphone adapting end. As shown in fig. 7(b), the terminal 200 includes: a terminal interface 201, an audio switch 202, and a controller 203.
As shown in fig. 7(a), the charger adaptation terminal 101 may be a Type-C charger adaptation terminal. The Type-C charger adapter can have 24 pins, including 12 pins of A face and 12 pins of B face, and the pin of A face and the pin efficiency of B face are the same, can realize positive and negative function of inserting. Taking 12 pins of the a-plane as an example, the a1 pin and the a12 pin may be both named GND (Ground ), the a2 pin and the A3 pin may be respectively named TX1+ and TX1- (a pair representing a transmitted differential signal), the a10 pin and the a11 pin may be respectively named RX2+ and RX2- (a pair representing a received differential signal), the a4 pin and the a9 pin may be both named VBUS (power line), the a5 pin may be named CC1(Configuration Channel 1, detection Channel 1), the A6 pin and the a7 pin may be named D + and D- (representing a pair of differential data signals), and the A8 pin may be named SBU1 (sideband Channel 1). The names of the 12 pins on the B-side of the charger adapter 101 are similar to those on the a-side of the charger adapter 101, and refer to fig. 7(a), which is not described herein again.
Wherein, the terminal adaptation end 103 can be a Type-C terminal adaptation end. The pin name can refer to the Type-C charger adapter 101, which is not described herein.
Wherein, the terminal interface 201 may be a Type-C terminal interface. The pin naming of the terminal interface 201 can refer to the Type-C charger adapter 101, which is not described herein.
Referring to fig. 7(a) -7(B), the B-plane of the charger adapter 101 is connected to the charger, the a-plane of the charger adapter 101 is connected to the B-plane of the terminal adapter 103, the 3.5 mm earphone adapter is connected to the B-plane of the terminal adapter 103, the a-plane of the terminal adapter 103 is connected to the B-plane of the terminal interface 201, and the a-plane of the terminal interface 201 is connected to the audio switch 202, the first switch component 2041, and the second switch component 2042, respectively.
The A1 pin, the A12 pin, the B1 pin and the B12 pin of the charger adapter 101 are all grounded; the pin B4 and the pin B9 of the charger adapter 101 are both connected with a power line of the charger; the pin B6 and the pin B7 of the charger adapter 101 are both connected with a signal wire of the charger; the A4 pin and the A9 pin of the charger adapter 101 are respectively connected with the B4 pin and the B9 pin of the terminal adapter 103; the a6 pin and the a7 pin of the charger adaptor 101 are connected to the B2 pin and the B3 pin of the terminal adaptor 103, respectively.
The 3.5 mm headphone adapter 102 has 6 pins, which may be named as M/G, R, L, DET1, DET2, G/M in sequence. The first pin M/G and the sixth pin G/M of the 3.5 mm earphone adapter 102 may represent M (Microphone) and G (Ground), respectively, and the first pin and the sixth pin may exchange positions. The first pin M/G and the sixth pin G/M of the 3.5 mm headphone adapter 102 may be connected to pin A8 and pin B8, respectively, of the terminal adapter 103. The second pin R and the third pin L of the 3.5 mm headphone adapter 102 may represent the second channel pin and the first channel pin, respectively, and may be connected to the B7 pin and the B6 pin of the terminal adapter 103, respectively. The fourth pin DET1 of the 3.5 mm headphone adapter 102 may represent the detect pin CC, the fifth pin DET2 of the 3.5 mm headphone adapter 102 may be grounded, and in case of a headphone connected to the headphone adapter, the switch between the fourth pin DET1 and the fifth pin DET2 is turned on, making the fourth pin DET1 low.
The A1 pin, the A12 pin, the B1 pin and the B12 pin of the terminal adapter 103 are all grounded; the a4 pin and the a9 pin of the terminal adapter 103 are connected to the B4 pin and the B9 pin of the terminal interface 201, respectively; the a2 pin and the A3 pin of the terminal adapter 103 are connected to the B2 pin and the B3 pin of the terminal interface 201, respectively; the pin A5 of the terminal adapter 103 is connected with the pin A4 of the charger adapter 101 through a resistor Ra, and the pin A5 of the terminal adapter 103 is grounded through a resistor Rb; the a6 pin and the a7 pin of the terminal adapter 103 are connected to the B6 pin and the B7 pin of the terminal interface 201, respectively.
The pin A1, the pin A12, the pin B1 and the pin B12 of the terminal interface 201 are all grounded; pin a2 of the terminal interface 201 is connected to the second end of the first switch assembly 2041; the pin a3 of the terminal interface 201 is connected to the second end of the second switch assembly 2042; the pin A4 and the pin A9 of the terminal interface 201 are both connected with the third end of the charging management chip 207; pins A5 and B5 of the terminal interface 201 are both connected to the processor 205; pin a6 of the terminal interface 201 is connected with pin DP of the audio switch; pin a7 of the terminal interface 201 is connected to pin DM of the audio switch; the pin A8 and the pin B8 of the terminal interface 201 are connected with the pin SBU1 and the pin SBU2 of the audio switch, respectively.
As shown in fig. 7(a), in the interface conversion system provided in the embodiment of the present application, the sound channel pins of the earphone adapter 102 may include a first sound channel pin (i.e., an L pin of the earphone adapter 102) and a second sound channel pin (i.e., an R pin of the earphone adapter 102);
as shown in fig. 7(a), the data pins of the charger adaptor 101 may include a first data pin (i.e., a6 pin and a B6 pin of the charger adaptor 101) and a second data pin (i.e., a7 pin and a B7 pin of the charger adaptor 101); the data pins of the terminal adapter 103 may include first mating data pins (i.e., the a6 pin and the B6 pin of the terminal adapter 103), second mating data pins (i.e., the a7 pin and the B7 pin of the terminal adapter 103), and the communication pins of the terminal adapter 103 may include first communication pins (i.e., the a2 pin and the B2 pin of the terminal adapter 103) and second communication pins (i.e., the A3 pin and the B3 pin of the terminal adapter 103);
as shown in fig. 7(b), the data pin of the terminal interface 201 may include: third match data pins (i.e., the a6 pin and the B6 pin of the terminal interface 201), fourth match data pins (i.e., the a7 pin and the B7 pin of the terminal interface 201), the communication pins of the terminal interface 201 may include: a third communication pin (i.e., the a2 pin and the B2 pin of the terminal interface 201) and a fourth communication pin (i.e., the A3 pin and the B3 pin of the terminal interface 201).
As shown in fig. 7(a) -7(B), the terminal adapter 103 may further include a first detection pin a5 and a second detection pin B5; the charger adapter 101 may also include a voltage pin a 4;
the first detection pin a5 of the terminal adapter 103 can be connected to the voltage pin a4 of the charger adapter 101 through a resistor Ra, and the first detection pin a5 of the terminal adapter 103 is grounded through a resistor Rb; the first detection pin a5 of the terminal adapter 103 is connected to the processor 205 through the first matching detection pin a5 of the terminal interface 201; the second detection pin B5 of the terminal adapter 103 is connected to the detection pin CC of the headphone adapter 102, and the second detection pin B5 of the terminal adapter 103 is connected to the processor 205 through the second matching detection pin B5 of the terminal interface 201.
As shown in fig. 7(a) -7(B), for the earphone adapter 102, in the case that the earphone adapter is connected to the earphone and the terminal adapter is connected to the terminal, the detection pin CC of the earphone adapter 102 is grounded, i.e. at low level, and at this time, the second matching detection pin B5 of the terminal interface 201 sends a low level signal to the processor 205; in case the earphone adapter is disconnected from the earphone, the detection pin CC of the earphone adapter 102 is at a high level (for example, the detection pin CC may be regarded as a high level in case of being suspended), and at this time, the second matching detection pin B5 of the terminal interface 201 sends a high level signal to the processor 205.
As shown in fig. 7(a) -7(b), for the terminal adapter 103, in the case that the charger adapter is connected to the charger and the terminal adapter is connected to the terminal, the voltage pin a4 of the charger adapter 101 is at a high level, so that the first detection pin a5 of the terminal adapter 103 is at a high level, and at this time, the first matching detection pin a5 of the terminal interface 201 sends a high level signal to the processor 205; in the case where the charger adaptor is disconnected from the charger, the first detection pin a5 of the terminal adaptor 103 is at a low level, and the first matching detection pin a5 of the terminal interface 201 sends a low level signal to the processor 205.
Thus, if the second match detect pin B5 of the terminal interface 201 sends a low signal to the processor 205 and the first match detect pin a5 of the terminal interface 201 sends a high signal to the processor 205, the processor can detect that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal. When the processor detects that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal, the processor 205 may simultaneously send a turn-on signal to the gate G1 of the first mosfet 2041 and the gate G2 of the second mosfet 2042 to turn on the first mosfet 2041 and the second mosfet 2042, so that the charger and the controller can communicate to adjust the charging power of the charger.
Here, it can be understood that, in the case that the charger communicates with the controller, a first path for reception of the communication signal and a second path for transmission of the communication signal may be respectively included between the charger and the controller. As described in detail below.
As shown in fig. 7(a) and 7(B), in the case where the charger adaptor 101 is connected to the charger 300, the earphone adaptor 102 is connected to the earphone 400, and the terminal adaptor 103 is connected to the terminal 200, the first data pin (i.e., the a6 pin of the charger adaptor 101) is connected to the first communication pin (i.e., the B2 pin of the terminal adaptor 103), and the second data pin (i.e., the a7 pin of the charger adaptor 101) is connected to the second communication pin (i.e., the B3 pin of the terminal adaptor 103); the first communication pin (i.e., the a2 pin of the terminal adapter 103) is connected to the third communication pin (i.e., the B2 pin of the terminal interface 201), and the second communication pin (i.e., the A3 pin of the terminal adapter 103) is connected to the fourth communication pin (i.e., the B3 pin of the terminal interface 201); the third communication pin (i.e., pin a2 of the terminal interface 201) is connected to the controller through the first switch assembly 2041, and the fourth communication pin (i.e., pin A3 of the terminal interface 201) is connected to the controller through the second switch assembly 2042.
In fig. 7(a), 7(B), the first path through which the receiving signal RXD (Receive Data) between the charger and the controller passes may include a second Data pin (i.e., a B7 pin and an a7 pin of the charger adaptor 101), a second communication pin (i.e., a B3 pin and an A3 pin of the terminal adaptor 103), a fourth communication pin (i.e., a B3 pin and an A3 pin of the terminal interface 201), a second switching component 2042 and the controller.
In fig. 7(a), 7(B), the second path through which a transmission signal TXD (Transmit Data) between the charger and the controller passes may include a first Data pin (i.e., a B6 pin and an a6 pin of the charger adaptor 101), a first communication pin (i.e., a B2 pin and an a2 pin of the terminal adaptor 103), a third communication pin (i.e., a B2 pin and an a2 pin of the terminal interface 201), a first switching component 2041, and the controller.
Therefore, under the condition that the terminal is connected with the earphone and the charger through the patch cord at the same time, the controller can be communicated and interacted with the charger through the first path and the second path, so that the charging power of the charger is adjusted, and the charging rate is improved.
Here, it can be understood that, as shown in fig. 7(a) -7(b), the terminal 200 further includes an audio codec 208 for codec-decoding the left channel signal and the right channel signal. The following is a detailed description.
As shown in fig. 7(a) and 7(b), in the case where the charger adaptor terminal 101 is connected to the charger 300, the earphone adaptor terminal 102 is connected to the earphone 400, and the terminal adaptor terminal 103 is connected to the terminal 200, the first channel pin (i.e., the L pin of the headphone adapter 102) is connected to the first matching data pin (i.e., the B6 pin of the terminal adapter 103), the second channel pin (i.e., the R pin of the earphone adapter 102) is connected to the second matching data pin (i.e., the B7 pin of the terminal adapter 103), the first match data pin (i.e., the A6 pin of the terminal adapter 103) is connected to the third match data pin (i.e., the B6 pin of the terminal interface 201), the second match data pin (i.e., pin A7 of terminal adapter 103) is connected to the fourth match data pin (i.e., pin B7 of terminal interface 201); the third match data pin (i.e., the a6 pin of the terminal interface 201) is connected to the DP pin of the audio switch, and the fourth match data pin (i.e., the a7 pin of the terminal interface 201) is connected to the DM pin of the audio switch.
Thus, in fig. 7(a), 7(B), in the case where the earphone adaptor is connected to the earphone and the terminal adaptor is connected to the terminal, the path through which the left channel signal of the earphone passes may include a first channel pin (i.e., the L pin of the earphone adaptor 102), a first match data pin (i.e., the B6 pin and the a6 pin of the terminal adaptor 103), a third match data pin (i.e., the B6 pin and the a6 pin of the terminal interface 201), the DP pin and the L pin of the audio switch 202, and the audio codec 208. The path through which the right channel signal of the headset passes may include a second channel pin (i.e., R pin of the headset adaptor 102), a second match data pin (i.e., B7 pin and a7 pin of the terminal adaptor 103), a fourth match data pin (i.e., B7 pin and a7 pin of the terminal interface 201), a DM pin and R pin of the audio switch 202, and the audio codec 208. In this way, the terminal 200 can perform transmission of the left channel signal and the right channel signal using the headphone 400 through the patch cord 100.
In a specific embodiment, as shown in fig. 7(b), the processor 205 may control the audio switch 202 to switch between the first operating mode, the second operating mode, and the third operating mode.
Specifically, in the case where the processor 205 controls the audio switch 202 to perform the first operation mode, the signals at the DP pin and the DM pin of the audio switch 202 are switched to the DP _ AP1 pin and the DM _ AP1 pin of the audio switch 202, and the terminal performs the data transmission operation mode.
In the case where the processor 205 controls the audio switch 202 to perform the second operation mode, the signals at the DP pin and the DM pin in the audio switch 202 are switched to the DP _ AP2 pin and the DM _ AP2 pin of the audio switch 202, and the terminal may perform the charging communication mode.
In the case where the processor 205 controls the audio switch 202 to perform the third operation mode, the signals at the DP pin and the DM pin in the audio switch 202 are switched to the L pin and the R pin of the audio switch 202, and the audio play mode is performed.
It can be understood that the problems in the related art can be described by way of example with reference to the audio switch mentioned in fig. 7 (b). Specifically, in the related art, if the charger is separately connected to the terminal interface of the terminal, and the audio switch 202 is in the second operating mode, signals at the DP pin and the DM pin in the audio switch 202 are switched to the DP _ AP2 pin and the DM _ AP2 pin of the audio switch 202, and communication between the charger and the controller can be realized through a path where data pins (i.e., the a6 pin, the a7 pin, and the B6 pin and the B7 pin of the terminal interface 201) on the terminal interface 201 are located; if the earphone is separately connected to the terminal interface of the terminal, the audio switch 202 is in the third operating mode, and the signals at the DP pin and the DM pin in the audio switch 202 are switched to the L pin and the R pin of the audio switch 202, so that the channel signal transmission between the earphone and the terminal can be realized through the path where the data pins (i.e., the a6 pin, the a7 pin, and the B6 pin, B7 pin) on the terminal interface are located. However, when the charger and the earphone are simultaneously connected to the terminal, the audio switch 202 is in the third operating mode, and a path where a data pin on a terminal interface of the terminal is located is used by a sound channel signal, so as to realize sound channel signal transmission between the earphone and the terminal; at this time, compared with the terminal interface in which the charger is separately connected to the terminal, the path in which the data pin is located on the terminal interface of the terminal is occupied by the sound channel signal, that is, the communication between the charger and the controller cannot be realized through the path in which the data pin is located on the terminal interface of the terminal, and further, the communication between the charger and the controller is interrupted, the charger is difficult to perform quick charging identification, only the electronic device is charged with low fixed power, and the charging power of the charger cannot be adjusted.
In the embodiment of the present application, referring to fig. 7(b), in a case that the earphone adaptor is connected to the earphone and the terminal adaptor is connected to the terminal, the processor 205 controls the audio switch 202 to execute the audio playing mode, a signal at the DP pin of the audio switch 202 is switched to the L pin of the audio switch 202, a signal at the DM pin of the audio switch 202 is switched to the R pin of the audio switch 202, and the terminal 200 can transmit the left channel signal and the right channel signal by using the earphone 400 through the audio switch 202; meanwhile, in the embodiment of the present application, the controller and the charger perform communication interaction through the newly established communication path (i.e., the first path for receiving the communication signal and the second path for transmitting the communication signal described above), so as to adjust the charging power of the charger and improve the charging rate.
In addition, the embodiment of the interface conversion system shown in fig. 7(a) above describes an example of a patch cord having a 3.5 mm earphone adapter end, and the patch cord having a Type-C earphone adapter end can be exemplified as described below. The following description will be made by taking the earphone adapter 102 as a Type-C earphone adapter as an example with reference to fig. 7 (C).
Fig. 7(c) is a partial schematic view of another interface conversion system provided in the embodiment of the present application.
Fig. 7(c) and fig. 7(b) may together form a schematic diagram of another interface conversion system provided in the embodiments of the present application.
In a specific embodiment, as shown in fig. 7(C), the headphone adapter 102 may be a Type-C headphone adapter. Wherein, the pin name of Type-C earphone adaptation end can refer to the Type-C charger adaptation end 101, and this is not repeated here.
As shown in fig. 7(C), the detect pin B5 of the Type-C headphone adapter 102 is connected to the target channel pin of the first channel pin B6 and the second channel pin B7; and under the condition that the earphone adapting end is connected with the earphone, the target sound channel pin is grounded through a resistor.
As shown in fig. 7(c), the target channel pin may be the first channel pin B6; in the case where the headphone adapter is connected to a headphone, the impedance to ground of the first channel pin B6 (i.e., the pin through which the left channel signal passes) may be 32 ohms. Thus, when the earphone adapter is connected to an earphone, the detect pin B5 of the Type-C earphone adapter 102 is connected to the first channel pin B6, which is equivalent to the detect pin B5 of the Type-C earphone adapter 102 being grounded through a 32 ohm resistor, and the detect pin B5 of the Type-C earphone adapter 102 is at a low level. In addition, under the condition that the earphone adapter is disconnected from the earphone, the detection pin B5 of the Type-C earphone adapter 102 is in a floating state, and the detection pin B5 of the Type-C earphone adapter 102 can be regarded as a high level.
Thus, as shown in fig. 7(B) -7(C), for the Type-C headset adapter 102, in the case that the headset adaptor is connected to the headset and the terminal adaptor is connected to the terminal, the detection pin B5 of the headset adaptor 102 is at low level, and the second matching detection pin B5 of the terminal interface 201 sends a low level signal to the processor 205; in case the headphone adapter is disconnected from the headphone, the detection pin B5 of the headphone adapter 102 is high, and the second matching detection pin B5 of the terminal interface 201 sends a high signal to the processor 205.
As shown in fig. 7(b) -7(c), for the terminal adapter 103, in the case that the charger adapter is connected to the charger and the terminal adapter is connected to the terminal, the voltage pin a4 of the charger adapter 101 is at a high level, so that the first detection pin a5 of the terminal adapter 103 is at a high level, and at this time, the first matching detection pin a5 of the terminal interface 201 sends a high level signal to the processor 205; in the case where the charger adaptor is disconnected from the charger, the first detection pin a5 of the terminal adaptor 103 is at a low level, and the first matching detection pin a5 of the terminal interface 201 sends a low level signal to the processor 205.
Thus, if the second match detect pin B5 of the terminal interface 201 sends a low signal to the processor 205 and the first match detect pin a5 of the terminal interface 201 sends a high signal to the processor 205, the processor can detect that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal. When the processor detects that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal, the processor 205 may simultaneously send a turn-on signal to the gate G1 of the first mosfet 2041 and the gate G2 of the second mosfet 2042 to turn on the first mosfet 2041 and the second mosfet 2042, so that the charger and the controller can communicate to adjust the charging power of the charger.
In addition, the present embodiment may also describe a path through which a charging current passes between the charger 300 and the battery of the terminal 200. As shown in fig. 4, in the interface conversion system provided in the embodiment of the present application, the terminal 200 may further include a charging management chip 207 and a battery 206, where the charging management chip 207 has a first terminal, a second terminal, and a third terminal.
As shown in fig. 4, a first terminal of a charging management chip 207 is connected to the controller 203, and a second terminal of the charging management chip 207 is connected to the battery 206;
as shown in fig. 4, the terminal interface 201 has a matching voltage pin VBUS ', the third terminal of the charging management chip 207 is connected to the matching voltage pin VBUS ' of the terminal interface, and the matching voltage pin VBUS ' of the terminal interface 201 is connected to the voltage pin VBUS of the charger adapter through the terminal adapter.
The path through which the charging current between the charger 300 and the battery 206 of the terminal 200 passes includes a voltage pin VBUS of the charger adaptor, a terminal adaptor, a matching voltage pin VBUS' of the terminal interface, a third terminal and a second terminal of the charging management chip 207. Thus, the charging current may sequentially pass through the charger 300, the voltage pin VBUS of the charger adaptor, the terminal adaptor, the matching voltage pin VBUS' of the terminal interface, the third terminal and the second terminal of the charging management chip 207, and finally enter the battery 206.
In another specific embodiment, for an interface conversion system formed by fig. 7(a) and 7(b), a path through which a charging current passes between the charger 300 and a battery of the terminal 200 may be specifically described.
Specifically, in fig. 7(a) and 7(B), the path through which the charging current between the charger and the controller passes may include a voltage pin of the charger adaptor 101 (i.e., a B4 pin and an a4 pin of the charger adaptor 101, or a B9 pin and an a9 pin of the charger adaptor 101), a voltage pin of the terminal adaptor 103 (i.e., a B4 pin and an a4 pin of the terminal adaptor 103, or a B9 pin and an a9 pin of the terminal adaptor 103), a matching voltage pin of the terminal interface 201 (i.e., a B4 pin and an a4 pin of the terminal interface 201, or a B9 pin and an a9 pin of the terminal interface 201), a third terminal and a second terminal of the charge management chip 207, and the battery 206. Thus, after the controller adjusts the charging power of the charger, the charging current adjusted by the charger may sequentially pass through the charger 300, the voltage pin of the charger adaptor, the voltage pin of the terminal adaptor, the matching voltage pin of the terminal interface, the third terminal and the second terminal of the charging management chip 207, and finally enter the battery 206, and the battery is charged with the adjusted charging power.
Fig. 8 is a schematic flowchart of a method for controlling an interface conversion system according to an embodiment of the present application, and referring to fig. 8, an embodiment of the present application may provide a method for controlling an interface conversion system shown in fig. 6, an execution subject of the control method according to the embodiment of the present application may be the terminal 200 mentioned above, and the control method for an interface conversion system according to the embodiment of the present application may include:
step 810: in response to the charger adapting end being connected with a charger, the earphone adapting end being connected with an earphone and the terminal adapting end being connected with a terminal, the processor sends a first conduction signal to a third end of the first switch component and sends a second conduction signal to a third end of the second switch component;
step 820: the controller communicates with the charger in response to the first and second switching components being conductive; wherein a first path formed by the controller and the first switch assembly is used for receiving communication signals; the second channel formed by the controller and the second switch assembly is used for sending communication signals.
In step 810, referring to the interface conversion system shown in fig. 6, in response to the charger adaptor 101 being connected to the charger 300, the earphone adaptor 102 being connected to the earphone 400, and the terminal adaptor 103 being connected to the terminal 200, the processor 205 sends a first conducting signal to the third terminal G1 of the first switch assembly 2041 and sends a second conducting signal to the third terminal G2 of the second switch assembly 2042, so as to make the first switch assembly 2041 and the second switch assembly conducting.
In step 820, referring to the interface conversion system shown in fig. 6, in response to the first switch component and the second switch component being turned on, a first path through which a signal TXD between the charger and the controller passes may include a first data pin D1+, a first communication pin TX1+, a third communication pin TX2+, and the controller. The second path through which the received signal RXD between the charger and the controller passes may include a second data pin D1-, a second communication pin TX1-, a fourth communication pin TX2-, and the controller. Thus, the charger 300 and the controller 203 can communicate, the controller adjusts the charging power of the charger, and the charging rate is improved when the terminal uses the earphone and the charger through the patch cord.
According to the method for controlling the interface conversion system, the processor sends a first conducting signal to the third end of the first switch component and sends a second conducting signal to the third end of the second switch component in response to the connection of the charger adapting end and the charger, the connection of the earphone adapting end and the earphone and the connection of the terminal adapting end and the terminal; the controller communicates with the charger in response to the first and second switching components being conductive; wherein a first path formed by the controller and the first switch assembly is used for receiving communication signals; the second channel formed by the controller and the second switch assembly is used for sending communication signals. Therefore, under the condition that the terminal uses the earphone and the charger through the patch cord at the same time, the controller is communicated with the charger by conducting the first switch component and the second switch component, so that the controller can adjust the charging power of the charger and improve the charging rate.
It should be noted that the method for controlling an interface conversion system provided in fig. 8 may also be applied to an interface conversion system configured together with fig. 7(a) and fig. 7(b), or may also be applied to an interface conversion system configured together with fig. 7(b) and fig. 7(c) provided in the embodiment of the present application, and details are not described here again.
In a specific embodiment, in step 810, it may be specifically determined that the charger adaptor is connected to the charger, the earphone adaptor is connected to the earphone, and the terminal adaptor is connected to the terminal by:
responding to a first matching detection pin to output a high level to the processor, and determining that the charger adapter is connected with a charger;
and responding to the second matching detection pin to output low level to the processor, and determining that the earphone adapter is connected with the earphone.
Referring to the interface conversion system shown in fig. 6, if the first matching detection pin CC 1' outputs a high level to the processor 205, which indicates that the first detection pin CC1 of the terminal adapter 103 is at a high level, and the voltage pin VBUS of the charger adapter 101 is at a high level, which indicates that the charger adapter 101 is connected to the charger 300 and the terminal adapter is connected to the terminal.
Referring to the interface conversion system shown in fig. 6, if the second matching detection pin CC 2' outputs a low level to the processor 205, it indicates that the second detection pin CC2 of the terminal adaptor 103 is a low level, and the detection pin CC of the earphone adaptor 102 is a low level, it indicates that the earphone adaptor 102 is connected to the earphone 400 and the terminal adaptor is connected to the terminal.
Moreover, compared with the related art, the improvement of the interface conversion system provided by the present application to hardware may include that a first switch component and a second switch component are additionally provided in the terminal 200, and the operating energy consumption of the first switch component and the second switch component is also relatively low.
According to the method for controlling the interface conversion system, the charger adapting end is determined to be connected with the charger and the terminal adapting end is determined to be connected with the terminal by responding to the first matching detection pin and outputting a high level to the processor; and outputting a low level to the processor in response to the second matching detection pin, and determining that the earphone adaptation end is connected with the earphone and the terminal adaptation end is connected with the terminal. Therefore, under the condition that the first matching detection pin outputs high level to the processor and the second matching detection pin outputs low level to the processor, the charger adapting end is determined to be connected with the charger, the earphone adapting end is connected with the earphone and the terminal adapting end is determined to be connected with the terminal. The first and second switching components may be turned on at this time so that the controller communicates with the charger.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. An interface conversion system is characterized by comprising a patch cord and a terminal;
the patch cord includes: the earphone adapter comprises a charger adapter end, an earphone adapter end and a terminal adapter end, wherein the charger adapter end and the earphone adapter end are respectively connected with the terminal adapter end;
the terminal includes: the terminal interface is respectively connected with the audio switch and the controller;
under the condition that the charger adaptation end is connected with a charger, the earphone adaptation end is connected with an earphone, and the terminal adaptation end is connected with a terminal, a sound channel pin of the earphone adaptation end is connected with an audio switch through a data pin of the terminal adaptation end and a data pin of the terminal interface; and the data pin of the charger adapter is connected with the controller through the communication pin of the terminal adapter and the communication pin of the terminal interface, so that the charger and the controller can communicate to adjust the charging power of the charger.
2. The interface conversion system of claim 1, further comprising a switch module, wherein the switch module is connected to the controller and the switch module is connected to the communication pin of the terminal interface.
3. The interface conversion system of claim 1, wherein the audio channel pins of the headphone adapter include a first audio channel pin and a second audio channel pin;
the data pins of the charger adapter end comprise a first data pin and a second data pin; the data pins of the terminal adapting end comprise a first matching data pin and a second matching data pin, and the communication pins of the terminal adapting end comprise a first communication pin and a second communication pin;
the data pin of the terminal interface comprises: the communication pin of the terminal interface comprises a third matching data pin and a fourth matching data pin, wherein the communication pin of the terminal interface comprises: a third communication pin and a fourth communication pin;
under the condition that the charger adapter end is connected with a charger, the earphone adapter end is connected with an earphone, and the terminal adapter end is connected with a terminal, the first sound channel pin is connected with the first matching data pin, the second sound channel pin is connected with the second matching data pin, the first matching data pin is connected with the third matching data pin, and the second matching data pin is connected with the fourth matching data pin; the third matched data pin and the fourth matched data pin are both connected with an audio switch;
under the condition that the charger adaptation end is connected with a charger, the earphone adaptation end is connected with an earphone, and the terminal adaptation end is connected with a terminal, the first data pin is connected with the first communication pin, and the second data pin is connected with the second communication pin; the first communication pin is connected with the third communication pin, and the second communication pin is connected with the fourth communication pin; the third communication pin and the fourth communication pin are both connected with a controller.
4. The interface conversion system of claim 3, further comprising a switch module and a processor,
the switch module comprises a first switch assembly and a second switch assembly;
the first switch assembly has a first end, a second end and a third end; a first end of the first switch assembly is connected with the controller, a second end of the first switch assembly is connected with a third communication pin of the terminal interface, and a third end of the first switch assembly is connected with the processor;
the second switch assembly has a first end, a second end and a third end; the first end of the second switch assembly is connected with the controller, the second end of the second switch assembly is connected with the fourth communication pin of the terminal interface, and the third end of the second switch assembly is connected with the processor.
5. The interface conversion system according to claim 4, wherein the first switching element is a first metal-oxide semiconductor field effect transistor and the second switching element is a second metal-oxide semiconductor field effect transistor; the third end of the first switch component is a grid electrode, and the third end of the second switch component is a grid electrode.
6. The interface conversion system according to claim 4,
the terminal adapting end also comprises a first detection pin and a second detection pin; the charger adapter end also comprises a voltage pin;
the first detection pin is connected with a voltage pin of the charger adapter end and is grounded through a resistor; the first detection pin is connected with the processor through a first matching detection pin of the terminal interface; the second detection pin is connected with the detection pin of the earphone adapter end, and the second detection pin is connected with the processor through the second matching detection pin of the terminal interface.
7. The interface conversion system according to claim 6, wherein the earphone adapter is a Type-C earphone adapter, and a detection pin of the Type-C earphone adapter is connected to a target channel pin of the first channel pin and the second channel pin;
and under the condition that the earphone adapting end is connected with the earphone, the target sound channel pin is grounded through a resistor.
8. The interface conversion system of claim 4, wherein said terminal further comprises a charge management chip and a battery, said charge management chip having a first terminal, a second terminal and a third terminal,
the first end of the charging management chip is connected with the controller, and the second end of the charging management chip is connected with the battery;
the terminal interface is provided with a matching voltage pin, the third end of the charging management chip is connected with the matching voltage pin of the terminal interface, and the matching voltage pin of the terminal interface is connected with the voltage pin of the charger adapting end through the terminal adapting end.
9. A method of controlling the interface conversion system according to claim 6, the method comprising:
in response to the charger adapting end being connected with a charger, the earphone adapting end being connected with an earphone and the terminal adapting end being connected with a terminal, the processor sends a first conduction signal to a third end of the first switch component and sends a second conduction signal to a third end of the second switch component;
the controller communicates with the charger in response to the first and second switching components being conductive;
wherein a first path formed by the controller and the first switch assembly is used for receiving communication signals; the second channel formed by the controller and the second switch assembly is used for sending communication signals.
10. The method of claim 9, further comprising:
responding to a first matching detection pin to output a high level to the processor, and determining that the charger adapter is connected with a charger;
and responding to the second matching detection pin to output low level to the processor, and determining that the earphone adapter is connected with the earphone.
CN202111045931.XA 2021-09-07 2021-09-07 Interface conversion system and control method thereof Pending CN113823971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111045931.XA CN113823971A (en) 2021-09-07 2021-09-07 Interface conversion system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111045931.XA CN113823971A (en) 2021-09-07 2021-09-07 Interface conversion system and control method thereof

Publications (1)

Publication Number Publication Date
CN113823971A true CN113823971A (en) 2021-12-21

Family

ID=78922130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111045931.XA Pending CN113823971A (en) 2021-09-07 2021-09-07 Interface conversion system and control method thereof

Country Status (1)

Country Link
CN (1) CN113823971A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040017587A (en) * 2002-08-22 2004-02-27 주식회사 팬택 Shared Circuit For Ear_DC Jack Connector Of Mobile Communication Terminal
US20090130874A1 (en) * 2007-11-16 2009-05-21 Sony Ericsson Mobile Communications Ab Multipurpose universal serial bus cable
US20090140790A1 (en) * 2007-11-29 2009-06-04 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Electronic device with compound audio interface and power adapter
CN103647318A (en) * 2013-12-04 2014-03-19 华为终端有限公司 Communication terminal, and charging control method, apparatus, and circuit
CN105226749A (en) * 2015-09-25 2016-01-06 联想(北京)有限公司 A kind of charging method, charger and electronic equipment
US20160156137A1 (en) * 2014-12-02 2016-06-02 Mediatek Inc. System and circuit using usb type-c interface
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger
CN108075325A (en) * 2016-11-18 2018-05-25 三星电子株式会社 Interface equipment
CN108268397A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 The processing method and mobile terminal of a kind of access device
US20180198248A1 (en) * 2017-01-12 2018-07-12 Ortronics, Inc. Expandable Audio Visual Adapter Module With Multi-Port Voltage and Power Management Circuitry
CN108666826A (en) * 2017-03-31 2018-10-16 中兴通讯股份有限公司 A kind of adapter, terminal device and switching head system
CN110944076A (en) * 2019-12-30 2020-03-31 上海爻火微电子有限公司 Electronic equipment and accessory with quick charging and audio transmission functions
CN111987752A (en) * 2019-05-21 2020-11-24 北京小米移动软件有限公司 Switching equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040017587A (en) * 2002-08-22 2004-02-27 주식회사 팬택 Shared Circuit For Ear_DC Jack Connector Of Mobile Communication Terminal
US20090130874A1 (en) * 2007-11-16 2009-05-21 Sony Ericsson Mobile Communications Ab Multipurpose universal serial bus cable
US20090140790A1 (en) * 2007-11-29 2009-06-04 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Electronic device with compound audio interface and power adapter
CN103647318A (en) * 2013-12-04 2014-03-19 华为终端有限公司 Communication terminal, and charging control method, apparatus, and circuit
US20160156137A1 (en) * 2014-12-02 2016-06-02 Mediatek Inc. System and circuit using usb type-c interface
CN105226749A (en) * 2015-09-25 2016-01-06 联想(北京)有限公司 A kind of charging method, charger and electronic equipment
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger
CN108075325A (en) * 2016-11-18 2018-05-25 三星电子株式会社 Interface equipment
CN108268397A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 The processing method and mobile terminal of a kind of access device
US20180198248A1 (en) * 2017-01-12 2018-07-12 Ortronics, Inc. Expandable Audio Visual Adapter Module With Multi-Port Voltage and Power Management Circuitry
CN108666826A (en) * 2017-03-31 2018-10-16 中兴通讯股份有限公司 A kind of adapter, terminal device and switching head system
CN111987752A (en) * 2019-05-21 2020-11-24 北京小米移动软件有限公司 Switching equipment
CN110944076A (en) * 2019-12-30 2020-03-31 上海爻火微电子有限公司 Electronic equipment and accessory with quick charging and audio transmission functions

Similar Documents

Publication Publication Date Title
US11526459B2 (en) Adapter, terminal device and adapter system
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
EP1961261B1 (en) Control circuitry for providing an interface between connectable terminal and peripheral device circuitry
US20040204185A1 (en) Combination audio/charger jack
CN108494058A (en) Charging box circuit, wireless headset and the earphone charging communication device of wireless headset
US20140100001A1 (en) Apparatus and method for detecting insertion of headset into mobile station
JP7339444B2 (en) Multiplexing circuits, interface circuit systems, and mobile terminals
WO2020134812A1 (en) Terminal device, adapter, and charging method
WO2021239039A1 (en) Data line and charging device
WO2021239038A1 (en) Data line and charging device
US20230082918A1 (en) Charger, data cable, and charging device
US20220004352A1 (en) Audio circuit, and device and control method related thereto
CN212517830U (en) Multifunctional switching device
CN213879326U (en) Isolation switching device, earphone and earphone system
CN113535622A (en) Power supply switching system, USB socket and electronic equipment
CN113823971A (en) Interface conversion system and control method thereof
WO2021147416A1 (en) Charging control method, electronic device, charging box, and electronic system
WO2020192376A1 (en) Determination circuit for positive and negative ends of earphone mic, method, and electronic device
CN111987752A (en) Switching equipment
CN211017626U (en) Earphone charging data line with switching function
CN217445510U (en) Audio signal switching circuit and wireless earphone
CN211019167U (en) Bluetooth headset and charging device and charging system thereof
CN220798499U (en) Earphone, patch cord and audio equipment
CN213754010U (en) Charging device and charging system
CN216599997U (en) Switching circuit and wireless earphone

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