CN113507538A - Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device - Google Patents

Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device Download PDF

Info

Publication number
CN113507538A
CN113507538A CN202110827044.1A CN202110827044A CN113507538A CN 113507538 A CN113507538 A CN 113507538A CN 202110827044 A CN202110827044 A CN 202110827044A CN 113507538 A CN113507538 A CN 113507538A
Authority
CN
China
Prior art keywords
type
charging
resistor
usb
pin
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.)
Granted
Application number
CN202110827044.1A
Other languages
Chinese (zh)
Other versions
CN113507538B (en
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 Weijian Technology Co ltd
Original Assignee
Shenzhen Weijian Technology 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 Weijian Technology Co ltd filed Critical Shenzhen Weijian Technology Co ltd
Priority to CN202110827044.1A priority Critical patent/CN113507538B/en
Publication of CN113507538A publication Critical patent/CN113507538A/en
Application granted granted Critical
Publication of CN113507538B publication Critical patent/CN113507538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Power Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an audio accessory capable of being automatically compatible with charging and audio transmission of apple android equipment, which comprises: a USB sound card device; the USB sound card device comprises: the system comprises a first TYPE-C charging output and communication interface, a second TYPE-C power supply input interface, a charging control switch circuit, a TYPE-C PD control circuit, a USB audio sound card and an MCU (microprogrammed control unit); the USB audio sound card and MCU micro control unit comprises USB DP & DM intelligent identification apple mobile phone software; the first TYPE-C charging output and communication interface is connected with a charged equipment end through an OTG cable; the second TYPE-C power supply input interface is connected with a power adapter or a PC host through a TYPE-C male-to-male cable; the invention can simplify the connection mode and reduce the use cost of the user on the premise of not changing the use habit of the user; can also be compatible apple equipment and android device automatically for these two kinds of system cell-phone equipment can all use a live sound card equipment, still can charge for the mobile device simultaneously.

Description

Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device
Technical Field
The invention relates to the technical field of electronic accessories and USB (universal serial bus) sound cards, in particular to an audio accessory which is automatically compatible with charging and audio transmission of apple android equipment.
Background
When the mobile equipment continuously uses the USB OTG audio, the electric quantity can be quickly consumed; the current mainstream mobile communication systems are apple IOS system equipment and google android system equipment; the apple IOS system equipment adopts a Lightning interface and the main stream of the android equipment adopts a TYPE-C interface; at present, short videos are popular, a plurality of users use a live broadcast sound card to improve the live broadcast sound effect, when different mobile phones OTG are used for live broadcast, charging and live broadcast are needed, but due to the fact that two system interfaces are different and communication protocols are different, one live broadcast sound card device cannot be shared; meanwhile, the direct broadcast sound card OTG interface in the current market can not realize the apple IOS, and android system equipment is compatible with the charging and using functions; therefore, to realize live broadcast of the apple and the android mobile device, one live broadcast device needs to be shared, an android TYPE-C interface sound card adapter and an apple Lightning interface mobile phone adapter product need to be purchased respectively, and meanwhile, the apple connection needs to be connected with a charger additionally, so that the connection is complicated and the use cost is increased for users; in the prior art, the method for automatically identifying the apple and the mobile phone adopts control hardware to switch between HOST and Device modes, and judges the type of the mobile phone in the HOST mode by communicating with the mobile phone through USB DP and DM to identify PID and VID modes.
Based on the above problems, it is desirable to provide an audio accessory that is automatically compatible with charging and audio transmission of an apple android device; the invention can simplify the connection mode and reduce the use cost of the user on the premise of not changing the use habit of the user; can also be compatible apple equipment and android device automatically for these two kinds of system cell-phone equipment can all use a live sound card equipment, still can charge for the mobile device simultaneously.
Disclosure of Invention
The invention aims to provide an audio accessory which is automatically compatible with apple android equipment and can charge and transmit audio, so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: the utility model provides an automatic compatible apple android device limit audio frequency accessory that charges limit audio transmission, the audio frequency accessory includes: a USB sound card device; the USB sound card device includes: the system comprises a first TYPE-C charging output and communication interface, a second TYPE-C power supply input interface, a charging control switch circuit, a TYPE-C PD control circuit, a USB audio sound card and an MCU (microprogrammed control unit); the first TYPE-C charging output and communication interface, the second TYPE-C power supply input interface, the charging control switch circuit and the TYPE-C PD control circuit are electrically connected with the USB audio sound card and the MCU; the TYPE-C PD control circuit and the charging control switch circuit are electrically connected with the first TYPE-C charging output and communication interface; the charging control switch circuit is electrically connected with the second TYPE-C power supply input interface; the USB audio sound card and MCU micro control unit comprises USB DP & DM intelligent recognition mobile phone software;
the USB audio sound card and MCU micro control unit is used for analyzing and identifying USB SETUP data in enumeration initialization of the charged equipment end and simultaneously controlling the running state of the charging control switch circuit;
the charging control switch circuit is used for charging the charging equipment end;
the TYPE-C PD control circuit is used for realizing communication with the charging equipment terminal so as to complete charging mode switching of the charging equipment terminal;
the first TYPE-C charging output and communication interface is connected with the end of the charged device through an OTG cable;
the second TYPE-C power supply input interface is connected with a power adapter or a PC host through a TYPE-C cable; the TYPE-C cable includes: USB A male cable pair TYPE-C male cable, TYPE-C male cable pair male cable;
the OTG cable in the above is for realizing first TYPE-C output and the electric connection between communication interface and the equipment end that is charged, and then realizes charging and the communication to the equipment end that is charged.
Further, the OTG cable adopts different cables according to different charged equipment ends, and when the charged equipment end is an apple equipment end, the OTG cable is a TYPE-C male-to-apple Lightning OTG cable; when the charged device end is an android device end, the OTG cable is a TYPE-C male-to-male cable;
different cables that set up to the difference of the equipment end that is charged in the aforesaid are in order to solve the compatible problem between apple equipment and android device and the USB sound card device.
Furthermore, the audio accessory realizes different work flows of charging and audio transmission on the charging equipment end according to different charging equipment ends; when the identified charging equipment terminal is android equipment, the workflow of charging and audio transmission of the android equipment is as follows:
s1: when a TYPE-C cable inserted between a power adapter or a PC host and a second TYPE-C power supply input interface supplies power, a USB audio sound card and an MCU chip in an MCU micro control unit start to initialize, at the moment, a TYPE-C PD control circuit and USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and a charging control switch circuit is in a default closed state;
s2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal, and analyzes and recognizes instructions in the USB SETUP data;
s3: when the identified charging equipment terminal is android equipment, the TYPE-C PD control circuit switches the communication between the USB sound card device and the mobile phone equipment to an OTG chargeable mode through the first TYPE-C charging output and communication interface; when the TYPE-C PD control circuit judges that the first TYPE-C charging output and the communication between the communication interface and the mobile phone device are successful, the charging control switch circuit is opened; the realization is carried out the limit and is charged the limit and carry out OTG audio transmission between the USB sound card device to android device.
Further, when the identified charging device end is an apple device, the workflow of charging and audio transmission for the apple device is as follows:
SS 1: when a TYPE-C cable inserted between a power adapter or a PC host and a second TYPE-C power supply input interface supplies power, a USB audio sound card and an MCU chip in an MCU micro control unit start to initialize, at the moment, a TYPE-C PD control circuit and USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and a charging control switch circuit is in a default closed state;
SS 2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal, and analyzes and recognizes instructions in the USB SETUP data;
SS 3: when the identified charging equipment terminal is apple equipment, the TYPE-C PD control circuit cannot communicate with the mobile phone equipment through the first TYPE-C charging output and the communication interface, the TYPE-C PD control circuit is invalid at the moment, the USB audio sound card and an MCU chip in the MCU micro control unit communicate with the mobile phone through USB DP & DM intelligent identification apple mobile phone software at the moment, the USB DP & DM intelligent identification mobile phone software analyzes a USB SETUP protocol transmitted by the charging equipment terminal to obtain a conclusion that the charging equipment terminal is the apple equipment, and the charging control switch circuit is opened; the realization is carried out the limit and is charged the limit and carry out OTG audio transmission between the USB sound card device to apple equipment.
Further, USB DP & DM intelligent recognition mobile phone software is used for intelligently recognizing the apple mobile phone end and the android mobile phone end; the USB DP & DM intelligent identification mobile phone software is realized by analyzing an instruction in a USB SETUP protocol when the system type of the mobile equipment is the apple equipment or the android equipment, and hardware for switching USB HOST and Device mode hardware is not required to be added;
that is, if the audio accessory USB SETUP packet has the following characteristics: if the bmRequestType is 0x81, the bRequest is 0x06, the wValue low byte is 0x22, and the wIndex high byte is 0x04, the device is an apple device, but the device is not characterized as an android device;
in the steps, the purpose of distinguishing the apple system is realized by analyzing the characteristics of the apple SETUP data packets by analyzing the USB SETUP instruction, because the android and the apple host send different USB SETUP data packets in the enumeration initialization of the sound card equipment; because the USB audio chip is a Device, the PID and VID of the mobile phone can not be identified through the USB protocol. The main principle of the invention is that in the initialization of the continuous sound card device enumeration, the android and apple host computers send different device descriptor configuration packets with different data and sequences, and the aim of distinguishing android and apple systems is further achieved through detailed analysis and customization processes.
Further, the charging control switch circuit comprises a field effect transistor Q1, a field effect transistor Q2, a triode Q5, a triode Q6, an integrated double diode U5, an integrated double diode U6, a resistor R6, a resistor R7, a resistor R10, a resistor R11, a resistor R14 and a resistor R15; the type of the field effect transistor Q1 and the type of the field effect transistor Q2 are both AO 3415; the types of the triode Q5 and the triode Q6 are both 2N 7002; the integrated double diode U5 and the integrated double diode U6 are both BAT 54C;
a third pin of the field-effect transistor Q2 is connected to a first TYPE-C charging output and communication interface, and a second pin of the field-effect transistor Q2 is connected to a TYPE-C PD control circuit; a third pin of the field effect transistor Q1 is connected into the TYPE-C PD control circuit; the first end of the resistor R6 is connected with the second pin of the field effect transistor Q2, and the first end of the resistor R7 is connected with the second pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the first pin of the field effect transistor Q2; the second end of the resistor R7 is connected with the first pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the third pin of the triode Q5; the second end of the resistor R7 is connected with the third pin of the triode Q6; a first pin of the triode Q5 is connected with a first end of the resistor R10; the first end of the resistor R10 is connected with the resistor R14; a first pin of the triode Q6 is connected with a first end of the resistor R11; a first end of the resistor R11 is connected with a first end of the resistor R15; a second pin of the triode Q5, a second pin of the triode Q6, a second end of the resistor R14 and a second end of the resistor R15 are all grounded; the second end of the resistor R10 is connected with the third pin of the integrated double diode U5; a first pin of the integrated double diode U5 is connected to a second pin in the TYPE-CPD control circuit; a second pin of the integrated double diode U5 and a first pin of the integrated double diode U6 are both connected to the USB audio sound card and the MCU; the second end of the resistor R11 is connected with the third pin of the integrated double diode U6; a second pin of the integrated double diode U6 is connected to a fifth pin in the TYPE-C PD control circuit;
in the above circuit connection manner, the charge switch circuit adopts a dual PMOS connection method.
Further, the TYPE-C PD control circuit comprises a chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C58, a resistor R4, a resistor R9, a resistor R16, a resistor R73, a resistor R5 and a resistor R17; the model of the chip U1 is LDR 6023C;
a first pin of the chip U1 and a first end of the capacitor C1 are both grounded; a second pin of the chip U1 is connected with the charging control switch circuit; the fourth pin of the chip U1 is connected with the first end of the resistor R73; the second end of the resistor R73 is grounded; a fifth pin of the chip U1 is connected with the charging control switch circuit; the seventh pin of the chip U1 is linked with the first end of the resistor R5; the second end of the resistor R5 is connected with the first TYPE-C charging output and communication interface; the eighth pin of the chip U1 is connected with the first end of the resistor R17; the second end of the resistor R17 is connected with the first TYPE-C charging output and communication interface; the second end of the resistor R5 is connected with the first end of the capacitor C58; the second end of the capacitor C58 is connected with the second end of the capacitor C3; the second end of the capacitor C3 is grounded; the first end of the capacitor C3 is connected with the second end of the resistor R17; an eleventh pin of the chip U1 is connected with a first end of the resistor R4 and a first end of the resistor R9; the second end of the resistor R9 is grounded; the second end of the resistor R4 is connected to the charging control switch circuit; a fifteenth pin of the chip U1 is connected with a first end of the capacitor C2; the second end of the capacitor C2 is grounded; the sixteenth pin of the chip U1 is connected with the second end of the capacitor C1, and the second end of the capacitor C1 is connected with the first end of the resistor R16; the second end of the resistor R16 is connected to the charging control switch circuit;
the TYPE-C PD control circuit adopts LDR6023C SSOP16 as a double USB-C DRP interface USB PD communication chip developed by Lederrui technology aiming at a Bridge device in the USB TYPE-C standard; the method has the functions of transmitting the Power Negotiation Data packets, switching the Data Role and making the intelligent equipment enter the ALT MODE through the VDM Negotiation.
Compared with the prior art, the invention has the following beneficial effects: the invention can simplify the connection mode and reduce the use cost of the user on the premise of not changing the use habit of the user; can also be compatible apple equipment and android device automatically for these two kinds of system cell-phone equipment can all use a live sound card equipment, still can charge for the mobile device simultaneously.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic structural diagram of an audio accessory automatically compatible with apple and android device charging and audio transmission;
FIG. 2 is a schematic circuit connection diagram of a charge control switch circuit in an audio accessory that is automatically compatible with apple and android device charging and audio transmission;
FIG. 3 is a schematic diagram of a TYPE-C PD control circuit in an audio accessory automatically compatible with apple and android device charging and audio transmission;
in the figure: the intelligent charging system comprises a 1-USB sound card device, a 2-charged equipment end, a 3-power adapter or a PC host, a 4-first TYPE-C charging output and communication interface, a 5-second TYPE-C power supply input interface, a 6-charging control switch circuit, a 7-TYPE-C PD control circuit, an 8-USB audio sound card and MCU micro control unit, a 9-OTG cable and a 10-TYPE-C cable.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, the present invention provides the following technical solutions: the utility model provides an automatic compatible apple android device limit audio frequency accessory that charges limit audio transmission which characterized in that: the audio accessory includes: a USB sound card device 1; the USB sound card apparatus 1 includes: the system comprises a first TYPE-C charging output and communication interface 4, a second TYPE-C power supply input interface 5, a charging control switch circuit 6, a TYPE-C PD control circuit 7, a USB audio sound card and an MCU (microprogrammed control unit) 8; the first TYPE-C charging output and communication interface 4, the second TYPE-C power supply input interface 5, the charging control switch circuit 6 and the TYPE-C PD control circuit 7 are electrically connected with the USB audio sound card and the MCU micro control unit 8; the TYPE-C PD control circuit 7 and the charging control switch circuit 6 are electrically connected with the first TYPE-C charging output and communication interface 4; the charging control switch circuit 6 is electrically connected with the second TYPE-C power supply input interface 5; the USB audio sound card and MCU micro control unit 8 comprises USB DP & DM intelligent recognition mobile phone software;
the USB audio sound card and MCU micro control unit 8 is used for analyzing and identifying USB SETUP data in enumeration initialization of the charged device end 2 and controlling the running state of the charge control switch circuit 6;
the charging control switch circuit 6 is used for charging the charging equipment end 2;
the TYPE-C PD control circuit 7 is used for realizing communication with the charging equipment terminal 2 and further completing charging mode switching of the charging equipment terminal 2;
the first TYPE-C charging output and communication interface 4 is connected with the charged equipment end 2 through an OTG cable 9;
the second TYPE-C power supply input interface 5 is connected with a power adapter or a PC host 3 through a TYPE-C cable 10; the TYPE-C cable 10 includes: USB A male cable pair TYPE-C male cable, TYPE-C male cable pair male cable;
wherein, the OTG cable 9 adopts different cables according to the difference of the charged device end 2, and when the charged device end 2 is an apple device end, the OTG cable 9 is a TYPE-C male-to-apple Lightning OTG cable; when the charged device end 2 is an android device end, the OTG cable 9 is a TYPE-C male-to-male cable;
the audio accessory realizes charging and audio transmission on the charging equipment end 2 according to different charging equipment ends 2; when the identified charging equipment terminal is android equipment, the workflow of charging and audio transmission of the android equipment is as follows:
s1: when a power adapter or a TYPE-C cable 10 inserted between the PC host 3 and the second TYPE-C power supply input interface 5 supplies power, the USB audio sound card and an MCU chip in the MCU micro control unit 8 start to initialize, at the moment, the TYPE-C PD control circuit 7 and the USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and the charging control switch circuit 6 is in a default closed state;
s2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal 2, and analyzes and recognizes instructions in the USB SETUP data;
s3: when the identified charging equipment terminal is android equipment, the TYPE-C PD control circuit 7 switches the communication between the USB sound card device 1 and the mobile phone equipment to an OTG chargeable mode through the first TYPE-C charging output and communication interface 4; when the TYPE-CPD control circuit 7 judges that the first TYPE-C charging output and the communication between the communication interface 4 and the mobile phone device are successful, the charging control switch circuit 6 is opened; the realization is carried out the limit and is charged the limit and carry out OTG audio transmission between the USB sound card device 1 to android device.
When the identified charging equipment terminal is the apple equipment, the workflow of charging and audio transmission of the apple equipment is as follows:
SS 1: when a power adapter or a TYPE-C cable 10 inserted between the PC host 3 and the second TYPE-C power supply input interface 5 supplies power, the USB audio sound card and an MCU chip in the MCU micro control unit 8 start to initialize, at the moment, the TYPE-C PD control circuit 7 and the USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and the charging control switch circuit 6 is in a default closed state;
SS 2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal 2, and analyzes and recognizes instructions in the USB SETUP data;
SS 3: when the identified charging equipment terminal is apple equipment, the TYPE-C PD control circuit 7 cannot communicate with the mobile phone equipment through the first TYPE-C charging output and the communication interface 4, at the moment, the TYPE-C PD control circuit 7 is invalid, at the moment, the USB audio sound card and an MCU chip in the MCU micro control unit 8 communicate with the mobile phone through USB DP & DM intelligent identification apple mobile phone software, the USB DP & DM intelligent identification mobile phone software analyzes the USB SETUP protocol transmitted by the charging equipment terminal 2 to obtain the conclusion that the charging equipment terminal 2 is apple equipment, and the charging control switch circuit 6 is opened; the OTG audio transmission between the apple equipment and the USB sound card device 1 while charging is realized;
the USB DP & DM intelligent identification mobile phone software is used for intelligently identifying the apple mobile phone end and the android mobile phone end; the USB DP & DM intelligent identification mobile phone software is realized by analyzing an instruction in a USB SETUP protocol when the system type of the mobile equipment is the apple equipment or the android equipment, and hardware for switching USB HOST and Device mode hardware is not required to be added;
that is, if the audio accessory USB SETUP packet has the following characteristics: if the bmRequestType is 0x81, the bRequest is 0x06, the wValue low byte is 0x22, and the wIndex high byte is 0x04, the device is an apple device, but the device is not characterized as an android device;
the charging control switch circuit 6 comprises a field effect transistor Q1, a field effect transistor Q2, a triode Q5, a triode Q6, an integrated double diode U5, an integrated double diode U6, a resistor R6, a resistor R7, a resistor R10, a resistor R11, a resistor R14 and a resistor R15; the type of the field effect transistor Q1 and the type of the field effect transistor Q2 are both AO 3415; the types of the triode Q5 and the triode Q6 are both 2N 7002; the integrated double diode U5 and the integrated double diode U6 are both BAT 54C;
a third pin of the field-effect transistor Q2 is connected to the first TYPE-C charging output and communication interface 4, and a second pin of the field-effect transistor Q2 is connected to the TYPE-C PD control circuit 7; a third pin of the field effect transistor Q1 is connected into the TYPE-C PD control circuit 7; the first end of the resistor R6 is connected with the second pin of the field effect transistor Q2, and the first end of the resistor R7 is connected with the second pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the first pin of the field effect transistor Q2; the second end of the resistor R7 is connected with the first pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the third pin of the triode Q5; the second end of the resistor R7 is connected with the third pin of the triode Q6; a first pin of the triode Q5 is connected with a first end of the resistor R10; the first end of the resistor R10 is connected with the resistor R14; a first pin of the triode Q6 is connected with a first end of the resistor R11; a first end of the resistor R11 is connected with a first end of the resistor R15; a second pin of the triode Q5, a second pin of the triode Q6, a second end of the resistor R14 and a second end of the resistor R15 are all grounded; the second end of the resistor R10 is connected with the third pin of the integrated double diode U5; a first pin of the integrated double diode U5 is connected to a second pin in the TYPE-CPD control circuit 7; the second pin of the integrated double diode U5 is connected with the first pin of the integrated double diode U6; the second pin of the integrated double diode U5 and the first pin of the integrated double diode U6 are both connected to the USB audio sound card and the MCU 8; the second end of the resistor R11 is connected with the third pin of the integrated double diode U6; a second pin of the integrated double diode U6 is connected to a fifth pin of the TYPE-C PD control circuit 7; the TYPE-C PD control circuit 7 comprises a chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C58, a resistor R4, a resistor R9, a resistor R16, a resistor R73, a resistor R5 and a resistor R17; the model of the chip U1 is LDR 6023C;
a first pin of the chip U1 and a first end of the capacitor C1 are both grounded; a second pin of the chip U1 is connected with the charging control switch circuit 6; the fourth pin of the chip U1 is connected with the first end of the resistor R73; the second end of the resistor R73 is grounded; the fifth pin of the chip U1 is connected with the charging control switch circuit 6; the seventh pin of the chip U1 is linked with the first end of the resistor R5; the second end of the resistor R5 is connected with the first TYPE-C charging output and communication interface 4; the eighth pin of the chip U1 is connected with the first end of the resistor R17; the second end of the resistor R17 is connected with the first TYPE-C charging output and communication interface 4; the second end of the resistor R5 is connected with the first end of the capacitor C58; the second end of the capacitor C58 is connected with the second end of the capacitor C3; the second end of the capacitor C3 is grounded; the first end of the capacitor C3 is connected with the second end of the resistor R17; an eleventh pin of the chip U1 is connected with a first end of the resistor R4 and a first end of the resistor R9; the second end of the resistor R9 is grounded; the second end of the resistor R4 is connected to the charging control switch circuit 6; a fifteenth pin of the chip U1 is connected with a first end of the capacitor C2; the second end of the capacitor C2 is grounded; the sixteenth pin of the chip U1 is connected with the second end of the capacitor C1, and the second end of the capacitor C1 is connected with the first end of the resistor R16; the second end of the resistor R16 is connected to the charge control switch circuit 6.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. The utility model provides an automatic compatible apple android device limit audio frequency accessory that charges limit audio transmission which characterized in that: the audio accessory includes: a USB sound card device (1); the USB sound card device (1) comprises: the system comprises a first TYPE-C charging output and communication interface (4), a second TYPE-C power supply input interface (5), a charging control switch circuit (6), a TYPE-C PD control circuit (7), a USB audio sound card and an MCU (microprogrammed control unit) (8); the first TYPE-C charging output and communication interface (4), the second TYPE-C power supply input interface (5), the charging control switch circuit (6) and the TYPE-C PD control circuit (7) are electrically connected with the USB audio sound card and the MCU (microprogrammed control unit) (8); the TYPE-C PD control circuit (7) and the charging control switch circuit (6) are electrically connected with the first TYPE-C charging output and communication interface (4); the charging control switch circuit (6) is electrically connected with the second TYPE-C power supply input interface (5); the USB audio sound card and MCU micro control unit (8) comprises USB DP & DM intelligent recognition mobile phone software;
the USB audio sound card and MCU micro control unit (8) is used for analyzing and identifying USB SETUP data in enumeration initialization of the charged equipment end (2) and controlling the running state of the charging control switch circuit (6) at the same time;
the charging control switch circuit (6) is used for realizing charging of the charging equipment end (2);
the TYPE-C PD control circuit (7) is used for realizing communication with the charging equipment terminal (2) so as to complete charging mode switching of the charging equipment terminal (2);
the first TYPE-C charging output and communication interface (4) is connected with the charged equipment end (2) through an OTG cable (9);
the second TYPE-C power supply input interface (5) is connected with a power adapter or a PC host (3) through a TYPE-C cable (10); the TYPE-C cable (10) comprises: USB A is public to TYPE-C public first cable, TYPE-C is public to public cable.
2. The audio accessory of claim 1, wherein the audio accessory is compatible with apple android device audio transmission while charging, and comprises: the OTG cable (9) adopts different cables according to the difference of the charged device end (2), and when the charged device end (2) is an apple equipment end, the OTG cable (9) is a TYPE-C male-to-apple Lightning OTG cable; when being tall and erect equipment end for ann by battery charging outfit end (2), OTG cable (9) are TYPE-C public to public cable.
3. The audio accessory of claim 1, wherein the audio accessory is compatible with apple android device audio transmission while charging, and comprises: the audio accessory realizes different work flows of charging and audio transmission on the charging equipment end (2) according to different charging equipment ends (2); when the identified charging equipment terminal is android equipment, the workflow of charging and audio transmission of the android equipment is as follows:
s1: when a TYPE-C cable (10) inserted between a power adapter or a PC host (3) and the second TYPE-C power supply input interface (5) supplies power, the USB audio sound card and an MCU chip in an MCU micro control unit (8) start to initialize, at the moment, the TYPE-C PD control circuit (7) and the USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and the charging control switch circuit (6) is in a default closed state;
s2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal (2), and analyzes and recognizes instructions in the USB SETUP data;
s3: when the identified charging equipment terminal is android equipment, the TYPE-C PD control circuit (7) switches the communication between the USB sound card device (1) and the mobile phone equipment to an OTG charging mode through the first TYPE-C charging output and communication interface (4); when the TYPE-C PD control circuit (7) judges that the first TYPE-C charging output and communication interface (4) is successfully communicated with the mobile phone device, the charging control switch circuit (6) is opened; the realization to android device carry out the limit charge limit with carry out OTG audio transmission between the USB sound card device (1).
4. The audio accessory of claim 1, wherein the audio accessory is compatible with apple android device audio transmission while charging, and comprises: when the charging equipment terminal is identified to be the apple equipment, the workflow of charging and audio transmission of the apple equipment is as follows:
SS 1: when a TYPE-C cable (10) inserted between a power adapter or a PC host (3) and the second TYPE-C power supply input interface (5) supplies power, the USB audio sound card and an MCU chip in an MCU micro control unit (8) start to initialize, at the moment, the TYPE-C PD control circuit (7) and the USB DP & DM intelligent recognition mobile phone software are in a state to be communicated, and the charging control switch circuit (6) is in a default closed state;
SS 2: the USB DP & DM intelligent recognition mobile phone software receives USB SETUP data in enumeration initialization of the charging equipment terminal (2), and analyzes and recognizes instructions in the USB SETUP data;
SS 3: when the identified charging equipment terminal is apple equipment, the TYPE-C PD control circuit (7) cannot communicate with the mobile phone equipment through the first TYPE-C charging output and communication interface (4), at the moment, the TYPE-C PD control circuit (7) is invalid, at the moment, the USB audio sound card and an MCU chip in an MCU micro control unit (8) communicate with the mobile phone through the USB DP & DM intelligent identification apple mobile phone software, the USB DP & DM intelligent identification mobile phone software analyzes a USB SETUP protocol transmitted by the charging equipment terminal (2), the conclusion that the charging equipment terminal (2) is the apple equipment is obtained, and the charging control switch circuit (6) is opened; the apple equipment is charged while OTG audio transmission is carried out between the USB sound card device (1).
5. The audio accessory of claim 3 or 4, wherein the audio accessory is compatible with apple android device charging and audio transmission, and comprises: the USB DP & DM intelligent identification mobile phone software is used for intelligently identifying the apple mobile phone end and the android mobile phone end; the USB DP & DM intelligent identification mobile phone software is realized by analyzing an instruction in the USB SETUP protocol when the system type of the mobile equipment is intelligently identified as apple equipment or android equipment, and hardware for switching USB HOST and Device modes is not required to be added;
that is, if the audio accessory USB SETUP packet includes the following features: if bmRequestType is 0x81, bRequest is 0x06, wValue low byte is 0x22, and wIndex high byte is 0x04, the device is an apple device, but the device is not an android device.
6. The audio accessory of claim 1, wherein the audio accessory is compatible with apple android device audio transmission while charging, and comprises: the charging control switch circuit (6) comprises a field effect transistor Q1, a field effect transistor Q2, a triode Q5, a triode Q6, an integrated double diode U5, an integrated double diode U6, a resistor R6, a resistor R7, a resistor R10, a resistor R11, a resistor R14 and a resistor R15; the type of the field effect transistor Q1 and the type of the field effect transistor Q2 are both AO 3415; the model of the transistor Q5 and the model of the transistor Q6 are both 2N 7002; the integrated double diode U5 and the integrated double diode U6 are both BAT 54C;
a third pin of the field-effect transistor Q2 is connected to the first TYPE-C charging output and communication interface (4), and a second pin of the field-effect transistor Q2 is connected to the TYPE-C PD control circuit (7); a third pin of the field effect transistor Q1 is connected into the TYPE-C PD control circuit (7); the first end of the resistor R6 is connected with the second pin of the field effect transistor Q2, and the first end of the resistor R7 is connected with the second pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the first pin of the field effect transistor Q2; the second end of the resistor R7 is connected with the first pin of the field effect transistor Q1; the second end of the resistor R6 is connected with the third pin of the triode Q5; the second end of the resistor R7 is connected with the third pin of the triode Q6; a first pin of the triode Q5 is connected with a first end of the resistor R10; the first end of the resistor R10 is connected with the resistor R14; a first pin of the triode Q6 is connected with a first end of a resistor R11; a first end of the resistor R11 is connected with a first end of the resistor R15; the second pin of the transistor Q5, the second pin of the transistor Q6, the second end of the resistor R14 and the second end of the resistor R15 are all grounded; the second end of the resistor R10 is connected with the third pin of the integrated double diode U5; a first pin of the integrated double diode U5 is connected into a second pin of the TYPE-C PD control circuit (7); a second pin of the integrated double diode U5 is connected with a first pin of the integrated double diode U6; a second pin of the integrated double diode U5 and a first pin of the integrated double diode U6 are both connected to the USB audio sound card and the MCU micro control unit (8); a second end of the resistor R11 is connected with a third pin of the integrated double diode U6; the second pin of the integrated double diode U6 is connected to the fifth pin of the TYPE-CPD control circuit (7).
7. The audio accessory of claim 1, wherein the audio accessory is compatible with apple android device audio transmission while charging, and comprises: the TYPE-C PD control circuit (7) comprises a chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C58, a resistor R4, a resistor R9, a resistor R16, a resistor R73, a resistor R5 and a resistor R17; the model of the chip U1 is LDR 6023C;
a first pin of the chip U1 and a first end of the capacitor C1 are both grounded; a second pin of the chip U1 is connected with the charging control switch circuit (6); the fourth pin of the chip U1 is connected with the first end of the resistor R73; the second end of the resistor R73 is grounded; a fifth pin of the chip U1 is connected with the charging control switch circuit (6); a seventh pin of the chip U1 is linked with a first end of the resistor R5; the second end of the resistor R5 is connected with the first TYPE-C charging output and communication interface (4); an eighth pin of the chip U1 is connected with a first end of the resistor R17; the second end of the resistor R17 is connected with the first TYPE-C charging output and communication interface (4); the second end of the resistor R5 is connected with the first end of the capacitor C58; the second end of the capacitor C58 is connected with the second end of the capacitor C3; the second end of the capacitor C3 is grounded; a first end of the capacitor C3 is connected with a second end of the resistor R17; an eleventh pin of the chip U1 is connected with a first end of the resistor R4 and a first end of the resistor R9; the second end of the resistor R9 is grounded; the second end of the resistor R4 is connected to the charging control switch circuit (6); a fifteenth pin of the chip U1 is connected with a first end of the capacitor C2; the second end of the capacitor C2 is grounded; a sixteenth pin of the chip U1 is connected to the second end of the capacitor C1, and the second end of the capacitor C1 is connected to the first end of the resistor R16; the second end of the resistor R16 is connected to the charging control switch circuit (6).
CN202110827044.1A 2021-09-02 2021-09-02 Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device Active CN113507538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110827044.1A CN113507538B (en) 2021-09-02 2021-09-02 Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110827044.1A CN113507538B (en) 2021-09-02 2021-09-02 Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device

Publications (2)

Publication Number Publication Date
CN113507538A true CN113507538A (en) 2021-10-15
CN113507538B CN113507538B (en) 2022-06-10

Family

ID=78013773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110827044.1A Active CN113507538B (en) 2021-09-02 2021-09-02 Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device

Country Status (1)

Country Link
CN (1) CN113507538B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204014027U (en) * 2014-07-30 2014-12-10 深圳市澳宏电子有限公司 A kind of digital audio decoding general headrest with USB interface
CN205039797U (en) * 2015-08-28 2016-02-17 深圳市冠旭电子有限公司 Compatible USB charges and audio transmission's interface circuit
CN105828007A (en) * 2016-06-07 2016-08-03 深圳市倍儿酷电子商务有限公司 Audio and video playing device compatible to USB power supply and OTG output functions
CN107453428A (en) * 2017-08-08 2017-12-08 天津瑞发科半导体技术有限公司 A kind of method of automatic identification apple and Android device
CN109921481A (en) * 2019-03-04 2019-06-21 中国电子科技集团公司第二十八研究所 To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204014027U (en) * 2014-07-30 2014-12-10 深圳市澳宏电子有限公司 A kind of digital audio decoding general headrest with USB interface
CN205039797U (en) * 2015-08-28 2016-02-17 深圳市冠旭电子有限公司 Compatible USB charges and audio transmission's interface circuit
CN105828007A (en) * 2016-06-07 2016-08-03 深圳市倍儿酷电子商务有限公司 Audio and video playing device compatible to USB power supply and OTG output functions
CN107453428A (en) * 2017-08-08 2017-12-08 天津瑞发科半导体技术有限公司 A kind of method of automatic identification apple and Android device
US20190052105A1 (en) * 2017-08-08 2019-02-14 Norel Systems Limited Method for automatically identifying apple and android devices
CN109921481A (en) * 2019-03-04 2019-06-21 中国电子科技集团公司第二十八研究所 To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated

Also Published As

Publication number Publication date
CN113507538B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN203446722U (en) Intelligent bracelet
CN104540175A (en) Switching method of uninterrupted Bluetooth connection, Bluetooth equipment and system
CN103445409A (en) Intelligent bracelet
CN108988431A (en) A kind of multi-protocols charging unit and multi-protocols charging method
CN108631401A (en) Charging circuit, method, electronic equipment and storage medium
CN107707000A (en) A kind of OTG power supplies and wireless charging compatible circuit and correlation technique and terminal device
CN103902492A (en) Working method of card reader
CN207217958U (en) A kind of Type c-types usb hub
CN113507538B (en) Audio accessory capable of automatically being compatible with charging and audio transmission of apple android device
CN112166422B (en) Mobile terminal
CN110137755A (en) Connector and the second electronic equipment including connector
CN107205189B (en) One kind being based on TYPE-C handset module and recognition methods
CN106532382A (en) USB Type-C adapter and implementation method thereof
CN112492433A (en) Charging box, wireless earphone and wireless earphone charging system
CN100358211C (en) Charging set for handset
WO2016173081A1 (en) Method and device for implementing connection control
CN205068404U (en) Wireless switching device and security certification system
CN2765254Y (en) Data exchange and charging apparatus for handset
CN203608214U (en) Ethernet adapter and Ethernet adaptive wire
CN206116827U (en) Intelligent hand ring
CN206742596U (en) A kind of interface circuit
CN212849147U (en) Display with universal USB interface for screen projection with different intelligent mobile phones
CN109474047A (en) A kind of back splint battery
CN220401497U (en) External wireless charging module based on TYPE-C interface
CN209545645U (en) A kind of device of wisdom class board realization plug-in card number dialing telephone call

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant