CN216210995U - Innovative USB interface time-sharing multiplexing circuit - Google Patents

Innovative USB interface time-sharing multiplexing circuit Download PDF

Info

Publication number
CN216210995U
CN216210995U CN202122076434.8U CN202122076434U CN216210995U CN 216210995 U CN216210995 U CN 216210995U CN 202122076434 U CN202122076434 U CN 202122076434U CN 216210995 U CN216210995 U CN 216210995U
Authority
CN
China
Prior art keywords
pin
chip
main control
electrically connected
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202122076434.8U
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.)
Shenzhen Grandsun Electronics Co Ltd
Original Assignee
Shenzhen Grandsun Electronics 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 Shenzhen Grandsun Electronics Co Ltd filed Critical Shenzhen Grandsun Electronics Co Ltd
Priority to CN202122076434.8U priority Critical patent/CN216210995U/en
Application granted granted Critical
Publication of CN216210995U publication Critical patent/CN216210995U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model belongs to the technical field of USB interface circuit and specifically relates to an innovative USB interface timesharing multiplexing circuit is related to, and it includes control circuit, charging circuit, USB connector interface J1 and speaker, control circuit and USB connector interface J1, charging circuit, speaker electric connection, USB connector interface J1 ground connection, control circuit is used for realizing timesharing multiplexing, rational distribution DP/DN passageway resource. The method and the device have the effect of solving the problem that the conflict exists between the upgrading debugging function and the charging detection function and the wired audio function on the USB link.

Description

