The utility model content
At the problem that exists in the above-mentioned background technology, the purpose of this utility model is to provide a kind of audio frequency imput output circuit, can realize audio frequency transmission configuration flexibly, only need just can satisfy various needs in the practical application by adjusting peripheral circuit, can reduce the application cost of audio system effectively.
A kind of audio frequency imput output circuit comprises first input interface circuit, second input interface circuit, first output interface, second output interface, first audio frequency processing circuit, second audio frequency processing circuit and change-over switch;
Described first input interface circuit connects the input end of described first audio frequency processing circuit; Described second input interface circuit connects the input end of described second audio frequency processing circuit;
The output terminal of described first audio frequency processing circuit connects described first output interface; The output terminal of described second audio frequency processing circuit connects described second output interface;
Described change-over switch is connected between the input end of the input end of described first audio frequency processing circuit and described second audio frequency processing circuit.
In the audio frequency imput output circuit of the present utility model, be connected by described change-over switch between the input end of the input end of described first audio frequency processing circuit and described second audio frequency processing circuit.When the needs dual-channel audio is exported, described change-over switch disconnects, keep two input interface circuits independent mutually, the sound signal that two input interface circuits are imported respectively exports two output interfaces to after handling via two audio frequency processing circuits respectively, and the two-way audio output of two-channel is provided; When the needs monophonic audio is exported, described change-over switch closure, one of them output interface of audio frequency imput output circuit can be used as audio input end, audio frequency is from this output interface input, transfer to processing in another audio frequency processing circuit (forward closed) via the described change-over switch of one of them audio frequency processing circuit (reverse closing), the sound signal of handling realizes monaural one road audio frequency output via another output interface output.Thereby can realize two output interfaces are taken full advantage of, and the flexible configuration of pin, the pin utilization factor of raising audio chip, the cost of reduction audio system.
In one embodiment, described first input interface circuit comprises first input interface, second input interface, first switch and second switch; Described first input interface, described second input interface respectively with an end that is connected to described change-over switch after described first switch, described second switch are connected; Described second input interface circuit comprises the 3rd input interface, the 4th input interface, the 3rd switch and the 4th switch; Described the 3rd input interface, described the 4th input interface respectively with the other end that is connected to described change-over switch after described the 3rd switch, described the 4th switch are connected.
In one embodiment, described audio frequency imput output circuit also includes the 5th switch and the 6th switch; The input end of described first audio frequency processing circuit connects an end of described change-over switch by described the 5th switch; The input end of described second audio frequency processing circuit connects the other end of described change-over switch by described the 6th switch.
In one embodiment, described first input interface circuit also comprises first resistance and second resistance; Described first resistance string is associated between described first input interface and described first switch; Described second resistance string is associated between described second input interface and the described second switch; Described second input interface circuit also comprises the 3rd resistance and the 4th resistance; Described the 3rd resistance string is associated between described the 3rd input interface and described the 3rd switch; Described the 4th resistance string is associated between described the 4th input interface and described the 4th switch.
In one embodiment, described first audio frequency processing circuit comprises low-pass filter circuit, and the low-pass filter circuit of described first audio frequency processing circuit comprises first operational amplifier, the 5th resistance, the 6th resistance, first electric capacity and second electric capacity; The signal input part of described first operational amplifier is the input end of described first audio frequency processing circuit, it is connected with described first input interface circuit by described the 5th resistance, another input end of described first operational amplifier connects reference voltage, and its output terminal is the output terminal of described first audio frequency processing circuit; Described second electric capacity is connected in parallel between the signal input part and output terminal of described first operational amplifier; Described first electric capacity, one end is connected between the signal input part of described the 5th resistance and described first operational amplifier other end ground connection; Described the 6th resistance one end is connected between the signal input part of described the 5th resistance and described first operational amplifier, and the other end connects the output terminal of described first operational amplifier;
Described second audio frequency processing circuit also comprises low-pass filter circuit, and the low-pass filter circuit of described second audio frequency processing circuit comprises second operational amplifier, the 8th resistance, the 9th resistance, the 3rd electric capacity and the 4th electric capacity; The signal input part of described second operational amplifier is the input end of described second audio frequency processing circuit, it is connected with described second input interface circuit by described the 8th resistance, another input end of described second operational amplifier connects reference voltage, and its output terminal is the output terminal of described second audio frequency processing circuit; Described the 4th electric capacity is connected in parallel between the signal input part and output terminal of described second operational amplifier; Described the 3rd electric capacity one end is connected between the input end of described the 8th resistance and described second operational amplifier other end ground connection; Described the 9th resistance one end is connected between the input end of described the 8th resistance and described second operational amplifier, and the other end connects the output terminal of described second operational amplifier; The control end of described first operational amplifier and described second operational amplifier is independent mutually.
In one embodiment, described first audio frequency processing circuit also comprises first digital to analog converter and the 11 resistance, and described first digital to analog converter is connected between described the 5th resistance and described the 6th resistance by described the 11 resistance; Described second audio frequency processing circuit also comprises second digital to analog converter and the 12 resistance, and described second digital to analog converter is connected between described the 8th resistance and described the 9th resistance by described the 12 resistance; The control end of described first digital to analog converter and described second digital to analog converter is independent mutually.
In one embodiment, the low-pass filter circuit of described first audio frequency processing circuit further comprises the 7th resistance, and described the 7th resistance is connected between the signal input part and described the 5th resistance of described first operational amplifier; Described second electric capacity is connected in parallel between the signal input part and output terminal of described first operational amplifier; Described first electric capacity, one end is connected between described the 5th resistance and described the 7th resistance, other end ground connection; Described the 6th resistance one end is connected between described the 5th resistance and described the 7th resistance, and the other end connects the output terminal of described first operational amplifier; The low-pass filter circuit of described second audio frequency processing circuit further comprises the tenth resistance, and described the tenth resistance is connected between the signal input part and described the 8th resistance of described second operational amplifier; Described the 4th electric capacity is connected in parallel between the signal input part and output terminal of described second operational amplifier; Described the 3rd electric capacity one end is connected between described the 8th resistance and described the tenth resistance, other end ground connection; Described the 9th resistance one end is connected between described the 8th resistance and described the tenth resistance, and the other end connects the output terminal of described second operational amplifier.
When using described audio frequency imput output circuit, when described first output terminal is used for input audio signal, described first digital to analog converter and described first operational amplifier are closed, described second digital to analog converter and described second operational amplifier are opened, described first switch, second switch, the 3rd switch and the 4th switch disconnect, described the 5th switch, the 6th switch and described change-over switch closure; When described second output terminal is used for input audio signal, described second digital to analog converter and described second operational amplifier are closed, described first digital to analog converter and described first operational amplifier are opened, described first switch, second switch, the 3rd switch and the 4th switch disconnect, described the 5th switch, the 6th switch and described change-over switch closure.
When described first output terminal is used for input audio signal, described first digital to analog converter, described second digital to analog converter and described first operational amplifier are closed, described second operational amplifier is opened, described first switch, second switch, the 3rd switch and the 4th switch disconnect, described the 5th switch, the 6th switch and described change-over switch closure; When described second output terminal is used for input audio signal, described first digital to analog converter, described second digital to analog converter and described second operational amplifier are closed, described first operational amplifier is opened, described first switch, second switch, the 3rd switch and the 4th switch disconnect, described the 5th switch, the 6th switch and described change-over switch closure.
When described first input end and described second input end are used for input audio signal, described first switch, second switch, the 3rd switch, the 4th switch, the 5th switch and the 6th switch closure, described change-over switch disconnects.
Embodiment
See also Fig. 1, Fig. 1 is the structural representation of the utility model audio frequency imput output circuit.
Described audio frequency imput output circuit comprises: first input interface circuit 11, second input interface circuit 12, first audio frequency processing circuit 13, second audio frequency processing circuit 14, first output interface 15, second output interface 16 and change-over switch S0;
Described first input interface circuit 11 connects the input end of described first audio frequency processing circuit 13; Described second input interface circuit 12 connects the input end of described second audio frequency processing circuit 14;
The output terminal of described first audio frequency processing circuit 13 connects described first output interface 15; The output terminal of described second audio frequency processing circuit 14 connects described second output interface 16;
Described change-over switch S0 is connected between the input end of the input end of described first audio frequency processing circuit 13 and described second audio frequency processing circuit 14.
Wherein, described first, second input interface circuit comprises various audio input interface circuit commonly used, may comprise the sound signal of input is carried out the circuit module that various inputs are handled, and its input interface number that comprises does not limit.
Described first, second audio frequency processing circuit can be various audio frequency processing circuits commonly used, comprise filtering circuit, D/A converting circuit, amplifying circuit etc., or be the combination of various audio frequency processing circuits commonly used, for example combination of filtering circuit and D/A converting circuit etc.
Described first, second output interface can only be simple output interface, also can comprise the circuit module commonly used of sound signal being exported processing.
Use audio frequency imput output circuit of the present utility model, when the needs dual-channel audio is exported, described change-over switch S0 disconnects, keep two input interface circuits independent mutually, the sound signal that two input interface circuits are imported respectively exports two output interfaces to after handling via two audio frequency processing circuits respectively, and the two-way audio output of two-channel is provided; When the needs monophonic audio is exported, described change-over switch S0 closure, then one of them output interface of described audio frequency imput output circuit can be used as audio input end, sound signal is from this output interface input, transfer to processing in another audio frequency processing circuit (forward closed) via the described change-over switch of one of them audio frequency processing circuit (reverse closing), the sound signal of handling realizes monaural one road audio frequency output via another output interface output.Thereby can realize two output interfaces are taken full advantage of, and the flexible configuration of pin, the pin utilization factor of raising audio chip, the cost of reduction audio system.
See also Fig. 2, Fig. 2 is the structural representation of the utility model audio frequency imput output circuit first embodiment.
In one embodiment, described audio frequency imput output circuit is provided with four road audio input interfaces, and wherein, described first input interface circuit 11 comprises the first input interface AIN1, the second input interface AIN2, first switch S 1 and second switch S2;
The described first input interface AIN1, the described second input interface AIN2 respectively with an end that is connected to described change-over switch S0 after described first switch S 1, described second switch S2 connect;
Described second input interface circuit 12 comprises the 3rd input interface AIN3, the 4th input interface AIN4, the 3rd switch S 3 and the 4th switch S 4;
Described the 3rd input interface AIN3, described the 4th input interface AIN4 respectively with the other end that is connected to described change-over switch S0 after described the 3rd switch S 3, described the 4th switch S 4 are connected.
In the present embodiment, each described input interface circuit all comprises two input interfaces, and each input interface all arranges switch control, closed corresponding switch when needs use corresponding input interface, otherwise disconnect corresponding switch, guarantee that input signal can not interfere with each other.
Further, described first input interface circuit 11 also comprises first resistance R 1 and second resistance R 2; Described first resistance R 1 is connected between the described first input interface AIN1 and described first switch S 1; Described second resistance R 2 is connected between the described second input interface AIN2 and the described second switch S2;
Described second input interface circuit 12 also comprises the 3rd resistance R 3 and the 4th resistance R 4; Described the 3rd resistance R 3 is connected between described the 3rd input interface AIN3 and described the 3rd switch S 3; Described the 4th resistance R 4 is connected between described the 4th input interface AIN4 and described the 4th switch S 4.
Described first to fourth resistance is connected with described first to fourth switch respectively, as current-limiting resistance, can reduce that input signal is excessive to impact audio frequency processing circuit, can play the effect of signal plus simultaneously.
In another embodiment, described audio frequency imput output circuit also includes the 5th switch S 5 and the 6th switch S 6;
The input end of described first audio frequency processing circuit 13 connects the end of described change-over switch S0 by described the 5th switch S 5; The input end of described second audio frequency processing circuit 14 connects the other end of described change-over switch S0 by described the 6th switch S 6.
That is, between the input end of each described audio frequency processing circuit and corresponding input interface circuit, also be provided with switch, control described input interface circuit and be connected with described audio frequency processing circuit or disconnect connection.
Audio frequency processing circuit in the described audio frequency imput output circuit is preferably filtering circuit.
See also Fig. 2, described first audio frequency processing circuit 13 comprises low-pass filter circuit, and the low-pass filter circuit of described first audio frequency processing circuit 13 comprises first operational amplifier 131, the 5th resistance R 5, the 6th resistance R 6, first capacitor C 1 and second capacitor C 2; The signal input part of described first operational amplifier 131 is the input end of described first audio frequency processing circuit 13, it is connected with described first input interface circuit 11 by described the 5th resistance R 5, another input end of described first operational amplifier 131 connects reference voltage VCM, and its output terminal is the output terminal of described first audio frequency processing circuit 13; Described second capacitor C 2 is connected in parallel between the signal input part and output terminal of described first operational amplifier 131; Described first capacitor C, 1 one ends are connected between the signal input part of described the 5th resistance R 5 and described first operational amplifier 131 other end ground connection; Described the 6th resistance R 6 one ends are connected between the signal input part of described the 5th resistance R 5 and described first operational amplifier 131, and the other end connects the output terminal of described first operational amplifier 131;
Corresponding with described first audio frequency processing circuit 13, described second audio frequency processing circuit 14 comprises the part of low-pass filter circuit equally, and the low-pass filter circuit in described second audio frequency processing circuit 14 comprises second operational amplifier 141, the 8th resistance R 8, the 9th resistance R 9, the 3rd capacitor C 3 and the 4th capacitor C 4; The signal input part of described second operational amplifier 141 is the input end of described second audio frequency processing circuit 14, it is connected with described second input interface circuit 12 by described the 8th resistance R 8, another input end of described second operational amplifier 141 connects reference voltage VCM, and its output terminal is the output terminal of described second audio frequency processing circuit 14; Described the 4th capacitor C 4 is connected in parallel between the signal input part and output terminal of described second operational amplifier 141; Described the 3rd capacitor C 3 one ends are connected between the input end of described the 8th resistance R 8 and described second operational amplifier 141 other end ground connection; Described the 9th resistance R 9 one ends are connected between the input end of described the 8th resistance R 8 and described second operational amplifier 141, and the other end connects the output terminal of described second operational amplifier 141;
The control end opa2_en of the control end opa1_en of described first operational amplifier 131 and described second operational amplifier 141 is independent mutually.
In the present embodiment, each described audio frequency processing circuit comprises low-pass filter circuit, and described low-pass filter circuit can carry out low-pass filtering treatment to input signal.
See also Fig. 3, Fig. 3 is the structural representation of the utility model audio frequency imput output circuit second embodiment.
Present embodiment provides a kind of another kind of set-up mode of described low-pass filter circuit, the low-pass filter circuit of described first audio frequency processing circuit 13 further comprises the 7th resistance R 7, and described the 7th resistance R 7 is connected between the signal input part and described the 5th resistance R 5 of described first operational amplifier 131; Described second capacitor C 2 is connected in parallel between the signal input part and output terminal of described first operational amplifier 131; Described first capacitor C, 1 one ends are connected between described the 5th resistance R 5 and described the 7th resistance R 7, other end ground connection; Described the 6th resistance R 6 one ends are connected between described the 5th resistance R 5 and described the 7th resistance R 7, and the other end connects the output terminal of described first operational amplifier 131;
The low-pass filter circuit of described second audio frequency processing circuit 14 further comprises the tenth resistance R 10, and described the tenth resistance R 10 is connected between the signal input part and described the 8th resistance R 8 of described second operational amplifier 141; Described the 4th capacitor C 4 is connected in parallel between the signal input part and output terminal of described second operational amplifier 141; Described the 3rd capacitor C 3 one ends are connected between described the 8th resistance R 8 and described the tenth resistance R 10, other end ground connection; Described the 9th resistance R 9 one ends are connected between described the 8th resistance R 8 and described the tenth resistance R 10, and the other end connects the output terminal of described second operational amplifier 141.
See also Fig. 4, Fig. 4 is the structural representation of the utility model audio frequency imput output circuit the 3rd embodiment.
In the present embodiment, each described audio frequency imput output circuit comprises low-pass filter circuit and D/A converting circuit.
Described first audio frequency processing circuit 13 also comprises first digital to analog converter 132 and the 11 resistance R 11, and described first digital to analog converter 132 is connected between described the 5th resistance R 5 and described the 6th resistance R 6 by described the 11 resistance R 11;
Described second audio frequency processing circuit 14 also comprises second digital to analog converter 142 and the 12 resistance R 12, and described second digital to analog converter 142 is connected between described the 8th resistance R 8 and described the 9th resistance R 9 by described the 12 resistance R 12;
The control end of described first digital to analog converter 132 and described second digital to analog converter 142 is independent mutually.
Because each described audio frequency imput output circuit comprises low-pass filter circuit and digital to analog converter, therefore can the digital audio and video signals of input be converted to simulated audio signal and carry out low-pass filtering treatment.
Describe the principle of work of audio frequency imput output circuit of the present utility model below in detail:
Audio frequency imput output circuit of the present utility model can be realized two output interfaces are taken full advantage of by described a plurality of switches and described change-over switch S0, and the flexible configuration of pin, improves the pin utilization factor of audio chip, reduces the cost of audio system.
During normal the use, if sound signal respectively from described first input interface circuit 11 and 12 inputs of described second input interface circuit, and need be in described first output interface 15 and 16 outputs of described second output interface.Then described first switch S 1, second switch S2, the 3rd switch S 3, the 4th switch S 4, the 5th switch S 5 and the 6th switch S 6 closures, described change-over switch S0 disconnects, sound signal through audio frequency processing circuit separately after from corresponding output interface output.
If sound signal is only imported from one of them input interface circuit, and to then by the control of each switch, sound signal can be exported at any one output interface from an output interface output.For example sound signal is imported from first input interface circuit 11, described first switch S 1, the closed S2 of second switch, and the 3rd switch S 3, the 4th switch S 4 disconnect; If described change-over switch S0 disconnects, described the 5th switch closure S5, the 6th switch S 6 disconnects, then sound signal is from 15 outputs of described first output interface, if described change-over switch S0 closure, described the 5th switch S 5 disconnects, the 6th switch S 6 closures, and then sound signal can be from 16 outputs of described second output interface.
In the audio frequency imput output circuit of the present utility model, each output interface can be used for input audio signal equally, reaches the effect that takes full advantage of output interface.
When if described first output terminal 15 is used for input audio signal, described first digital to analog converter 132 and described first operational amplifier 131 are closed, described second digital to analog converter 142 and described second operational amplifier 141 are opened, described first switch S 1, second switch S2, the 3rd switch S 3 and the 4th switch S 4 disconnect described the 5th switch S 5, the 6th switch S 6 and described change-over switch S0 closure.Then the sound signal of input is handled through the filtering circuit and second digital to analog converter 142 that enter in described second audio frequency processing circuit 14 behind the described change-over switch S0, then from 16 outputs of described second output interface.
Equally, when described second output terminal 16 is used for input audio signal, described second digital to analog converter 142 and described second operational amplifier 141 are closed, described first digital to analog converter 132 and described first operational amplifier 131 are opened, described first switch S 1, second switch S2, the 3rd switch S 3 and the 4th switch S 4 disconnect described the 5th switch S 5, the 6th switch S 6 and described change-over switch S0 closure.The sound signal of input is handled through the filtering circuit and first digital to analog converter 132 that enter in described first audio frequency processing circuit 13 behind the described change-over switch S0, then from 15 outputs of described first output interface.
In addition, the digital to analog converter in two described audio frequency processing circuits also can be according to using needs to select to open or cut out.
For example when described first output terminal 15 is used for input audio signal, described first digital to analog converter 132, described second digital to analog converter 142 and described first operational amplifier 131 are closed, described second operational amplifier 141 is opened, described first switch S 1, second switch S2, the 3rd switch S 3 and the 4th switch S 4 disconnect described the 5th switch S 5, the 6th switch S 6 and described change-over switch S0 closure.Then sound signal is exported from described second output interface 16, and does not postpone processing through digital-to-analogue.
When described second output terminal 16 is used for input audio signal, described first digital to analog converter 132, described second digital to analog converter 142 and described second operational amplifier 141 are closed, described first operational amplifier 131 is opened, described first switch S 1, second switch S2, the 3rd switch S 3 and the 4th switch S 4 disconnect described the 5th switch S 5, the 6th switch S 6 and described change-over switch S0 closure.Then sound signal is exported from described first output interface 15, and does not postpone processing through digital-to-analogue.
The above embodiment has only expressed several embodiment of the present utility model, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the utility model claim.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the utility model design, can also make some distortion and improvement, these all belong to protection domain of the present utility model.Therefore, the protection domain of the utility model patent should be as the criterion with claims.