CN207663436U - Sound card audio conversion circuit and data transmission set - Google Patents
Sound card audio conversion circuit and data transmission set Download PDFInfo
- Publication number
- CN207663436U CN207663436U CN201721578450.4U CN201721578450U CN207663436U CN 207663436 U CN207663436 U CN 207663436U CN 201721578450 U CN201721578450 U CN 201721578450U CN 207663436 U CN207663436 U CN 207663436U
- Authority
- CN
- China
- Prior art keywords
- sound card
- audio
- exterior terminal
- circuit
- voicefrequency circuit
- 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
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
A kind of sound card audio conversion circuit of the utility model offer and data transmission set, the circuit includes the first voicefrequency circuit and the second voicefrequency circuit inversely used, and the first voicefrequency circuit includes the first preset interface and can be identified as the first sound card chip of system sound card equipment by the first exterior terminal;Second voicefrequency circuit includes the second preset interface and can be identified as the rising tone card chip of system sound card equipment by the second exterior terminal;The first sound card chip is connect with rising tone card chip;The packets of audio data that first exterior terminal is sent is converted to the voice data stream of pcm format and is transferred to the second voicefrequency circuit by the first voicefrequency circuit, and the second voicefrequency circuit converts the voice data stream of the pcm format to packets of audio data and sent to the second exterior terminal.The utility model is not necessarily to change the hardware or software of the first exterior terminal and the second exterior terminal, you can packets of audio data is sent to the second exterior terminal from the first exterior terminal.
Description
Technical field
The utility model is related to the information processing technology, especially a kind of sound card audio conversion circuit and data transmission set.
Background technology
USB is the abbreviation of Universal Serial Bus (universal serial bus), is an external bus standard, it is carried
One kind has been supplied to be used for PC (PC) peripheral equipment, such as mouse, keyboard, digital camera, printer, external memory, sound card
Deng the interface standard with PC.With extensive use of the USB technologies in contemporary electronic systems, not only PC is with USB interface, packet
Include many mobile terminals such as mobile phone, tablet computer and various intelligent box (various the broadcasting based on the systems such as Android or LINUX
Put device) and smart television including these built-in boxes all USB interfaces with host function, wherein usb audio equipment is big
Amount application, has obtained liking and approving for consumers in general.
The existing development with mobile communication technology, mobile terminal (smart mobile phone, tablet computer etc.) have become
People live an indispensable part, but after intelligent terminal connect with PC, currently, be only capable of the transmission of progress file mode with
It exchanges, therefore the transmission that cannot directly carry out two-way audio data stream significantly limits the application of audio scene.
Utility model content
The purpose of this utility model aims to solve the problem that the transmission that two-way audio data stream cannot be directly carried out between two terminals
Problem.
The utility model provides a kind of sound card audio conversion circuit, including the first voicefrequency circuit inversely used and second
Voicefrequency circuit, the first voicefrequency circuit include be adapted to the first exterior terminal the first preset interface and can by this first outside eventually
End is identified as the first sound card chip of system sound card equipment;Second voicefrequency circuit includes be adapted to the second exterior terminal second
Preset interface and the rising tone card chip that system sound card equipment can be identified as by second exterior terminal;The first sound card chip
It is connect with rising tone card chip;The packets of audio data that first exterior terminal is sent is converted to pulse code tune by the first voicefrequency circuit
The voice data stream of format processed is simultaneously transferred to the second voicefrequency circuit, and the second voicefrequency circuit is by the audio of the pcm format
Stream compression turns to packets of audio data and is sent to the second exterior terminal.
Preferably, the first sound card chip is CY8C3446LTI USB AUDIO family chips, and rising tone card chip is
SSS1629USB AUDIO chips;The PSOC_I2S_DATA_IN of the CY8C3446LTI USB AUDIO family chips is managed
Foot, PSOC_I2S_DATA_OUT pins are connect with the EQLED pins of SSS1629USB AUDIO chips, INSEL pins respectively.
Further, sound card audio conversion circuit further includes USB TYPE A sub-circuits, the SSS1629 USB AUDIO
The UDM pins of chip are connect with UDP pins with the USB TYPE A sub-circuits.
Further, sound card audio conversion circuit further includes caching sub-circuit, the SSS1629USB AUDIO chips
SCL_24C0X pins are connect with SDA_24C0X pins with the caching sub-circuit.
Preferably, first preset interface and the second preset interface are wired connection port.
Further, the wired connection port is USB port, and first voicefrequency circuit is also associated with for from support
The charging sub-circuit that the USB port of charging charges to another USB port.
Preferably, first voicefrequency circuit is also associated with the wireless adaptation sub-circuit for being adapted to wireless audio frequency transmission function,
The wireless adaptation sub-circuit is connect with the first sound card chip.
Preferably, sound card audio conversion circuit further includes for connecting external power adapter and being converted for this sound card audio
Circuit provides the USB TYPE B sub-circuits of operating voltage, and the USB TYPE B sub-circuits include power conversion chip.
Preferably, sound card audio conversion circuit further includes detachable first connecting portion and second connecting portion, the first audio
Circuit is set in first connecting portion, and the second voicefrequency circuit is set in second connecting portion;First voicefrequency circuit includes for second
The first wireless sub-circuit that voicefrequency circuit is wirelessly connected, the second voicefrequency circuit includes for being wirelessly connected with the first voicefrequency circuit
Second wireless sub-circuit.
The utility model also proposes a kind of data transmission set, including the sound card audio conversion electricity described in aforementioned any one
Road.
The beneficial effects of the utility model are as follows:
1, the circuit of the utility model can realize the packets of audio data that the first exterior terminal is sent to system sound card equipment
Be converted to the voice data stream of pcm format, then by the voice data stream decoded back of the pcm format
For packets of audio data, and the second exterior terminal is sent to by the system sound card equipment of the second exterior terminal, to reach transmission sound
The purpose of frequency stream;The utility model utilizes existing number between the first exterior terminal, the second exterior terminal and system sound card equipment
According to transport protocol transfer audio files, without changing the hardware configuration of the first exterior terminal and the second exterior terminal, also be not necessarily in
Special data transmission software is installed on first exterior terminal and the second exterior terminal, only passes through the existing sound of the first exterior terminal
Frequency playout software, you can while the first exterior terminal playing audio-fequency data packet, packets of audio data is passed through into sound card audio conversion
Circuit is changed, the second exterior terminal is sent to from the first exterior terminal;When first exterior terminal is exchanged with the second exterior terminal
When interface position, it can also realize from the second exterior terminal and send packets of audio data to the purpose of the first exterior terminal, to realize sound
The transmitted in both directions of frequency data packet.
2, the utility model is used using CY8C3446LTI USB AUDIO family chips as the first sound card chip
SSS1629USB AUDIO chips are arranged as rising tone card chip by corresponding software, can will be including USB functions
CY8C3446LTI USB AUDIO family chips are as main control chip, to control the co-ordination of entire circuit, and with
SSS1629USB AUDIO chips are compatible with well.
3, when the utility model carries out wired connection by USB interface, it is alternatively arranged as charging wire use, will be connected to
The sound card audio conversion circuit one end, with support charging USB interface the first exterior terminal or the second exterior terminal make
For charge power supply, to another terminal charge for the USB interface for being connected to the sound card audio conversion circuit other end.
The additional aspect of the utility model and advantage will be set forth in part in the description, these will be from following description
In become apparent, or recognized by the practice of the utility model.
Description of the drawings
The utility model is above-mentioned and/or additional aspect and advantage from the following description of the accompanying drawings of embodiments will
Become apparent and is readily appreciated that, wherein:
Fig. 1 is the attachment structure schematic diagram of sound card audio conversion circuit embodiment described in the utility model;
Fig. 2 is the packets of audio data flow path switch schematic diagram of sound card audio conversion circuit described in the utility model;
Fig. 3 is the pin connection diagram of the first sound card chip embodiment described in the utility model;
Fig. 4 is the pin connection diagram of rising tone card chip embodiment described in the utility model;
Fig. 5 is the connection diagram of USB TYPE A sub-circuits described in the utility model;
Fig. 6 is the connection diagram of caching sub-circuit described in the utility model;
Fig. 7 is the connection diagram of USB TYPE B sub-circuits described in the utility model;
Fig. 8 is the connection diagram of power supply voltage stabilizing sub-circuit described in the utility model.
Specific implementation mode
The embodiments of the present invention are described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning
Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng
The embodiment for examining attached drawing description is exemplary, and is only used for explaining the utility model, and cannot be construed to the utility model
Limitation.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being used in the specification of the utility model
Wording " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or
Other one or more features of addition, integer, step, operation, element, component and/or their group.It should be understood that working as us
Claim element to be " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or can also
There are intermediary elements.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.Used here as
Wording "and/or" include one or more associated list items whole or any cell and all combine.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology
Term and scientific terminology), there is meaning identical with the general understanding of the those of ordinary skill in the utility model fields.
It should also be understood that those terms such as defined in the general dictionary, it should be understood that have upper and lower with the prior art
The consistent meaning of meaning in text, and unless by specific definitions as here, idealization or too formal otherwise will not be used
Meaning explain.
As shown in Figure 1, the utility model proposes a kind of sound card audio conversion circuits 200, including the first sound inversely used
Frequency circuit 201 and the second voicefrequency circuit 202, the first voicefrequency circuit 201 include be adapted to the first exterior terminal 100 first pre-
If interface D2 and the first sound card chip U2 that system sound card equipment can be identified as by first exterior terminal 100;Second audio-frequency electric
Road 202 includes being adapted to the second preset interface D3 of the second exterior terminal 300 and being identified as by second exterior terminal 300
The rising tone card chip U2 of system sound card equipment;The first sound card chip U1 is connect with rising tone card chip U2;First audio
The packets of audio data that first exterior terminal 100 is sent is converted to the voice data stream of pcm format simultaneously by circuit 201
It is transferred to the second voicefrequency circuit 202, the second voicefrequency circuit 202 converts the voice data stream of the pcm format to sound
Frequency data packet is simultaneously sent to the second exterior terminal 300.
The sound card audio conversion circuit 200 of the utility model includes two sound card chips, can be simultaneously by the first exterior terminal
100 and second exterior terminal 300 be identified as system sound card equipment, to obtain the first exterior terminal 100 and the second exterior terminal 300
Packets of audio data, and packets of audio data can be sent to the first exterior terminal 100 and the second exterior terminal 300, reach transmission sound
The purpose of frequency data packet.Its workflow is as shown in Figure 2.
With reference to the connection diagram in Fig. 3-embodiment illustrated in fig. 8, CY8C3446LTI can be used in the first sound card chip
SSS1629USB AUDIO chips can be used in USB AUDIO family chips, rising tone card chip;The CY8C3446LTI USB
The PSOC_I2S_DATA_IN pins of AUDIO family chips, PSOC_I2S_DATA_OUT pins respectively with SSS1629USB
The EQLED pins of AUDIO chips, the connection of INSEL pins, so as to the voice data stream of transmission pulse coded modulation format.This reality
It further includes USB TYPE A sub-circuits to apply in example, UDM pins and UDP pins and the USB of the SSS1629USB AUDIO chips
TYPE A sub-circuits connect, and the interface J2 in the USB TYPE A sub-circuits can be used as the second preset interface D3, in order to the
Two exterior terminals 300 connect;Further include caching sub-circuit, the SCL_ of the SSS1629 USB AUDIO chips in the present embodiment
24C0X pins are connect with SDA_24C0X pins with caching sub-circuit, to cache the audio number of the pcm format
According to stream or packets of audio data.
The sound card audio conversion circuit 200 of the utility model may also include USB TYPE B sub-circuits, to connect external electrical
Source adapter, the equipment such as large-scale USB peripheral, such as printer, scanner are whole as the first exterior terminal 100 or the second outside
The packets of audio data transfer function with another terminal is realized at end 300;The USB TYPE B sub-circuits include power supply conversion core
Piece, to be adapted to external power supply.Further include power supply voltage stabilizing in SSS1629 USB AUDIO chip periphery circuits shown in Fig. 8
Circuit provides operating voltage for sound card audio conversion circuit 200.
The audio data conversion method of the sound card audio conversion circuit 200 of the utility model includes the following steps:
Step S10:First voicefrequency circuit 201 receives the packets of audio data that the first exterior terminal 100 is sent, by the audio number
The voice data stream of pcm format is converted to according to packet;The audio data is streamed to the second voicefrequency circuit 202;
First exterior terminal 100 can be that desktop computer, laptop, tablet computer, mobile phone, IPAD etc. are exportable
Or receive the electronic equipment of packets of audio data.Since the first sound card chip U1 can be identified as system sound by the first exterior terminal 100
Card apparatus, therefore when the first sound card chip U1 is connected to by approach such as USB interface, bluetooth wireless connection, wireless networks outside first
When portion's terminal 100, the first exterior terminal 100 is identified as system sound card equipment;First exterior terminal 100 plays audio file
When, then the audio file of the broadcasting may be output to the system sound card equipment of identification, that is, be output to the first sound card chip U1;First sound
Card chip U1 receives the packets of audio data of the audio file, but the packets of audio data do not exported to loudspeaker apparatus or
Audio amplifier circuit broadcasts, and after being converted into the voice data stream of pcm format, it is transferred to the second voicefrequency circuit
202。
S20:Second voicefrequency circuit 202 converts the voice data stream of the pcm format to packets of audio data,
The packets of audio data is sent to the second exterior terminal 300.
Second exterior terminal 300 also can be that desktop computer, laptop, tablet computer, mobile phone, IPAD etc. are exportable
Or receive the electronic equipment of packets of audio data.First exterior terminal 100 and the second exterior terminal 300 can be by two PC ends
Either two mobile terminal compositions or a PC terminal and a mobile terminal form at end, also can be other combinations.Second sound
After frequency circuit 202 receives the voice data stream of the pcm format of the first voicefrequency circuit 201 transmission, also should not
Voice data stream is sent to loud speaker or audio-frequency amplifier broadcasts, but is flowed into the audio data by rising tone card chip U2
The voice data stream of pcm format is reduced to packets of audio data by row reverse process again, and by the audio number of reduction
It is sent to the second exterior terminal 300 according to packet.It is set since rising tone card chip U2 is identified as system sound card by the second exterior terminal 300
It is standby, therefore the second exterior terminal 300 can receive the data that rising tone card chip U2 is sent, to reach packets of audio data from the
One exterior terminal 100 is transported to the purpose of the second exterior terminal 300.
The operating system of terminal used at present generally carries sound card identification function, and passes through existing audio transmission
The audio data transfer function between operating system and sound card chip, such as I2S serial digital audio buses can be realized in agreement
Agreement, SPDIF transport protocols etc..The utility model is not necessarily to change the hardware configuration of the first exterior terminal and the second exterior terminal,
Also it is not necessarily to, in installing additional data transmission software on the first exterior terminal and the second exterior terminal, sound card audio only be converted electricity
The first preset interface D2 and the second preset interface D3 on road 200 are respectively connected to the first exterior terminal and the second exterior terminal, i.e.,
The purpose that packets of audio data is sent to the second exterior terminal from the first exterior terminal can be achieved.
Embodiment based on above method, the utility model also propose another method embodiment:
After first voicefrequency circuit 201 receives the packets of audio data that the first exterior terminal 100 is sent, further include:
Step S11:Judge whether rising tone card chip U2 by the second exterior terminal 300 is identified as system sound card equipment, if
It is to then follow the steps S12;If it is not, thening follow the steps S13;
Step S12:Continue the step of the voice data stream that the packets of audio data is converted to pcm format
Suddenly;
Step S13:By packets of audio data caching for the continuous packet unit of period division;Confirm the second sound card
Chip U2 restores to be identified as system sound card equipment by the second exterior terminal 300, and the packet unit of caching, which is converted to pulse, to be compiled
The voice data stream of code modulation format, continues the described the step of audio data is streamed to the second voicefrequency circuit 202.
If the second exterior terminal 300 identifies multiple sound card equipments, may only be carried out with system sound card equipment therein
Data exchange, if rising tone card chip U2 is not system sound card equipment, rising tone card chip U2 possibly can not with second outside
Terminal 300 carries out data transmission.In the present embodiment, if rising tone card chip U2 be not identified as by the second exterior terminal 300 be
When sound card equipment of uniting, then it is assumed that rising tone card chip U2 is abnormal, can continue first voicefrequency circuit 201 and receive the first outside eventually
The step of packets of audio data that end 100 is sent, and by packets of audio data caching to divide continuous packet unit with the period,
When rising tone card chip U2 reverts to system sound card equipment, you can the packet unit of caching is converted to pulse code immediately
The voice data stream of modulation format, and transformed voice data stream is sent to the second exterior terminal 300, to ensure to transmit
Speed;By caching, the data in the abnormal time section will not lose, and user is not necessarily to the weight on the first exterior terminal 100
New operation, also can reach the purpose of the audio data received in the transmission abnormality period.
Based on a upper embodiment of the method, the utility model also proposes another method embodiment:
It is described to cache the packets of audio data to divide continuous packet unit with the period;Confirm rising tone card chip
U2 restores to be identified as system sound card equipment by the second exterior terminal 300, and the packet unit of caching is converted to pulse code tune
The voice data stream of format processed continues the described the step of audio data is streamed to the second voicefrequency circuit 202, including:
Step S131:By packets of audio data caching to divide continuous packet unit with the period, the rising tone is judged
Whether card chip U2 restores to be identified as system sound card equipment by the second exterior terminal 300 in preset time;If it is not, then executing step
Rapid S132;If so, thening follow the steps S133;
Step S132:To 100 feedback transmission exception information of the first exterior terminal;
Step S133:It obtains this rising tone card chip U2 recovery system sound card is identified as by the second exterior terminal 300 and set
Standby time span obtains rising tone card chip U2 interruptions in this preset time and is identified as system sound by the second exterior terminal 300
The number of card apparatus;
Step S134:Judge whether the time span is more than preset value;
Step S135:If more than preset value, judge whether the number is more than preset value;If more than preset value, then step is executed
Rapid S136;Otherwise, step S137 is executed;
Step S136:The packet unit for obtaining the preset quantity of caching, the packet unit of preset quantity is converted to
The voice data stream of pcm format continues the step for the audio data being streamed to the second voicefrequency circuit 202
Suddenly;
Step S137:Whole packet units is converted to pulse code by the whole packet units for obtaining caching
The voice data stream of modulation format continues the described the step of audio data is streamed to the second voicefrequency circuit 202.
If rising tone card chip U2 can not be identified as system sound card equipment by the second exterior terminal 300 in a long time,
Due to the limitation of spatial cache, first voicefrequency circuit 201 can not all data of persistent cache;Or, the second exterior terminal 300
Connection between rising tone card chip U2 is repeatedly abnormal, for example frequently connection goes offline, then illustrates that the second exterior terminal is unstable;
In these cases, can only restore caching preset quantity packet unit, such as entire packet unit unit 1/3 or
1/5, with fetching portion voice data stream, reduce the power consumption of sound card audio conversion circuit 200.If the second exterior terminal 300 only exists
Rising tone card chip U2 is not identified as system sound card equipment in very short time, or is gone offline once in a while, then can restore all audio frequency number
According to stream.
In the operating system of existing terminal, external system sound card that general PC terminals or mobile terminal can will recognize
Equipment is automatically set as system sound card equipment, if unidentified is system sound card equipment, can also manually set it to system sound
Card apparatus.For judge the first sound card chip U1 and/or rising tone card chip U2 whether be acquiescence play audio system sound card set
Standby, to transmit packets of audio data, the utility model also proposes following two embodiments, to prompt user to convert sound card audio
Circuit 200 is set as the system sound card equipment of the first exterior terminal 100 and the second exterior terminal 300, specially:
Before first voicefrequency circuit 201 receives the packets of audio data that the first exterior terminal 100 is sent, further include:
Step 01:Judge whether the first sound card chip U1 by the first exterior terminal 100 is identified as system sound card equipment;If
It is to then follow the steps 02;If it is not, thening follow the steps 03;
Step 02:Receive the packets of audio data of the first exterior terminal 100 transmission;
Step 03:The request that the first sound card chip U1 is set as to system sound card equipment is sent out to the first exterior terminal 100.
Or it is following embodiment:
Before first voicefrequency circuit 201 receives the packets of audio data that the first exterior terminal 100 is sent, further include:
Step 04:Judge whether rising tone card chip U2 by the second exterior terminal 300 is identified as system sound card equipment;If
It is to then follow the steps 05;If it is not, thening follow the steps 06;
Step 05:Packets of audio data is sent to the second exterior terminal 300;
Step 06:The request that rising tone card chip U2 is set as to system sound card equipment is sent out to the second exterior terminal 300.
Since most of terminal is both provided with USB interface, therefore, it is based on first embodiment, the utility model also proposes another
Embodiment:The first preset interface D2 and the second preset interface D3 is wireline interface.When the wireline interface is USB interface
When, the first sound card chip U1 and rising tone card chip U2 can be the sound card chip of compatible USB interface.The USB interface can
To be any one of USB1.1, USB2.0, USB3.0, type can be USB-A, USB-B, USB-C, mini-USB,
Any one of micro-USB types can also be the lighting interfaces of apple equipment.
It is using a PC terminal as 100, mobile terminals of the first exterior terminal as the second exterior terminal 300 below
Example, illustrates the specifically used and audio transmission step of the utility model:
First, the D1 interfaces of PC terminals are connected to the 200 first of sound card audio conversion circuit respectively with two USB lines
Preset interface D2, the 200 second preset interface D3 that the D4 interfaces of mobile terminal are connected to sound card audio conversion circuit;
Secondly, by PC terminal recognitions to the first sound card chip U1 be set as acquiescence system sound card equipment (play and record
System is disposed as the system sound card equipment of acquiescence), mobile terminal once recognizes rising tone card chip U2, can generally set automatically
It is set to the system sound card equipment of acquiescence, otherwise, manually sets it to the system sound card equipment of acquiescence;
Again, when PC terminals play audio file using audio software, it is whole that sound card audio conversion circuit 200 connects PC
The usb audio data packet received is converted to the voice data stream of pcm format by the first sound card chip U1 at end,
Output port through the first sound card chip U1 exports the audio input port of the rising tone card chip U2 inversely used to another,
It converts the voice data stream of this pcm format to packets of audio data again by rising tone card chip U2, is input to shifting
Dynamic terminal;
Finally, this signal is preserved by the application software of mobile terminal or is used as other purposes.
The sound card audio conversion circuit 200 of the utility model also may be configured as reversely using, i.e.,:When mobile terminal uses sound
When frequency playout software plays audio file, sound card audio conversion circuit 200 connects the rising tone card chip of mobile terminal USB interface
U2 converts the packets of audio data of reception to the voice data stream of pcm format, through rising tone card chip U2 output ends
Mouthful output to another the first sound card chip U1 inversely used audio input port, by the first sound card chip U1 by this pulse
The voice data stream of coded modulation format is reduced to packets of audio data, inputs PC terminals;Finally, pass through the application software of PC terminals
It preserves this signal or is used as other purposes.
By the utility model, it can be achieved that two-way audio data steaming transfer between two terminals, to realize two ends
Two-way recording, playing function between end can also be achieved more application functions in conjunction with the application software of two terminals.
The first preset interface D2 and/or the second preset interface D3 also can be bluetooth wireless interface or radio network interface
Deng, when the first preset interface D2 or the second preset interface D3 is bluetooth wireless interface, first voicefrequency circuit 201 or the second
Voicefrequency circuit 202 may include that bluetooth is wirelessly connected sub-circuit, to pass through with the first exterior terminal 100 or the second exterior terminal 300
Packets of audio data is transmitted in bluetooth connection;It is described when the first preset interface D2 or the second preset interface D3 is radio network interface
First voicefrequency circuit 201 or the second voicefrequency circuit 202 may include wireless network connection sub-circuit, to have access internet or office
The function of domain net exports packets of audio data by wireless network and the first exterior terminal 100 or the second exterior terminal 300.
When the first preset interface D2 or the second preset interface D3 is wireline interface, the sound card audio conversion in the utility model
Changing the operating voltage of circuit 200 can be provided by wireline interface;Rechargeable battery can be also set inside it, when external circuit can not carry
When for operating voltage, operating voltage is provided by internal rechargeable battery.As the first preset interface D2 and the second preset interface D3
For USB interface when, since the USB interface of equipment component is the USB interface for supporting charging, such as host computer interface, part USB
Interface is not supported to charge, for example, part mobile phone USB interface, therefore the utility model further proposes another embodiment:This reality
Further include with novel:
Step S30:The voltage value for detecting the first preset interface D2 and the second preset interface D3, judges whether one of them
USB interface is the USB interface for supporting charging;If so, thening follow the steps S31;
Step S31:The USB interface to charge from the support charges to another USB interface.
In this embodiment, the both ends of the sound card audio conversion circuit 200 have USB interface, when USB interfaces are distinguished
When being inserted into the first exterior terminal 100 and the second exterior terminal 300, the packets of audio data of the first exterior terminal 100 can not only be passed
The second exterior terminal 300 is transported to, can also judge the type of USB interface according to the interface voltage value of USB, with what is charged to needs
Terminal charges;For example, when computer works as detection as the first exterior terminal 100 when mobile phone is as the second exterior terminal 300
USB interface to computer is the USB interface for supporting charging, and the USB interface of mobile phone is the USB interface and mobile phone for not supporting charging
When electricity is discontented with, it can charge from computer USB interface to mobile phone.Judge that USB interface is according to the USB interface voltage value of detection
The prior art can be used in the no USB interface for support charging, and details are not described herein.
As previously mentioned, the first preset interface D2 and/or the second preset interface D3 can be wireline interface, the sound card audio conversion
It can also includes the wireless adaptation sub-circuit for being adapted to wireless audio frequency transmission function to change circuit 200, the wireless adaptation sub-circuit with
First sound card chip U1 connections, with the compatible function by wireless data transmission;In the present embodiment, first voicefrequency circuit
Before 201 receive the packets of audio data that the first exterior terminal 100 is sent, further include:
Step S40:Confirm whether the wireless adaptation sub-circuit is fitted to the first exterior terminal 100 or the second exterior terminal
300;If so, thening follow the steps S41:If it is not, thening follow the steps S42:
Step S41:Confirmation is fitted to the first exterior terminal 100, and the first voicefrequency circuit 201 passes through the wireless adaptation sub-circuit
Receive the packets of audio data of the first exterior terminal 100 transmission;It is fitted to the second exterior terminal 300 or, confirming, then the second audio-frequency electric
Road 202 sends packets of audio data by the wireless adaptation sub-circuit to the second exterior terminal 300;
Step S42:First voicefrequency circuit 201 receives the sound that the first exterior terminal 100 is sent by the first preset interface D2
Frequency data packet, the second voicefrequency circuit 202 send the packets of audio data by the second preset interface D3 to the second exterior terminal 300.
Do not have compatible USB interface size in the first exterior terminal or the second exterior terminal or USB interface is not enough, or
When being grafting inconvenience, the step of the present embodiment can remove grafting USB interface from, by way of wireless adaptation with external terminal
Establish connection.The wireless adaptation sub-circuit can be that bluetooth is adapted to sub-circuit, to match exterior terminal bluetooth-capable,
It can be also wireless network sub-circuit, specified network address or access to LAN are connected to, to receive the audio number of exterior terminal
Packets of audio data is sent according to packet, or to exterior terminal.Certainly, the sound card audio conversion circuit 200 in the utility model includes nothing
When line is adapted to sub-circuit, an interface in the first preset interface D2 and the second preset interface D3 can be set to wireless interface,
Or two interfaces are disposed as wireless interface.
The utility model can also under the premise of the first preset interface D2 and the second preset interface D3 are wireline interface,
Spare wireless interface is provided in wireless adaptation sub-circuit;When detecting that the first preset interface D2 is connected to the first exterior terminal
100, when the second preset interface D3 is connected to the second exterior terminal 300, packets of audio data is transmitted using wireline interface, to ensure number
According to transmission speed;When data transmission exception occurs for one of wireline interface, spare wireless interface is enabled, is passed with alternate data
Defeated abnormal wireline interface;When detecting that wireline interface signal restores normal, or after recovery normally and within the preset time
When persistently keeping normal, spare wireless interface is switched back into wireline interface again.Therefore the utility model proposes following examples again:
First voicefrequency circuit 201 by wireless interface receive the first exterior terminal 100 send packets of audio data it
Afterwards, further include:
Step S46:Judge whether the first preset interface D2 connects the first exterior terminal 100;If so, thening follow the steps S47:
Otherwise, step S48 is executed;
Step S47:First voicefrequency circuit 201 receives the sound that the first exterior terminal 100 is sent by the first preset interface D2
Frequency data packet;
Step S48:First voicefrequency circuit 201 continues through wireless interface and receives the audio that the first exterior terminal 100 is sent
Data packet.
The present embodiment can pass through wireless interface when the wireline interface of the first voicefrequency circuit 201 is pulled out or breaks down
Receive the packets of audio data of the first exterior terminal 100 transmission;When wireline interface restores normal, then restore wire transmission, to protect
Demonstrate,prove the stability of transmission speed and packets of audio data.
It is similar with the first voicefrequency circuit 201, it is described to pass through when the wireline interface of the second voicefrequency circuit 202 restores normal
After wireless interface sends the packets of audio data to the second exterior terminal 300, it may also include:
Judge whether the second preset interface D3 connects the second exterior terminal 300;
If so, sending the packets of audio data to the second exterior terminal 300 by the second preset interface D3;
Otherwise, it continues through wireless interface and sends the packets of audio data to the second exterior terminal 300.
Sound card audio conversion circuit 200 in the utility model has the first sound card chip U1 and rising tone card chip U2,
Data conversion and the function of control interface are all had, to make the data interaction between two chips coordinate, avoids instruction conflict, it can
Using one of chip as main control chip, another chip is as slaves chips, and the slaves chips are according to main control chip
Instruction execution corresponding actions.Therefore the utility model proposes following two embodiments again:
The first sound card chip U1 is main control chip, and the sound card audio conversion circuit 200 further includes for being adapted to nothing
The wireless adaptation sub-circuit of line audio transmission;Main control chip is connect with wireless adaptation sub-circuit;
First voicefrequency circuit 201 receives the packets of audio data that the first exterior terminal 100 is sent, including:
Step 101:Judge the first exterior terminal of main control chip identification 100 whether by wireless adaptation sub-circuit connection first
Voicefrequency circuit 201;If so, thening follow the steps S102;Otherwise, step S103 is executed;
Step S102:First voicefrequency circuit 201 receives the audio data that the first exterior terminal 100 is sent by wireless interface
Packet, otherwise, first voicefrequency circuit 100 receive the audio number that the first exterior terminal 100 is sent by the first preset interface D2
According to packet.
Alternatively, described send the packets of audio data to the second exterior terminal 300, including:
Judge the second exterior terminal of main control chip identification 300 whether by wireless adaptation sub-circuit the second voicefrequency circuit of connection
202;If so, sending the packets of audio data to the second exterior terminal 300 by wireless interface;Otherwise, it presets and connects by second
Mouth D3 sends the packets of audio data to the second exterior terminal 300.
When the first sound card chip U1 is main control chip, second voicefrequency circuit 202 is according to the first sound card core
It converts the voice data stream of the pcm format to packets of audio data described in the instruction execution of piece U1, and to outside second
Portion's terminal 300 sends the step of packets of audio data.
In both examples above, when the first sound card chip U1 in the first voicefrequency circuit 201 is main control chip, it can incite somebody to action
Second voicefrequency circuit 202 is used as main interface circuit, be mainly used for connecting external working power, integrated USB interface circuit or
Wireless interface circuit, acquisition external sense signal etc., to improve the speed of service of main control chip;The main control chip is in control the
When two voicefrequency circuits 202, it can also implement following functions:Default first voicefrequency circuit 201 and/or the second voicefrequency circuit 202 just
Beginning running parameter;Or, determining that data transmission is according to the detection signal of the first preset interface D2 and the second preset interface D3 feedbacks
It is no normal;Or, confirming whether wireless adaptation sub-circuit is fitted to the first exterior terminal 100 or the second exterior terminal 300;Or, really
The USB interface etc. for whether having and supporting to charge recognized.
It can also pass through wireless signal transmission audio data between first voicefrequency circuit, 201 and second voicefrequency circuit 202
Stream, so that the first voicefrequency circuit 201 and the second voicefrequency circuit 202 are made as split structure, therefore the utility model also proposes
Another embodiment:
First voicefrequency circuit 201 includes the first wireless sub-circuit, and the second voicefrequency circuit 202 includes and the first wireless son
The second wireless sub-circuit that circuit matches;It is described that the audio data is streamed to the second voicefrequency circuit, including:
Confirm whether the wireless signal between the first wireless sub-circuit and the second wireless sub-circuit is normal;
If so, the audio data is streamed to the second voicefrequency circuit by the first wireless sub-circuit;
If it is not, feeding back wireless transmission exception information to the first exterior terminal 100.
When the first voicefrequency circuit 201 and the second voicefrequency circuit 202 are split structure, the audio of the present embodiment can be used
Spread transmission method;First voicefrequency circuit 201 can be inserted on the first exterior terminal 100, the second voicefrequency circuit inserts in outside second
In terminal 300;First voicefrequency circuit 201 receives the packets of audio data of the transmission of the first exterior terminal 100 by wireline interface, then
Transformed audio data is streamed to the second wireless sub-circuit by the first wireless sub-circuit, the second voicefrequency circuit 202 will
After the wireless audio data streams that second wireless sub-circuit receives are converted into packets of audio data, wired by the second voicefrequency circuit connects
Mouth sends the packets of audio data to the second exterior terminal 300.If the nothing between the first wireless sub-circuit and the second wireless sub-circuit
Line signal is abnormal, then wireless transmission exception information is fed back to the first exterior terminal 100, to prompt the first audio-frequency electric of user's grafting
Data line between road 201 and the second voicefrequency circuit 202, or check that the first voicefrequency circuit 201 is with the second voicefrequency circuit 202
The no object etc. for having barrier wireless signal.First voicefrequency circuit 201 need to only be connect by the present embodiment with the first exterior terminal 100,
Second voicefrequency circuit 202 is connect with the second exterior terminal 300, is not necessarily between the first voicefrequency circuit 201 and the second voicefrequency circuit 202
Data line is set, the limitation between data line pair the first exterior terminal 100 and the second exterior terminal 300 is avoided, transmission is more square
Just;And wireless product volume smaller, facilitate storage.
The working power of the first voicefrequency circuit 201 and the second voicefrequency circuit 201 can be connect by wired respectively in the present embodiment
Mouth provides.If passing through wireless signal between the first voicefrequency circuit 201 and the first exterior terminal 100, the second voicefrequency circuit 202
Connection, then can provide operating voltage by internal battery;If the second voicefrequency circuit 202 and the second exterior terminal 300, the first audio
It is connected by wireless signal between circuit 201, also can provide operating voltage by internal battery.
The utility model also proposes an embodiment:The first exterior terminal is not detected in the main control chip in preset time
When the packets of audio data of 100 transmissions, standby command is exported to first voicefrequency circuit, 201 and second voicefrequency circuit 202, with
Save energy and extend the service life of each electronic device;When the first preset interface D2 receives packets of audio data or main control chip
By the first exterior terminal 100 wake instruction when, then control the first voicefrequency circuit 201 and the second voicefrequency circuit 202 and enter data
Transmission state.
In audio stream transmission method described in the utility model, the voice data stream of the pcm format can
To include the existing audios such as serial digital audio bus protocol signal, coaxial audio signal, optical fiber audio signal or analog signal
Any one of format signal.
The working condition of sound card audio conversion circuit 200 is learnt for the convenience of the user, on the sound card audio conversion circuit 200
Indicator light can be also set, when sound card audio conversion circuit 200 detects first voicefrequency circuit, 201 and second voicefrequency circuit
When 202 connections are normal, control indicator light is always on;When detecting that the second exterior terminal 300 normally receives packets of audio data, control
Indicator light flickers.Certainly, multiple indicator lights can be also set, to show 200 more detailed working condition of sound card audio conversion circuit,
When being in abnormality so as to sound card audio conversion circuit 200, according to instruction modulating signal it can be learnt that fault point.
As previously mentioned, the first voicefrequency circuit 202 and the second voicefrequency circuit 202 can be made as split structure, i.e.,:This practicality
Novel sound card audio conversion circuit may include that detachable first connecting portion and second connecting portion, the first voicefrequency circuit 201 are set
In in first connecting portion, the second voicefrequency circuit 202 is set in second connecting portion;First voicefrequency circuit 201 includes for second
Voicefrequency circuit 202 be wirelessly connected the first wireless sub-circuit, the second voicefrequency circuit 202 include for the first voicefrequency circuit 201
The second wireless sub-circuit being wirelessly connected.Sound card audio conversion circuit can be made as split type product by the present embodiment, by
First default port D2 of one voicefrequency circuit 201 is inserted on the first exterior terminal 100, by the second of the second voicefrequency circuit 202
Default port D3 is inserted on the second exterior terminal 300, passes through nothing between the first voicefrequency circuit 201 and the second voicefrequency circuit 202
The voice data stream of the pcm format is transmitted in the connection of line signal, is limited by data line length with solving wire transmission
The problem of processed, and wireless product volume smaller, facilitate storage.
According to above-mentioned sound card audio conversion circuit 200, the utility model also proposes a kind of data transmission set, including aforementioned
Sound card audio conversion circuit described in any one.
In addition, each module in each embodiment of the utility model can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.The storage medium can be read-only memory, disk or CD etc..
The above is only some embodiments of the utility model, it is noted that for the common skill of the art
For art personnel, without departing from the principle of this utility model, several improvements and modifications can also be made, these improve and
Retouching also should be regarded as the scope of protection of the utility model.
Claims (10)
1. a kind of sound card audio conversion circuit, which is characterized in that including the first voicefrequency circuit inversely used and the second audio-frequency electric
Road, the first voicefrequency circuit include being adapted to the first preset interface of the first exterior terminal and being identified by first exterior terminal
For the first sound card chip of system sound card equipment;Second voicefrequency circuit includes being adapted to the second of the second exterior terminal default to connect
Mouth and the rising tone card chip that system sound card equipment can be identified as by second exterior terminal;The first sound card chip and second
Sound card chip connects;The packets of audio data that first exterior terminal is sent is converted to pcm format by the first voicefrequency circuit
Voice data stream and be transferred to the second voicefrequency circuit, the second voicefrequency circuit is by the voice data stream of the pcm format
It is converted into packets of audio data and is sent to the second exterior terminal.
2. sound card audio conversion circuit according to claim 1, which is characterized in that the first sound card chip is
CY8C3446LTI USB AUDIO family chips, rising tone card chip are SSS1629USB AUDIO chips;It is described
The PSOC_I2S_DATA_IN pins of CY8C3446LTI USB AUDIO family chips, PSOC_I2S_DATA_OUT pins difference
It is connect with the EQLED pins of SSS1629USB AUDIO chips, INSEL pins.
3. sound card audio conversion circuit according to claim 2, which is characterized in that further include USBTYPE A sub-circuits, institute
The UDM pins for stating SSS1629USB AUDIO chips are connect with UDP pins with the USB TYPE A sub-circuits.
4. sound card audio conversion circuit according to claim 2, which is characterized in that further include caching sub-circuit, it is described
The SCL_24C0X pins of SSS1629USB AUDIO chips are connect with SDA_24C0X pins with the caching sub-circuit.
5. sound card audio conversion circuit according to claim 1, which is characterized in that first preset interface and second is in advance
If interface is wired connection port.
6. sound card audio conversion circuit according to claim 5, which is characterized in that the wired connection port is the ends USB
Mouthful, first voicefrequency circuit is also associated with the charging son electricity for charging from the USB port of support charging to another USB port
Road.
7. sound card audio conversion circuit according to claim 1, which is characterized in that further include being passed for being adapted to wireless audio
Defeated wireless adaptation sub-circuit, the wireless adaptation sub-circuit are connect with the first sound card chip.
8. sound card audio conversion circuit according to claim 1, which is characterized in that further include suitable for connecting external power supply
Orchestration and the USB TYPE B sub-circuits that operating voltage is provided for this sound card audio conversion circuit, the USB TYPE B sub-circuits
It include power conversion chip.
9. sound card audio conversion circuit according to claim 1, which is characterized in that including detachable first connecting portion with
Second connecting portion, the first voicefrequency circuit are set in first connecting portion, and the second voicefrequency circuit is set in second connecting portion;First audio
Circuit includes the first wireless sub-circuit for being wirelessly connected with the second voicefrequency circuit, and the second voicefrequency circuit includes for first
The second wireless sub-circuit that voicefrequency circuit is wirelessly connected.
10. a kind of data transmission set, including the sound card audio conversion circuit described in claim 1 to 9 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721578450.4U CN207663436U (en) | 2017-11-22 | 2017-11-22 | Sound card audio conversion circuit and data transmission set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721578450.4U CN207663436U (en) | 2017-11-22 | 2017-11-22 | Sound card audio conversion circuit and data transmission set |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207663436U true CN207663436U (en) | 2018-07-27 |
Family
ID=62946079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721578450.4U Active CN207663436U (en) | 2017-11-22 | 2017-11-22 | Sound card audio conversion circuit and data transmission set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207663436U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107894883A (en) * | 2017-11-22 | 2018-04-10 | 佛山乐野音乐设备有限公司 | Audio stream transmission method and sound card audio conversion circuit |
-
2017
- 2017-11-22 CN CN201721578450.4U patent/CN207663436U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107894883A (en) * | 2017-11-22 | 2018-04-10 | 佛山乐野音乐设备有限公司 | Audio stream transmission method and sound card audio conversion circuit |
CN107894883B (en) * | 2017-11-22 | 2023-11-28 | 广州艾美网络科技有限公司 | Audio stream transmission method and sound card audio conversion circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2597844B1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
CN102890666B (en) | A kind of devices and methods therefor of shared interface, communication terminal | |
EP2342646B1 (en) | Intelligent power-enabled communications port | |
EP2089805B1 (en) | Enhanced communication via a serial interface | |
CN102201827B (en) | Audio signal receiving and switching device and audio signal transmission system | |
CN107643994B (en) | Terminal, terminal peripheral, signal sending and receiving method and data transmission system | |
KR102123533B1 (en) | Circuit for supplying power to a peripheral device and detecting, in an electronic device, a connection of the peripheral device to a communication interface of the electronic device, electronic device and method therefor | |
US9348779B2 (en) | Multifunctional electronic apparatus for charging electronic product | |
CN104813296A (en) | USB audio and power transmission | |
CN109660894B (en) | Terminal peripheral and audio signal transmission method | |
CN107453428A (en) | A kind of method of automatic identification apple and Android device | |
CN103530250A (en) | Portable electronic device, its accessory device and operation method of portable electronic device | |
CN113535622B (en) | Power switching systems, USB sockets and electronic devices | |
EP3129892B1 (en) | Peripheral device, host device, and processing method | |
WO2012171492A1 (en) | Audio signal receiving and transferring device | |
CN107894883A (en) | Audio stream transmission method and sound card audio conversion circuit | |
CN101626412A (en) | Mobile terminal circuit with multifunctional earphone socket and implementation method thereof | |
CN105228044A (en) | A kind of harmless tonequality earphone | |
CN207663436U (en) | Sound card audio conversion circuit and data transmission set | |
CN105657172A (en) | DSP power amplifier interaction system | |
CN207518016U (en) | Wireless charging built-up circuit and device | |
CN107205189B (en) | One kind being based on TYPE-C handset module and recognition methods | |
CN110475175B (en) | Method and device for charging wireless earphone | |
JP6124167B2 (en) | Data terminal, data transmission system, and hot swap control method | |
CN214313802U (en) | USB-A changes Type-C's converter that fills soon |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190408 Address after: 510280 Room 2502-2506, 238 Changgang Middle Road, Haizhu District, Guangzhou City, Guangdong Province Patentee after: GUANGZHOU AIMEI NETWORK SCIENCE & TECHNOLOGY CO., LTD. Address before: 528305 Liangchang Industrial Zone, Xihai Village Committee, Beijiao Town, Shunde District, Foshan City, Guangdong Province (Xi'an Wai, West China Sea) Patentee before: Foshan happy music equipment Co., Ltd. |