CN112866865A - Multi-section type earphone self-adaptive switching system, method and equipment - Google Patents

Multi-section type earphone self-adaptive switching system, method and equipment Download PDF

Info

Publication number
CN112866865A
CN112866865A CN202110276768.1A CN202110276768A CN112866865A CN 112866865 A CN112866865 A CN 112866865A CN 202110276768 A CN202110276768 A CN 202110276768A CN 112866865 A CN112866865 A CN 112866865A
Authority
CN
China
Prior art keywords
adaptive
audio
audio signal
switch array
analog switch
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
CN202110276768.1A
Other languages
Chinese (zh)
Other versions
CN112866865B (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.)
Beijing Digibird Technology Co ltd
Original Assignee
Beijing Digibird 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 Beijing Digibird Technology Co ltd filed Critical Beijing Digibird Technology Co ltd
Priority to CN202110276768.1A priority Critical patent/CN112866865B/en
Publication of CN112866865A publication Critical patent/CN112866865A/en
Application granted granted Critical
Publication of CN112866865B publication Critical patent/CN112866865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention belongs to the field of control systems, and particularly relates to a multi-section type earphone self-adaptive switching system, method and equipment, aiming at solving the problems that the existing earphone system cannot be compatible with 4-section/3-section earphones, cannot simultaneously support 3-section type passive MIC audio peripherals, cannot support forward and reverse transmission and is low in integration level. The invention comprises the following steps: the forward transmission subsystem and the reverse transmission subsystem have the same wiring mode, and the forward/reverse transmission subsystem is switched only by converting the input/output interface. In the forward transmission subsystem, analog audio signals are input into the 4-segment audio seat, digital audio signals are input into the I2S audio seat, and the signals are transmitted to the audio coding/decoding module through the analog switch array to be mixed or transmitted to the analog switch array after being selected in two modes and then transmitted to the 3-segment audio seat or the dual-channel balanced audio seat to be output. The invention realizes the multi-channel output and the forward and reverse switching of the earphone and improves the integratability of the earphone system.

Description

Multi-section type earphone self-adaptive switching system, method and equipment
Technical Field
The invention belongs to the field of control systems, and particularly relates to a multi-section type earphone self-adaptive switching system, method and equipment.
Background
The existing audio peripherals are more in types, earphones are also divided into 3-segment type and 4-segment type (American standard/national standard), an audio system is particularly important for judging the types of the connected earphones, and poor matching can cause the phenomena of small sound or no sound only in tone and the like; meanwhile, the audio signal is output from the input to the final output, and usually requires the relevant processes of pre-stage conditioning, link switching, forward and reverse transmission and the like. At present, although each link has corresponding product design, the portable audio front-stage process is integrated, and products easy to integrate are few. The existing audio preceding stage processing unit has simple functions, mostly only performs simple multi-stage earphone detection and identification work, but does not perform subsequent work such as adaptive switching, audio signal volume control, forward and reverse transmission and the like, and has low applicability and integration level. The existing audio transmission mapping relation is too single, audio input/output are usually mutually independent, so that the interfaces in the system are multiple in order to meet forward and reverse signal transmission, actual field wiring is complicated, and cables are repeatedly plugged and pulled to realize low forward and reverse transmission efficiency/easily-lost wires.
Disclosure of Invention
In order to solve the above-mentioned problem in the prior art, namely the problem that the existing audio preceding stage processing equipment is not strong in applicability, not high in integratability, and unable to adaptively switch different earphones, the invention provides a multi-stage earphone adaptive switching system, the system is constructed based on multi-stage earphone adaptive switching equipment, the multi-stage earphone adaptive switching equipment includes 4-stage audio base, digital I2S audio base, earphone adaptive switching module, digital bidirectional switching module, analog switch array, audio encoding/decoding module, core control module, operational amplifier module, three-stage audio base, two-channel balance audio base and 2 passive MIC adaptation circuits; the system comprises a forward transmission subsystem and a reverse transmission subsystem;
the forward transmission subsystem comprises a forward information input unit, a forward analog signal conversion unit, a forward digital signal conversion unit, a forward core mapping unit, a forward self-adaptive transmission unit and a forward output selection unit;
the forward information input unit is configured to input an analog audio signal to the 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
the forward analog signal conversion unit is configured to generate an adaptive forward analog audio signal through a passive MIC adaptation circuit based on the analog audio signal and input the adaptive forward analog audio signal into an analog switch array;
the forward digital signal conversion unit is configured to generate an adaptive forward digital signal through an audio coding/decoding module based on the digital audio signal;
the forward core mapping unit is configured to generate forward mapping by controlling the analog switch array through the core control module based on the address decoding truth table;
the forward adaptive transmission unit is configured to transmit the adaptive forward analog audio signal to the audio coding/decoding module by the analog switch array based on the forward mapping, generate an adaptive forward audio signal, and input the adaptive forward audio signal into the analog switch array;
the forward output unit is configured to output the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission subsystem comprises a reverse information input unit, a reverse signal conversion unit, a reverse core mapping unit, a reverse self-adaptive transmission unit and a reverse output selection unit;
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle; inputting a two-channel balanced audio signal to a two-channel balanced audio seat;
the inverse signal conversion unit is configured to generate an adaptive inverse audio signal through a passive MIC adaptation circuit based on the two-channel unbalanced audio signal and input the adaptive inverse audio signal into an analog switch array;
the reverse core mapping unit is configured to control the analog switch array to generate reverse mapping through the core control module based on the address decoding truth table;
the backward self-adaptive transmission unit is configured to transmit the adaptive backward audio signal to the audio coding/decoding module by the analog switch array based on the backward mapping, generate a self-adaptive backward audio signal and input the self-adaptive backward audio signal into the analog switch array;
the inverse output unit is configured as the analog switch array, and transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
In some preferred embodiments, the array of analog switches is an 8 by 8 array of switches.
In some preferred embodiments, the system further comprises a headset adaptation switching unit configured to acquire a level state of a MIC-DET terminal of the headset adaptation module by the core control module;
when the level state is a low level, the SEL end of the core control module outputs a high level to enable the MIC and the GND in the earphone self-adaptive module to be interchanged;
when the level state is high, no other action is performed.
In some preferred embodiments, the forward analog signal conversion unit may be replaced with a MIC switching unit configured to input the analog audio signal to the analog switch array through the headphone adaptive switching module when the analog audio signal is a MIC.
In some preferred embodiments, the port connection relationship of the forward transmission subsystem is:
the forward analog signal conversion unit is configured to output an adapted forward analog audio signal through the passive MIC adaptation circuit and input X0 and X1 channels of the analog switch array when the analog audio signal is LINE-IN;
the forward digital signal conversion unit is configured to transmit the digital audio signal to an I2S-IN terminal of an audio coding/decoding module;
the forward core mapping unit is configured to establish the conduction relations of X0-Y0, X1-Y1, X4-Y5, X4-Y7, X5-Y4 and X5-Y6;
the forward adaptive transfer unit is configured to transmit the adaptive forward analog audio signal to an IN-1 end of the audio coding/decoding module at an X1 end and a Y1 end of the analog switch array, and output the adaptive forward audio signal to X4 and X5 ends of the analog switch array at an OUT-1 end of the audio coding/decoding module after the adaptive forward analog audio signal at the IN-1 end and the digital audio signal at the I2S-IN end are subjected to alternative or mixed sound;
the forward output unit is configured to transmit the adaptive forward audio signal to a 3-segment audio seat through Y4 and Y5 terminals of the analog switch array, or transmit the adaptive forward audio signal to a two-channel balanced audio seat through an operational amplifier module through Y6 and Y7 terminals of the analog switch array, or simultaneously transmit the adaptive forward audio signal to the 3-segment audio seat and the two-channel balanced audio seat.
In some preferred embodiments, the port connection relationship of the reverse transmission subsystem is:
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle;
the inverse signal conversion unit is configured to generate an adapted inverse audio signal from the two-channel unbalanced audio signal through a passive MIC adaptation circuit, and input the adapted inverse audio signal to Y5 and Y4 terminals of the analog switch array;
the reverse core mapping unit is configured to establish the conduction relations of Y5-X6, Y4-X7, Y3-X0 and Y2-X1 as reverse mapping;
the inverse adaptive transmission unit is configured to transmit the adaptive inverse audio signal to an IN-2 terminal of the audio coding/decoding module through an X6 terminal and an X7 terminal of the analog switch array, and input the adaptive inverse audio signal to a Y2 terminal and a Y3 terminal of the analog switch array through an OUT-2 terminal of the audio coding/decoding module;
the backward output unit IS configured to transmit the adaptive backward audio signal to a 4-segment audio seat at the X1 terminal and the X0 terminal of the analog switch array, or transmit the IS2-OUT terminal of the audio codec module to a digital I2S audio seat, or simultaneously transmit the adaptive backward audio signal to the 4-segment audio seat and the digital I2S audio seat.
In some preferred embodiments, the port connection relationship of the reverse transport subsystem further includes:
the inverse information input unit is further configured to input a two-channel balanced audio signal to a two-channel balanced audio pad and transmit the two-channel balanced audio signal to a Y6 terminal and a Y7 terminal of the analog switch array through an operational amplifier;
the reverse core mapping unit is also configured to establish the conducting relations of Y6-X7, Y7-X6, Y3-X0 and Y2-X1 as reverse mapping.
In some preferred embodiments, the system switches between the forward transmission subsystem and the reverse transmission subsystem by: the output interface is physically converted into the input interface, and the input interface is physically converted into the output interface.
On the other hand, the invention provides a multi-section earphone self-adaptive switching method, which is constructed based on multi-section earphone self-adaptive switching equipment, wherein the multi-section earphone self-adaptive switching equipment comprises a 4-section audio seat, a digital I2S audio seat, an earphone self-adaptive switching module, a digital bidirectional switching module, an analog switch array, an audio coding/decoding module, a core control module, an operational amplifier module, a three-section audio seat, a dual-channel balanced audio seat and 2 passive MIC adaptive circuits; the method comprises a forward transmission method A100 and a reverse transmission method B100:
the forward transmission method a100 includes:
step A110, inputting an analog audio signal to a 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
step A120, generating an adaptive forward analog audio signal through a passive MIC adaptive circuit based on the analog audio signal, and inputting the adaptive forward analog audio signal into an analog switch array;
step A130, based on the digital audio signal, generating an adaptive forward digital signal through an audio coding/decoding module;
step A140, based on the address decoding truth table, controlling the analog switch array to generate forward mapping through the core control module;
step A150, based on the forward mapping, the analog switch array transmits the adaptive forward analog audio signal to the audio encoding/decoding module, generates an adaptive forward audio signal, and inputs the adaptive forward audio signal to the analog switch array;
step A160, the analog switch array outputs the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission method B100 includes:
step B110, inputting a two-channel unbalanced audio signal to the 3-segment audio seat; the dual-channel balanced audio seat inputs dual-channel balanced audio signals;
step B120, generating an adaptive reverse audio signal through a passive MIC adaptive circuit based on the two-channel unbalanced audio signal, and inputting the adaptive reverse audio signal into an analog switch array;
step B130, based on the address decoding truth table, controlling the analog switch array to generate reverse mapping through the core control module;
step B140, based on the inverse mapping, the analog switch array transmits the adaptive inverse audio signal to the audio encoding/decoding module, generates a self-adaptive inverse audio signal, and inputs the self-adaptive inverse audio signal to the analog switch array;
step B150, the analog switch array transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table
In a third aspect of the present invention, an electronic device is provided, including: at least one processor; and a memory communicatively coupled to at least one of the processors; the memory stores instructions executable by the processor, and the instructions are used for being executed by the processor to implement the multi-segment earphone self-adaptive switching method.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for being executed by the computer to implement the multi-segment earphone adaptive switching method described above.
The invention has the beneficial effects that:
(1) the multi-section earphone self-adaptive switching system is compatible with 4-section/3-section (national standard/American standard) earphones, flexible self-adaptive switching is realized, and audio cables and external terminals do not need to be changed during switching.
(2) The multi-section earphone self-adaptive switching system supports forward and reverse transmission work, complex and repeated plugging and unplugging of cables are not needed, the same audio terminal is shared when transmission work is carried out in two directions, the integration level of equipment is improved, and the loss of wires is reduced.
(3) The multi-section earphone self-adaptive switching system can realize forward and reverse switching by using the input/output interface as a shared port, provides convenience for system integration and field application, and solves the problems of complicated wiring and single function of the input/output interface during field integration.
(4) The multi-section earphone self-adaptive switching system can realize the alternative or mixed input of analog audio information and digital audio information, has the functions of multi-section earphone self-adaptation and earphone intelligent key, and simultaneously respectively transmits audio to a 3-section audio seat and a two-channel balance audio seat through an analog switch array to carry out multi-channel audio output, thereby improving the applicability.
(5) The multi-section type earphone self-adaptive switching system improves the compatibility of the system to different peripherals, supports various line-in audio input, is compatible with 4-section/3-section earphones, is flexibly self-adaptively switched, and simultaneously can support 3-section type passive MIC type audio peripherals, thereby improving the portability of the audio system.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a block diagram of a system architecture in an embodiment of a multi-segment adaptive switching system for an earphone according to the present invention;
FIG. 2 is a diagram of the circuit architecture of the forward transport subsystem in an embodiment of the present invention;
FIG. 3 is a diagram of the circuit architecture of a reverse transport subsystem in an embodiment of the present invention;
FIG. 4 is an address decode truth table in an embodiment of the invention.
In fig. 2 and 3, firstly, 4-segment audio seats are represented, secondly, digital I2S audio seats are represented, thirdly, an earphone self-adaptive switching module is represented, fourthly, a digital bidirectional switching module is represented, fifthly, an analog 8 x 8 switch array is represented, sixthly, an audio coding/decoding module is represented, seventhly, a core control module is represented, eighthly, an operational amplifier module is represented, nineteenth, 3-segment audio seats are represented, third, a dual-channel balanced audio seat is represented, and ⑪, a passive MIC adaptation circuit is represented; MIC: microphone input, input is-collection of sound signals by microphone;
LINE _ IN: line input, input is-audio signal is collected through other audio devices; LINE _ OUT: a line output that outputs an audio signal to other devices (including a speaker); BALANCE _ IN: balance input; BALANCE _ OUT: balancing output; I2S: a digital audio bus is arranged in the integrated circuit; ADC: analog/digital conversion; DAC: digital/analog conversion.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention discloses a multi-section earphone self-adaptive switching system which is constructed based on multi-section earphone self-adaptive switching equipment, wherein the multi-section earphone self-adaptive switching equipment comprises a 4-section audio seat, a digital I2S audio seat, an earphone self-adaptive switching module, a digital bidirectional switching module, an analog switch array, an audio coding/decoding module, a core control module, an operational amplifier module, a three-section audio seat, a dual-channel balanced audio seat and 2 passive MIC adaptive circuits;
the system comprises a forward transmission subsystem and a reverse transmission subsystem;
the forward transmission subsystem comprises a forward information input unit, a forward analog signal conversion unit, a forward digital signal conversion unit, a forward core mapping unit, a forward self-adaptive transmission unit and a forward output selection unit;
the forward information input unit is configured to input an analog audio signal to the 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
the forward analog signal conversion unit is configured to generate an adaptive forward analog audio signal through a passive MIC adaptation circuit based on the analog audio signal and input the adaptive forward analog audio signal into an analog switch array;
the forward digital signal conversion unit is configured to generate an adaptive forward digital signal through an audio coding/decoding module based on the digital audio signal;
the forward core mapping unit is configured to generate forward mapping by controlling the analog switch array through the core control module based on the address decoding truth table;
the forward adaptive transmission unit is configured to transmit the adaptive forward analog audio signal to the audio coding/decoding module by the analog switch array based on the forward mapping, generate an adaptive forward audio signal, and input the adaptive forward audio signal into the analog switch array;
the forward output unit is configured to output the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission subsystem comprises a reverse information input unit, a reverse signal conversion unit, a reverse core mapping unit, a reverse self-adaptive transmission unit and a reverse output selection unit;
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle; the dual-channel balanced audio seat inputs dual-channel balanced audio signals;
the inverse signal conversion unit is configured to generate an adaptive inverse audio signal through a passive MIC adaptation circuit based on the two-channel unbalanced audio signal and input the adaptive inverse audio signal into an analog switch array;
the reverse core mapping unit is configured to control the analog switch array to generate reverse mapping through the core control module based on the address decoding truth table;
the backward self-adaptive transmission unit is configured to transmit the adaptive backward audio signal to the audio coding/decoding module by the analog switch array based on the backward mapping, generate a self-adaptive backward audio signal and input the self-adaptive backward audio signal into the analog switch array;
the inverse output unit is configured as the analog switch array, and transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
In order to more clearly describe the multi-section earphone adaptive switching system of the present invention, the following describes each functional unit in the embodiment of the present invention in detail with reference to fig. 1.
The multi-section earphone self-adaptive switching system of the first embodiment of the invention comprises a forward transmission subsystem and a reverse transmission subsystem, wherein the subsystems and functional units are described in detail as follows:
the system comprises a forward transmission subsystem and a reverse transmission subsystem;
as shown in fig. 2, the forward transmission subsystem includes a forward information input unit, a forward analog signal conversion unit, a forward digital signal conversion unit, a forward core mapping unit, a forward adaptive transmission unit, and a forward output selection unit;
the forward information input unit is configured to input an analog audio signal to the 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
the forward analog signal conversion unit is configured to generate an adaptive forward analog audio signal through a passive MIC adaptation circuit based on the analog audio signal and input the adaptive forward analog audio signal into an analog switch array; the analog audio signal IN the functional unit is IN a LINE-IN form;
in this embodiment, the forward analog signal conversion unit may be replaced with an MIC switching unit configured to input the analog audio signal to the analog switch array through the earphone adaptive switching module when the analog audio signal is MIC; in the functional unit, the earphone self-adaptive switching module inputs an analog audio signal to an X2 end of an analog switch array, establishes the conduction relation of an analog switch proper X2-Y0, and executes subsequent functional units.
In this embodiment, the analog switch array is an 8 × 8 switch array.
The forward digital signal conversion unit is configured to generate an adaptive forward digital signal through an audio coding/decoding module based on the digital audio signal;
the forward core mapping unit is configured to generate forward mapping by controlling the analog switch array through the core control module based on the address decoding truth table; the address decode truth table is shown in FIG. 4;
in this embodiment, the core control module is further configured to obtain whether the current mode is a forward mode or a reverse mode; when the current mode is the forward mode, the coder/decoder is in a coding mode; when the current bit is in the reverse mode, the coder/decoder is in a decoding mode; and is also used for controlling the volume and whether the digital and analog audio is mixed or not. The core control module can open a command code or a CMD command to be integrated with other systems so as to realize a switching function and a bidirectional function of input and output of the same interface. The integratability of the device is improved.
The forward adaptive transmission unit is configured to transmit the adaptive forward analog audio signal to the audio coding/decoding module by the analog switch array based on the forward mapping, generate an adaptive forward audio signal, and input the adaptive forward audio signal into the analog switch array;
the forward output unit is configured to output the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
in this embodiment, the port connection relationship of the forward transmission subsystem is as follows:
the forward analog signal conversion unit is configured to output an adapted forward analog audio signal through the passive MIC adaptation circuit and input X0 and X1 channels of the analog switch array when the analog audio signal is LINE-IN; the adaptive forward analog AUDIO signal in the functional unit is output to the analog switch array from the AUDIO-L/R;
the forward digital signal conversion unit is configured to transmit the digital audio signal to an I2S-IN terminal of an audio coding/decoding module;
the forward core mapping unit is configured to establish the conduction relations of X0-Y0, X1-Y1, X4-Y5, X4-Y7, X5-Y4 and X5-Y6;
the forward adaptive transfer unit is configured to transmit the adaptive forward analog audio signal to an IN-1 end of the audio coding/decoding module at an X1 end and a Y1 end of the analog switch array, and output the adaptive forward audio signal to X4 and X5 ends of the analog switch array at an OUT-1 end of the audio coding/decoding module after the adaptive forward analog audio signal at the IN-1 end and the digital audio signal at the I2S-IN end are subjected to alternative or mixed sound; in the functional unit, the audio coding/decoding module is set to a Decoding (DAC) mode;
the forward output unit is configured to transmit the adaptive forward audio signal to a 3-segment audio seat through Y4 and Y5 terminals of the analog switch array, or transmit the adaptive forward audio signal to a two-channel balanced audio seat through an operational amplifier module through Y6 and Y7 terminals of the analog switch array, or simultaneously transmit the adaptive forward audio signal to the 3-segment audio seat and the two-channel balanced audio seat;
in this embodiment, the system switches between the forward transmission subsystem and the reverse transmission subsystem by: the output interface is physically converted into an input interface, and the input interface is physically converted into an output interface; the forward and reverse switching of the circuit can be realized only by changing the configuration of the audio switcher into a reverse subsystem, and the audio cable and the external terminal do not need to be changed in the whole process.
The reverse transmission subsystem is shown in fig. 3 and comprises a reverse information input unit, a reverse signal conversion unit, a reverse core mapping unit, a reverse adaptive transmission unit and a reverse output selection unit; the dashed lines in fig. 2 and 3 indicate lines that are not needed in the current transmission subsystem (direction), but are used after switching directions. The technical effect of forward and reverse switching can be achieved without modifying external equipment when forward and reverse switching is carried out.
The reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle; the dual-channel balanced audio seat inputs dual-channel balanced audio signals;
the inverse signal conversion unit is configured to generate an adaptive inverse audio signal through a passive MIC adaptation circuit based on the two-channel unbalanced audio signal and input the adaptive inverse audio signal into an analog switch array;
the reverse core mapping unit is configured to control the analog switch array to generate reverse mapping through the core control module based on the address decoding truth table;
the backward self-adaptive transmission unit is configured to transmit the adaptive backward audio signal to the audio coding/decoding module by the analog switch array based on the backward mapping, generate a self-adaptive backward audio signal and input the self-adaptive backward audio signal into the analog switch array;
the inverse output unit is configured as the analog switch array, and transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
In this embodiment, the port connection relationship of the reverse transport subsystem is as follows:
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle;
the inverse signal conversion unit is configured to generate an adapted inverse audio signal from the two-channel unbalanced audio signal through a passive MIC adaptation circuit, and input the adapted inverse audio signal to Y5 and Y4 terminals of the analog switch array;
the reverse core mapping unit is configured to establish the conduction relations of Y5-X6, Y4-X7, Y3-X0 and Y2-X1 as reverse mapping;
in this embodiment, the port connection relationship of the reverse transport subsystem further includes: the inverse information input unit is further configured to input a two-channel balanced audio signal to a two-channel balanced audio pad and transmit the two-channel balanced audio signal to a Y6 terminal and a Y7 terminal of the analog switch array through an operational amplifier; the reverse core mapping unit is also configured to establish the conducting relations of Y6-X7, Y7-X6, Y3-X0 and Y2-X1 as reverse mapping.
The inverse adaptive transmission unit is configured to transmit the adaptive inverse audio signal to an IN-2 terminal of the audio coding/decoding module through an X6 terminal and an X7 terminal of the analog switch array, and input the adaptive inverse audio signal to a Y2 terminal and a Y3 terminal of the analog switch array through an OUT-2 terminal of the audio coding/decoding module; the audio coding/decoding module in the functional unit is set to A Decoding (ADC) mode.
In this embodiment, the system further includes an earphone adaptive switching unit configured to acquire, by the core control module, a level state of an MIC-DET terminal of the earphone adaptive module; when the level state is a low level, the SEL end of the core control module outputs a high level to enable the MIC and the GND in the earphone self-adaptive module to be interchanged; when the level state is high, no other action is performed. Specifically, the core control module detects a level state of a MIC _ DET end of the earphone adaptive switching module c, and if a level fed back by the MIC _ DET is a low level, it determines that the device of the 4-segment audio seat is a label-art earphone (L/R/GND/MIC), and in this state, the audio information cannot be transmitted to the X2 port of the analog switch array (c). When the core control module receives the low level of MIC _ DET, the high level is output from the SEL port, the MIC and the GND of the earphone self-adaptive switching module are switched, the audio information can be output to the analog switch array, and meanwhile, the MIC _ DET port outputs the high level. When the core control module receives the high level of MIC _ DET, it indicates that the national standard earphone (L/R/MIC/GND) is connected to the 4-segment audio seat, and the audio signal can be transmitted to the analog switch array (no change is performed), i.e., the national standard earphone is adapted by default.
In the prior art, in order to achieve the purpose of switching between the national standard earphone and the American standard earphone, an external national standard adapter is usually needed, power frequency interference is easily introduced, and the field application cost is increased.
In this embodiment, in order to deal with the characteristic that the audio device of the headphone or the passive MIC in the conference room needs external power supply to work, the system further includes a passive MIC support unit configured to output a MIC _ EN signal to control external power supply based on the level state fed back by the MIC _ DET. Existing approaches typically impose additional power to the headset, which may cause the conventional LINE IN audio to be disturbed.
The backward output unit IS configured to transmit the adaptive backward audio signal to a 4-segment audio seat at an X1 end and an X0 end of the analog switch array to realize the same-port backward digital I2S output, or transmit the IS2-OUT end of the audio coding/decoding module to a digital I2S audio seat to realize the same-port backward analog output, or simultaneously transmit the adaptive backward audio signal to a 4-segment audio seat and a digital I2S audio seat.
It should be noted that, the multi-section adaptive switching system for a headset according to the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the modules or steps in the embodiments of the present invention are further decomposed or combined, for example, the modules in the foregoing embodiments may be combined into one module, or may be further decomposed into a plurality of sub-modules, so as to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not to be construed as unduly limiting the present invention.
The self-adaptive switching method of the multi-section earphone of the second embodiment of the invention comprises a forward transmission method A100 and a reverse transmission method B100:
the forward transmission method a100 includes:
step A110, inputting an analog audio signal to a 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
step A120, generating an adaptive forward analog audio signal through a passive MIC adaptive circuit based on the analog audio signal, and inputting the adaptive forward analog audio signal into an analog switch array;
step A130, based on the digital audio signal, generating an adaptive forward digital signal through an audio coding/decoding module;
step A140, based on the address decoding truth table, controlling the analog switch array to generate forward mapping through the core control module;
step A150, based on the forward mapping, the analog switch array transmits the adaptive forward analog audio signal to the audio encoding/decoding module, generates an adaptive forward audio signal, and inputs the adaptive forward audio signal to the analog switch array;
step A160, the analog switch array outputs the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission method B100 includes:
step B110, inputting a two-channel unbalanced audio signal to the 3-segment audio seat; inputting a two-channel balanced audio signal to a two-channel balanced audio seat;
step B120, generating an adaptive reverse audio signal through a passive MIC adaptive circuit based on the two-channel unbalanced audio signal, and inputting the adaptive reverse audio signal into an analog switch array;
step B130, based on the address decoding truth table, controlling the analog switch array to generate reverse mapping through the core control module;
step B140, based on the inverse mapping, the analog switch array transmits the adaptive inverse audio signal to the audio encoding/decoding module, generates a self-adaptive inverse audio signal, and inputs the self-adaptive inverse audio signal to the analog switch array;
step B150, the analog switch array transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and related descriptions of the method described above may refer to the corresponding process in the foregoing system embodiment, and are not described herein again.
An electronic device according to a third embodiment of the present invention is characterized by including: at least one processor; and a memory communicatively coupled to at least one of the processors; the memory stores instructions executable by the processor, and the instructions are used for being executed by the processor to implement the multi-segment earphone self-adaptive switching method.
A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions for being executed by the computer to implement the multi-segment earphone adaptive switching method.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and related descriptions of the storage device and the processing device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing or implying a particular order or sequence.
The terms "comprises," "comprising," or any other similar term 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.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A multi-section earphone self-adaptive switching system is characterized in that the system is constructed based on multi-section earphone self-adaptive switching equipment, and the multi-section earphone self-adaptive switching equipment comprises a 4-section audio seat, a digital I2S audio seat, an earphone self-adaptive switching module, a digital two-way switching module, an analog switch array, an audio coding/decoding module, a core control module, an operational amplifier module, a three-section audio seat, a double-channel balanced audio seat and 2 passive MIC adaptive circuits;
the system comprises a forward transmission subsystem and a reverse transmission subsystem;
the forward transmission subsystem comprises a forward information input unit, a forward analog signal conversion unit, a forward digital signal conversion unit, a forward core mapping unit, a forward self-adaptive transmission unit and a forward output selection unit;
the forward information input unit is configured to input an analog audio signal to the 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
the forward analog signal conversion unit is configured to generate an adaptive forward analog audio signal through a passive MIC adaptation circuit based on the analog audio signal and input the adaptive forward analog audio signal into an analog switch array;
the forward digital signal conversion unit is configured to generate an adaptive forward digital signal through an audio coding/decoding module based on the digital audio signal;
the forward core mapping unit is configured to generate forward mapping by controlling the analog switch array through the core control module based on the address decoding truth table;
the forward adaptive transmission unit is configured to transmit the adaptive forward analog audio signal to the audio coding/decoding module by the analog switch array based on the forward mapping, generate an adaptive forward audio signal, and input the adaptive forward audio signal into the analog switch array;
the forward output unit is configured to output the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission subsystem comprises a reverse information input unit, a reverse signal conversion unit, a reverse core mapping unit, a reverse self-adaptive transmission unit and a reverse output selection unit;
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle; inputting a two-channel balanced audio signal to a two-channel balanced audio seat;
the inverse signal conversion unit is configured to generate an adaptive inverse audio signal through a passive MIC adaptation circuit based on the two-channel unbalanced audio signal and input the adaptive inverse audio signal into an analog switch array;
the reverse core mapping unit is configured to control the analog switch array to generate reverse mapping through the core control module based on the address decoding truth table;
the backward self-adaptive transmission unit is configured to transmit the adaptive backward audio signal to the audio coding/decoding module by the analog switch array based on the backward mapping, generate a self-adaptive backward audio signal and input the self-adaptive backward audio signal into the analog switch array;
the inverse output unit is configured as the analog switch array, and transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
2. The multi-section adaptive earphone switching system according to claim 1, further comprising an earphone adaptive switching unit configured to the core control module obtaining a level state of the MIC-DET terminal of the earphone adaptive module;
when the level state is a low level, the SEL end of the core control module outputs a high level to enable the MIC and the GND in the earphone self-adaptive module to be interchanged;
when the level state is high, no other action is performed.
3. The multi-section adaptive switching system for earphones according to claim 1, wherein the forward analog signal converting unit is replaced with a MIC switching unit configured to input the analog audio signal to the analog switch array through the adaptive switching module for earphones when the analog audio signal is MIC.
4. The multi-section adaptive earphone switching system according to claim 1, wherein the port connection relationship of the forward transmission subsystem is:
the forward analog signal conversion unit is configured to output an adapted forward analog audio signal through the passive MIC adaptation circuit and input X0 and X1 channels of the analog switch array when the analog audio signal is LINE-IN;
the forward digital signal conversion unit is configured to transmit the digital audio signal to an I2S-IN terminal of an audio coding/decoding module;
the forward core mapping unit is configured to establish the conduction relations of X0-Y0, X1-Y1, X4-Y5, X4-Y7, X5-Y4 and X5-Y6;
the forward adaptive transfer unit is configured to transmit the adaptive forward analog audio signal to an IN-1 end of the audio coding/decoding module at an X1 end and a Y1 end of the analog switch array, and output the adaptive forward audio signal to X4 and X5 ends of the analog switch array at an OUT-1 end of the audio coding/decoding module after the adaptive forward analog audio signal at the IN-1 end and the digital audio signal at the I2S-IN end are subjected to alternative or mixed sound;
the forward output unit is configured to transmit the adaptive forward audio signal to a 3-segment audio seat through Y4 and Y5 terminals of the analog switch array, or transmit the adaptive forward audio signal to a two-channel balanced audio seat through an operational amplifier module through Y6 and Y7 terminals of the analog switch array, or simultaneously transmit the adaptive forward audio signal to the 3-segment audio seat and the two-channel balanced audio seat.
5. The multi-section adaptive earphone switching system according to claim 1, wherein the port connection relationship of the reverse transmission subsystem is:
the reverse information input unit is configured to input a two-channel unbalanced audio signal to a 3-segment audio cradle;
the inverse signal conversion unit is configured to generate an adapted inverse audio signal from the two-channel unbalanced audio signal through a passive MIC adaptation circuit, and input the adapted inverse audio signal to Y5 and Y4 terminals of the analog switch array;
the reverse core mapping unit is configured to establish the conduction relations of Y5-X6, Y4-X7, Y3-X0 and Y2-X1 as reverse mapping;
the inverse adaptive transmission unit is configured to transmit the adaptive inverse audio signal to an IN-2 terminal of the audio coding/decoding module through an X6 terminal and an X7 terminal of the analog switch array, and input the adaptive inverse audio signal to a Y2 terminal and a Y3 terminal of the analog switch array through an OUT-2 terminal of the audio coding/decoding module;
the backward output unit IS configured to transmit the adaptive backward audio signal to a 4-segment audio seat at the X1 terminal and the X0 terminal of the analog switch array, or transmit the IS2-OUT terminal of the audio codec module to a digital I2S audio seat, or simultaneously transmit the adaptive backward audio signal to the 4-segment audio seat and the digital I2S audio seat.
6. The multi-segment adaptive earphone switching system of claim 5 wherein the port connections of the reverse transmission subsystem further comprise:
the inverse information input unit is further configured to input a two-channel balanced audio signal to a two-channel balanced audio pad and transmit the two-channel balanced audio signal to a Y6 terminal and a Y7 terminal of the analog switch array through an operational amplifier;
the reverse core mapping unit is also configured to establish the conducting relations of Y6-X7, Y7-X6, Y3-X0 and Y2-X1 as reverse mapping.
7. The multi-segment adaptive earphone switching system of claim 1 wherein the system switches between a forward transmission subsystem and a reverse transmission subsystem by: the output interface is physically converted into the input interface, and the input interface is physically converted into the output interface.
8. A multi-section earphone self-adaptive switching method is characterized in that the method is constructed based on multi-section earphone self-adaptive switching equipment, and the multi-section earphone self-adaptive switching equipment comprises a 4-section audio seat, a digital I2S audio seat, an earphone self-adaptive switching module, a digital two-way switching module, an analog switch array, an audio coding/decoding module, a core control module, an operational amplifier module, a three-section audio seat, a double-channel balance audio seat and 2 passive MIC adaptive circuits; the method comprises a forward transmission method A100 and a reverse transmission method B100:
the forward transmission method a100 includes:
step A110, inputting an analog audio signal to a 4-segment audio seat; inputting a digital audio signal to an I2S audio pad;
step A120, generating an adaptive forward analog audio signal through a passive MIC adaptive circuit based on the analog audio signal, and inputting the adaptive forward analog audio signal into an analog switch array;
step A130, based on the digital audio signal, generating an adaptive forward digital signal through an audio coding/decoding module;
step A140, based on the address decoding truth table, controlling the analog switch array to generate forward mapping through the core control module;
step A150, based on the forward mapping, the analog switch array transmits the adaptive forward analog audio signal to the audio encoding/decoding module, generates an adaptive forward audio signal, and inputs the adaptive forward audio signal to the analog switch array;
step A160, the analog switch array outputs the adaptive audio signal to 1 or 2 of a 3-segment audio seat or a two-channel balanced audio seat based on an address decoding truth table;
the reverse transmission method B100 includes:
step B110, inputting a two-channel unbalanced audio signal to the 3-segment audio seat; inputting a two-channel balanced audio signal to a two-channel balanced audio seat;
step B120, generating an adaptive reverse audio signal through a passive MIC adaptive circuit based on the two-channel unbalanced audio signal, and inputting the adaptive reverse audio signal into an analog switch array;
step B130, based on the address decoding truth table, controlling the analog switch array to generate reverse mapping through the core control module;
step B140, based on the inverse mapping, the analog switch array transmits the adaptive inverse audio signal to the audio encoding/decoding module, generates a self-adaptive inverse audio signal, and inputs the self-adaptive inverse audio signal to the analog switch array;
step B150, the analog switch array transmits the adaptive inverse audio signal to 1 or 2 of the 4-segment audio seat or the digital I2S audio seat based on the address decoding truth table.
9. An electronic device, comprising: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the multi-segment headphone adaptive switching method of claim 8.
10. A computer readable storage medium storing computer instructions for execution by the computer to implement the multi-segment headset adaptive handoff method of claim 8.
CN202110276768.1A 2021-03-15 2021-03-15 Multi-section type earphone self-adaptive switching system, method and equipment Active CN112866865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110276768.1A CN112866865B (en) 2021-03-15 2021-03-15 Multi-section type earphone self-adaptive switching system, method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110276768.1A CN112866865B (en) 2021-03-15 2021-03-15 Multi-section type earphone self-adaptive switching system, method and equipment