Innovative USB interface time-sharing multiplexing circuit
Technical Field
The application relates to the field of USB interface circuits, in particular to an innovative USB interface time-sharing multiplexing circuit.
Background
The USB-C interface is called USB type-C, belongs to a USB 3.0 next generation interface, and is bright in slimmer design, higher transmission speed and stronger power transmission. Nowadays, the method is adopted in smart phones and notebooks. USB-C interfaces are increasingly used in electronic products, and earphones or speakers need more and more functions implemented by USB-C, such as charging, debugging, upgrading, wired audio, and the like.
In the related art, the DP/DN channel of the USB is used for both upgrading and debugging, charging detection, and wired audio functions.
For the above related technologies, the inventor believes that the DP/DN channel of the USB in the related technologies is prone to cause the enumeration failure of the USB device, resulting in the defect that the upgrade debugging, the charging detection and the wired audio function have conflicts on the USB link.
SUMMERY OF THE UTILITY MODEL
In order to solve the problem that the upgrading and debugging, the charging detection and the wired audio function conflict on a USB link, the application discloses an innovative USB interface time-sharing multiplexing circuit, which adopts the following technical scheme:
the utility model provides an innovative USB interface timesharing multiplexing circuit, includes control circuit, charging circuit, USB connector interface J1 and speaker, control circuit and USB connector interface J1, charging circuit, speaker electric connection, USB connector interface J1 ground connection, control circuit is used for realizing timesharing multiplexing, rationally distributes DP/DN passageway resource.
By adopting the technical scheme, the control circuit is favorable for realizing time-sharing multiplexing and reasonably distributing DP/DN channel resources, so that the charging, debugging and wired audio functions of the system are reasonably realized, and the problem that the upgrading, debugging, charging and detecting and wired audio functions conflict on a USB link is solved.
Optionally, the control circuit includes a main control circuit and an analog switch chip U3, the USB connector interface J1 is electrically connected to the main control circuit, the charging circuit is electrically connected to the main control circuit, the speaker is electrically connected to the main control circuit, and the main control circuit is grounded;
the analog switch chip U3 is electrically connected with the main control circuit, and a pin CHG-DP and a pin CHG-DN of the analog switch chip U3 are both electrically connected with the charging circuit;
the DP terminal and the DN terminal of the USB connector interface J1 are electrically connected with the analog switch chip U3.
By adopting the technical scheme, the main control circuit and the analog switch chip U3 are matched with each other to realize reasonable DP/DN channel resource distribution, and the main control circuit controls the analog switch chip U3 and the charging circuit, thereby improving the stability of time-sharing multiplexing.
Optionally, the main control circuit includes a first power supply, a second power supply, a key switch K1, a first resistor RP, a second resistor Rn, and a main control chip U1, where the first power supply is electrically connected to a pin VCHG-R of the main control chip U1, and a pin VCC of the USB connector interface J1 is electrically connected to the first power supply and the pin VCHG-R of the main control chip U1;
a pin GPIO11 of the main control chip U1 is electrically connected with a pin IN1 of an analog switch chip U3, and a pin GPIO12 of the main control chip U1 is electrically connected with a pin IN2 of an analog switch chip U3;
the pin DP of the main control chip U1 is electrically connected with the pin BT-DP of the analog switch chip U3, the pin DN of the main control chip U1 is electrically connected with the pin BT-DN of the analog switch chip U3, the pin MIC1 of the main control chip U1 is electrically connected with the pin LINE-R of the analog switch chip U3, and the pin MIC2 of the main control chip U1 is electrically connected with the pin LINE-L of the analog switch chip U3;
the pin POWKEY of the main control chip U1 is connected to one end of the key switch K1, the other end of the key switch K1 is electrically connected to the output end of the first resistor RP, the input end of the first resistor RP is electrically connected to the second power supply, the input end of the second resistor Rn is connected to one end of the key switch K1 away from the main control chip U1 and the output end of the first resistor RP, and the output end of the second resistor Rn is grounded;
the main control chip U1 is electrically connected with the charging circuit through an I2C bus;
the main control chip U1 is electrically connected with the speaker.
By adopting the technical scheme, the main control chip U1 can realize the functions of control, operation and Bluetooth audio; the charging circuit supports a BC1.2 protocol and is configured with a main control chip U1 through an I2C bus; the high and low levels of IN1 and IN2 are controlled by the main control chip U1, so that switching to different channels can be realized; and receiving an external event, switching the DP/DN to a corresponding channel through time division multiplexing according to a corresponding time sequence, and if no event triggers the DP/DN to be connected to the charging circuit by default.
Optionally, the charging circuit includes a charging chip U2 and a battery BAT1, a pin BAT of the charging chip U2 is connected to a positive electrode of the battery BAT1, and a pin GND of the charging chip U2 is connected to a negative electrode of the battery BAT 1;
a pin SYS of the charging chip U2 is connected with a pin VBAT of a main control chip U1, a pin SDA of the charging chip U2 is connected with a pin GPIO23 of the main control chip U1, and a pin SCL of the charging chip U2 is connected with a pin GPIO22 of the main control chip U1;
the pin D + of the charging chip U2 is connected with the pin CHG-DP of the analog switch chip U3, and the pin D-of the charging chip U2 is connected with the pin CHG-DN of the analog switch chip U3.
By adopting the technical scheme, the charging chip U2 is controlled by the main control chip U1, and the charging chip U2 realizes the function of charging the external equipment by using the battery BAT1, so that the stability of the charging function is improved.
Optionally, the first power supply is a 5V input power supply, and the second power supply is a 1.8V input power supply.
Through adopting above-mentioned technical scheme, be favorable to for the power supply of master control chip U1, and be convenient for do benefit to key switch K1 control master control chip U1.
Optionally, the model of the main control chip U1 is BES2300 YP.
By adopting the technical scheme, the noise reduction is favorably supported, and the self-adaptive active noise reduction is realized.
Optionally, the analog switch chip is of a U3 model NCN 1188.
By adopting the technical scheme, the method is favorable for multiplexing audio or high-speed data from a single USB, connecting the real grounding amplifier to the MicroUSB earphone, and controlling GPIO low voltage, and the audio distortion is small.
Optionally, the model of the charging chip U2 is BQ 25611D.
Through adopting above-mentioned technical scheme, be favorable to improving charge efficiency.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the control circuit is favorable for realizing time-sharing multiplexing and reasonably distributing DP/DN channel resources, so that the charging, debugging and wired audio functions of the system are reasonably realized, and the problem that the upgrading, debugging, charging and detecting and wired audio functions conflict on a USB link is solved.
2. The main control chip U1 can realize control, operation and Bluetooth audio functions; the charging circuit supports a BC1.2 protocol and is configured with a main control chip U1 through an I2C bus; the high and low levels of IN1 and IN2 are controlled by the main control chip U1, so that switching to different channels can be realized; and receiving an external event, switching the DP/DN to a corresponding channel through time division multiplexing according to a corresponding time sequence, and if no event triggers the DP/DN to be connected to the charging circuit by default.
3. The method is favorable for supporting noise reduction and realizing self-adaptive active noise reduction; the method is favorable for multiplexing audio or high-speed data from a single USB, connecting the real grounding amplifier to the MicroUSB earphone, and controlling GPIO low voltage, and has small audio distortion.
Drawings
Fig. 1 is a schematic circuit connection diagram of an innovative USB interface time division multiplexing circuit in an embodiment of the present application.
Description of reference numerals:
1. a control circuit; 11. a master control circuit; 111. a first power supply; 112. a second power supply; 2. a charging circuit; 3. a loudspeaker.
Detailed Description
The present application is described in further detail below with reference to fig. 1.
The embodiment of the application discloses an innovative USB interface time-sharing multiplexing circuit. Referring to fig. 1, an innovative USB interface time-sharing multiplexing circuit includes a control circuit 1, a charging circuit 2, a USB connector interface J1, and a speaker 3, wherein an input end of the USB connector interface J1 is electrically connected to the control circuit 1, and a ground end of the USB connector interface J1 is grounded. Control circuit 1 and charging circuit 2, speaker 3 electric connection, control circuit 1 ground connection, control circuit 1 is used for realizing the timesharing multiplexing, rationally distributes DP/DN passageway resource.
Referring to fig. 1, the control circuit 1 includes a main control circuit 11 and an analog switch chip U3, an input terminal of the USB connector interface J1 is electrically connected to the main control circuit 11, the charging circuit 2 is electrically connected to the main control circuit 11, the speaker 3 is electrically connected to the main control circuit 11, and the main control circuit 11 is grounded. The analog switch chip U3 is electrically connected to the main control circuit 11, and the pins CHG-DP and CHG-DN of the analog switch chip U3 are electrically connected to the charging circuit 2. The DP terminal and the DN terminal of the USB connector interface J1 are both electrically connected with the analog switch chip U3.
Referring to fig. 1, the main control circuit 11 includes a first power supply 111, a second power supply 112, a key switch K1, a first resistor RP, a second resistor Rn and a main control chip U1, the first power supply 111 is electrically connected to a pin VCHG-R of the main control chip U1, and an input terminal of the USB connector interface J1 is electrically connected to the first power supply 111 and the pin VCHG-R of the main control chip U1. The pin GPIO11 of the main control chip U1 is electrically connected to the pin IN1 of the analog switch chip U3, and the pin GPIO12 of the main control chip U1 is electrically connected to the pin IN2 of the analog switch chip U3.
Referring to fig. 1, a pin DP of the main control chip U1 is electrically connected to a pin BT-DP of the analog switch chip U3, a pin DN of the main control chip U1 is electrically connected to a pin BT-DN of the analog switch chip U3, a pin MIC1 of the main control chip U1 is electrically connected to a pin LINE-R of the analog switch chip U3, and a pin MIC2 of the main control chip U1 is electrically connected to a pin LINE-L of the analog switch chip U3. The main control chip U1 is electrically connected to the charging circuit 2 through the I2C bus, and the pins LOUT-LP and LOUT-LN of the main control chip U1 are both electrically connected to the speaker 3.
Referring to fig. 1, a pin POWKEY of the main control chip U1 is connected to an input terminal of the key switch K1, an output terminal of the key switch K1 is electrically connected to an output terminal of the first resistor RP, an input terminal of the first resistor RP is electrically connected to the second power supply 112, an input terminal of the second resistor Rn is connected to an output terminal of the key switch K1 and an output terminal of the first resistor RP, and an output terminal of the second resistor Rn is grounded.
Referring to fig. 1, it should be clear that the first power supply 111 is a 5V input power supply and the second power supply 112 is a 1.8V power supply VSYS in this embodiment. The main control chip U1 is BES2300 YP.
Referring to fig. 1, the charging circuit 2 includes a charging chip U2 and a battery BAT1, a pin BAT of the charging chip U2 is connected to a positive electrode of the battery BAT1, and a pin GND of the charging chip U2 is connected to a negative electrode of the battery BAT 1. The pin SYS of the charging chip U2 is connected to the pin VBAT of the main control chip U1, the pin SDA of the charging chip U2 is connected to the pin GPIO23 of the main control chip U1, and the pin SCL of the charging chip U2 is connected to the pin GPIO22 of the main control chip U1. The pin D + of the charging chip U2 is connected with the pin CHG-DP of the analog switch chip U3, and the pin D-of the charging chip U2 is connected with the pin CHG-DN of the analog switch chip U3. The model of the charging chip U2 is BQ 25611D.
The implementation principle of the innovative USB interface time-sharing multiplexing circuit in the embodiment of the present application is as follows:
the USB connector interface J1 is the only external interface on the product hardware. The main control chip U1 can realize control, operation and Bluetooth audio functions. The charging chip U2 realizes the product charging function, supports the BC1.2 protocol, and requires the main control chip U1 to summarize the configuration through I2C. The analog switch chip U3 is a 1-to-3 analog switch, and can be switched to different channels by the main control chip U1 controlling the high and low levels of IN1 and IN 2.
The truth table for the analog switch chip U3 is as follows:
Figure DEST_PATH_IMAGE002
the master control chip U1 receives the external event and follows the corresponding timing sequence to switch the DP/DN to the corresponding channel by time division multiplexing, if no event triggers the DP/DN to be connected to the charging chip U2 by default.
When the product is inserted into the USB charging 1S, the main control chip U1 detects a 5V power input event, triggers a charging interrupt event, sets IN1 to 1, sets IN2 to 1, and switches on the DP/DN of the locking analog switch chip U3 and the CHG _ DP/CHG _ DN of the charging chip U2. The main control chip U1 configures software for the charging chip U2 through the I2C, and releases the DP/DN only after configuration is completed, so that accurate configuration and successful handshake of the charging BC1.2 protocol are effectively guaranteed, and a quick charging function is realized.
After the product is inserted into the USB line 1S, and the main control chip U1 detects that the key K1 presses 3S for a long time, the debugging mode interruption event is triggered, IN1 is set to 0, IN2 is set to 1, and the DP/DN of the analog switch chip U3 is switched to the BT _ DP/BT _ DN channel of the main control chip U1. At the moment, the product can realize the functions of burning and debugging through the USB port.
When the LINE-IN LINE is inserted IN a product working mode, the main control chip U1 detects the LINE-IN LINE insertion, generates a wired audio interrupt event, sets the IN1 to 1, sets the IN2 to 0, and switches the DP/DN of the analog switch chip U3 to the wired audio channel LINE _ R/LINE _ L. External wired audio signals are transmitted to the main control chip U1 through the USB port DP/DN, and the audio signals are processed by the main control chip U1 and then played from the loudspeaker 3.
The method is favorable for realizing time-sharing multiplexing and reasonably distributing DP/DN channel resources, so that the charging, debugging and wired audio functions of the system are reasonably realized, and the problem that the upgrading, debugging, charging and detecting and wired audio functions conflict on a USB link is solved.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (8)

