Electronic devices and accessories with fast charging and audio transmission functions
By using a fast charging controller in electronic devices to communicate with the SBU pin of the Type C mother base for fast charging protocol, and using digital audio signals to interact, the fast charging problem during accessories is solved, and the compatibility between audio transmission and fast charging is achieved.
Patent Information
- Application Number
- CN201911388568.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-30
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2039-12-30
AI Technical Summary
When using accessories that both charge and audio transmission functions, fast charging cannot be achieved because the charger and audio connector cannot be connected at the same time, resulting in the communication of the fast charging protocol cannot be carried out.
By using a fast charging controller and the Type C motherboard in electronic devices, the SBU pins are used to communicate with the charger for fast charging protocol, and interact with the digital audio signal to save pin usage, ensuring the progress of fast charging protocol communication.
It realizes fast charging when using accessories with audio transmission function, breaks through the limitations of relying on the CC pin in traditional fast charging methods, and ensures the effective use of the SBU pin.
Smart Images

Figure CN110944076B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of charging, and in particular to an electronic device and an accessory with both fast charging and audio transmission functions. Background Art
[0002] In electronic devices such as smartphones, tablets, and smart cameras, the audio interface dedicated to connecting the audio connector (such as the 3.5mm headphone interface) is usually omitted for the purpose of reducing external interfaces and reducing the space occupied by interfaces. Therefore, both the audio signal transmission function and the charging function need to be realized through the Type C interface.
[0003] However, since the charger and audio connector cannot be connected at the same time, the audio signal transmission function and the charging function cannot be used at the same time. At this time, you need to use a Type C male to Type C female and audio interface accessory.
[0004] In the existing related technology, after the accessory is docked with the electronic device, the signal transmission between the CC pin of the Type C male connector in the accessory and the CC pin of the Type C female connector in the electronic device is used to identify whether the audio connector and / or charger is connected to the accessory. However, in electronic devices, the fast charging protocol communication is usually implemented using the CC pin. If the CC pin is already occupied, the fast charging protocol communication cannot be implemented. It can be seen that when using accessories with both charging and audio transmission functions, fast charging cannot be achieved. Summary of the invention
[0005] The present invention provides an electronic device and an accessory with both fast charging and audio transmission functions, so as to solve the problem that fast charging cannot be achieved when the accessory with both charging and audio transmission functions is used.
[0006] According to a first aspect of the present invention, an electronic device is provided, the electronic device can be connected to a charger and an audio connector respectively through accessories, the electronic device comprising: a fast charging controller and a device Type C female socket;
[0007] The fast charge controller is used for:
[0008] When the accessory is connected to the Type C socket of the device and the charger is connected to the accessory, the SBU pin of the Type C socket of the device is used to communicate with the corresponding pin of the charger connected to the accessory via the fast charging protocol.
[0009] Optionally, the SBU pin of the Type C socket of the device is connected to the fast charging controller via a switch combination.
[0010] Optionally, the two SBU pins of the Type C female socket of the device are respectively its SBU1 pin and SBU2 pin, the SBU1 pin and SBU2 pin of the Type C female socket of the device are connected to one side of the switch combination, and the first data pin and the second data pin of the fast charge controller are connected to the other side of the switch combination;
[0011] The switch combination is used to:
[0012] Switch the connection mode between the Type C female socket of the device and the fast charging controller to:
[0013] The SBU1 pin of the Type C female socket of the device is connected to the first data pin, and the SBU2 pin of the Type C female socket of the device is connected to the second data pin, or:
[0014] The SBU1 pin of the Type C female socket of the device is connected to the second data pin, and the SBU2 pin of the Type C female socket of the device is connected to the first data pin.
[0015] Optionally, the electronic device further includes a processor, and when the accessory is connected to the Type C female socket of the device, the DP pin and the DM pin of the Type C female socket of the device are respectively connected to the DP pin and the DM pin of the Type C male connector of the accessory;
[0016] The processor is directly or indirectly connected to the DP pin and the DM pin of the Type C socket of the device to utilize the DP pin and the DM pin to exchange digital audio signals with the accessory, and the digital audio signals match the analog audio signals exchanged between the accessory and the audio connector.
[0017] Optionally, one side of the switch assembly is also connected to the DP pin and the DM pin of the Type C female socket of the device respectively, and the other side of the switch assembly is also connected to the digital signal pin of the processor for receiving USB2.0 digital signals;
[0018] The switch combination is used to:
[0019] Switch the DP pin of the Type C socket of the device to connect to the fast charging controller or the processor;
[0020] Switch the DM pin of the Type C socket of the device to connect to the fast charging controller or the processor.
[0021] Optionally, the electronic device further includes a current source and a voltage detection module, wherein the current source is connected to the SBU pin of the Type C socket of the device via the switch combination, and is used to output current to the SBU pin;
[0022] The voltage detection module is directly or indirectly connected to the SBU pin of the Type C socket of the device to detect voltage information of the SBU pin, so that the external impedance of the SBU pin of the Type C socket of the device can be determined according to the voltage information.
[0023] Optionally, the electronic device further includes a power management module, and the power management module is connected to the VBUS pin of the Type C female socket of the device;
[0024] When the accessory is connected to the Type C female socket of the device, the CC pin of the Type C female socket of the device is connected to the CC pin of the Type C male connector of the accessory; the CC pin of the Type C female socket of the device is connected to the processor, and the processor is used to determine the external connection state of the accessory according to the signal of the CC pin of the Type C female socket of the device; the external connection state includes a first connection state in which the audio connector is connected to the accessory but the charger is not connected to the accessory, and a second connection state in which the charger is connected to the accessory;
[0025] If the external connection state is the first connection state, the processor is further used to instruct the power management module to use the VBUS pin of the Type C female socket of the device to supply power to the accessory;
[0026] If the external connection state is the second connection state, the processor is further used to instruct the power management module to receive charging using the VBUS pin of the Type C socket of the device.
[0027] According to a second aspect of the present invention, there is provided an accessory having both fast charging and audio transmission functions, comprising: an accessory Type C female socket for connecting a charger, an accessory Type C male plug, and an audio interface for connecting an audio connector; the accessory Type C male plug is used to connect to the device Type C female socket in the electronic device involved in the first aspect and its optional solutions.
[0028] Optionally, the SBU pin of the accessory Type C male connector includes an SBU1 pin and an SBU2 pin of the accessory Type C male connector;
[0029] The SBU1 pin and the SBU2 pin of the accessory Type C male connector are respectively connected to the DP pin and the DM pin of the accessory Type C female connector. When the charger is connected to the accessory Type C female connector, the DP pin and the DM pin of the accessory Type C female connector are respectively connected to the D+ pin and the D- pin of the charger.
[0030] or:
[0031] The SBU1 pin and the SBU2 pin of the accessory Type C male connector are respectively connected to the SBU1 pin and the SBU2 pin of the accessory Type C female connector. When the charger is connected to the accessory Type C female connector, the SBU1 pin and the SBU2 pin of the accessory Type C female connector are respectively connected to the SBU1 pin and the SBU2 pin of the charger.
[0032] Optionally, the accessory further includes an audio processing module;
[0033] The three signal transmission pins of the audio processing module are respectively connected to the left channel pin, the right channel pin and the microphone pin in the audio interface; the audio processing module is also connected to the DP pin and the DM pin of the Type C male connector of the accessory;
[0034] The audio processing module is used for:
[0035] The digital audio signal is exchanged with the connected electronic device through the DP pin and the DM pin of the Type C male connector of the accessory;
[0036] The three signal transmission pins interact with the audio connector to simulate audio signals, and:
[0037] Converting between the digital audio signal and the analog audio signal is performed.
[0038] Optionally, a first detection pin and a second detection pin of the audio processing module are also connected to the audio interface, and the first detection pin and the second detection pin can be short-circuited when the audio connector is fully connected to the audio interface, and the first detection pin is connected to the CC pin of the Type C male connector of the accessory;
[0039] When the audio connector is fully connected to the audio interface, but the charger is not connected to the accessory Type C female socket, the first detection pin is short-circuited with the second detection pin, and the CC pin of the accessory Type C male connector is pulled to a first level to indicate that the electronic device connected to the accessory directly or indirectly supplies power to the audio processing module;
[0040] When the charger is connected to the accessory Type C socket, the audio processing module can be powered by the charger.
[0041] Optionally, the accessory further includes a control module; a power pin of the control module is connected to the VBUS pin of the accessory Type C socket, so that when the charger is connected to the accessory Type C socket, the charger is powered by the charger;
[0042] When the charger is connected to the accessory Type C socket, the control module is further used to:
[0043] The CC pin of the Type C male connector of the accessory is pulled to a second level to instruct the electronic device connected to the accessory to receive charging using its device VBUS pin.
[0044] Optionally, the accessory further includes: a first switch, a second switch, a third switch, a fourth switch and a low voltage drop linear regulator;
[0045] The first switch is connected between the first detection pin and the second detection pin, and the first switch can be turned on when the audio connector is fully connected to the audio interface; the second switch is connected between the second detection pin and the ground, and a resistor unit is connected in parallel at both ends of the second switch; the third switch is connected between the VBUS pin of the accessory Type C female socket and the VBUS pin of the accessory Type C male connector; the CC pin of the accessory Type C male connector is connected to the VBUS pin of the accessory Type C male connector via the fourth switch and a resistor unit, and the VBUS pin of the accessory Type C male connector also supplies power to the audio processing module via the low voltage drop linear regulator;
[0046] When the control module pulls the CC pin of the accessory Type C male connector to the second level, the control module is specifically used to: control the second switch to be turned off, and: control the third switch and the fourth switch to be turned on.
[0047] Optionally, if the fast charging controller uses the VBUS pin of the Type C female socket of the device for fast charging protocol communication, the charger connected to the accessory needs to support the ability to perform fast charging communication through the VBUS pin, and the accessory only needs to be responsible for the connection of the VBUS pin from the female socket to the male connector.
[0048] In the electronic device and the accessories with both fast charging and audio transmission functions provided by the present invention, the electronic device can use the SBU pin of the Type C socket of the device to communicate with the corresponding pin of the charger for fast charging protocol, which breaks through the conventional idea of using the CC pin for fast charging protocol communication in the existing fast charging method. Furthermore, when using accessories with both audio transmission functions, fast charging can also be achieved. In a further optional solution, through the interaction of digital audio signals, the required pins can be saved, ensuring the use of the SBU pin for fast charging protocol communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 The structure of an electronic device in one embodiment of the present invention is schematically shown. Figure 1 ;
[0051] Figure 2 The structure of an electronic device in one embodiment of the present invention is schematically shown. Figure 2 ;
[0052] Figure 3 The structure of an electronic device in one embodiment of the present invention is schematically shown. Figure 3 ;
[0053] Figure 4 The structure of the accessories and the electronic device in one embodiment of the present invention is shown in FIG. Figure 1 ;
[0054] Figure 5 The structure of the accessories and the electronic device in one embodiment of the present invention is shown in FIG. Figure 2 ;
[0055] Figure 6 The structure of the accessories and the electronic device in one embodiment of the present invention is shown in FIG. Figure 3 ;
[0056] Figure 7 The structure of the accessories and the electronic device in one embodiment of the present invention is shown in FIG. Figure 4 ;
[0057] Figure 8 is a circuit diagram of an accessory and an electronic device in one embodiment of the present invention;
[0058] Fig. 9 is a schematic diagram of the structure of an electronic device in another embodiment of the present invention;
[0059] Fig.10 is a schematic diagram of the structure of accessories and electronic equipment in another embodiment of the present invention;
[0060] Fig.11 It is a circuit diagram of accessories and electronic equipment in another embodiment of the present invention.
[0061] Reference numerals:
[0062] 1- Electronic equipment;
[0063] 11- Equipment Type C female socket;
[0064] 12- Fast charging controller;
[0065] 13- switch combination;
[0066] 14- Processor;
[0067] 15- Power management module;
[0068] 16- audio codec;
[0069] 2- Accessories;
[0070] 21-Accessory Type C male connector;
[0071] 22-Audio interface;
[0072] 23-Accessory Type C female socket;
[0073] 24- audio processing module;
[0074] 25- control module;
[0075] 3-Audio connector;
[0076] 4- Charger;
[0077] S1-first switch;
[0078] S2-second switch;
[0079] S3-third switch;
[0080] S4, S5-fourth switch;
[0081] S6-first switching switch;
[0082] S7-second switching switch;
[0083] S8-third switching switch;
[0084] S9-fourth switching switch;
[0085] LDO - low dropout linear regulator;
[0086] R1, R2, R3, R4, R5, R6 - resistors. DETAILED DESCRIPTION
[0087] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0088] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0089] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0090] Please refer to Figure 1 The electronic device 1 can be connected to a charger 4 and an audio connector 3 respectively via accessories 2. The electronic device 1 includes: a fast charging controller 12 and a device Type C socket 11.
[0091] The fast charging controller 12 can be understood as any circuit that can implement fast charging protocol communication, which can be an MCU, an ASIC, or a fast charging function module in other integrated chips.
[0092] The MCU here stands for Microcontroller Unit, which can be understood as a microcontroller unit, microcontroller, microprocessor, etc. The ASIC here stands for Application Specific Integrated Circuit, which can be understood as a dedicated integrated circuit.
[0093] In this embodiment, the fast charge controller 12 is used to:
[0094] When the accessory 2 is connected to the device Type C socket 11 and the charger 4 is connected to the accessory 2, fast charging protocol communication is performed using the SBU pin or VBUS pin of the device Type C socket 11 and the corresponding pin of the charger connected via the accessory (for example, between the SUB1 pin / SBU2 pin of the device Type C socket 11 and the D+ pin / D- pin of the charger, or between the SUB1 pin / SBU2 pin of the device Type C socket 11 and the SBU1 pin / SBU2 pin of the charger, or between the VBUS pin of the device Type C socket 11 and the VBUS pin of the charger).
[0095] Among them, the specific method of performing fast protocol communication can adopt any interactive means for realizing fast charging in this field, that is, any method of fast charging protocol communication, whether it is an existing method or an improved method, as long as it is implemented through the SBU pin or VBUS pin of the device Type C socket 11, it does not deviate from the description of this embodiment.
[0096] It can be seen that the fast charging controller 12 can realize fast protocol communication via the SBU pin of the device Type C socket 11, which can be used for example Figures 1 to 8 As shown, fast protocol communication can also be achieved via the VBUS pin of the Type C female connector 11 of the device, which can be as follows Figures 9 to 11 shown.
[0097] In the above solution, the SBU pin or VBUS pin of the Type C socket of the device can be used to communicate with the D+ pin and D- pin of the charger for fast charging protocol. This breaks through the conventional idea of using the CC pin for fast charging protocol communication in the existing fast charging method. Furthermore, when using accessories with audio transmission function, fast charging can also be achieved.
[0098] Please refer to Figure 2 In one embodiment, if the fast charge controller 12 uses the SBU pin of the Type C socket 11 of the device for fast charge protocol communication, then: the SBU pin of the Type C socket 11 of the device is connected to the fast charge controller 12 via the switch combination 13. It can control the on and off when fast charge protocol communication is required to meet the communication requirements.
[0099] Specifically, the two SBU pins of the Type C socket 11 of the device are respectively its SBU1 pin and SBU2 pin. The SBU1 pin and SBU2 pin of the Type C socket of the device are connected to one side of the switch combination 13, and the first data pin and the second data pin of the fast charging controller 12 are connected to the other side of the switch combination.
[0100] The switch assembly 13 is used for:
[0101] Switch the connection mode between the Type C female socket 11 of the device and the fast charging controller 12 to:
[0102] The SBU1 pin of the Type C female socket 11 of the device is connected to the first data pin, and the SBU2 pin of the Type C female socket of the device is connected to the second data pin, or:
[0103] The SBU1 pin of the Type C female socket 11 of the device is connected to the second data pin, and the SBU2 pin of the Type C female socket of the device is connected to the first data pin.
[0104] In one example, Figure 8As shown, the first data pin and the second data pin can be the RXD pin for receiving signals and the TXD pin for sending signals. In other examples, the first data pin and the second data pin can also be two general input and output pins, namely GPIO pins, or can be the data SDA pin and the clock SCL pin.
[0105] When the SBU pin is used for fast charging protocol communication, the SBU pin of the Type C male connector of the accessory is also used. At this time, the SBU pin of the Type C male connector of the accessory cannot be used to transmit audio-related signals. At this time, in the accessory, if analog audio signals are transmitted, audio transmission and fast charging protocol communication will require more pins to ensure implementation, and may even cause insufficient pins. If digital audio signals are transmitted, audio transmission and fast charging protocol communication can be taken into account while using fewer pins.
[0106] In one of the implementation modes, when the accessory is connected to the Type C female socket of the device, the DP pin and the DM pin of the Type C female socket of the device are respectively connected to the DP pin and the DM pin of the accessory Type C male connector of the accessory; thus, the DM pin and the DP pin can be used to realize the interaction of audio digital signals.
[0107] The electronic device may further include a processor 14.
[0108] The processor 14 is directly or indirectly connected to the DP pin and the DM pin of the Type C female socket 11 of the device to utilize it to exchange digital audio signals with the accessory.
[0109] The digital audio signal matches the analog audio signal that the accessory interacts with the audio connector. The specific implementation of the audio digital signal in the accessory can be described in detail in the description of the accessory below.
[0110] Through the above channels, the interaction of digital audio signals can be realized. The processor can send out digital audio signals generated by internal circuit processing, and can also receive digital audio signals transmitted from accessories. Figure 8 As shown, the processor can send and receive digital audio signals through digital signal pins for receiving USB2.0 digital signals, wherein the digital signal pins can specifically be D+ pin and D- pin, wherein the D+ pin can be used to connect to the DP pin, and the D- pin can be used to connect to the DM pin.
[0111] At the same time, the above DM pin and DP pin may not be dedicated to the communication of digital audio signals, and thus, they need to be switched in time.
[0112] During the specific implementation process, one side of the switch assembly 13 is also connected to the DP pin and the DM pin of the Type C socket 11 of the device, and the other side of the switch assembly 13 is also connected to the digital signal pin of the processor 14 for receiving USB2.0 digital signals.
[0113] The switch assembly 13 is used for:
[0114] Switch the DP pin of the Type C socket of the device to connect to the fast charging controller or the processor;
[0115] Switch the DM pin of the Type C socket of the device to connect to the fast charging controller or the processor.
[0116] Furthermore, through the above process, the pins can communicate with the outside by time-sharing switching, for example, they can communicate with the audio connector or the charger separately.
[0117] During the specific implementation process, the DM pin, DP pin, SBU1 pin, and SBU2 pin of the Type C female socket of the device can be respectively connected to one or two contacts on the first side of the switch combination, and the D+ pin and D- pin of the USB2.0 digital signal of the processor, and the TXD pin and RXD pin of the fast charge controller 12 can be respectively connected to one or two contacts of the switch combination. The switch combination 13 can realize the above various switching functions by switching the conductive contacts. Any switch combination that can realize the above switching functions does not deviate from the description of this embodiment.
[0118] exist Figure 8 In the illustrated configuration, the switch assembly 13 may include a first switch S6 , a second switch S7 , a third switch S8 , and a fourth switch S9 .
[0119] The first switch S6 and the second switch S7 are specifically as follows:
[0120] The first contact on the first side of the first switching switch S6 is connected to the DP pin of the Type C socket 11 of the device, the second contact on the second side is connected to the D+ pin of the USB2.0 digital signal of the processor 14, and the third contact on the second side is connected to the TXD pin of the fast charging controller 12. When the first switching switch S6 is switched to connect the first contact to the second contact, the DP pin of the Type C socket 11 of the device can be connected to the D+ pin of the processor 14. When the first switching switch is switched to connect the first contact to the third contact, the DP pin of the Type C socket 11 of the device can be connected to the TXD pin of the fast charging controller 12.
[0121] The first contact on the first side of the second switch S7 is connected to the DM pin of the Type C socket 11 of the device, the second contact on the second side is connected to the D-pin of the USB2.0 digital signal of the processor 12, and the third contact on the second side is connected to the RXD pin of the fast charge controller 12. When the second switch S7 is switched to connect the first contact to the second contact, the DM pin of the Type C socket 11 of the device can be connected to the D pin of the processor 14. When the second switch S7 is switched to connect the first contact to the third contact, the DM pin of the Type C socket 11 of the device can be connected to the RXD pin of the fast charge controller 12.
[0122] It can be seen that the first switch S6 and the second switch S7 can constitute a two-way single-pole double-throw switch.
[0123] The third switch S8 and the fourth switch S9 are specifically as follows:
[0124] The first contact on the first side of the third switch S8 is connected to the SBU1 pin of the Type C socket 11 of the device, the second contact is connected to the SBU2 pin of the Type C socket 11 of the device, and the third contact on the second side is connected to the TXD pin of the fast charge controller 12; when the third switch S8 is switched to its first contact conducting the third contact, the SBU1 pin of the Type C socket 11 of the device is connected to the TXD pin of the fast charge controller 12, and when the third switch S8 is switched to its second contact conducting the third contact, the SBU2 pin of the Type C socket 11 of the device is connected to the TXD pin of the fast charge controller 12;
[0125] The first contact on the first side of the fourth switch S9 is connected to the SBU1 pin of the Type C socket 11 of the device, the second contact is connected to the SBU2 pin of the Type C socket 11 of the device, and the third contact on the second side is connected to the RXD pin of the fast charging controller 12; when the fourth switch S9 is switched so that its first contact is connected to the third contact, the SBU1 pin of the Type C socket 11 of the device is connected to the RXD pin of the fast charging controller 12, and when the fourth switch S9 is switched so that its second contact is connected to the third contact, the SBU2 pin of the Type C socket 11 of the device is connected to the RXD pin of the fast charging controller 12;
[0126] It can be seen that in Figure 8 In the structure shown, the third switch S8 and the fourth switch S9 can form a cross connection or a non-cross connection to realize the required connection channel.
[0127] exist Figure 8 In the illustrated structure, the first switch S6 and the second switch S7 have one contact on the first side and two contacts on the second side. In other examples, two contacts may be provided on the first side and one contact on the second side. Fig. 9 In the illustrated structure, the third switch S8 and the fourth switch S9 have two contacts on the first side and one contact on the second side. In other examples, one contact may be provided on the first side and two contacts may be provided on the second side. In addition, the situation where the switches share some contacts is not excluded.
[0128] In one embodiment, in conjunction with the use of the switch combination 13, the electronic device may further include a current source and a voltage detection module, wherein the current source is connected to the SBU pin of the Type C female socket of the device via the switch combination to output current to the SBU pin;
[0129] The voltage detection module is directly or indirectly connected to the SBU pin of the Type C socket 11 of the device to detect the voltage information of the SBU pin, so that the external impedance of the SBU pin of the Type C socket 11 of the device can be determined according to the voltage information. For example, the voltage detection module can be connected to the processor to feed back the voltage information to the processor so that it can determine the external impedance of the SBU1 pin and the SBU2 pin of the Type C socket of the device.
[0130] In addition, the current source can be connected to the SBU pin using a switch other than the above switching switches, or can be implemented in combination with the above switch combination 13, for example, the current source is respectively connected to the third contact of the third switching switch S8 and / or the fourth switching switch S9.
[0131] In the above implementation, after the charger, accessories, etc. are connected, the pull-down resistance of the D+ and D- pins of the charger or whether there is a short circuit between D+ and D- can be detected and determined, so that the charger and the charging circuit can prepare for the fast charging protocol communication.
[0132] In one implementation, please refer to Figure 3 The electronic device 1 may further include a power management module 15, and the power management module 15 is connected to the VBUS pin of the Type C socket 11 of the device.
[0133] When the accessory 2 is connected to the device Type C female socket 11, the CC pin of the device Type C female socket 11 is connected to the CC pin of the accessory Type C male connector of the accessory 2; the CC pin of the device Type C female socket is connected to the processor 14, and the processor 14 is used to determine the external connection status of the accessory according to the signal of the CC pin of the device Type C female socket 11.
[0134] The external connection state may include a first connection state in which the audio connector is connected to the accessory but the charger is not connected to the accessory, and a second connection state in which the external connection state is in which the charger is connected to the accessory;
[0135] If the external connection state is the first connection state, the processor 14 is further used to instruct the power management module 15 to use the VBUS pin of the Type C female socket 11 of the device to supply power to the accessory;
[0136] If the external connection state is the second connection state, the processor 14 is further used to instruct the power management module 15 to receive charging using the VBUS pin of the Type C socket 11 of the device.
[0137] In addition, the external connection state may also include, for example, a third connection state in which both the audio connector 3 and the charger 4 are not connected, and a fourth connection state in which the charger 4 is connected but the audio connector 3 is not connected.
[0138] Among them, the power management module 15 can be connected to the processor 14 and the VBUS pin 11 of the device Type C socket 11 respectively. At the same time, the processor 14 can use the CC pin of the USB PD module to connect to the CC pin of the device Type C socket 11.
[0139] The CC in the CC pin mentioned above specifically refers to Configuration Channel, which can be understood as the configuration channel of the Type C interface, which is usually used to support the identification of USB devices and cables and related communication judgments.
[0140] The power management module 15 can be characterized as: Power Management, which can be understood as a circuit module that is connected to the power supply of the electronic device and can control the input and output of the power supply. It can be a module independent of the processor 14 and / or the fast charging controller 12, or it can be a module integrated in the processor 14 and / or the fast charging controller 12.
[0141] Please refer to Figure 4 This embodiment also provides an accessory 2 with both fast charging and audio transmission functions, including: an accessory Type C female socket 23 for connecting to a charger 4, an accessory Type C male connector 21, and an audio interface 22 for connecting to an audio connector 22; the accessory Type C male connector 21 is used to connect to the device Type C female socket 11 in the electronic device 1 involved in the above optional solution.
[0142] The SBU pin of the accessory Type C male connector 21 can be connected to the SUB pin of the device Type C female connector, specifically: the SBU1 pin of the accessory Type C male connector 21 is connected to the SUB1 pin of the device Type C female connector, and the SBU2 pin of the accessory Type C male connector 21 is connected to the SUB2 pin of the device Type C female connector.
[0143] Any accessory that can cooperate with an electronic device and use the SBU pin of the Type C socket of the device to perform fast charging protocol communication does not depart from the description of this embodiment.
[0144] In order to achieve fast charging protocol communication, the SBU1 and SBU2 pins of the accessory Type C male connector 21 need to be connected to the D+ and D- pins of the charger.
[0145] In one example, Figure 5 As shown, the SBU1 pin and the SBU2 pin of the accessory Type C male connector 21 are respectively connected to the DP pin and the DM pin of the accessory Type C female connector 23. When the charger 4 is connected to the accessory Type C female connector 23, the DP pin and the DM pin of the accessory Type C female connector 23 are respectively connected to the D+ pin and the D- pin of the charger.
[0146] In another example, Figure 6 As shown, the SBU1 pin and the SBU2 pin of the accessory Type C male connector 21 are respectively connected to the SBU1 pin and the SBU2 pin of the accessory Type C female connector 23. When the charger 4 is connected to the accessory Type C female connector 23, the SBU1 pin and the SBU2 pin of the accessory Type C female connector 23 are respectively connected to the SBUE1 pin and the SBU2 pin of the charger 4.
[0147] In one implementation, the audio signal in the accessory can be transmitted in the form of an analog audio signal, thereby interacting with the electronic device through the analog audio signal.
[0148] In another embodiment, please refer to Figure 7 , digital audio signals can also be used for interaction.
[0149] Please refer to Figure 7 The accessory 2 also includes an audio processing module 24.
[0150] The audio processing module 24 may be characterized as an Audio ASIC, which may be a circuit module capable of performing analog-to-digital or digital-to-analog conversion on analog audio signals.
[0151] The three signal transmission pins of the audio processing module 24 are respectively connected to the left channel pin, the right channel pin and the microphone pin in the audio interface; the audio processing module 24 is also connected to the DP pin and the DM pin of the accessory Type C male connector 21;
[0152] The audio processing module 24 is used for:
[0153] The digital audio signal is exchanged with the connected electronic device 1 through the DP pin and the DM pin of the Type C male connector of the accessory; specifically, the DP pin and the DM pin in the Type C female connector 11 of the device can be exchanged;
[0154] The three signal transmission pins interact with the audio connector 3 to simulate audio signals, and:
[0155] Converting between the digital audio signal and the analog audio signal is performed.
[0156] During the specific implementation process, the power supply of the audio processing module 24 can be achieved by utilizing the energy storage component in the accessories, and the power supply of the audio processing module 24 can also be achieved by utilizing the electronic device 1 and the charger 4. Furthermore, when the charger 4 is connected, the charger 4 can be used for power supply, and when the electronic device 1 is connected, the electronic device 1 can be used for power supply.
[0157] The first detection pin and the second detection pin of the audio processing module 24 are also connected to the audio interface, and the first detection pin and the second detection pin can be short-circuited when the audio connector is fully connected to the audio interface. The first detection pin is connected to the CC pin of the accessory Type C male connector. The two detection pins can be, for example, Figure 8 The DET1 and DET2 pins shown in the figure.
[0158] When the audio connector 3 is fully connected to the audio interface 23, but the charger 4 is not connected to the accessory Type C female socket 23, the first detection pin is short-circuited with the second detection pin, and the CC pin of the accessory Type C male connector 21 can be pulled to the first level to indicate that the electronic device connected to the accessory directly or indirectly supplies power to the audio processing module; Figure 8 For example, since the DET1 pin and the DET2 pin are short-circuited, the potentials of both pins can be pulled down when the second switch S2 is turned on. Since the DET1 pin is connected to the CC pin through a resistor, the potential of the CC pin can also be pulled down. In other examples, the implementation method of pulling it up is not excluded.
[0159] When the charger 4 is connected to the accessory Type C socket 23 , the audio processing module 24 can be powered by the charger.
[0160] In order to switch different power supply modes of the audio processing module 24 under different external connection states of the accessories, please refer to Figure 8 The accessory 2 may further include a control module 25; the control module 25 may be an existing control module in the accessory, or may be a separately configured control module.
[0161] The power supply pin of the control module is connected to the VBUS pin of the accessory Type C socket 23 , so that the charger 4 is powered when the charger 4 is connected to the accessory Type C socket 23 .
[0162] When the charger 4 is connected to the accessory Type C socket 23, the control module 25 is also used to:
[0163] The CC pin of the accessory Type C male connector 21 is pulled to the second level to instruct the electronic device connected to the accessory to receive charging using its device VBUS pin. Figure 8 In the example shown, pulling to the second level may be a pull-up level, and in other examples, may be a pull-down level.
[0164] In the above scheme, after the level of the CC pin of the accessory Type C male connector 21 is pulled to the corresponding potential, the level of the CC pin in the electronic device 1 can also be pulled to the corresponding potential, so that the processor can learn the external connection status of the accessory, and thus control the power management module 15 according to the content mentioned above.
[0165] by Figure 8 For example, in order to cooperate with the control process of the above control module 25, the accessory 2 may further include: a first switch S1, a second switch S2, a third switch S3, a fourth switch S4 and a low dropout linear regulator LDO.
[0166] The first switch S1 is connected between the first detection pin and the second detection pin, and the first switch S1 can be turned on when the audio connector 3 is fully connected to the audio interface 22; the second switch S2 is connected between the second detection pin and the ground, and a resistor unit is connected in parallel at both ends of the second switch, and the resistor unit may include, for example, Figure 8 The resistor R6 shown; the third switch S3 is connected between the VBUS pin of the accessory Type C female socket 23 and the VBUS pin of the accessory Type C male connector 21; the CC pin of the accessory Type C male connector 21 is connected to the VBUS pin of the accessory Type C male connector 21 via the fourth switch S4 and a resistor unit, and the resistor unit may include, for example, Figure 8 The resistor R3 shown, the VBUS pin of the accessory Type C male connector 21 also supplies power to the audio processing module 24 via the low dropout linear regulator LDO;
[0167] When the CC pin of the accessory Type C male connector is pulled to the second level, the control module 25 is specifically used to: control the second switch S2 to be turned off, and: control the third switch S3 and the fourth switch S4 to be turned on.
[0168] The following will be combined Figure 8The working principle thereof is further described, which can be understood as an example based on the electronic equipment and accessories involved above.
[0169] Among them, in an audio interface such as a 3.5mm headphone interface, after an audio connector such as a headphone connector is inserted into the audio interface, the first switch S1 can be closed; the audio interface can be connected to a normally closed (NC) second switch S2 and a resistor R6 connected in parallel with S2, and the resistance value of the resistor R6 can be 2M ohms or other larger values. Through the resistor R6, it can be ensured that when the first switch S1 and the second switch S2 are both disconnected, the DET2 pin of the audio processing module 24 is pulled to a low level logic by the resistor R6, so that the audio processing module 24 combines the level state of the DET1 pin to determine whether the audio connector is inserted when the charger 4 is powered. At this time, the low-impedance second switch S2 will be disconnected.
[0170] At the same time, the DET1 pin and CC pin (which can be Figure 8 A 5.1K ohm resistor R3 is connected between the CC2 pin (which can also be the CC1 pin) shown in the figure. The accessory Type C male connector 21 is equipped with a 56K ohm resistor R4 and a resistor R5, which respectively pull the CC1 pin and CC2 pin of the accessory Type C male connector 21 up to the VBUS pin through the fourth switch S4 and the fourth switch S5 which are disconnected by default.
[0171] The VBUS pin of the accessory Type C female socket 23 near the charger is connected to the VBUS pin of the accessory Type C male connector 21 through a third switch S3 with a current limiting function. The CC1 pin and CC2 pin of the accessory Type C female socket 23 near the charger are pulled down by two 5.1K ohm resistors R1 and R2 respectively to ensure that when the charger is inserted together with the USB Type C cable (regardless of whether it is inserted forward or reverse), the accessory can define itself as a USB charged device, so that the VBUS pin of the accessory Type C female socket 23 can obtain a standard 5V power supply from the charger.
[0172] Figure 8The control module shown in the figure can be composed of some discrete circuits, or it can be a single-chip computer system (for example: LDO+MCU) to realize relevant control functions. Its function is mainly to control the conduction and disconnection of the second switch S2, the third switch S3, and the fourth switch S4 and the fourth switch S5. Specifically, the first switch S1 can be a spring switch provided with the audio interface 22 of the headphone interface, for example, which is usually in the disconnected state (normally open: NO). The action of inserting the headphone in place will turn on the first switch S1, thereby short-circuiting the DET1 pin and the DET2 pin; the second switch S2 can be a normally closed switch (NC) or a switch with a similar normally closed function. Furthermore, when the VBUS pin of the accessory Type C socket 23 does not supply power to the audio processing chip 24 through the low voltage difference linear regulator LDO, if the headphone is inserted so that the DET1 pin and the DET2 pin are short-circuited, the second switch S2 will be in the on state, thereby the accessory Type The CC2 pin of the Type C male connector 21 is pulled down to the ground through a 5.1K ohm resistor, so that the audio connector (or earphone) + audio interface + audio processing module 24 + low voltage difference linear regulator LDO circuit declares itself as a USB slave device to the electronic device 1, thereby requiring the electronic device to provide a 5V power output to the VBUS pin of the accessory Type C male connector 21, thereby realizing the interaction between the digital audio of the electronic device and the analog audio of the analog earphone inserted on the accessory side under power supply conditions.
[0173] When the charger is connected to provide charging, the VBUS pin of the accessory Type C socket 23 of accessory 2 will be powered. At this time, the control module can realize the conduction of the third switch S3, the disconnection of the second switch S2, and the conduction of the fourth switch S5 (or the conduction of the fourth switch S5 and the fourth switch S4). In this way, the charger can power the electronic device and the low-voltage difference linear regulator LDO+audio processing module 24, and also announce the insertion of the charger to the electronic device by pulling up the CC2 pin (disconnecting the second switch S2 and turning on the fourth switch S5) (the fourth switch S4 that is disconnected by default can be reserved. In some brands of USB cables (Type AC), the CC1 pin and CC2 pin will pull up the 56K ohm resistor to VBUS, and the S4 switch is reserved for adapting to such cables).
[0174] If the charger is unplugged, the VBUS power supply of the accessory Type C socket 23 of the accessory 2 will be removed, and then the control module 25 will lose power, so that the second switch S2 returns to the default on or ready-to-on state (wherein, it can be turned on if the earphone is inserted and the CC2 pin is matched), and the third switch S3, the fourth switch S5 and the fourth switch S4 return to the default off state.
[0175] Figure 8The electronic device shown may be a portable device, specifically a Portable Device.
[0176] The power management module can be used to manage external power supply (for example, when only headphones are plugged in, the electronic device becomes the main device to power accessories) and manage the charging of the electronic device by the charger or the fast charger. In the switch combination 13, the first switching switch S6 and the second switching switch S7 can constitute a two-way single-pole double-throw switch that can communicate with the external time-sharing switching of the USB2.0 digital signal (D+ / D-) inside the electronic device and the digital transceiver signal (RXD pin / TXD pin) of the fast charging controller through the DP_T pin / DP_B pin (which can be short-circuited and named Dp1 pin) and DM_T pin / DM_B pin (which can be short-circuited and named Dm1 pin) of the Type C socket 11 of the device, such as connecting a USB digital headset or a USB fast charger separately for communication.
[0177] The third switch S8 and the fourth switch S9 in the switch combination circuit can form two cross-connected or non-cross-connected switches to connect SBU1 to the TXD pin of the fast charging controller 12 and SBU2 to the RXD pin of the fast charging controller 12, or connect SBU1 to the RXD pin of the fast charging controller and SBU2 to the TXD pin of the fast charging controller 12. In addition, the TXD pin and RXD pin can also be two general input and output pins (GPIO) or data SDA and clock SCL pins of the MCU or ASIC of the fast charging controller 12.
[0178] In addition, the third switch S8 and the fourth switch S9 combined to connect the SBU1 pin and the SBU2 pin can also have the function of performing impedance detection through the current source, so that the impedance of the SBU1 pin and the SBU2 pin is detected by the current source. Figure 8 After the accessories shown are connected to the D+ and D- pins of the charger, the pull-down resistor values of the D+ and D- pins of the charger or whether D+ and D- are short-circuited are detected and judged, so that the charger and the charging circuit can prepare for the communication of the fast charging protocol and ensure that the TXD and RXD of the MCU / ASIC are accurately matched to the D+ and D- of the charger through the cross-connection or non-cross-connection switching of the third switch S8 and the fourth switch S9.
[0179] It can be seen that through the coordination of the internal switch combination, the simultaneous compatibility of digital audio and fast charging of electronic devices with only one USB Type C interface is achieved with the cooperation of accessories.
[0180] It can be seen that in the above implementation, the system composed of the accessories and the electronic device related components creatively uses the SBU1 and SBU2 pins of the device Type C socket 11 of the electronic device 1 to connect the DP_T / DP_B and DM_T / DM_B (these two pins can eventually be connected to the D+ and D- pins of the charger) of the accessory Type C socket 23 of the accessory 2, respectively, so that electronic devices such as smart phones can communicate with the D+ and D- pins of the charger through the SBU1 and SBU2 pins, so that the matching fast charging charger can quickly charge the portable device. In comparison, the current very mainstream fast charging protocols such as Huawei's SCP / FCP, Oppo's VOOC / Super VOOC and Vivo's private fast charging protocol all communicate through the USB D+ / D- pins. Furthermore, the accessories of this embodiment and the electronic device realize audio interaction while being quickly charged.
[0181] Please refer to Fig. 9 In another scheme conceived under the present embodiment, the fast charging controller can be used for: when the accessory 2 is connected to the device Type C socket 11 and the charger 4 is connected to the accessory 2, the VBUS pin of the device Type C socket 11 is used to perform fast charging protocol communication with the charger 4 connected via the accessory 2.
[0182] For this solution, the charger can generate a modulated digital signal on the VBUS pin to use the modulated digital signal to perform the fast charging protocol communication.
[0183] In the above implementation, the digital signal is modulated on the VBUS power pin to perform fast charging protocol communication, thereby achieving fast charging while audio interaction.
[0184] At the same time, in one embodiment, the digital audio signal mentioned above can be used for audio interaction, thereby adopting the Figure 7 and Figure 8 The audio processing module and its corresponding circuit configuration are shown.
[0185] In another embodiment, a circuit structure for audio interaction can also be used using an analog audio signal, which can be as follows: Fig.11 At the same time, this embodiment does not exclude Figure 1 The circuit structure is used in the embodiment shown. Correspondingly, in the electronic device 1, an audio codec 16 connected to the Type C female socket of the device via the switch component 13 may be configured.
[0186] The following will be combined Fig.11 Describe the audio interaction of analog audio signals:
[0187] and Figure 8 Similar to the one shown in the figure, the audio interface can be, for example, a 3.5mm headphone interface, which can support left and right channels R and L, the audio connector can be connected to the RING1 pin and the TIP pin of the headphone interface, the microphone channel MIC is connected to the RING2 pin or the SLEEVE pin of the audio interface, the audio ground AGND is connected to the SLEEVE pin or the RING2 pin of the audio interface, and the insertion detection can be achieved by the first switch S1 between the DET1 pin and the DET2 pin as a normally open switch. When the earphone is inserted, the CC1 pin and the CC2 pin of the accessory Type C male connector 21 are pulled down to the ground, so that the electronic device 1, such as a smart phone, can detect the insertion of the analog earphone.
[0188] In addition, since, for example, smartphones can usually detect the forward and reverse insertion of the MIC of analog headphones and switch between cross and non-cross, whether the RING2 pin or the SLEEVE pin of the audio interface of a 3.5mm headphone jack is connected to the MIC, it can be adapted to the MIC pin of the audio codec 16 inside the electronic device (the same applies to AGND).
[0189] In addition, Figure 8 Similar to the figure shown, the DP_T pin of the Type C male connector is equivalent to the DP_B pin (the same applies to the DM_T and DM_B pins) as the male connector is flipped 180°, so DP_T and DP_B are short-circuited (also named Dp1 in the Type C specification), and DM_T and DM_B are short-circuited (also named Dn1 in the Type C specification). This ensures that when the male connector of the USB Type C cable or accessory is connected to the female connector of the electronic device, the D+ and D+ of the USB on both sides of the accessory and the portable device are connected, and the D- and D- are connected (or when the USB D+ / D- pins are reused for analog audio signals, they can also be accurately matched with R / L).
[0190] Please refer to Fig.11As shown, the CC1 and CC2 pins of the accessory Type C male connector are short-circuited and connected to the DET pin (the DET pin is connected to the DET1 pin of the headphone jack), the DET2 pin of the audio interface is connected to the digital ground GND, and there is a normally open switch (NO) between the DET1 and DET2 pins of the audio interface, that is, the first switch S1. When the earphone is inserted, the DET1 and DET2 pins can be short-circuited, and the connected CC1 and CC2 pins can be pulled down to GND to notify the electronic device that the analog earphone has been inserted. After the DP_T pin and DP_B pin are short-circuited, the audio signal R can be connected (R is connected to the RING1 pin of the headphone jack), and the DM_T pin and DM_B pin are short-circuited and connected to the audio signal L (L is connected to the TIP pin of the headphone jack). The SBU1 and SBU2 pins of the accessory Type C male connector are respectively connected to the MIC / AGND pin (connected to the RING2 pin of the headphone jack) and the AGND / MIC pin (connected to the SLEEVE pin of the headphone jack), and the VBUS pin of the accessory Type C male connector 21 is connected to the accessory Type that supports charger access. The VBUS pin of Type C female socket 23, the CC1 pin and CC2 pin of the accessory Type C female socket 23 are pulled down to the ground through a 5.1K resistor, so that the male end of the Type C cable that is inserted into the accessory and connected to the charger has a 5.1K resistor to pull down the CC pin inside the cable, whether it is inserted forward or reverse, to ensure that the small accessory is defined as a USB device that needs power, so that the charger can output a standard 5V voltage to the VBUS pin of the accessory Type C female socket 23. Finally, the ground pins in the accessory, i.e., the GND pins, are connected.
[0191] Correspondingly, in the electronic device, the device Type C female socket 11 is used to connect with the accessory Type C male connector 23 of the accessory 2, that is, it is electrically connected with the VBUS pin, CC1 pin, CC2 pin, DP_T pin / DP_B pin, DM_T pin / DM_B pin, SBU1 pin, SBU2 pin and GND, etc. The voltage received through the VBUS pin of the device Type C female socket 11 can be used to charge the electronic device through the power management module 15, and the CC1 pin and CC2 pin are connected to the USB The PD component is used to identify the insertion of the analog headset on the accessory side. The DP_T pin / DP_B pin and the DM_T pin / DM_B pin are respectively connected to the audio channels R and L on the accessory side. At the same time, the first switch S6 and the second switch S7 as single-pole double-throw switches in the switch combination 13 can connect the R and L channel pins of the audio codec to the DP_T pin / DP_B pin and the DM_T pin / DM_B pin respectively when the electronic device detects the insertion of the analog headset. Otherwise, the DP_T pin / DP_B pin and the DM_T pin / DM_B pin can be connected to the D+ pin and D- pin of the USB2.0 of the processor; the SBU1 pin and the SBU2 pin are respectively connected to the MIC pin / AGND and the AGND / MIC pin on the accessory side. At the same time, the single-pole double-throw switch in the switch component 13 The third switch S8 and the fourth switch S9 of the double-throw switch form two switches that support cross-connection or non-cross-connection to realize SBU1 connecting the MIC pin of the audio codec 16 and SBU2 connecting the AGND pin of the audio codec 16 or SBU1 connecting the AGND pin of the audio codec 16 and SBU2 connecting the MIC pin of the audio codec 16, so as to ensure that the MIC pin of the analog headset is accurately connected to the MIC pin of the audio codec 16 in the electronic device and the AGND pin of the analog headset is accurately connected to the AGND pin of the audio codec 16 in the electronic device, wherein the impedance detection function of the SBU1 pin and the SBU2 pin can be used to determine whether the MIC and AGND of the analog headset are reversely connected to the MIC and GND of the audio codec 16. The digital ground GND on the portable device side is directly connected to the digital ground GND of the small accessory on the left.
[0192] In summary, in the electronic device and the accessories with both fast charging and audio transmission functions provided by the present invention, the electronic device can use the SBU pin of the Type C socket of the device to communicate with the corresponding pin of the charger for fast charging protocol, which breaks through the conventional idea of using the CC pin for fast charging protocol communication in the existing fast charging method. Furthermore, when using accessories with both audio transmission functions, fast charging can also be achieved. In a further optional solution, through the interaction of digital audio signals, the required pins can be saved, ensuring the use of the SBU pin for fast charging protocol communication.
[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electronic device, which can be connected to a charger and an audio connector respectively through accessories, characterized in that: The electronic device comprises: a fast charging controller and a device Type C female socket; The fast charge controller is used for: When the accessory is connected to the Type C socket of the device and the charger is connected to the accessory, the SBU pin of the Type C socket of the device is used to communicate with the corresponding pin of the charger connected via the accessory via the fast charging protocol; The SBU pin of the Type C socket of the device is connected to the fast charging controller via a switch combination; The two SBU pins of the Type C female socket of the device are respectively its SBU1 pin and SBU2 pin, the SBU1 pin and SBU2 pin of the Type C female socket of the device are connected to one side of the switch combination, and the first data pin and the second data pin of the fast charge controller are connected to the other side of the switch combination; The switch combination is used to: Switch the connection mode between the Type C female socket of the device and the fast charging controller to: The SBU1 pin of the Type C female socket of the device is connected to the first data pin, and the SBU2 pin of the Type C female socket of the device is connected to the second data pin, or: The SBU1 pin of the Type C female socket of the device is connected to the second data pin, and the SBU2 pin of the Type C female socket of the device is connected to the first data pin.
2. The electronic device according to claim 1, characterized in that: It also includes a processor, when the accessory is connected to the Type C female socket of the device, the DP pin and the DM pin of the Type C female socket of the device are respectively connected to the DP pin and the DM pin of the accessory Type C male connector of the accessory; The processor is directly or indirectly connected to the DP pin and the DM pin of the Type C socket of the device to utilize the DP pin and the DM pin to exchange digital audio signals with the accessory, and the digital audio signals match the analog audio signals exchanged between the accessory and the audio connector.
3. The electronic device according to claim 2, characterized in that: One side of the switch assembly is also connected to the DP pin and the DM pin of the Type C female socket of the device, and the other side of the switch assembly is also connected to the digital signal pin of the processor for receiving USB2.0 digital signals; The switch combination is used to: Switch the DP pin of the Type C socket of the device to connect to the fast charging controller or the processor; Switch the DM pin of the Type C socket of the device to connect to the fast charging controller or the processor.
4. The electronic device according to claim 1, characterized in that: It also includes a current source and a voltage detection module, wherein the current source is connected to the SBU pin of the Type C socket of the device through the switch combination, and is used to output current to the SBU pin; The voltage detection module is directly or indirectly connected to the SBU pin of the Type C socket of the device to detect voltage information of the SBU pin, so that the external impedance of the SBU pin of the Type C socket of the device can be determined according to the voltage information.
5. The electronic device according to any one of claims 1 to 4, characterized in that: It also includes a power management module, which is connected to the VBUS pin of the Type C female socket of the device; When the accessory is connected to the Type C female socket of the device, the CC pin of the Type C female socket of the device is connected to the CC pin of the Type C male connector of the accessory; the CC pin of the Type C female socket of the device is connected to the processor, and the processor is used to determine the external connection state of the accessory according to the signal of the CC pin of the Type C female socket of the device; the external connection state includes a first connection state in which the audio connector is connected to the accessory but the charger is not connected to the accessory, and a second connection state in which the charger is connected to the accessory; If the external connection state is the first connection state, the processor is further used to instruct the power management module to use the VBUS pin of the Type C female socket of the device to supply power to the accessory; If the external connection state is the second connection state, the processor is further used to instruct the power management module to receive charging using the VBUS pin of the Type C socket of the device.
6. An accessory with both fast charging and audio transmission functions, characterized in that: include: An accessory Type C female socket for connecting a charger, an accessory Type C male socket, and an audio interface for connecting an audio connector; the accessory Type C male socket is used to connect to the device Type C female socket in the electronic device according to any one of claims 1 to 5.
7. The accessory according to claim 6, characterized in that The SBU pins of the accessory Type C male connector include the SBU1 pin and the SBU2 pin of the accessory Type C male connector; The SBU1 pin and the SBU2 pin of the accessory Type C male connector are respectively connected to the DP pin and the DM pin of the accessory Type C female connector. When the charger is connected to the accessory Type C female connector, the DP pin and the DM pin of the accessory Type C female connector are respectively connected to the D+ pin and the D- pin of the charger. or: The SBU1 pin and the SBU2 pin of the accessory Type C male connector are respectively connected to the SBU1 pin and the SBU2 pin of the accessory Type C female connector. When the charger is connected to the accessory Type C female connector, the SBU1 pin and the SBU2 pin of the accessory Type C female connector are respectively connected to the SBU1 pin and the SBU2 pin of the charger.
8. The accessory according to claim 6 or 7, characterized in that: Also included is an audio processing module; The three signal transmission pins of the audio processing module are respectively connected to the left channel pin, the right channel pin and the microphone pin in the audio interface; the audio processing module is also connected to the DP pin and the DM pin of the Type C male connector of the accessory; The audio processing module is used for: The digital audio signal is exchanged with the connected electronic device through the DP pin and the DM pin of the Type C male connector of the accessory; The three signal transmission pins interact with the audio connector to simulate audio signals, and: Converting between the digital audio signal and the analog audio signal is performed.
9. The accessory according to claim 8, characterized in that The first detection pin and the second detection pin of the audio processing module are also connected to the audio interface, and the first detection pin and the second detection pin can be short-circuited when the audio connector is fully connected to the audio interface, and the first detection pin is connected to the CC pin of the accessory Type C male connector; When the audio connector is fully connected to the audio interface, but the charger is not connected to the accessory Type C female socket, the first detection pin is short-circuited with the second detection pin, and the CC pin of the accessory Type C male connector is pulled to a first level to indicate that the electronic device connected to the accessory directly or indirectly supplies power to the audio processing module; When the charger is connected to the accessory Type C socket, the audio processing module can be powered by the charger.
10. The accessory according to claim 9, characterized in that It also includes a control module; the power pin of the control module is connected to the VBUS pin of the accessory Type C socket, so that when the charger is connected to the accessory Type C socket, the charger is powered by the charger; When the charger is connected to the accessory Type C socket, the control module is further used to: The CC pin of the Type C male connector of the accessory is pulled to a second level to instruct the electronic device connected to the accessory to receive charging using its device VBUS pin.
11. The accessory according to claim 10, characterized in that Also includes: A first switch, a second switch, a third switch, a fourth switch and a low voltage drop linear regulator; The first switch is connected between the first detection pin and the second detection pin, and the first switch can be turned on when the audio connector is fully connected to the audio interface; the second switch is connected between the second detection pin and the ground, and a resistor unit is connected in parallel at both ends of the second switch; the third switch is connected between the VBUS pin of the accessory Type C female socket and the VBUS pin of the accessory Type C male connector; the CC pin of the accessory Type C male connector is connected to the VBUS pin of the accessory Type C male connector via the fourth switch and a resistor unit, and the VBUS pin of the accessory Type C male connector also supplies power to the audio processing module via the low voltage drop linear regulator; When the control module pulls the CC pin of the accessory Type C male connector to the second level, the control module is specifically used to: control the second switch to be turned off, and: control the third switch and the fourth switch to be turned on.
Citation Information
Patent Citations
Interface device
CN108075325A
Electronic equipment and accessory with quick charging and audio transmission functions
CN210780912U