Publications (2)

Publication Number Publication Date
CN112866865A true CN112866865A (en) 2021-05-28
CN112866865B CN112866865B (en) 2021-12-21

Family

ID=75994491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110276768.1A Active CN112866865B (en) 2021-03-15 2021-03-15 Multi-section type earphone self-adaptive switching system, method and equipment

Country Status (1)

Country Link
CN (1) CN112866865B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203243488U (en) * 2013-03-13 2013-10-16 青岛海信移动通信技术股份有限公司 Headset adapter device and mobile terminal
CN105100991A (en) * 2015-06-15 2015-11-25 科泰乐讯(北京)通信设备有限公司 Compatible method and device of earphone
CN105530561A (en) * 2016-01-15 2016-04-27 努比亚技术有限公司 Information processing method and device, earphone plug and electronic device
US20160249127A1 (en) * 2015-02-25 2016-08-25 Maxim Integrated Products, Inc. Backward compatible system and method for using 4p audio jack to provide power and signal to headset with active noise cancellation
CN108666826A (en) * 2017-03-31 2018-10-16 中兴通讯股份有限公司 A kind of adapter, terminal device and switching head system
CN108769847A (en) * 2018-08-20 2018-11-06 深圳市爱图仕影像器材有限公司 A kind of microphone and implementation method with intelligent conversion interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203243488U (en) * 2013-03-13 2013-10-16 青岛海信移动通信技术股份有限公司 Headset adapter device and mobile terminal
US20160249127A1 (en) * 2015-02-25 2016-08-25 Maxim Integrated Products, Inc. Backward compatible system and method for using 4p audio jack to provide power and signal to headset with active noise cancellation
CN105100991A (en) * 2015-06-15 2015-11-25 科泰乐讯(北京)通信设备有限公司 Compatible method and device of earphone
CN105530561A (en) * 2016-01-15 2016-04-27 努比亚技术有限公司 Information processing method and device, earphone plug and electronic device
CN108666826A (en) * 2017-03-31 2018-10-16 中兴通讯股份有限公司 A kind of adapter, terminal device and switching head system
CN108769847A (en) * 2018-08-20 2018-11-06 深圳市爱图仕影像器材有限公司 A kind of microphone and implementation method with intelligent conversion interface

Also Published As

Publication number Publication date
CN112866865B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
US7564966B2 (en) Recognition of audio device in portable terminal
CN101079265B (en) Voice signal processing system
US20160269844A1 (en) Stereo headset, terminal, and audio signal processing methods thereof
CN110300318B (en) USB terminal interface circuit and USB terminal interface circuit control method
US20090164675A1 (en) Kvm switch with a remote control incorporating a memory card adapter
CN109660913B (en) Terminal, terminal peripheral, signal transmission system and signal sending and receiving method
US20040039462A1 (en) Multi-channel wireless professional audio system using sound card
CN112866865B (en) Multi-section type earphone self-adaptive switching system, method and equipment
CN106658328B (en) A kind of earphone test circuit
CN107786284B (en) Audio transmission system and method with multi-stage cross backup architecture
CN116916220A (en) A2B-based expandable external digital power amplifier system and expansion method
CN218103136U (en) Wireless partition broadcasting system
US20040091122A1 (en) Communications system
CN201336727Y (en) Intelligent household system supporting dual-audio device
Song et al. A serial connection technique of speakers for multi-channel audio systems
CN101030372B (en) Speech signal processing system
CN216979611U (en) Audio communication system in local area
CN111182147A (en) Terminal comprising multiple types of earphone interfaces, terminal control method and device
CN106488357B (en) A kind of method and apparatus of audio interface conversion
CN1193634C (en) Mobile communication capable of detecting and transceiving voice and digital data
CN217509020U (en) Multi-partition intelligent background music playing device
CN210112260U (en) Active sound box based on A2B bus
CN220730793U (en) Audio transmission card, processing equipment and processing system
CN206835347U (en) A kind of microphone
US20120070019A1 (en) Methods for addressing equipment in tree networks

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