1. An innovative USB interface time-sharing multiplexing circuit, comprising: control circuit (1), charging circuit (2), USB connector interface J1 and speaker (3), control circuit (1) and USB connector interface J1, charging circuit (2), speaker (3) electric connection, USB connector interface J1 ground connection, control circuit (1) are used for realizing the timesharing multiplexing, rational distribution DP/DN passageway resource.
2. An innovative USB interface time division multiplexing circuit according to claim 1, characterized in that the control circuit (1) comprises: the charging circuit comprises a main control circuit (11) and an analog switch chip U3, wherein a USB connector interface J1 is electrically connected with the main control circuit (11), a charging circuit (2) is electrically connected with the main control circuit (11), a loudspeaker (3) is electrically connected with the main control circuit (11), and the main control circuit (11) is grounded;
the analog switch chip U3 is electrically connected with the main control circuit (11), and a pin CHG-DP and a pin CHG-DN of the analog switch chip U3 are both electrically connected with the charging circuit (2);
the DP terminal and the DN terminal of the USB connector interface J1 are electrically connected with the analog switch chip U3.
3. An innovative USB interface time-sharing multiplexing circuit according to claim 2, characterized in that the master control circuit (11) comprises: the USB interface connector comprises a first power supply (111), a second power supply (112), a key switch K1, a first resistor RP, a second resistor Rn and a main control chip U1, wherein the first power supply (111) is electrically connected with a pin VCHG-R of a main control chip U1, and a pin VCC of the USB connector interface J1 is electrically connected with the first power supply (111) and the pin VCHG-R of the main control chip U1;
a pin GPIO11 of the main control chip U1 is electrically connected with a pin IN1 of an analog switch chip U3, and a pin GPIO12 of the main control chip U1 is electrically connected with a pin IN2 of an analog switch chip U3;
the pin DP of the main control chip U1 is electrically connected with the pin BT-DP of the analog switch chip U3, the pin DN of the main control chip U1 is electrically connected with the pin BT-DN of the analog switch chip U3, the pin MIC1 of the main control chip U1 is electrically connected with the pin LINE-R of the analog switch chip U3, and the pin MIC2 of the main control chip U1 is electrically connected with the pin LINE-L of the analog switch chip U3;
the pin POWKEY of the main control chip U1 is connected with one end of a key switch K1, the other end of the key switch K1 is electrically connected with the output end of a first resistor RP, the input end of the first resistor RP is electrically connected with a second power supply (112), the input end of a second resistor Rn is connected with one end, far away from the main control chip U1, of the key switch K1 and the output end of the first resistor RP, and the output end of the second resistor Rn is grounded;
the main control chip U1 is electrically connected with the charging circuit (2) through an I2C bus;
the main control chip U1 is electrically connected with the loudspeaker (3).
4. The innovative USB interface time-sharing multiplexing circuit according to claim 3, characterized in that the charging circuit (2) comprises a charging chip U2 and a battery BAT1, a pin BAT of the charging chip U2 is connected with a positive electrode of the battery BAT1, and a pin GND of the charging chip U2 is connected with a negative electrode of the battery BAT 1;
a pin SYS of the charging chip U2 is connected with a pin VBAT of a main control chip U1, a pin SDA of the charging chip U2 is connected with a pin GPIO23 of the main control chip U1, and a pin SCL of the charging chip U2 is connected with a pin GPIO22 of the main control chip U1;
the pin D + of the charging chip U2 is connected with the pin CHG-DP of the analog switch chip U3, and the pin D-of the charging chip U2 is connected with the pin CHG-DN of the analog switch chip U3.
5. An innovative USB interface time-sharing multiplexing circuit according to claim 3, characterized in that the first power supply (111) is a 5V input power supply and the second power supply (112) is a 1.8V input power supply.
6. The innovative USB interface time-sharing multiplexing circuit of claim 3, wherein the master control chip U1 is model number BES2300 YP.
7. The innovative USB interface time-sharing multiplexing circuit of claim 2, wherein the analog switch chip is model number U3 NCN 1188.
8. The innovative USB interface time-sharing multiplexing circuit of claim 4, wherein the charging chip U2 is model number BQ 25611D.
CN202122076434.8U 2021-08-31 2021-08-31 Innovative USB interface time-sharing multiplexing circuit Active CN216210995U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122076434.8U CN216210995U (en) 2021-08-31 2021-08-31 Innovative USB interface time-sharing multiplexing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122076434.8U CN216210995U (en) 2021-08-31 2021-08-31 Innovative USB interface time-sharing multiplexing circuit

Publications (1)

Publication Number Publication Date
CN216210995U true CN216210995U (en) 2022-04-05

Family

ID=80918140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122076434.8U Active CN216210995U (en) 2021-08-31 2021-08-31 Innovative USB interface time-sharing multiplexing circuit

Country Status (1)

Country Link
CN (1) CN216210995U (en)

Similar Documents

Publication Publication Date Title
CN106255003B (en) Audio processor in the operation control method and terminal device of earphone noise reduction
CN101022278B (en) Terminal equipment, connector, charger and charging method
CN101931674A (en) Method and device for sharing Micro-USB interface
CN203167074U (en) Mobile terminal configured with reuse interface
US20170277650A1 (en) User equipment and method for data transmission
CN105635885A (en) USB interface multiplex circuit, mobile terminal and earphone
CN107643994B (en) Terminal, terminal peripheral, signal sending and receiving method and data transmission system
US11403245B2 (en) Terminal, terminal peripheral, signal transmission system and signal sending and receiving method
WO2017088522A1 (en) Antenna device of mobile terminal and mobile terminal
CN109660894B (en) Terminal peripheral and audio signal transmission method
CN102158575A (en) Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface
CN102082846A (en) Terminal equipment with plurality of externally arranged shared interfaces
CN102096651A (en) Mobile phone interface multiplexing circuit based on standard micro USB interface
CN102073470B (en) Electronic equipment and control method thereof
CN216210995U (en) Innovative USB interface time-sharing multiplexing circuit
CN212517830U (en) Multifunctional switching device
WO2020187024A1 (en) Audio circuit, related device and control method
WO2023216787A1 (en) Electronic device, pull-up circuit, and method for inhibiting pop sound of earphones
CN203632848U (en) Handheld electronic device
CN215895451U (en) Switching circuit based on USB interface and audio equipment
CN212751843U (en) Mobile power supply circuit supporting data exchange
CN111987752A (en) Switching equipment
CN205961388U (en) Voiced sound source conversion functions and DC headphone plug's charging wire
CN213072159U (en) Integrated mobile power supply circuit supporting data exchange
CN216852326U (en) Signal switching circuit and bluetooth speaker

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant