WO2018032799A1 - 耳机降噪的工作控制方法和终端设备中的音频处理器 - Google Patents
耳机降噪的工作控制方法和终端设备中的音频处理器 Download PDFInfo
- Publication number
- WO2018032799A1 WO2018032799A1 PCT/CN2017/082335 CN2017082335W WO2018032799A1 WO 2018032799 A1 WO2018032799 A1 WO 2018032799A1 CN 2017082335 W CN2017082335 W CN 2017082335W WO 2018032799 A1 WO2018032799 A1 WO 2018032799A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- noise reduction
- channel signal
- reduction channel
- earphone
- signal
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0264—Noise filtering characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/04—Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/09—Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones
Definitions
- the present application relates to communication technologies, and in particular, to an operation control method for earphone noise reduction and an audio processor in a terminal device.
- earphones have become an important electronic device accessory in people's daily life.
- the noisy environment will greatly reduce the accuracy of people using headphones to receive sound information, especially for business people who travel frequently, take planes, crowded subways, commuters, and office workers in central air-conditioned rooms. Therefore, the demand for noise canceling headphones has also increased rapidly.
- ANC headphones are used as a type of noise canceling headphones.
- ANC headphones have a reference microphone outside the existing earphone plug and audio playback unit.
- Reference MIC, Ref MIC to collect noise
- each headphone will be equipped with an error microphone (Error MIC, Err MIC), also called feedback microphone, for feedback detection to detect whether the noise reduction effect is in line with expectations, in order to adjust the ANC earphone
- Error MIC Err MIC
- Err MIC also called feedback microphone
- a power supply, a codec (codec) chip, a RefMIC, an Err MIC, an earpiece, and a call MIC are usually built in the earphone.
- codec codec
- RefMIC Err MIC
- Err MIC Err MIC
- a call MIC call MIC
- USB 2.0 USB audio technology audio data is extracted from the USB data stream to complete various functions such as ANC, call mixing, and audio playback.
- the audio codec chip in the ANC earphone needs to be powered by a special power source, which usually includes a battery and a voltage conversion and voltage stabilization circuit, so that the external size and weight of the ANC earphone. And the cost has increased compared with ordinary headphones.
- the embodiment of the present application provides an operation control method for earphone noise reduction and an audio processor in the terminal device to reduce the external size, weight, and cost of the ANC earphone.
- an embodiment of the present application provides a method for controlling noise reduction of a headset, where the headset includes two pairs of noise reduction microphones, and the foregoing method includes:
- the audio processing module in the terminal device controls the first power signal line in the terminal device via the power pin of the universal serial bus USB Type C interface of the terminal device of the first DMIC module 12 and the second power signal of the earphone inserted in the interface
- the wires are connected to each other, and the first power supply signal line of the first DMIC module 12 transmits power to the second power signal line of the first DMIC module 12 via the power supply pin of the first DMIC module 12 to supply power to the first DMIC module 12;
- the first DMIC module 12 audio processing module controls the first data interface of the first digital microphone DMIC module in the terminal device of the first DMIC module 12 via the first pair of left and right channel signals of the USB Type C interface of the terminal device of the first DMIC module 12
- the first pin in the pin is connected to the first noise reduction signal line and the second noise reduction signal line of the first pair of noise reduction microphones in the earphone of the first DMIC module 12, and the first DMIC module 12 sounds
- the frequency processing module controls the second data interface of the second DMIC module in the terminal device of the first DMIC module 12 via the first CC pin of the two configuration channels CC pins of the USB Type C interface of the terminal device of the first DMIC module 12 Connected to the third noise reduction signal signal line and the fourth noise reduction signal signal line of the second pair of noise reduction microphones in the earphone of the first DMIC module 12, the first DMIC module 12 audio processing module controls the terminal of the first DMIC module 12 At least one of the first clock interface of the first DMIC module in the device and the second clock interface
- the noise channel signal receives the third noise reduction channel signal of the third noise reduction signal line of the first DMIC module 12 and the fourth channel signal line of the first DMIC module 12 through the second DMIC module of the first DMIC module 12 Fourth noise reduction signal;
- the first DMIC module 12 audio processing module compares the first noise reduction channel signal and the second noise reduction channel signal of the first DMIC module 12 to determine that the first DMIC module 12 supports noise reduction processing;
- the first DMIC module 12 audio processing module utilizes the first DMIC module 12, the first noise reduction channel signal, the first DMIC module 12, the second noise reduction channel signal, the first DMIC module 12, the third noise reduction channel signal, and the first The fourth noise reduction channel signal of the DMIC module 12 is used for noise reduction of the first DMIC module 12 headphones.
- the normal function of the pins in the USB Type C interface is not affected, and the DMIC in the terminal device is passed through the pins in the USB Type C interface.
- the module and the noise reduction microphone in the earphone are connected to receive the noise reduction signal sent by the noise reduction microphone in the earphone through the DMIC module in the terminal device, so as to realize the noise reduction processing of the earphone through the terminal device without additional need in the earphone.
- the addition of the audio processing chip and the power supply effectively reduces the cost of the earphone, the size and weight of the earphone, and effectively improves the user experience.
- the comparing the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing comprises:
- the first noise reduction channel signal of the first noise reduction channel signal line and the second noise reduction channel signal of the second noise reduction channel signal line in the first pair of noise reduction microphones are certain.
- the comparing the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing comprises:
- the comparing the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing comprises:
- the comparing the first noise reduction channel signal and the second noise reduction channel signal includes:
- the correlation between the first noise reduction channel signal and the second noise reduction channel signal can be determined by the following method:
- n is a correlation function argument and n is an integer, n generally represents an offset in time, and R(n) is a cross-correlation function of the first noise channel signal and the second noise channel signal.
- the comparing the third noise reduction channel signal and the fourth noise reduction channel signal includes:
- the correlation between the third noise reduction channel signal and the fourth noise reduction channel signal may be determined by the following method:
- n is a correlation function argument and n is an integer, n generally represents an offset in time, and R(n) is a cross-correlation function of the third noise reduction channel signal and the fourth noise reduction channel signal.
- the method further includes: the audio processing module controlling a pair of channel signal lines in the terminal device via a second pair of left and right channel signal tubes of a USB Type C interface of the terminal device a foot is respectively connected to a left channel signal line and a right channel signal line in the earphone, wherein the pair of channel signal lines are used to respectively provide a left channel signal and a direction to the left channel signal line
- the right channel signal line provides a right channel signal
- the audio processing module generates the left channel signal and the right channel signal
- the audio processing module controls a terminal microphone signal line in the terminal device to be connected to a microphone in the earphone via a microphone signal pin of a USB Type C interface of the terminal device to pass the microphone signal pin from the microphone Receive voice signals.
- the normal audio and voice functions of the earphone can be performed through the above connection manner, thereby ensuring normal use of the earphone while performing noise reduction on the earphone.
- the voice signal is an analog voice signal.
- the audio processing module uses the first noise reduction channel signal, the second noise reduction channel signal, the third noise reduction channel signal, and the fourth noise reduction channel signal as The noise reduction of the earphone includes:
- the audio processing module cancels the left sound by the first noise reduction channel signal, the second noise reduction channel signal, the third noise reduction channel signal, and the fourth noise reduction channel signal
- the noise signal in the channel signal and the right channel signal is used to reduce noise for the earphone.
- an embodiment of the present application provides an audio processor in a terminal device, configured to perform earphone noise reduction, the earphone includes two pairs of noise reduction microphones, and the audio processor includes: a control module, and a first digital microphone. a DMIC module and a second DMIC module;
- the control module is configured to control, by using a power pin of the universal serial bus USB Type C interface of the terminal device, a second power signal line inserted into the earphone of the terminal device, And transmitting, by the first power signal line, power to the second power signal line via the power pin to supply power to the earphone, and controlling a first data interface of the first DMIC module via the terminal device a first one of the first pair of left and right channel signal pins of the USB Type C interface and a first noise reduction signal line and a second noise reduction signal line of the first pair of noise reduction microphones of the earphone Connected, the second data interface of the second DMIC module is controlled to pass the first CC pin of the two configuration channels CC pins of the USB Type C interface of the terminal device and the second pair of noise reduction in the earphone Connecting a third noise reduction signal signal line of the microphone to the fourth noise reduction signal signal line, and controlling at least one of the first clock interface of the first DMIC module and the second clock interface of the second DMIC module via The first pair A
- the first DMIC module is configured to receive a first noise reduction channel signal of the first noise reduction channel signal line and a second noise reduction channel signal of the second noise reduction channel signal line, and Processing the first noise reduction channel signal and the second noise reduction channel signal to obtain a first noise reduction channel signal processing result and a second noise reduction channel signal processing result;
- the second DMIC module is configured to receive a third noise reduction channel signal of the third noise reduction signal line and a fourth noise reduction channel signal of the fourth channel signal line, and Processing the third noise reduction channel signal and the fourth noise reduction channel signal to obtain a third noise reduction channel signal processing result and a fourth noise reduction channel signal processing result;
- the control module is further configured to compare the first noise reduction channel signal and the second noise reduction channel signal to determine the earphone support noise reduction process, and process the first noise reduction channel signal As a result, the second noise reduction channel signal processing result, the third noise reduction channel signal processing result, and the fourth noise reduction channel signal processing result are noise reduction for the earphone.
- control module is specifically configured to compare the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing to:
- control module is specifically configured to compare the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing to:
- control module is specifically configured to compare the first noise reduction channel signal and the second noise reduction channel signal to determine that the earphone supports noise reduction processing to:
- control module in terms of comparing the first noise reduction channel signal and the second noise reduction channel signal, is specifically configured to:
- the correlation between the first noise reduction channel signal and the second noise reduction channel signal can be determined by the following method:
- x 1 (m) is the first noise reduction channel signal
- x 2 (m+n) is the second noise reduction channel Signal
- M is the cross-correlation calculation length, which can represent a period of time
- R(n) is the cross-correlation function for calculating the time
- m represents m time
- x 1 (m) is the first noise-reduction channel signal at time m
- Sample point n is a correlation function argument and n is an integer
- n generally represents an offset in time
- R(n) is a cross-correlation function of the first noise channel signal and the second noise channel signal.
- control module in terms of comparing the third noise reduction channel signal and the fourth noise reduction channel signal, is specifically configured to:
- the correlation between the third noise reduction channel signal and the fourth noise reduction channel signal may be determined by the following method:
- n is a correlation function argument and n is an integer, n generally represents an offset in time, and R(n) is a cross-correlation function of the third noise reduction channel signal and the fourth noise reduction channel signal.
- control module is further configured to:
- the pair of channel signal lines are used to respectively provide a left channel signal to the left channel signal line and a right channel signal to the right channel signal line
- the audio processing module generates The left channel signal and the right channel signal; controlling a terminal microphone signal line in the terminal device to be connected to a microphone in the earphone via a microphone signal pin of a USB Type C interface of the terminal device, to A voice signal is received from the microphone through a microphone signal pin.
- the speech signal is an analog speech signal.
- the first noise reduction channel signal processing result, the second noise reduction channel signal processing result, the third noise reduction channel signal processing result, and the The fourth noise reduction signal processing result is an aspect of performing noise reduction on the earphone, and the control module is specifically configured to:
- Eliminating the first noise reduction channel signal processing result, the second noise reduction channel signal processing result, the third noise reduction channel signal processing result, and the fourth noise reduction channel signal processing result A noise signal in the left channel signal and the right channel signal is described to reduce noise for the earphone.
- control module is an audio controller; the DMIC module is a DMIC processor.
- the audio controller, the first DMIC module, and the second DMIC module comprises a plurality of transistors, logic gates or processors.
- an embodiment of the present application provides a terminal device, including the audio processor mentioned before.
- the terminal device may further include the USB Type C interface.
- an embodiment of the present application provides an electronic system including the foregoing terminal device and the earphone.
- the normal function of the pins in the USB Type C interface is not affected, and the pins in the USB Type C interface are used in the terminal device.
- the DMIC module is connected with the noise reduction microphone in the earphone, so that the noise reduction signal sent by the noise reduction microphone in the earphone is received by the DMIC module in the terminal device, so that the noise reduction processing of the earphone through the terminal device can be realized without additional headphones.
- the addition of the audio processing chip and the power supply effectively reduces the cost of the earphone, the size and weight of the earphone, and effectively improves the user experience.
- Figure 1 shows a schematic diagram of noise reduction processing of a feedforward ANC earphone
- Figure 2 shows a schematic diagram of noise reduction processing of a feedforward ANC earphone
- FIG. 3 is a schematic diagram of pins of a USB Type-C interface set on a terminal device
- Figure 4 is a schematic diagram showing the pins of the USB Type-C interface provided on the earphone
- FIG. 5 is a schematic structural diagram of a USB Type C interface inserted into a terminal device according to an embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of a first DMIC module and a second DMIC module in a terminal device
- FIG. 7 is a schematic diagram showing a combined structure of a first DMIC module and a second DMIC module in a terminal device
- Figure 8 is a phase diagram 1 of the data of the noise reduction microphone connected to the DMIC1 module and the DMIC2 module;
- Figure 9 shows the data phase 2 of the noise reduction microphone connected to the DMIC1 module and the DMIC2 module;
- FIG. 10 is a flowchart of connecting two pairs of noise reduction microphones in an earphone provided by an embodiment of the present application to two DMIC modules in a terminal device;
- FIG. 11 is a diagram showing whether a first noise reduction channel signal of a first noise reduction channel signal line and a second noise reduction channel signal of a second noise reduction signal line are correlated according to a first pair of noise reduction microphones. flow chart;
- FIG. 12 is a schematic diagram showing the connection between the earphone and the USB Type C interface in the work control of the headphone noise reduction provided by the embodiment of the present application;
- FIG. 13 is a schematic diagram showing the connection between a USB Type C interface and a terminal device in the work control of the headphone noise reduction provided by the embodiment of the present application;
- FIG. 14 is a schematic structural diagram of an audio processor in a terminal device according to an embodiment of the present application.
- ANC headphones are divided into two types, one is hybrid (English: Hybrid), and the other is simple feedforward.
- a microphone for collecting noise is set outside the earphone, and the collected noise is sent back to the chip with ANC processing capability (simple chip or audio codec (Code & Decode, The codec) chip can be used, and after 180 degrees of reverse noise processing, it is sent back to the earphone to achieve the effect of active noise reduction.
- ANC processing capability simple chip or audio codec (Code & Decode, The codec) chip can be used, and after 180 degrees of reverse noise processing, it is sent back to the earphone to achieve the effect of active noise reduction.
- FIG. 1 is a schematic diagram of noise reduction processing of a feedforward ANC earphone
- FIG. 2 is a schematic diagram of noise reduction processing of a simple feedforward ANC earphone; as can be seen from FIG. 1 and FIG. 2, FIG.
- the perfect ANC, Figure 2 is the ANC where the noise reduction signal does not perfectly cancel the noise (phase, amplitude, etc.). Ideally, the perfect ANC effect shown in Figure 1 is achieved.
- Ref MIC collects noise on the outside of each headset, and Err MIC inside the headset for feedback detection to detect whether the noise reduction effect is in line with expectations, so that the codec chip can adjust the filter parameters of the ANC in real time. Adapt to learning to achieve the perfect active noise reduction effect. Whether it is a feedforward ANC headset or a Hybrid ANC headset, first of all, these headsets must have a codec chip that can support ANC; and all microphones can have physical channels connected to the codec chip.
- USB Universal Serial Bus
- the technology mainly proposes a USB interface connection interface or interface, which can be inserted regardless of the front and back sides, and supports the USB standard charging, data transmission, display output, USB audio and the like as well as other interfaces.
- FIG. 3 is a schematic diagram of a pin of a USB Type-C interface provided on the terminal device
- FIG. 4 is a schematic diagram of a pin of a USB Type-C interface set on the earphone.
- the USB Type-C interface since the front and back insertions need to be supported, the USB Type-C interface includes the A side and the B side, and the types of the A side and the B side (English: pin) are the same.
- each pin D+/D- (the front and back channel pins of the received data) are multiplexed into the headphone left channel (Headset Left, HSL)/headphone right channel (Headset Right) , HSR) audio channel (so only HSL/HSR in Figure 3 or Figure 4); configuration channel (CC) 1/CC2 is the control pin for logic decision, VBUS is used to supply power , GND is used for grounding, which is the same as in the existing USB 2.0 standard.
- the present application proposes a working control method and device for the noise reduction of the earphone, by using the terminal device to the earphone.
- the noise is processed without adding an extra chip to the earphone, so that the size and weight of the earphone can be effectively controlled and the cost of the earphone can be reduced under the premise of perfect noise reduction.
- Each of the USB Type C interfaces in the terminal device in the embodiment of the present application is respectively connected to a switch module, where the switch module includes a switch for implementing switching, and the switch module is configured to implement switching to control the USB Type.
- the pins in the C interface are connected to the corresponding processing modules or originals in the terminal device.
- the switch module is specifically configured to switch to a corresponding processing module in the terminal device according to the type of the device inserted in the USB Type C interface, so as to meet the corresponding function of the device inserted in the USB Type C interface.
- the earphone used in the embodiment of the present application includes two pairs of noise reduction microphones, which may all be DMICs (Digital microphones, DMICs).
- DMICs Digital microphones, DMICs
- the so-called DMIC is to convert traditional analog audio signals into digital signals for processing and transmission.
- the DMIC outputs a digital signal, not a normal analog signal.
- the digital signal may be a Pulse Density Modulation (PDM) signal.
- PDM Pulse Density Modulation
- two pairs of noise reduction microphones need to be powered to ensure that the two pairs of noise reduction microphones work normally to collect external noise signals.
- the embodiment of the present application fully utilizes the power supply in the terminal device to supply power to the two pairs of noise reduction microphones in the earphone, that is, the first power signal line corresponding to the power supply source in the terminal device and the power pin in the USB Type C interface.
- the purpose of saving the power supply circuit (battery, charge management, etc.) in the noise-cancelling headphones is achieved.
- FIG. 5 is a schematic structural diagram of a USB Type C interface inserted into a terminal device according to an embodiment of the present disclosure, as shown in FIG. 5:
- the second power signal line 11 in the earphone 1 is connected to one end of the power pin 21 in the USB Type C interface 2, and the audio in the terminal device 3
- a processing module (not shown) controls a switch module connected to the other end of the power pin 21 (since the structure and function of the switch are common in the art, this is omitted in FIG. 5) and the terminal device 3
- the first power signal line 31 is connected, so that the first power signal line 31 in the terminal device 3 is connected to the second power signal line 11 in the earphone 1 to realize the passage of the first power signal line 31 in the terminal device 3.
- the power pin 21 transmits power to the second power signal line 11 to achieve the purpose of supplying power to the first pair of noise reduction microphones 12 and the second pair of noise reduction microphones 13 in the earphone 1.
- the power pin in the USB Type C interface 2 may be the power pin of the A side of the USB Type C interface 2, or the power pin of the B side of the USB Type C interface 2, which is not applied in this application. limit.
- a signal line refers to a transmission line for transmitting a signal, and may include a wire or other device for transmitting or forwarding a signal.
- the previously mentioned first power signal line is used to transmit a power signal.
- the terminal device 3 needs to identify whether the device inserted into the USB Type C interface 2 is an analog earphone according to the existing USB Type C standard protocol, and if the device inserted into the USB Type C interface is recognized as an analog earphone Then, the terminal device 3 continues to control the switch module therein to perform the following steps. If it is recognized that the device inserted into the USB Type C interface is not an analog earphone, the USB Type inserted into the terminal device is determined according to the existing USB Type C standard protocol. The device in the C interface switches the switch module to the corresponding processing module to complete the corresponding function.
- the USB Type C connection inserted into the terminal device 3 is identified according to the existing USB Type C standard protocol. Whether the device in port 2 is an analog earphone can be; through the principle of voltage division, the module of the multi-Button Headset Control (MBHC) of the codec chip can judge the USB Type C interface 2 inserted into the terminal device 3
- MBHC multi-Button Headset Control
- the two pairs of noise reduction The microphone needs to be connected to two DMIC modules in the terminal device 3 to perform noise reduction processing through two DMIC modules in the terminal device 3, since each of the noise reduction microphones includes a clock signal line and a noise reduction channel signal line.
- the two pairs of noise reduction microphones include four noise reduction signal lines and four clock signal lines. Therefore, in the USB Type C interface 2 of the existing terminal device 3, an additional eight pins are required. To connect two pairs of noise-reduction microphones and two DMIC modules in the terminal device 3, the pins in the USB Type C interface 2 in the terminal device 3 have been fully utilized in the existing standards.
- the positive insertion is taken as an example: when the earphone 1 is being inserted into the USB Type C interface 2, only the A in the USB Type C interface 2
- the first pair of left and right channel signal pins of the face provide the left channel signal and the right channel signal for the earphone 1, and the second pair of left and right channel signal pins of the B face of the USB Type C interface 2 are not utilized
- the second pair of left and right channel signal pins can be utilized to implement the solution in the embodiment of the present application
- the CC2 pin in the USB Type C interface in the terminal device is only inserted in the terminal device.
- the CC2 pin In the USB Type C interface, it is used to determine the logic. After the process, the CC2 pin has no other function. Therefore, the CC2 pin can also be utilized to implement the solution of the embodiment of the present application. Three pins are found in the existing USB Type C interface 2 to implement the solution of the present application.
- the first DMIC module in the terminal device 3 includes a first data interface and a first clock interface
- the second DMIC module in the terminal device 3 includes a second data interface and a second clock interface.
- the first DMIC module and the second DMIC module in device 3 are connected to the USB Type C interface 2, then four pins are required, and the above three pins are obviously insufficient. The following describes in detail how to accomplish the functions of the original four pins through three pins.
- Figure 6 shows the structure of the first DMIC module and the second DMIC module in the terminal device.
- the terminal device includes two DMIC modules, which are DMIC1 modules and DMIC2 modules.
- the DMIC1 module and the DMIC2 module may be included in a codec chip inside the terminal device.
- the codec chip may be a chip used by the terminal device for performing voice signal processing, which may be multiple chips or may be a certain chip.
- a portion, specifically the aforementioned audio processing module may in particular be an audio processor comprising a plurality of transistors, logic gates or processors. Therefore, the audio processing module may be included in the terminal device, wherein the audio processing module further includes a DMIC1 module and a DMIC2 module, each The DMIC module is used for digital signal processing of the corresponding DMIC signal to obtain a corresponding processing result.
- a DMIC module will draw two pins: the clock pin CLK of the DMIC and the data pin DATA of the DMIC.
- the DMIC1 module corresponds to DMIC_CLK1 and DMIC_DATA
- the DMIC2 module corresponds to DMIC_CLK2 and DMIC_DATA2. Since it can be sampled separately on the upper and lower edges of the clock, two noise reduction microphones can be connected to one DMIC module (a rising edge sends data). , a falling edge sends data), so two DMIC modules can support two pairs of noise-canceling microphones in the headset. If the DMIC1 module and the DMIC_CLK1 pin of the DMIC2 module and the DMIC_CLK2 pin can be combined (one pin is shared), then the three pins can be used to complete the functions of the original four pins, as shown in FIG.
- FIG. 7 is a schematic diagram showing the combined structure of the first DMIC module and the second DMIC module in the terminal device.
- the working clock corresponding to the first clock interface of the DMIC1 module that is, the working clock corresponding to the DMIC_CLK1 pin
- the working clock corresponding to the second clock interface of the DMIC2 module that is, the working clock corresponding to the DMIC_CLK2 pin
- the working clock corresponding to the first clock interface is not aligned with the upper and lower edges of the working clock corresponding to the second clock interface, which may result in inconsistent phase of the noise reduction microphone data connected between the DMIC1 module and the DMIC2 module, thereby failing to effectively obtain each drop.
- the noise signal is shown in FIG. 8 , wherein FIG. 8 is a phase diagram 1 of the noise reduction microphone data connected between the DMIC1 module and the DMIC 2 module.
- the working clock corresponding to the first clock interface of the DMIC1 module and the working clock corresponding to the second clock interface of the DMIC2 module can be aligned, that is, the DMIC1 module is
- the working clock corresponding to a clock interface is synchronized with the working clock corresponding to the second clock interface of the DMIC2 module, as shown in FIG. 9, wherein FIG. 9 is a second phase diagram of the data phase of the noise reduction microphone connected to the DMIC1 module and the DMIC2 module.
- the first clock interface of the DMIC1 module and the second clock interface of the DMIC2 module can be connected, thereby implementing the working clock corresponding to the first clock interface of the DMIC1 module and the DMIC2 module.
- the working clock is provided as a homologous clock for the first clock interface of the DMIC1 module and the second clock interface of the DMIC2 module.
- the device inserted in the USB Type C interface 2 is an analog earphone, it is also necessary to complete the connection between the two pairs of noise reduction microphones in the earphone 1 and the two DMIC modules in the terminal device 3.
- FIG. 10 is a flowchart showing the connection between two pairs of noise reduction microphones in the earphone provided by the embodiment of the present application and two DMIC modules in the terminal device, as shown in FIG. 10, and FIG. 5 together.
- the clock signal lines need to be connected.
- the clock signal line in the earphone 1 and the USB Type C are connected.
- One end of the second pin 222 of the first pair of left and right channel signal pins 22 in the interface 2 is connected, that is, the second pin 222 of the first pair of left and right channel signal pins 22 is respectively associated with the earphone 1
- the first clock signal line 123 and the second clock signal line 124 of the first pair of noise reduction microphones 12, the third clock signal line 133 and the fourth clock signal line 134 of the second pair of noise reduction microphones 13 are connected.
- the terminal device The audio processing module of 3 controls the switch module connected to the other end of the second pin 222 of the first pair of left and right channel signal pins 22 of the USB Type C interface and the first DMIC module 32 of the terminal device 3 a clock interface 321 and a terminal device 3 At least one of the second clock interfaces 331 of the second DMIC module 33 is connected (the audio processing module in the terminal device 3 controls the first pair of left and right channel signal pins 22 of the USB Type C interface)
- the switch module connected to the other end of the second pin 222 is connected to the second clock interface 331 of the second DMIC module 33 in the terminal device 3, and the first clock interface 321 and the second DMIC module 33 of the first DMIC module 32 are
- the two clock interfaces 331 are connected to each other, so that the working clock is provided to the earphone 1 through the first clock interface 321 or the second clock interface 331 connected to the clock signal line in the earphone 1, and the working clock corresponding to the first clock interface 321 and The working clock corresponding to the second clock interface
- the connection between the clock signal line in the earphone 1 and the first clock interface 321 or the second clock interface 331 in the terminal device 3 is completed, so that the working clocks can be provided for the two pairs of noise reduction microphones in the earphone 1 .
- the clock signal line in the earphone 1 is passed through the second pin 222 of the first pair of left and right channel signal pins 22 in the USB Type C interface 2 and the second terminal device 3
- a first clock interface 321 of a DMIC module 32 is coupled to at least one of the second clock interfaces 331 of the second DMIC module 33 of the terminal device 3.
- the switch module connected to the other end of the first pin 221 is connected to the first data interface 322 of the first DMIC module 32 in the terminal device 3, wherein the first pin 221 can be the first pair of left and right channel signal tubes
- the left channel signal pin in the foot 22 may also be the right channel pin in the first pair of left and right channel signal pins 22, which is not limited in the present application.
- the first data interface of the first noise reduction channel signal line 121 and the second noise reduction channel signal line 122 in the first pair of noise reduction microphones 12 and the first DMIC module 32 in the terminal device 3 are completed.
- the connection of 322 is performed such that acquisition of the first noise reduction signal of the first noise reduction channel signal line 121 and the second noise reduction signal of the second noise reduction channel signal line 122 can be achieved.
- the first noise reduction signal line 121 and the second noise reduction signal line 122 of the first pair of noise reduction microphones 12 in the earphone 1 implemented in this step pass the first of the USB Type C interfaces 2.
- the first pin 221 of the left and right channel signal pins 22 is connected to the first data interface 322 of the first DMIC module 32 in the terminal device 3.
- the rising edge is the first noise reduction channel of the first noise reduction channel signal line 121.
- the signal, the falling edge is the second noise reduction channel signal of the second noise reduction channel signal line 122; in another achievable manner, the rising edge is the second noise reduction of the second noise reduction channel signal line 122
- the channel signal, the falling edge is the first noise channel signal of the first noise reduction channel signal line 121, which is not limited in the present application.
- the audio processing module in the terminal device controls the switch module connected to the other end of the first CC pin 23 and The second data interface 332 of the second DMIC module 33 in the terminal device 3 is connected, wherein the first CC pin 23 of the two CC pins It can be the CC1 pin in the USB Type C interface 2 or the CC2 pin in the USB Type C interface 2. This application does not limit it.
- the second data interface of the third noise reduction channel signal line 131 and the fourth noise reduction channel signal line 132 in the second pair of noise reduction microphones 13 and the second DMIC module 33 in the terminal device 3 are completed.
- the connection of 332 allows acquisition of the third noise reduction channel signal of the third noise reduction channel signal line 131 and the fourth noise reduction channel signal of the fourth noise reduction channel signal line 132. That is, the first noise reduction signal line 121 and the second noise reduction signal line 122 of the first pair of noise reduction microphones 12 in the earphone 1 implemented in this step pass the first of the USB Type C interfaces 2.
- the first pin 221 of the left and right channel signal pins 22 is connected to the first data interface 322 of the first DMIC module 32 in the terminal device 3.
- the rising edge is the third noise reduction channel signal of the third noise reduction channel signal line 131
- the falling edge is the fourth noise reduction channel signal of the fourth noise reduction channel signal line 132; in another achievable manner, the rising edge is the fourth noise reduction channel of the fourth noise reduction channel signal line 132.
- the signal and the falling edge are the third noise channel signal of the third noise reduction channel signal line 131, which is not limited in the present application.
- the earphone 1 Since the earphone 1 also needs to perform corresponding audio and voice functions, when the earphone 1 is inserted into the USB Type C interface 2, the left channel signal line 14 in the earphone 1 and the second pair of left and right channel signal tubes in the USB Type C interface 2 One end of the third pin 241 in the leg 24 is connected, and the right channel signal line 15 in the earphone 1 and one end of the fourth pin 242 in the second pair of left and right channel signal pins 24 in the USB Type C interface 2 Connected, the microphone 16 in the earphone 1 is connected to one end of the microphone signal pin 25 in the USB Type C interface 2.
- the audio processing module in the terminal device 3 controls the switch module connected to the other end of the third pin 241 to be connected to the left channel signal line 34 in the terminal device 3 so that the left channel signal line in the terminal device 3 The left channel signal is supplied to the left channel signal line 14 in the headphone 1 via the third pin 241.
- the audio processing module in the terminal device 3 controls the switch module connected to the other end of the fourth pin 242 to be connected to the right channel signal line 35 in the terminal device 3, so that the right channel signal line 35 in the terminal device 3 is passed via
- the fourth pin 242 supplies a right channel signal to the right channel signal line 15 in the headphone 1.
- the left channel signal line 34 and the right channel signal line 35 are respectively connected to a module for processing the left and right channel signals, such as a control module, in the audio processing module.
- the third pin 241 may be a left channel pin in the second pair of left and right channel signal pins 24, and the fourth pin 242 may be a right channel tube in the second pair of left and right channel signal pins 24.
- the third pin 241 may be the right channel pin of the second pair of left and right channel signal pins 24, and the fourth pin 242 may be the left sound of the second pair of left and right channel signal pins 24.
- the pipe pin, this application does not limit it, as long as the corresponding audio function can be realized.
- the audio processing module in the terminal device 3 controls the switch module connected to the other end of the microphone signal pin 25 to be connected to the terminal microphone signal line 36 in the terminal device 3, so that the terminal microphone signal line 36 in the terminal device 3 is via the microphone signal.
- the pin 25 receives the voice signal input by the microphone 16 in the earphone 1
- the wind signal line 36 is specifically connected to the microphone processor, and the microphone processor can be selectively included in or outside the audio processing module, which is not limited in this embodiment.
- the voice signal input by the microphone 16 in this embodiment may be an analog signal.
- the connection of the earphone 1 to the terminal device 3 through the USB Type C interface 2 is completed.
- the execution terminal device performs noise reduction for the earphone 1 according to each noise reduction signal, it is also necessary to determine whether the earphone 1 supports the noise reduction process.
- the first pair of noise reduction is performed.
- the first noise reduction channel signal of the first noise reduction channel signal line 121 in the microphone 12 and the second noise reduction channel signal of the second noise reduction channel signal line 122 are correlated by utilizing the correlation.
- the characteristic of the feature can determine whether the earphone 1 inserted in the USB Type C interface supports the noise reduction process, that is, the first noise reduction channel signal of the first noise reduction channel signal line 121 in the first pair of noise reduction microphones 12 and When the second noise reduction signal of the second noise reduction signal line 122 is correlated, it is determined that the earphone 1 supports the noise reduction processing when the first noise reduction signal line 121 of the first pair of noise reduction microphones 12 When the noise reduction channel signal and the second noise reduction channel signal of the second noise reduction channel signal line 122 are not correlated, it is determined that the earphone 1 does not support the noise reduction processing.
- the audio processing module may process the first noise reduction channel signal and the second noise reduction channel signal to obtain the first noise reduction by using the first DMIC module and the second DMIC module therein.
- the channel signal processing result and the second noise channel signal processing result are used to calculate whether the two are related, or the audio processing module can directly compare the first noise channel signal and the second noise channel signal, which is not limited in this embodiment. .
- FIG. 11 shows a second noise reduction channel signal according to a first noise reduction channel signal and a second noise reduction signal signal line of the first noise reduction channel signal line in the first pair of noise reduction microphones.
- S202 Determine whether a correlation between the first noise reduction channel signal and the second noise reduction channel signal is greater than a first preset threshold
- the correlation between the first noise reduction channel signal and the second noise reduction channel signal can be determined by the following method:
- n is a correlation function argument and n is an integer, n generally represents an offset in time, and R(n) is a cross-correlation function of the first noise channel signal and the second noise channel signal.
- the correlation of the fourth noise-reduction channel signal to determine whether the earphone 1 supports the noise reduction process is implemented similarly to FIG. 11 and will not be described herein.
- the magnitude relationship with the second preset threshold may be compared, and the second preset threshold may be compared with the foregoing.
- the first preset threshold is the same, and may not be the same as the first preset threshold. The application does not limit the same.
- the earphone 1 inserted in the USB Type C interface 2 Since it is determined that the earphone 1 inserted in the USB Type C interface 2 does not support the noise reduction processing, there are two cases. One case is that the earphone 1 inserted in the USB Type C interface 2 itself supports the noise reduction processing, but is damaged, and there is another The case is that the earphone 1 inserted in the USB Type C interface 2 does not support the noise reduction process itself.
- the earphone 1 when it is determined that the earphone 1 does not support the noise reduction processing according to the first noise reduction channel signal and the second noise reduction channel signal, or the third noise reduction channel signal and the fourth noise reduction channel signal, In the first case, the earphone is damaged. At this time, it is not reckless to think that the earphone 1 inserted in the USB Type C interface 2 does not support the noise reduction process and directly restores the configuration of the most basic USB Type C analog earphone. A more accurate method of determining whether the earphone 1 supports noise reduction processing is proposed below.
- the first noise-reduction channel signal and the second drop may be first compared.
- a noise channel signal when determining that the first noise reduction channel signal and the second noise reduction channel signal are correlated, further comparing the third noise reduction channel signal and the fourth noise reduction channel signal, when determining When the third noise reduction channel signal and the fourth noise reduction channel signal are correlated, it is determined that the earphone supports the noise reduction processing.
- the method for determining the correlation between the first noise channel signal and the second noise channel signal and the correlation between the third noise channel signal and the fourth noise channel signal is compared with FIG. 11 and the previously mentioned calculation The algorithm is similar and will not be described here.
- the audio processing module uses the first noise reduction channel signal, the second noise reduction channel signal, the third noise reduction channel signal, and the fourth noise reduction channel signal to drop the earphone. noise.
- the audio processing module eliminates the left channel signal and the right channel signal by using the first noise reduction channel signal, the second noise reduction channel signal, the third noise reduction channel signal, and the fourth noise reduction channel signal.
- the noise signal is used for noise reduction of the earphone.
- the audio processing module can process the first noise reduction channel signal by using the first DMIC module and the second DMIC module therein.
- the second noise reduction channel signal, the third noise reduction channel signal, and the fourth noise reduction channel signal are the processed first noise reduction channel signal processing result and the second noise reduction channel signal processing
- the result, the third noise reduction channel signal processing result and the fourth noise reduction channel signal processing result, each processing result is a digital signal obtained by processing corresponding to the DMIC module.
- the audio processing module can use the digital signal result to perform noise reduction on the earphone, that is, using the obtained one noise channel signal processing result, the second noise reduction channel signal processing result, and the third noise reduction channel signal processing result.
- the signal processing result eliminates the noise signals in the left channel signal and the right channel signal of the earphone, and will not be described here.
- the first DMIC module and the second DMIC module are configured to perform digital signal processing on the received noise reduction channel signal to obtain a processing result, and other noise reduction control operations may be performed by one of the audio processing modules.
- the control module is implemented. Any of the control module, the first DMIC module, and the second DMIC module may include a plurality of transistors, logic gates, or processors that perform digital signal processing. The digital signal processing performed by either of the first DMIC module and the second DMIC module is used to resolve the corresponding noise reduction channel signal to obtain a digital signal that can be used by the audio processing module.
- the USB Type C pin can be fully extended to make multiple signal lines (left channel signal line, right channel signal line, microphone signal line, and two pairs of noise reduction microphone signal lines) on the Type C ANC earphone. It is possible to directly connect to the terminal device 3, thereby performing noise reduction processing by the terminal device 3.
- the switch module corresponding to the pin in the USB Type C interface 2 is switched, thereby ensuring the USB.
- the normal function of the pin in the Type C interface 2 is not affected, and the DMIC module in the terminal device 3 and the noise reduction 3 microphone in the earphone 1 are connected through the pins in the USB Type C interface 2, thereby passing through the terminal device.
- the DMIC module of 3 receives the noise reduction signal sent by the noise reduction microphone in the earphone 1 to implement the noise reduction processing of the earphone 1 through the terminal device 3, without additionally adding an audio processing chip and a power supply to the earphone 1, effectively reducing the noise reduction
- FIG. 12 is a schematic diagram showing the connection between the earphone and the USB Type C interface in the work control of the headphone noise reduction provided by the embodiment of the present invention
- FIG. 13 is a USB Type C interface in the work control of the headphone noise reduction provided by the embodiment of the present application.
- the D1+/D1-pin in the USB Type C interface is equivalent to the first pair of left and right channel signal pins described in the above example, and the D2+/D2-pin in the USB Type C interface is equivalent to the one described in the above example.
- the second pair of left and right channel signal pins, HSL is equivalent to the left channel signal line in the earphone described in the above example, and the HSR is equivalent to the right channel signal line in the earphone described in the above example, and the DMIC_CLK is equivalent to the above example.
- the first clock interface of the first DMIC module in the terminal device or the second clock interface of the second DMIC module in the terminal device, DMIC_DATA1 is equivalent to the first data of the first DMIC module in the terminal device described in the above example interface.
- the terminal device When the device is inserted into the USB Type C interface of the terminal device, the terminal device identifies, according to the Type C standard protocol, whether it is a Type C analog earphone inserted into the USB Type C interface;
- the headset When the headset is plugged in, first follow the standard Type C protocol to determine whether it has analog audio, and whether the HSL/HSR pin is connected to the D1+/D1- pin in the USB Type C interface of the terminal device, or the USB of the terminal device. On the D2+/D2- pin in the Type C interface, this is implemented by the standard Type C protocol and the MBHC function of the codec, which is not described here.
- the first power signal line in the terminal device is connected to the power pin of the USB Type C interface of the terminal device and the second earphone inserted in the interface.
- the power signal lines are connected, and the power is supplied from the power pins of the USB Type C interface to supply the headphones (not shown);
- the HSL in the headphones in the picture connects to the HSL in the codec of the terminal device through D1+, the HSR in the headset through D1-the HSR in the codec of the connected terminal device, and the first noise-reduction channel of the first pair of noise-reduction microphones
- the signal line and the second noise reduction signal signal line are connected to the DMIC_DATA1 in the codec of the terminal device through D2+, and the clock signal line in the earphone is connected to the DMIC_CLK in the codec of the terminal device through D2-.
- the switch is connected to the CC2 pin on the existing connection. As shown in the figure, the third noise reduction signal line and the fourth noise reduction signal line in the second pair of noise reduction microphones in the earphone are connected to the CC2 pin.
- the switch in the terminal device connects DMIC_CLK, DMIC_DATA1, and DMIC_DATA2, and also connects the HSL, HSR, AGND, and MIC channels.
- the multi-microphone path of the earphone (5-way microphone, left channel, right channel, feedback signal ground) is established;
- the clock synchronization switch on the DMIC path of Codec in the terminal device is turned on, and the noise reduction signals collected by the four noise reduction microphones of the left and right ears are synchronized.
- the noise reduction of the earphone is performed by the signals of the two pairs of noise reduction microphones received.
- step 4 is performed only when the correlation is deemed to be met in step 3. Otherwise, no steps are performed.
- step 4 is performed regardless of whether the correlation obtained in step 3 meets the requirements.
- the correlation determination operation can also be performed on the two microphone signals obtained in the fourth step.
- the headset is considered to be normal, and the execution continues to 5.
- step 5 may be continued according to the user's requirement, or step 5 may not be performed;
- step 5 may be continued according to the user's requirement, or step 5 may not be performed;
- step 3 If the correlation obtained in step 3 does not meet the requirements, and the correlation obtained in step 4 does not meet the requirements, it is considered that the earphone is damaged or the earphone does not support the noise reduction processing, and the configuration of the ordinary Type C analog earphone is restored at this time.
- steps 3 and 4 above can be interchanged, that is, the third step can be performed first, and the fourth step is performed, and the correlation between the third step and the fourth step is judged.
- the order can also be reversed: the following is an example:
- Step 5 After the third step is connected, perform the correlation judgment operation of the third step, and then perform the fourth step. After the fourth step is connected, the correlation determination operation of the fourth step is performed to determine whether to execute. Step 5;
- step 4 determines the operation to determine whether or not to perform step 5.
- step 4 After the execution of the third step, and after the correlation is judged, if the correlation of the fourth step is to be judged, then if the pin in the USB Type C interface in the previously multiplexed terminal device is to be disconnected, Connection, then the connection corresponding to DMIC_CLK in the terminal device in step 3 cannot be disconnected, because in step 4, the clock is needed to collect the noise reduction signal.
- FIG. 14 is a schematic structural diagram of an audio processor in a terminal device according to an embodiment of the present disclosure.
- the audio processor provided in this embodiment is used to perform headphone noise reduction, and the earphone includes two pairs of noise reduction microphones, as shown in FIG.
- the audio processor includes: a control module 301, a first digital microphone DMIC module 302, and a second DMIC module 303;
- the control module 301 is configured to control the first power signal line in the terminal device to be connected to the second power signal line of the earphone inserted in the interface via the power pin of the universal serial bus USB Type C interface of the terminal device, and pass the A power signal line transmits power to the second power signal line via the power pin to supply power to the earphone, and controls the first data interface of the first DMIC module 302 via the first pair of left and right channel signal pins of the USB Type C interface of the terminal device.
- the first pin is connected to the first noise reduction signal line and the second noise reduction signal line of the first pair of noise reduction microphones in the earphone, and controls the second data interface of the second DMIC module 303 via the terminal device
- the first CC pin of the two configuration channel CC pins of the USB Type C interface is connected to the third noise reduction signal signal line and the fourth noise reduction signal signal line of the second pair of noise reduction microphones in the earphone, Controlling at least one of the first clock interface of the first DMIC module 302 and the second clock interface of the second DMIC module 303 via a second pin of the first pair of left and right channel signal pins and a clock signal line in the earphone And providing a working clock to the first pair of noise reduction microphones of the earphone and the second pair of noise reduction microphones of the earphone through at least one of the first clock interface and the second clock interface, wherein the first clock interface corresponds to the working clock and the first The working clock corresponding to the two clock interfaces is synchronized;
- the first DMIC module 302 is configured to receive a first noise reduction channel signal of the first noise reduction channel signal line and a second noise reduction channel signal of the second noise reduction channel signal line, and to the first noise reduction channel The signal and the second noise reduction channel signal are processed to obtain a first noise reduction channel signal processing result and a second noise reduction channel signal processing result;
- the second DMIC module 303 is configured to receive a third noise reduction channel signal of the third noise reduction channel signal line and a fourth noise reduction channel signal of the fourth channel signal line, and to the third noise reduction channel signal and The fourth noise reduction channel signal is processed to obtain a third noise reduction channel signal processing result and a fourth noise reduction channel signal processing result;
- the control module 301 is further configured to compare the first noise reduction channel signal and the second noise reduction channel signal to determine the earphone support noise reduction process, and use the first noise reduction channel signal processing result and the second noise reduction channel signal
- the processing result, the third noise reduction channel signal processing result, and the fourth noise reduction channel signal processing result are noise reduction for the earphone.
- control module 301 is specifically configured to:
- control module 301 is specifically configured to:
- control module 301 is specifically configured to:
- control module 301 is specifically configured to:
- the correlation between the first noise reduction channel signal and the second noise reduction channel signal is greater than the first predetermined threshold, determining that the first noise reduction channel signal and the second noise reduction channel signal are correlated.
- control module 301 is specifically configured to:
- the correlation between the third noise reduction channel signal and the fourth noise reduction channel signal is greater than the second predetermined threshold, determining that the third noise reduction channel signal is related to the fourth noise reduction channel signal.
- the foregoing module 301 is further configured to:
- the pair of channel signal lines in the control terminal device are respectively connected to the left channel signal line and the right channel signal line in the earphone via the second pair of left and right channel signal pins of the USB Type C interface of the terminal device, and a pair of sounds
- the channel signal line is used to respectively provide a left channel signal to the left channel signal line and a right channel signal to the right channel signal line, and the audio processing module generates a left channel signal and a right channel signal; in the control terminal device
- the terminal microphone signal line is connected to the microphone in the earphone via a microphone signal pin of the USB Type C interface of the terminal device to receive a voice signal from the microphone through the microphone signal pin.
- the speech signal is an analog speech signal.
- the noise reduction is performed on the earphone by using the first noise reduction signal processing result, the second noise reduction signal processing result, the third noise reduction signal processing result, and the fourth noise reduction signal processing result.
- the control module 301 is specifically configured to:
- Eliminating the left channel signal and the right channel signal by the first noise reduction channel signal processing result, the second noise reduction channel signal processing result, the third noise reduction channel signal processing result, and the fourth noise reduction channel signal processing result The noise signal in the noise is used to reduce the noise of the headphones.
- the foregoing control module 301 is an audio controller; the first and second DMIC modules are DMIC processors.
- at least one of the audio controller, the first DMIC module, and the second DMIC module comprises a plurality of transistors, logic gates or processors, and the three can be integrated to form a codec chip.
- the terminal device 3 of the present embodiment may include the audio processor mentioned above, and may also optionally include the USB Type C interface 2, which is used to perform the technical solution of the foregoing method embodiment, and the implementation principle and technical effect are similar. , will not repeat them here.
- the embodiment of the present application further provides an electronic system including the terminal device 3 mentioned before and the earphone 1.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
本申请提供一种耳机降噪的工作控制方法和终端设备中的音频处理器。通过复用USB Type C接口中的管脚,在执行本申请的方案时,通过切换USB Type C接口中的管脚对应的开关模块,从而保证了USB Type C接口中的管脚的正常功能不被影响,且通过USB Type C接口中的管脚将终端设备中的DMIC模块和耳机中的降噪麦克风连接起来,从而通过终端设备中的DMIC模块接收耳机中的降噪麦克风发送的降噪信号,以实现通过终端设备对耳机的降噪处理,而无需额外在耳机中增加音频处理芯片和电源,有效降低了耳机的成本、耳机的大小和重量,有效提高了用户体验。
Description
本申请涉及通信技术,尤其涉及一种耳机降噪的工作控制方法和终端设备中的音频处理器。
随着各类智能电子设备的出现与普及,耳机已经成为人们日常生活中相当重要的电子设备配件。但是嘈杂的环境会大大降低人们利用耳机接收声音信息的准确性,特别是对于经常出差、乘坐飞机的商务人士,挤地铁、公交的上班族,以及中央空调室内的办公室一族。因此,降噪耳机的需求也迅速增长。
主动抗噪(Active Noise Cancellation,ANC)耳机作为降噪耳机的一种,不同于普通耳机,ANC耳机在现有的耳机插头和音频播放单元之外,每个耳机的外部会设有参考麦克风(Reference MIC,Ref MIC)来搜集噪声,每个耳机的内部会设有误差麦克风(Error MIC,Err MIC),也叫反馈麦克风,进行反馈检测,以检测降噪效果是否符合预期,以便调整ANC耳机中ANC芯片的参数,从而达到完美的主动降噪效果。
现有的ANC耳机中,通常在耳机里面内置了电源、codec(编解码器)芯片、RefMIC、Err MIC、听筒和通话MIC等器件。通过USB 2.0的USB音频技术,将音频数据从USB数据码流中提取出来,完成ANC、通话混音、音频播放等各种功能。使用上述的耳机虽然可以达到降噪的目的,但ANC耳机中的音频编解码芯片需要使用专门的电源进行供电,该电源通常包含电池和电压转换与稳压电路,使ANC耳机的外形尺寸、重量和成本与普通耳机相比均有所增加。
发明内容
本申请实施例提供一种耳机降噪的工作控制方法和终端设备中的音频处理器,以降低ANC耳机的外形尺寸、重量和成本。
第一方面,本申请实施例提供一种耳机降噪的工作控制方法,该耳机包括两对降噪麦克风,上述方法包括:
终端设备中的音频处理模块控制终端设备中的第一电源信号线经由第一DMIC模块12终端设备的通用串行总线USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相连,并通过第一DMIC模块12第一电源信号线经由第一DMIC模块12电源管脚向第一DMIC模块12第二电源信号线传输电能以便为第一DMIC模块12耳机供电;
第一DMIC模块12音频处理模块控制第一DMIC模块12终端设备中的第一数字麦克风DMIC模块的第一数据接口经由第一DMIC模块12终端设备的USB Type C接口的第一对左右声道信号管脚中的第一管脚与第一DMIC模块12耳机中的第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线相连,第一DMIC模块12音
频处理模块控制第一DMIC模块12终端设备中的第二DMIC模块的第二数据接口经由第一DMIC模块12终端设备的USB Type C接口的两个配置通道CC管脚中的第一CC管脚与第一DMIC模块12耳机中的第二对降噪麦克风的第三降噪声道信号线和第四降噪声道信号线相连,第一DMIC模块12音频处理模块控制第一DMIC模块12终端设备中的第一DMIC模块的第一时钟接口和第一DMIC模块12终端设备中的第二DMIC模块的第二时钟接口中的至少一个经由第一DMIC模块12第一对左右声道信号管脚中的第二管脚与第一DMIC模块12耳机中的时钟信号线连接,并通过第一DMIC模块12第一时钟接口和第二时钟接口中的至少一个向第一DMIC模块12耳机的第一对降噪麦克风和第一DMIC模块12耳机的第二对降噪麦克风提供工作时钟,其中,第一DMIC模块12第一时钟接口对应的工作时钟和第一DMIC模块12第二时钟接口对应的工作时钟同步;
通过第一DMIC模块12第一DMIC模块接收第一DMIC模块12第一降噪声道信号线的第一降噪声道信号和第一DMIC模块12第二降噪声道信号线的第二降噪声道信号,通过第一DMIC模块12第二DMIC模块接收第一DMIC模块12第三降噪声道信号线的第三降噪声道信号和第一DMIC模块12第四声道信号线的第四降噪声道信号;
第一DMIC模块12音频处理模块比较第一DMIC模块12第一降噪声道信号和第二降噪声道信号以确定第一DMIC模块12耳机支持降噪处理;
第一DMIC模块12音频处理模块利用第一DMIC模块12第一降噪声道信号、第一DMIC模块12第二降噪声道信号、第一DMIC模块12第三降噪声道信号和第一DMIC模块12第四降噪声道信号为第一DMIC模块12耳机进行降噪。
本实施例中,通过复用USB Type C接口中的管脚,保证了USB Type C接口中的管脚的正常功能不被影响,且通过USB Type C接口中的管脚将终端设备中的DMIC模块和耳机中的降噪麦克风连接起来,从而通过终端设备中的DMIC模块接收耳机中的降噪麦克风发送的降噪信号,以实现通过终端设备对耳机的降噪处理,而无需额外在耳机中增加音频处理芯片和电源,有效降低了耳机的成本、耳机的大小和重量,有效提高了用户体验。
在一种可能的实施方式中,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:
比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则确定所述耳机支持降噪处理。
本实施例中,由于第一对降噪麦克风中的第一降噪声道信号线的第一降噪声道信号和第二降噪声道信号线的第二降噪声道信号是有一定相关性的,通过利用该相关性的特征可以判断USB Type C接口中插入的耳机是否支持降噪处理,从而只有当判断到耳机支持降噪处理后,才可执行本申请实施例中的方法,有效提高了判断的准确性。
在另一种可能的实施方式中,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:
比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则进一步比较所述第三降噪声道信号和所述第
四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,确定所述耳机支持降噪处理。
本实施例中,只有当第一对降噪麦克风中的第一降噪声道信号线的第一降噪声道信号和第二降噪声道信号线的第二降噪声道信号有一定相关性,以及第二对降噪麦克风中的第三降噪声道信号线的第三降噪声道信号和第四降噪声道信号线的第四降噪声道信号也有一定相关性,此时才确定耳机支持降噪处理,从而只有当判断到耳机支持降噪处理后,才可执行本申请实施例中的方法,有效提高了判断的准确性。
在再一种可能的实施方式中,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:
比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,则进一步比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,确定所述耳机支持降噪处理。
可选的,所述比较所述第一降噪声道信号和所述第二降噪声道信号包括:
确定所述第一降噪声道信号和所述第二降噪声道信号的相关性;
判断所述第一降噪声道信号和所述第二降噪声道信号的相关性是否大于第一预设阈值;
若所述第一降噪声道信号和所述第二降噪声道信号的相关性大于第一预设阈值,则确定所述第一降噪声道信号和所述第二降噪声道信号相关。
可选地,可以通过下述方法确定第一降噪声道信号和第二降噪声道信号的相关性:
根据确定第一降噪声道信号和第二降噪声道信号的相关性,其中,x1(m)为第一降噪声道信号,x2(m+n)为第二降噪声道信号,M为互相关计算长度,可以代表一段时间,R(n)是计算该时间内的互相关函数,其中m代表m时刻,x1(m)是m时刻的第一降噪声道信号的采样点。n为相关函数自变量且n为整数,n通常代表时间上的偏移量,R(n)为第一降噪声道信号和第二降噪声道信号的互相关函数。
可选的,所述比较所述第三降噪声道信号和所述第四降噪声道信号包括:
确定所述第三降噪声道信号和所述第四降噪声道信号的相关性;
判断所述第三降噪声道信号和所述第四降噪声道信号的相关性是否大于第二预设阈值;
若所述第三降噪声道信号和所述第四降噪声道信号的相关性大于第二预设阈值,则确定所述第三降噪声道信号和所述第四降噪声道信号相关。
可选地,可以通过下述方法确定第三降噪声道信号和第四降噪声道信号的相关性:
根据确定第三降噪声道信号和第四降噪声道信号的相关性,其中,x1(m)为第三降噪声道信号,x2(m+n)为第四降噪声道信号,M为互相关计算长度,可以代表一段时间,R(n)是计算该时间内的互相关函数,其中m代表m时刻,x1(m)是m时刻的第三降噪声道信号的采样点。n为相关函数自变量且n为整数,n通常代表时间上的偏移量,R(n)为第三降噪声道信号和第四降噪声道信号的互相关函数。
在第一方面的一些实施方式中,还包括:所述音频处理模块控制所述终端设备中的一对声道信号线经由所述终端设备的USB Type C接口的第二对左右声道信号管脚分别与所述耳机中的左声道信号线和右声道信号线相连,所述一对声道信号线用于分别用于向所述左声道信号线提供左声道信号和向所述右声道信号线提供右声道信号,所述音频处理模块生成所述左声道信号和所述右声道信号;
所述音频处理模块控制所述终端设备中的终端麦克风信号线经由所述终端设备的USB Type C接口的麦克风信号管脚与所述耳机中的麦克风相连,以通过麦克风信号管脚从所述麦克风接收语音信号。
本实施例中,通过上述的连接方式,可以执行耳机正常的音频和语音功能,从而保证了在对耳机进行降噪的同时耳机的正常使用。
可选的,所述语音信号是模拟语音信号。
可选的,所述音频处理模块利用所述第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号为所述耳机进行降噪包括:
所述音频处理模块通过所述第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号消除所述左声道信号和右声道信号中的噪声信号以为所述耳机进行降噪。
第二方面,本申请实施例提供一种终端设备中的音频处理器,用于执行耳机降噪,所述耳机包括两对降噪麦克风,所述音频处理器包括:控制模块、第一数字麦克风DMIC模块和第二DMIC模块;
所述控制模块,用于控制终端设备中的第一电源信号线经由所述终端设备的通用串行总线USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相连,并通过所述第一电源信号线经由所述电源管脚向所述第二电源信号线传输电能以便为所述耳机供电,控制所述第一DMIC模块的第一数据接口经由所述终端设备的USB Type C接口的第一对左右声道信号管脚中的第一管脚与所述耳机中的第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线相连,控制所述第二DMIC模块的第二数据接口经由所述终端设备的USB Type C接口的两个配置通道CC管脚中的第一CC管脚与所述耳机中的第二对降噪麦克风的第三降噪声道信号线和第四降噪声道信号线相连,控制所述第一DMIC模块的第一时钟接口和所述第二DMIC模块的第二时钟接口中的至少一个经由所述第一对左右声道信号管脚中的第二管脚与所述耳机中的时钟信号线连接,并通过所述第一时钟接口和第二时钟接口中的至少一个向
所述耳机的第一对降噪麦克风和所述耳机的第二对降噪麦克风提供工作时钟,其中,所述第一时钟接口对应的工作时钟和所述第二时钟接口对应的工作时钟同步;
所述第一DMIC模块用于接收所述第一降噪声道信号线的第一降噪声道信号和所述第二降噪声道信号线的第二降噪声道信号,并对所述第一降噪声道信号和所述第二降噪声道信号做处理得到第一降噪声道信号处理结果和第二降噪声道信号处理结果;
所述第二DMIC模块用于接收所述第三降噪声道信号线的第三降噪声道信号和所述第四声道信号线的第四降噪声道信号,并对所述第三降噪声道信号和所述第四降噪声道信号做处理得到第三降噪声道信号处理结果和第四降噪声道信号处理结果;
所述控制模块,还用于比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理,并且利用所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果为所述耳机进行降噪。
在前述第二方面的一些实施例中,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:
比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则确定所述耳机支持降噪处理。
在前述第二方面的一些实施例中,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:
比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则进一步比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,确定所述耳机支持降噪处理。
在前述第二方面的一些实施例中,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:
比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,则进一步比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,确定所述耳机支持降噪处理。
在前述第二方面的一些实施例中,在比较所述第一降噪声道信号和所述第二降噪声道信号的方面,所述控制模块具体用于:
确定所述第一降噪声道信号和所述第二降噪声道信号的相关性;
判断所述第一降噪声道信号和所述第二降噪声道信号的相关性是否大于第一预设阈值;
若所述第一降噪声道信号和所述第二降噪声道信号的相关性大于第一预设阈值,则确定所述第一降噪声道信号和所述第二降噪声道信号相关。
可选地,可以通过下述方法确定第一降噪声道信号和第二降噪声道信号的相关性:
根据确定第一降噪声道信号和第二降噪声道信号的相
关性,其中,x1(m)为第一降噪声道信号,x2(m+n)为第二降噪声道信号,M为互相关计算长度,可以代表一段时间,R(n)是计算该时间内的互相关函数,其中m代表m时刻,x1(m)是m时刻的第一降噪声道信号的采样点。n为相关函数自变量且n为整数,n通常代表时间上的偏移量,R(n)为第一降噪声道信号和第二降噪声道信号的互相关函数。
在前述第二方面的一些实施例中,在比较所述第三降噪声道信号和所述第四降噪声道信号的方面,所述控制模块具体用于:
确定所述第三降噪声道信号和所述第四降噪声道信号的相关性;
判断所述第三降噪声道信号和所述第四降噪声道信号的相关性是否大于第二预设阈值;
若所述第三降噪声道信号和所述第四降噪声道信号的相关性大于第二预设阈值,则确定所述第三降噪声道信号和所述第四降噪声道信号相关。
可选地,可以通过下述方法确定第三降噪声道信号和第四降噪声道信号的相关性:
根据确定第三降噪声道信号和第四降噪声道信号的相关性,其中,x1(m)为第三降噪声道信号,x2(m+n)为第四降噪声道信号,M为互相关计算长度,可以代表一段时间,R(n)是计算该时间内的互相关函数,其中m代表m时刻,x1(m)是m时刻的第三降噪声道信号的采样点。n为相关函数自变量且n为整数,n通常代表时间上的偏移量,R(n)为第三降噪声道信号和第四降噪声道信号的互相关函数。
在前述第二方面的一些实施例中,所述控制模块,还用于:
控制所述终端设备中的一对声道信号线经由所述终端设备的USB Type C接口的第二对左右声道信号管脚分别与所述耳机中的左声道信号线和右声道信号线相连,所述一对声道信号线用于分别用于向所述左声道信号线提供左声道信号和向所述右声道信号线提供右声道信号,所述音频处理模块生成所述左声道信号和所述右声道信号;控制所述终端设备中的终端麦克风信号线经由所述终端设备的USB Type C接口的麦克风信号管脚与所述耳机中的麦克风相连,以通过麦克风信号管脚从所述麦克风接收语音信号。
在前述第二方面的一些实施例中,所述语音信号是模拟语音信号。
在前述第二方面的一些实施例中,在利用所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果为所述耳机进行降噪的方面,所述控制模块具体用于:
通过所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果消除所述左声道信号和右声道信号中的噪声信号以为所述耳机进行降噪。
在前述第二方面的一些实施例中,所述控制模块为音频控制器;所述DMIC模块为DMIC处理器。可选地,所述音频控制器、所述第一DMIC模块和第二DMIC模块种的至少一个包括多个晶体管、逻辑门或处理器。
第三方面,本申请实施例提供一种终端设备,包括之前提到的音频处理器。可选地,该终端设备还可包括所述USB Type C接口。
第四方面,本申请实施例提供一种电子系统,包括之前提到的终端设备以及所述耳机。
本申请实施例中,通过复用USB Type C接口中的管脚,保证了USB Type C接口中的管脚的正常功能不被影响,且通过USB Type C接口中的管脚将终端设备中的DMIC模块和耳机中的降噪麦克风连接起来,从而通过终端设备中的DMIC模块接收耳机中的降噪麦克风发送的降噪信号,以实现通过终端设备对耳机的降噪处理,而无需额外在耳机中增加音频处理芯片和电源,有效降低了耳机的成本、耳机的大小和重量,有效提高了用户体验。
图1所示为单纯前馈的ANC耳机的降噪处理示意图一;
图2所示为单纯前馈的ANC耳机的降噪处理示意图二;
图3所示为终端设备上设置的USB Type-C接口的管脚的示意图;
图4所示为耳机上设置的USB Type-C接口的管脚的示意图;
图5所示为本申请实施例提供的耳机插入终端设备中的USB Type C接口中的结构示意图;
图6所示为终端设备中内部的第一DMIC模块和第二DMIC模块的结构示意图;
图7所示为终端设备中内部的第一DMIC模块和第二DMIC模块的组合结构示意图;
图8所示为DMIC1模块和DMIC2模块连接的降噪麦克风数据相位示意图一;
图9所示为DMIC1模块和DMIC2模块连接的降噪麦克风数据相位示意图二;
图10所示为本申请实施例提供的耳机中的两对降噪麦克风与终端设备中的两个DMIC模块相连的流程图;
图11所示为根据第一对降噪麦克风中的第一降噪声道信号线的第一降噪声道信号和第二降噪声道信号线的第二降噪声道信号是否相关的流程图;
图12所示为本申请实施例提供的耳机降噪的工作控制中耳机与USB Type C接口的连接示意图;
图13所示为本申请实施例提供的耳机降噪的工作控制中USB Type C接口与终端设备中的连接示意图;
图14所示为本申请实施例提供的终端设备中的音频处理器的结构示意图。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
常用的ANC耳机,分为两种,一种是混合(英文:Hybrid)的,一种是单纯前馈的。其中,在单纯前馈的ANC耳机中,每个耳机的外部,会设置一个搜集噪声的麦克风,把搜集到的噪声回送给具有ANC处理能力的芯片(单纯芯片或者音频编解码(Code & Decode,codec)芯片都可以),进行反向180度的噪声处理后,回送给耳机,以达到主动降噪的效果。
图1所示为单纯前馈的ANC耳机的降噪处理示意图一,图2所示为单纯前馈的ANC耳机的降噪处理示意图二;从图1和图2可以看出,图1即是完美的ANC,图2是降噪信号未能完美抵消噪声(相位、幅度等差异)的ANC。一般理想情况下,都是要达到图1所示的完美的ANC效果。
在Hybrid ANC耳机中:每个耳机的外部有Ref MIC搜集噪声,耳机的内部有Err MIC进行反馈检测,以检测降噪效果是否符合预期,以便codec芯片可以实时调整ANC的滤波器参数,进行自适应学习,从而达到完美的主动降噪效果。而无论是单纯前馈的ANC耳机,还是Hybrid ANC耳机,首先该些耳机都要有能够支持ANC的codec芯片;且所有的麦克风均能够有物理通道连接到codec芯片。
随着通信技术的发展,新推出的Type C技术能够实现支持正反插的通用串行总线(Universal Serial Bus,USB)接口。具体的,该技术主要提出了一种USB接口的连接界面或接口,不分正反两面都可以插入,和其他界面一样支持USB标准的充电、数据传输、显示输出、USB音频等功能。
图3所示为终端设备上设置的USB Type-C接口的管脚的示意图,图4所示为耳机上设置的USB Type-C接口的管脚的示意图。如图3所示和图4所示,由于需要支持正反插,因此USB Type-C接口包括A面和B面,且A面和B面的管脚(英文:pin)类型是相同的,下面具体介绍各个管脚的功能:在图中D+/D-(接收数据的正反两路通道管脚)被复用为耳机左声道(Headset Left,HSL)/耳机右声道(Headset Right,HSR)的音频通道(因此图3或图4中仅有HSL/HSR);其中的配置通道(Configuration Channel,CC)1/CC2是用来进行逻辑判定的控制管脚,VBUS用于提供电源,GND用于接地,这些与现有的USB 2.0标准中是相同的。
为了解决支持USB Type-C的ANC耳机的外形尺寸、重量和成本与普通耳机相比均有所增加的问题,本申请提出一种耳机降噪的工作控制方法和装置,通过使用终端设备对耳机中的噪声进行处理,而无需在耳机中增加额外的芯片,因此可以在实现完美降噪的前提下,有效的控制了耳机的外形尺寸和重量,并降低了耳机的成本。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书、权利要求书及上述附图中的术语“第一”、“第二”、等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤的过程、方法、包含一系列单
元、模块的系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请中所涉及的“至少一种”是指一种,或者多种的意思。
本申请实施例所涉及的终端设备中的USB Type C接口中的每个管脚分别连接一开关模块,该开关模块包括用于实现切换的开关,所述开关模块用于实现切换以控制USB Type C接口中的管脚与终端设备中相应的处理模块或原件相连接。例如,该开关模块具体用于终端设备根据USB Type C接口中插入的设备的类型切换至终端设备中相应的处理模块,以满足实现USB Type C接口中插入的设备的相应功能。
本申请实施例中所采用的耳机包括两对降噪麦克风,可以均为DMIC(Digital microphone,DMIC)。所谓DMIC,就是将传统模拟音频信号转换为数字信号进行处理和传输。DMIC输出的是数字信号,不是通常的模拟信号。其中,数字信号可以是脉冲密度调制(Pulse Density Modulation,PDM)信号。
由于DMIC在工作的过程中是需要额外供电的,因此本申请实施例中就需要为两对降噪麦克风进行供电,以确保两对降噪麦克风正常工作以收集外界的噪声信号。
本申请实施例充分利用终端设备中的供电电源为耳机中的两对降噪麦克风供电,也即,通过终端设备中的供电电源对应的第一电源信号线与USB Type C接口中的电源管脚为插入USB Type C接口中的耳机中的两对降噪麦克风供电,从而达到节省降噪耳机中的电源部分电路(电池、充电管理等等)的目的。
图5所示为本申请实施例提供的耳机插入终端设备中的USB Type C接口中的结构示意图,如图5所示:
当耳机1插入到终端设备3中的USB Type C接口2中后,耳机1中的第二电源信号线11与USB Type C接口2中的电源管脚21的一端连接,终端设备3中的音频处理模块(图中未示出)控制与电源管脚21的另一端连接的开关模块(由于开关的结构和功能是本领域通用技术,本图5中对此省略未示出)与终端设备3中的第一电源信号线31连接,从而实现终端设备3中的第一电源信号线31与耳机1中的第二电源信号线11相连,以实现终端设备3中的第一电源信号线31通过电源管脚21为第二电源信号线11传输电能,从而达到为耳机1中的第一对降噪麦克风12和第二对降噪麦克风13供电的目的。
上述的USB Type C接口2中的电源管脚可以为USB Type C接口2中的A面的电源管脚,也可以为USB Type C接口2中的B面的电源管脚,本申请不对其加以限制。在本申请实施例中,信号线是指用于传输信号的传输线,可包括导线或其他传输或转发信号的器件。例如,之前提到的第一电源信号线用于传输电源信号。
与此同时,终端设备3还需要根据现有的USB Type C标准协议识别插入到该USB Type C接口2中的设备是否为模拟耳机,如果识别出插入该USB Type C接口中的设备为模拟耳机,则终端设备3继续控制其中的开关模块执行下述步骤,如果识别出插入该USB Type C接口中的设备不是模拟耳机,则按照现有的USB Type C标准协议确定插入终端设备中的USB Type C接口中的设备并将开关模块切换至对应的处理模块,以完成相应的功能。
其中,按照现有的USB Type C标准协议识别插入终端设备3中的USB Type C接
口2中的设备是否为模拟耳机可以为;通过分压的原理,codec芯片的多按键耳机控制(Multi-Button Headset Control,MBHC)部分模块可以判断插入终端设备3中的USB Type C接口2中的耳机的具体类型(正序、反序),插入状态等,此处不再赘述。
当识别出插入该USB Type C接口2中的设备为模拟耳机后,由于模拟耳机在本身自带一个语音麦克风之外,而本申请中还需额外设置两对降噪麦克风,该两对降噪麦克风需要和终端设备3中的两个DMIC模块连接以通过终端设备3中的两个DMIC模块执行降噪处理,由于每个降噪麦克风均包括一时钟信号线和一降噪声道信号线,而两对降噪麦克风就会包括4根降噪声道信号线和4根时钟信号线,因此,在现有的终端设备3中的USB Type C接口2中,额外的需要8个管脚用来连接两对降噪麦克风与终端设备3中的两个DMIC模块,而现有的标准中已经将终端设备3中的USB Type C接口2中的管脚完全利用起来了。
在一种可实现的方式中,由于USB Type C接口2支持正插和反插,以正插为例:当耳机1正插入USB Type C接口2中时,只有USB Type C接口2中的A面的第一对左右声道信号管脚为耳机1提供左声道信号和右声道信号,而USB Type C接口2中的B面的第二对左右声道信号管脚没有被利用,处于空闲状态,那么第二对左右声道信号管脚就可以被利用起来实现本申请实施例的方案,且终端设备中的USB Type C接口中的CC2管脚也只有在耳机刚插入终端设备中的USB Type C接口中时,用来进行逻辑的判定,在此过程之后,该CC2管脚并无其他作用,因此CC2管脚也可以被利用起来实现本申请实施例的方案,此时,就从现有的USB Type C接口2中找出了3个管脚用来实现本申请的方案。
但是根据上述的分析,为了实现本申请的方案,额外的需要USB Type C接口2中的8个管脚,而上述的3个管脚远远不够。但由于可以在时钟的上下沿采样,这样就可以将每对降噪麦克风的两根降噪声道信号线连接在同一个管脚上,并预先设置上升沿采集的为哪个降噪麦克风的降噪声道信号线的信号,以及下降沿采集的为哪个降噪麦克风的降噪声道信号线的信号从而两对麦克风的4根降噪声道信号线仅需2个管脚就可以实现信号的采集,而两对降噪麦克风的时钟信号线可以均连接至1个管脚,从而达到了通过3个管脚完成原来8个管脚所要实现的功能的目的。
而终端设备3中的第一DMIC模块会包括第一数据接口和第一时钟接口,终端设备3中的第二DMIC模块会包括第二数据接口和第二时钟接口,此时,如果要将终端设备3中的第一DMIC模块和第二DMIC模块与USB Type C接口2相连,那么就需要4个管脚,而上述的3个管脚显然是不够的。下面具体介绍如何通过3个管脚完成原来4个管脚所要实现的功能的目的。
图6所示为终端设备中内部的第一DMIC模块和第二DMIC模块的结构示意图,如图6所示,终端设备中包括两个DMIC模块,分别为DMIC1模块和DMIC2模块。
其中,DMIC1模块和DMIC2模块可以包括在终端设备内部的codec芯片中,此时,codec芯片可以是终端设备用于进行语音信号处理的芯片,其可以是多个芯片或者也可以是某个芯片的一部分,具体就是前面提到的音频处理模块,其具体进一步地可以是音频处理器,包括多个晶体管、逻辑门或处理器。因此终端设备内可以包括所述音频处理模块,其中音频处理模块进一步包括DMIC1模块和DMIC2模块,每个
DMIC模块用于对相应的DMIC信号进行数字信号处理得到对应的处理结果。一个DMIC模块会引出两个管脚:DMIC的时钟管脚CLK和DMIC的数据管脚DATA。
图6中DMIC1模块对应的为DMIC_CLK1和DMIC_DATA1,DMIC2模块对应的为DMIC_CLK2和DMIC_DATA2,而由于可以分别在时钟的上下沿采样,所以一个DMIC模块上可以挂两个降噪麦克风(一个上升沿送数据,一个下降沿送数据),因此,两个DMIC模块即可以支持耳机中的两对降噪麦克风。如果能够将DMIC1模块和DMIC2模块的DMIC_CLK1管脚和DMIC_CLK2管脚合并(共用一个管脚),那么就可以达3个管脚完成原来4个管脚所要实现的功能的目的,如图7所示,其中,图7所示为终端设备中内部的第一DMIC模块和第二DMIC模块的组合结构示意图。
如果DMIC1模块的第一时钟接口对应的工作时钟(也即DMIC_CLK1管脚对应的工作时钟)和DMIC2模块的第二时钟接口对应的工作时钟(也即DMIC_CLK2管脚对应的工作时钟)不同步(也即,第一时钟接口对应的工作时钟与第二时钟接口对应的工作时钟的上下沿没有对齐),那么会导致DMIC1模块和DMIC2模块连接的降噪麦克风数据相位不一致,从而无法有效的获取各个降噪信号,如图8所示,其中,图8所示为DMIC1模块和DMIC2模块连接的降噪麦克风数据相位示意图一。为了保证DMIC1模块和DMIC2模块连接的降噪麦克风数据相位一致,可以让DMIC1模块的第一时钟接口对应的工作时钟和DMIC2模块的第二时钟接口对应的工作时钟对齐,也即让DMIC1模块的第一时钟接口对应的工作时钟和DMIC2模块的第二时钟接口对应的工作时钟同步,如图9所示,其中,图9所示为DMIC1模块和DMIC2模块连接的降噪麦克风数据相位示意图二。
在一种可实现的方式中,如图7,可以将DMIC1模块的第一时钟接口和DMIC2模块的第二时钟接口连接起来,从而实现DMIC1模块的第一时钟接口对应的工作时钟和DMIC2模块的第二时钟接口对应的工作时钟的同步的目的,在本申请的一种可实现的方式中,为DMIC1模块的第一时钟接口和DMIC2模块的第二时钟接口提供工作时钟的为同源时钟。
根据上述的分析可知,当识别出插入该USB Type C接口2中的设备为模拟耳机后,还需要完成耳机1中的两对降噪麦克风与终端设备3中的两个DMIC模块的连接。
以下介绍耳机中的两对降噪麦克风与终端设备中的两个DMIC模块相连的一种实现方式:
图10所示为本申请实施例提供的耳机中的两对降噪麦克风与终端设备中的两个DMIC模块相连的流程图,如图10所示,一并结合参照图5。
S101:由于使用的是上升沿和下降沿采集不同的降噪麦克风的信号,因此需要将时钟信号线相连,当耳机1插入USB Type C接口2后,耳机1中的时钟信号线与USB Type C接口2中的第一对左右声道信号管脚22中的第二管脚222的一端相连,也即第一对左右声道信号管脚22中的第二管脚222分别与耳机1中的第一对降噪麦克风12中第一时钟信号线123和第二时钟信号线124、第二对降噪麦克风13中第三时钟信号线133和第四时钟信号线134相连,此时,终端设备3中的音频处理模块控制与USB Type C接口的第一对左右声道信号管脚22中的第二管脚222的另一端连接的开关模块与终端设备3中的第一DMIC模块32的第一时钟接口321和终端设备3中的
第二DMIC模块33的第二时钟接口331中的至少一个相连(图中所示为终端设备3中的音频处理模块控制与USB Type C接口的第一对左右声道信号管脚22中的第二管脚222的另一端连接的开关模块与终端设备3中的第二DMIC模块33的第二时钟接口331相连,且第一DMIC模块32的第一时钟接口321和第二DMIC模块33的第二时钟接口331相连),从而通过与耳机1中的时钟信号线连接的第一时钟接口321或第二时钟接口331为耳机1提供工作时钟,且其中的第一时钟接口321对应的工作时钟和第二时钟接口331对应的工作时钟同步。此时,便完成了耳机1中的时钟信号线与终端设备3中的第一时钟接口321或第二时钟接口331的相连,从而可以实现为耳机1中的两对降噪麦克风提供工作时钟,以便在上升沿和下降沿接收到不同的将降噪信号线的降噪信号。也即,本步骤中实现的为将耳机1中的时钟信号线通过USB Type C接口2中的第一对左右声道信号管脚22中的第二管脚222与与终端设备3中的第一DMIC模块32的第一时钟接口321和终端设备3中的第二DMIC模块33的第二时钟接口331中的至少一个相连。
S102:当耳机1插入USB Type C接口2中后,耳机1中的第一对降噪麦克风12的第一降噪声道信号线121和第二降噪声道信号线122均与USB Type C接口2的第一对左右声道信号管脚22中的第一管脚221的一端相连,终端设备3中的音频处理模块控制与USB Type C接口2的第一对左右声道信号管脚22中的第一管脚221的另一端连接的开关模块与终端设备3中的第一DMIC模块32的第一数据接口322相连,其中的第一管脚221可以为第一对左右声道信号管脚22中的左声道信号管脚,也可以为第一对左右声道信号管脚22中的右声道管脚,本申请不对其加以限制。此时,便完成了第一对降噪麦克风12中的第一降噪声道信号线121和第二降噪声道信号线122与终端设备3中的第一DMIC模块32的第一数据接口322的相连,从而可以实现对第一降噪声道信号线121的第一降噪信号和第二降噪声道信号线122的第二降噪信号的采集。也即,本步骤中实现的为耳机1中的第一对降噪麦克风12的第一降噪声道信号线121和第二降噪声道信号线122通过USB Type C接口2中的第一对左右声道信号管脚22中的第一管脚221与终端设备3中的第一DMIC模块32的第一数据接口322相连。
此时在一种实现方式中,终端设备3中的第一DMIC模块32的第一数据接口322接收到的信号中,上升沿为第一降噪声道信号线121的第一降噪声道信号,下降沿为第二降噪声道信号线122的第二降噪声道信号;在另一种可实现的方式中,上升沿为第二降噪声道信号线122的第二降噪声道信号,下降沿为第一降噪声道信号线121的第一降噪声道信号,本申请不对其加以限制。
S103:当耳机1插入终端设备中的Type C接口2后,耳机1中的第二对降噪麦克风13的第三降噪声道信号线131和第四降噪声道信号线132与USB Type C接口2中的两个配置通道CC管脚中的第一CC管脚23的一端连接,此时,终端设备中的音频处理模块控制与第一CC管脚23的另一端连接的开关模块与终端设备3中的第二DMIC模块33的第二数据接口332相连,其中,两个CC管脚中的第一CC管脚23
可以为USB Type C接口2中的CC1管脚,也可以为USB Type C接口2中的CC2管脚,本申请不对其加以限制。此时,便完成了第二对降噪麦克风13中的第三降噪声道信号线131和第四降噪声道信号线132与终端设备3中的第二DMIC模块33的第二数据接口332的相连,从而可以实现对第三降噪声道信号线131的第三降噪声道信号和第四降噪声道信号线132的第四降噪声道信号的采集。也即,本步骤中实现的为耳机1中的第一对降噪麦克风12的第一降噪声道信号线121和第二降噪声道信号线122通过USB Type C接口2中的第一对左右声道信号管脚22中的第一管脚221与终端设备3中的第一DMIC模块32的第一数据接口322相连。
在一种实现方式中,终端设备3中的第二DMIC模块33的第二数据接口332接收到的信号中,上升沿为第三降噪声道信号线131的第三降噪声道信号,下降沿为第四降噪声道信号线132的第四降噪声道信号;在另一种可实现的方式中,上升沿为第四降噪声道信号线132的第四降噪声道信号,下降沿为第三降噪声道信号线131的第三降噪声道信号,本申请不对其加以限制。
至此,便完成了耳机1中的两对降噪麦克风与终端设备3中的两个DMIC模块的相连。
值得注意的是,上述的连接步骤并没有顺序的限制,上述只是一个举例,在实际的应用中可以先执行任何一个步骤。
由于耳机1还需执行相应的音频和语音功能,当耳机1插入USB Type C接口2后,耳机1中的左声道信号线14与USB Type C接口2中的第二对左右声道信号管脚24中的第三管脚241的一端相连,耳机1中的右声道信号线15与USB Type C接口2中的第二对左右声道信号管脚24中的第四管脚242的一端相连,耳机1中的麦克风16与USB Type C接口2中的麦克风信号管脚25的一端相连。
进而,终端设备3中的音频处理模块控制与第三管脚241的另一端连接的开关模块与终端设备3中的左声道信号线34相连,以使终端设备3中的左声道信号线34经由第三管脚241向耳机1中的左声道信号线14提供左声道信号。
终端设备3中的音频处理模块控制与第四管脚242的另一端连接的开关模块与终端设备3中的右声道信号线35相连,以使终端设备3中的右声道信号线35经由第四管脚242向耳机1中的右声道信号线15提供右声道信号。左声道信号线34和右声道信号线35分别连接于音频处理模块中用于处理所述左右声道信号的模块,如控制模块。
其中,第三管脚241可以为第二对左右声道信号管脚24中的左声道管脚,第四管脚242可以为第二对左右声道信号管脚24中的右声道管脚;或,第三管脚241可以为第二对左右声道信号管脚24中的右声道管脚,第四管脚242可以为第二对左右声道信号管脚24中的左声道管脚,本申请不对其加以限制,只要可以实现相应的音频功能即可。
终端设备3中的音频处理模块控制与麦克风信号管脚25的另一端连接的开关模块与终端设备3中的终端麦克风信号线36相连,以使终端设备3中的终端麦克风信号线36经由麦克风信号管脚25接收耳机1中的麦克风16输入的语音信号,终端麦
克风信号线36具体连接至麦克风处理器,该麦克风处理器可以选择性地包括在音频处理模块中或之外,本实施例对此不限定。本实施例中的麦克风16输入的语音信号可以为模拟信号。
至此,耳机1通过USB Type C接口2与终端设备3的连接完成,在执行终端设备根据各个降噪信号为耳机1进行降噪之前,还需判断耳机1是否支持降噪处理。
在本申请中确定耳机1是否支持降噪处理的一种可实现的方式中,由于耳机1中的第一对降噪麦克风12中的两个降噪麦克风距离不远,所以第一对降噪麦克风12中的第一降噪声道信号线121的第一降噪声道信号和第二降噪声道信号线122的第二降噪声道信号是有一定相关性的,通过利用该相关性的特征可以判断USB Type C接口中插入的耳机1是否支持降噪处理,也即当第一对降噪麦克风12中的第一降噪声道信号线121的第一降噪声道信号和第二降噪声道信号线122的第二降噪声道信号相关时,则确定耳机1支持降噪处理,当第一对降噪麦克风12中的第一降噪声道信号线121的第一降噪声道信号和第二降噪声道信号线122的第二降噪声道信号不相关时,则确定耳机1不支持降噪处理。具体地,再进行上述比较时,音频处理模块可以利用其内部的第一DMIC模块和第二DMIC模块处理第一降噪声道信号和所述第二降噪声道信号得到第一降噪声道信号处理结果和第二降噪声道信号处理结果,来计算两者是否相关,或者音频处理模块可以直接比较第一降噪声道信号和第二降噪声道信号,本实施例不作限定。
具体的,图11所示为根据第一对降噪麦克风中的第一降噪声道信号线的第一降噪声道信号和第二降噪声道信号线的第二降噪声道信号是否相关的流程图,本步骤在执行了上述的S101和S102之后进行的,如图10所示:
S201:确定第一降噪声道信号和第二降噪声道信号的相关性;
S202:判断第一降噪声道信号和第二降噪声道信号的相关性是否大于第一预设阈值;
S203:若第一降噪声道信号和第二降噪声道信号的相关性大于第一预设阈值,则确定第一降噪声道信号和第二降噪声道信号相关;
S204:若第一降噪声道信号和第二降噪声道信号的相关性小于或等于第一预设阈值,则确定第一降噪声道信号和第二降噪声道信号不相关。
其中,可以通过下述方法确定第一降噪声道信号和第二降噪声道信号的相关性:
根据确定第一降噪声道信号和第二降噪声道信号的相关性,其中,x1(m)为第一降噪声道信号,x2(m+n)为第二降噪声道信号,M为互相关计算长度,可以代表一段时间,R(n)是计算该时间内的互相关函数,其中m代表m时刻,x1(m)是m时刻的第一降噪声道信号的采样点。n为相关函数自变量且n为整数,n通常代表时间上的偏移量,R(n)为第一降噪声道信号和第二降噪声道信号的互相关函数。
在本申请中确定耳机是否支持降噪处理的另一种可实现的方式中,与图9类似,
在执行了上述的S101和S103之后,可以通过判断第二对降噪麦克风13中的第三降噪声道信号线131的第三降噪声道信号和第四降噪声道信号线132的第四降噪声道信号的相关性,以确定耳机1是否支持降噪处理,其实现的方法与图11类似,此处不再赘述。但值得注意的是,在确定第三降噪声道信号和第四降噪声道信号的相关性时,可以比较与第二预设阈值的大小关系,此时第二预设阈值可以与上述的第一预设阈值相同,也可以与上述的第一预设阈值不相同,本申请不对其加以限制。
由于确定USB Type C接口2中插入的耳机1不支持降噪处理会有两种情况,一种情况为:USB Type C接口2中插入的耳机1本身支持降噪处理,但是损坏了,还有一种情况为:USB Type C接口2中插入的耳机1本身就不支持降噪处理。
而当根据第一降噪声道信号和第二降噪声道信号,或,第三降噪声道信号和第四降噪声道信号确定出耳机1不支持降噪处理后,可能出现的第一种的情况,也就是耳机损坏了,此时不能鲁莽的认为该USB Type C接口2中插入的耳机1本身不支持降噪处理而直接恢复最基本的USB Type C模拟耳机的配置,因此,以下提出一种更准确的确定耳机1是否支持降噪处理的方法。
在本申请中确定耳机1是否支持降噪处理的再一种可实现的方式中,在执行了上述的S101、S102和S103之后,可以首先比较所述第一降噪声道信号和第二降噪声道信号,当确定所述第一降噪声道信号和第二降噪声道信号相关时,则进一步比较所述第三降噪声道信号和第四降噪声道信号,当确定所述第三降噪声道信号和第四降噪声道信号相关时,才确定所述耳机支持降噪处理。其中,确定第一降噪声道信号和第二降噪声道信号相关性以及第三降噪声道信号和第四降噪声道信号相关性的方法与图11和之前已经提到的计算算法类似,此处不再赘述。
在本申请中确定耳机是否支持降噪处理的又一种可实现的方式中,在执行了上述的S101、S102和S103之后,比较所述第三降噪声道信号和第四降噪声道信号,当确定所述第三降噪声道信号和第四降噪声道信号相关时,则进一步比较所述第一降噪声道信号和第二降噪声道信号,当确定所述第一降噪声道信号和第二降噪声道信号相关时,确定所述耳机支持降噪处理。其中,确定第一降噪声道信号和第二降噪声道信号相关性以及第三降噪声道信号和第四降噪声道信号相关性的方法与图11和之前已经提到的计算算法类似,此处不再赘述。
当确定了耳机1支持降噪处理后,音频处理模块利用第一降噪声道信号、第二降噪声道信号、第三降噪声道信号和第四降噪声道信号为耳机进行降噪。
具体的,音频处理模块通过第一降噪声道信号、第二降噪声道信号、第三降噪声道信号和第四降噪声道信号消除左声道信号和右声道信号中的噪声信号以为耳机进行降噪,本步骤的实现方式与现有技术中相同,例如,音频处理模块可以利用其内部的第一DMIC模块和第二DMIC模块处理第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号为得到处理后的第一降噪声道信号处理结果、第二降噪声道信号处理结果、第三降噪声道信号处理结果和第四降噪声道信号处理结果,每个处理结果都是经对应DMIC模块处理后得到的数字信号。之后,音频处理模块可利用所述数字信号结果对耳机进行降噪,即利用得到的一降噪声道信号处理结果、第二降噪声道信号处理结果、第三降噪声道信号处理结果和第四降噪声
道信号处理结果消除耳机的左声道信号和右声道信号中的噪声信号,此处不再赘述。
具体地,在音频处理模块中,第一DMIC模块和第二DMIC模块用于对接收的降噪声道信号做数字信号处理得到处理结果,其他的降噪控制操作可以由音频处理模块中的一个控制模块来实现。控制模块、第一DMIC模块和第二DMIC模块的任一个可包括执行数字信号处理的多个晶体管、逻辑门或处理器。第一DMIC模块和第二DMIC模块的任一个所执行的数字信号处理用于解析相应的降噪声道信号得到音频处理模块能够使用的数字信号。
本申请中,可以充分扩展USB Type C的管脚,使得Type C ANC耳机上的多路信号线(左声道信号线、右声道信号线、麦克风信号线和两对降噪麦克风信号线)能够直接连接到终端设备3中,从而通过终端设备3进行降噪处理。
通过上述的介绍可知,本申请中通过复用USB Type C接口2中的管脚,在执行本申请的方案时,通过切换USB Type C接口2中的管脚对应的开关模块,从而保证了USB Type C接口2中的管脚的正常功能不被影响,且通过USB Type C接口2中的管脚将终端设备3中的DMIC模块和耳机1中的降噪3麦克风连接起来,从而通过终端设备3中的DMIC模块接收耳机1中的降噪麦克风发送的降噪信号,以实现通过终端设备3对耳机1的降噪处理,而无需额外在耳机1中增加音频处理芯片和电源,有效降低了耳机的成本、耳机的大小和重量,有效提高了用户体验。
图12所示为本申请实施例提供的耳机降噪的工作控制中耳机与USB Type C接口的连接示意图,图13所示为本申请实施例提供的耳机降噪的工作控制中USB Type C接口与终端设备中的连接示意图。
其中,USB Type C接口中的D1+/D1-管脚相当于上述实例中描述的第一对左右声道信号管脚,USB Type C接口中的D2+/D2-管脚相当于上述实例中描述的第二对左右声道信号管脚,HSL相当于上述实例中描述的耳机中的左声道信号线,HSR相当于上述实例中描述的耳机中的右声道信号线,DMIC_CLK相当于上述实例中描述的终端设备中的第一DMIC模块的第一时钟接口或终端设备中的第二DMIC模块的第二时钟接口,DMIC_DATA1相当于上述实例中描述的终端设备中的第一DMIC模块的第一数据接口。
1、当设备插入终端设备的USB Type C接口时,终端设备按照Type C标准协议识别插入USB Type C接口中的是否为Type C模拟耳机;
耳机插入时,首先遵循标准的Type C协议,判断是否具有模拟音频功能,以及HSL/HSR管脚究竟连接到终端设备的USB Type C接口中的D1+/D1-管脚上,还是终端设备的USB Type C接口中的D2+/D2-管脚上,这个是通过标准Type C协议以及codec的MBHC功能实现的,此处不赘述。
2、如果1中确定插入USB Type C接口中的是Type C模拟耳机,终端设备中的第一电源信号线经由终端设备的USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相连,从USB Type C接口的电源管脚取电,供应耳机工作(图中未示出);
3、假设耳机中的HSL/HSR管脚连接到终端设备的USB Type C接口中的D1+/D1-管脚上,此时明确HSL/HSR和D1+/D1-的连接关系后,然后通过切换开关将耳机中
的HSL、HSR、第一对降噪麦克风和第二对降噪麦克风通过D1+/D1-和D2+/D2-的四个管脚分别连接到终端设备的codec中的HSL、HSR/DMIC_CLK和DMIC_DATA1四个管脚,图中耳机中的HSL通过D1+连接终端设备的codec中的HSL、耳机中的HSR通过D1-连接终端设备的codec中的HSR、第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线通过D2+连接终端设备的codec中的DMIC_DATA1,耳机中的时钟信号线通过D2-连接终端设备的codec中的DMIC_CLK。
4、切换开关对于CC2管脚,在已有连接上,如图所示,耳机中的第二对降噪麦克风中的第三降噪信号线和第四降噪信号线通过CC2管脚连接到终端设备codec芯片的DMIC_DATA2的管脚。
至此,终端设备中的切换开关将DMIC_CLK、DMIC_DATA1、和DMIC_DATA2都连接起来,同时把HSL、HSR、AGND和MIC通路也连接起来。至此,耳机的多麦克通路(5路麦克风、左声道、右声道、反馈信号地)都建立起来了;
5、终端设备中的Codec的DMIC通路上的时钟同步开关打开,左右耳朵的四个降噪麦克风收集到的降噪信号同步完成。
6、通过接收到的两对降噪麦克风的信号进行耳机的降噪。
可选的,如果用户对耳机的要求较高,那么只有当第3步中认为相关性符合要求时,才执行步骤4,否则不执行任何步骤。
如果用户对耳机的要求不高,那么无论第3步中得到的相关性是否符合要求,均执行第4步。
在执行第4步后,同样可以对第4步中得到的两个麦克风信号执行相关性的判断操作。
可选的,在执行到3步后,如果得到的相关性符合要求,且第4步得到的相关性也符合要求,则认为耳机正常,并继续执行5。
如果第3步得到的相关性符合要求,且第4步得到的相关性不符合要求,则认为耳机的一边损坏,此时根据用户需求可以继续执行第5步,也可以不执行第5步;
如果第3步得到的相关性不符合要求,而第4步得到的相关性符合要求,则认为耳机的一边损坏,此时根据用户需求可以继续执行第5步,也可以不执行第5步;
如果第3步得到的相关性不符合要求,且第4步得到的相关性也不符合要求,则认为耳机损坏或耳机不支持降噪处理,此时恢复普通的Type C模拟耳机的配置。
值得注意的是,上述第3步和第4步的过程是可以相互调换的,也即可以先执行第3步,在执行第4步,而且第3步和第4步中的相关性的判断的顺序也是可以调换的:以下为举例说明:
(1)在第3步连接好后,执行第3步的相关性判断操作,然后,执行第4步,进而直接执行第5步;
(2)在第3步连接好后,执行第3步的相关性判断操作,然后,执行第4步,在第4步连接好后,执行第4步的相关性判断操作,进而确定是否执行第5步;
(3)在第3步和第4步均连接好后,执行第3步的相关性判断操作,进而直接执行第5步;
(3)在第3步和第4步均连接好后,执行第3步的相关性判断操作,然后执行
第4步的相关性判断操作,进而确定是否执行执行第5步。
其中,在第3步执行后,且相关性判断后,如果要判断第4步的相关性,那么,此时如果要将之前复用的终端设备中的USB Type C接口中的管脚断开连接,那么此时第3步中的终端设备中的DMIC_CLK对应的连接是不能断开的,因为第4步中还是需要用到时钟进行降噪信号的收集。
图14所示为本申请实施例提供的终端设备中的音频处理器的结构示意图,本实施例提供的音频处理器用于执行耳机降噪,且耳机包括两对降噪麦克风,如图14所示,所述音频处理器包括:控制模块301、第一数字麦克风DMIC模块302和第二DMIC模块303;
控制模块301,用于控制终端设备中的第一电源信号线经由终端设备的通用串行总线USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相连,并通过第一电源信号线经由电源管脚向第二电源信号线传输电能以便为耳机供电,控制第一DMIC模块302的第一数据接口经由终端设备的USB Type C接口的第一对左右声道信号管脚中的第一管脚与耳机中的第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线相连,控制第二DMIC模块303的第二数据接口经由终端设备的USB Type C接口的两个配置通道CC管脚中的第一CC管脚与耳机中的第二对降噪麦克风的第三降噪声道信号线和第四降噪声道信号线相连,控制第一DMIC模块302的第一时钟接口和第二DMIC模块303的第二时钟接口中的至少一个经由第一对左右声道信号管脚中的第二管脚与耳机中的时钟信号线连接,并通过第一时钟接口和第二时钟接口中的至少一个向耳机的第一对降噪麦克风和耳机的第二对降噪麦克风提供工作时钟,其中,第一时钟接口对应的工作时钟和第二时钟接口对应的工作时钟同步;
第一DMIC模块302用于接收第一降噪声道信号线的第一降噪声道信号和第二降噪声道信号线的第二降噪声道信号,并对第一降噪声道信号和第二降噪声道信号做处理得到第一降噪声道信号处理结果和第二降噪声道信号处理结果;
第二DMIC模块303用于接收第三降噪声道信号线的第三降噪声道信号和第四声道信号线的第四降噪声道信号,并对第三降噪声道信号和第四降噪声道信号做处理得到第三降噪声道信号处理结果和第四降噪声道信号处理结果;
控制模块301,还用于比较第一降噪声道信号和第二降噪声道信号以确定耳机支持降噪处理,并且利用第一降噪声道信号处理结果、第二降噪声道信号处理结果、第三降噪声道信号处理结果和第四降噪声道信号处理结果为耳机进行降噪。
进一步的,在比较第一降噪声道信号和第二降噪声道信号以确定耳机支持降噪处理的方面,控制模块301具体用于:
比较第一降噪声道信号和第二降噪声道信号,当确定第一降噪声道信号和第二降噪声道信号相关时,则确定耳机支持降噪处理。
进一步的,在比较第一降噪声道信号和第二降噪声道信号以确定耳机支持降噪处理的方面,控制模块301具体用于:
比较第一降噪声道信号和第二降噪声道信号,当确定第一降噪声道信号和第二降噪声道信号相关时,则进一步比较第三降噪声道信号和第四降噪声道信号,当确定第三降噪声道信号和第四降噪声道信号相关时,确定耳机支持降噪处理。
进一步的,在比较第一降噪声道信号和第二降噪声道信号以确定耳机支持降噪处理的方面,控制模块301具体用于:
比较第三降噪声道信号和第四降噪声道信号,当确定第三降噪声道信号和第四降噪声道信号相关时,则进一步比较第一降噪声道信号和第二降噪声道信号,当确定第一降噪声道信号和第二降噪声道信号相关时,确定耳机支持降噪处理。
进一步的,在比较第一降噪声道信号和第二降噪声道信号的方面,控制模块301具体用于:
确定第一降噪声道信号和第二降噪声道信号的相关性;
判断第一降噪声道信号和第二降噪声道信号的相关性是否大于第一预设阈值;
若第一降噪声道信号和第二降噪声道信号的相关性大于第一预设阈值,则确定第一降噪声道信号和第二降噪声道信号相关。
进一步的,在比较第三降噪声道信号和第四降噪声道信号的方面,控制模块301具体用于:
确定第三降噪声道信号和第四降噪声道信号的相关性;
判断第三降噪声道信号和第四降噪声道信号的相关性是否大于第二预设阈值;
若第三降噪声道信号和第四降噪声道信号的相关性大于第二预设阈值,则确定第三降噪声道信号和第四降噪声道信号相关。
可选的,上述的制模块301,还用于:
控制终端设备中的一对声道信号线经由终端设备的USB Type C接口的第二对左右声道信号管脚分别与耳机中的左声道信号线和右声道信号线相连,一对声道信号线用于分别用于向左声道信号线提供左声道信号和向右声道信号线提供右声道信号,音频处理模块生成左声道信号和右声道信号;控制终端设备中的终端麦克风信号线经由终端设备的USB Type C接口的麦克风信号管脚与耳机中的麦克风相连,以通过麦克风信号管脚从麦克风接收语音信号。
可选的,语音信号是模拟语音信号。
可选的,在利用第一降噪声道信号处理结果、第二降噪声道信号处理结果、第三降噪声道信号处理结果和第四降噪声道信号处理结果为耳机进行降噪的方面,控制模块301具体用于:
通过第一降噪声道信号处理结果、第二降噪声道信号处理结果、第三降噪声道信号处理结果和第四降噪声道信号处理结果消除左声道信号和右声道信号中的噪声信号以为耳机进行降噪。
在本申请一种可实现的方式中,上述的控制模块301为音频控制器;上述的第一和第二DMIC模块为DMIC处理器。选地,所述音频控制器、所述第一DMIC模块和第二DMIC模块种的至少一个包括多个晶体管、逻辑门或处理器,三者可集成在一起,形成codec芯片。
本实施例的终端设备3,可以包括之前提到的音频处理器,还可选择性地包括所述USB Type C接口2,用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。本申请实施例还提供了一种电子系统,包括之前提到的终端设备3以及所述耳机1。
Claims (19)
- 一种耳机降噪的工作控制方法,其特征在于,所述耳机包括两对降噪麦克风,所述方法包括:终端设备中的音频处理模块控制终端设备中的第一电源信号线经由所述终端设备的通用串行总线USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相连,并通过所述第一电源信号线经由所述电源管脚向所述第二电源信号线传输电能以便为所述耳机供电;所述音频处理模块控制所述终端设备中的第一数字麦克风DMIC模块的第一数据接口经由所述终端设备的USB Type C接口的第一对左右声道信号管脚中的第一管脚与所述耳机中的第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线相连,所述音频处理模块控制所述终端设备中的第二DMIC模块的第二数据接口经由所述终端设备的USB Type C接口的两个配置通道CC管脚中的第一CC管脚与所述耳机中的第二对降噪麦克风的第三降噪声道信号线和第四降噪声道信号线相连,所述音频处理模块控制所述终端设备中的第一DMIC模块的第一时钟接口和所述终端设备中的第二DMIC模块的第二时钟接口中的至少一个经由所述第一对左右声道信号管脚中的第二管脚与所述耳机中的时钟信号线连接,并通过所述第一时钟接口和第二时钟接口中的至少一个向所述耳机的第一对降噪麦克风和所述耳机的第二对降噪麦克风提供工作时钟,其中,所述第一时钟接口对应的工作时钟和所述第二时钟接口对应的工作时钟同步;通过所述第一DMIC模块接收所述第一降噪声道信号线的第一降噪声道信号和所述第二降噪声道信号线的第二降噪声道信号,通过所述第二DMIC模块接收所述第三降噪声道信号线的第三降噪声道信号和所述第四声道信号线的第四降噪声道信号;所述音频处理模块比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理;所述音频处理模块利用所述第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号为所述耳机进行降噪。
- 根据权利要求1所述的方法,其特征在于,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则确定所述耳机支持降噪处理。
- 根据权利要求1所述的方法,其特征在于,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则进一步比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,确定所述耳机支持降噪处理。
- 根据权利要求1所述的方法,其特征在于,所述比较所述第一降噪声道信号和第二降噪声道信号以确定所述耳机支持降噪处理包括:比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,则进一步比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,确定所述耳机支持降噪处理。
- 根据权利要求2-4中任一项所述的方法,其特征在于,所述比较所述第一降噪声道信号和所述第二降噪声道信号包括:确定所述第一降噪声道信号和所述第二降噪声道信号的相关性;判断所述第一降噪声道信号和所述第二降噪声道信号的相关性是否大于第一预设阈值;若所述第一降噪声道信号和所述第二降噪声道信号的相关性大于第一预设阈值,则确定所述第一降噪声道信号和所述第二降噪声道信号相关。
- 根据权利要求3或4所述的方法,其特征在于,所述比较所述第三降噪声道信号和所述第四降噪声道信号包括:确定所述第三降噪声道信号和所述第四降噪声道信号的相关性;判断所述第三降噪声道信号和所述第四降噪声道信号的相关性是否大于第二预设阈值;若所述第三降噪声道信号和所述第四降噪声道信号的相关性大于第二预设阈值,则确定所述第三降噪声道信号和所述第四降噪声道信号相关。
- 根据权利要求1-6任一项所述的方法,其特征在于,还包括:所述音频处理模块控制所述终端设备中的一对声道信号线经由所述终端设备的USB Type C接口的第二对左右声道信号管脚分别与所述耳机中的左声道信号线和右声道信号线相连,所述一对声道信号线用于分别用于向所述左声道信号线提供左声道信号和向所述右声道信号线提供右声道信号,所述音频处理模块用于生成所述左声道信号和所述右声道信号;所述音频处理模块控制所述终端设备中的终端麦克风信号线经由所述终端设备的USB Type C接口的麦克风信号管脚与所述耳机中的麦克风相连,以通过麦克风信号管脚从所述麦克风接收语音信号。
- 根据权利要求7所述的方法,其特征在于,所述语音信号是模拟语音信号。
- 根据权利要求7或8所述的方法,其特征在于,所述音频处理模块利用所述第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号为所述耳机进行降噪包括:所述音频处理模块通过所述第一降噪声道信号、所述第二降噪声道信号、所述第三降噪声道信号和所述第四降噪声道信号消除所述左声道信号和右声道信号中的噪声信号以为所述耳机进行降噪。
- 一种终端设备中的音频处理器,用于执行耳机降噪,所述耳机包括两对降噪麦克风,其特征在于,所述音频处理器包括:控制模块、第一数字麦克风DMIC模块和第二DMIC模块;所述控制模块,用于控制终端设备中的第一电源信号线经由所述终端设备的通用串行总线USB Type C接口的电源管脚与插入该接口中的耳机的第二电源信号线相 连,并通过所述第一电源信号线经由所述电源管脚向所述第二电源信号线传输电能以便为所述耳机供电,控制所述第一DMIC模块的第一数据接口经由所述终端设备的USB Type C接口的第一对左右声道信号管脚中的第一管脚与所述耳机中的第一对降噪麦克风的第一降噪声道信号线和第二降噪声道信号线相连,控制所述第二DMIC模块的第二数据接口经由所述终端设备的USB Type C接口的两个配置通道CC管脚中的第一CC管脚与所述耳机中的第二对降噪麦克风的第三降噪声道信号线和第四降噪声道信号线相连,控制所述第一DMIC模块的第一时钟接口和所述第二DMIC模块的第二时钟接口中的至少一个经由所述第一对左右声道信号管脚中的第二管脚与所述耳机中的时钟信号线连接,并通过所述第一时钟接口和第二时钟接口中的至少一个向所述耳机的第一对降噪麦克风和所述耳机的第二对降噪麦克风提供工作时钟,其中,所述第一时钟接口对应的工作时钟和所述第二时钟接口对应的工作时钟同步;所述第一DMIC模块用于接收所述第一降噪声道信号线的第一降噪声道信号和所述第二降噪声道信号线的第二降噪声道信号,并对所述第一降噪声道信号和所述第二降噪声道信号做处理得到第一降噪声道信号处理结果和第二降噪声道信号处理结果;所述第二DMIC模块用于接收所述第三降噪声道信号线的第三降噪声道信号和所述第四声道信号线的第四降噪声道信号,并对所述第三降噪声道信号和所述第四降噪声道信号做处理得到第三降噪声道信号处理结果和第四降噪声道信号处理结果;所述控制模块,还用于比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理,并且利用所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果为所述耳机进行降噪。
- 根据权利要求10所述的音频处理器,其特征在于,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则确定所述耳机支持降噪处理。
- 根据权利要求10所述的音频处理器,其特征在于,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,则进一步比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,确定所述耳机支持降噪处理。
- 根据权利要求10所述的音频处理器,其特征在于,在比较所述第一降噪声道信号和所述第二降噪声道信号以确定所述耳机支持降噪处理的方面,所述控制模块具体用于:比较所述第三降噪声道信号和所述第四降噪声道信号,当确定所述第三降噪声道信号和所述第四降噪声道信号相关时,则进一步比较所述第一降噪声道信号和所述第二降噪声道信号,当确定所述第一降噪声道信号和所述第二降噪声道信号相关时,确 定所述耳机支持降噪处理。
- 根据权利要求11-13任一项所述的音频处理器,其特征在于,在比较所述第一降噪声道信号和所述第二降噪声道信号的方面,所述控制模块具体用于:确定所述第一降噪声道信号和所述第二降噪声道信号的相关性;判断所述第一降噪声道信号和所述第二降噪声道信号的相关性是否大于第一预设阈值;若所述第一降噪声道信号和所述第二降噪声道信号的相关性大于第一预设阈值,则确定所述第一降噪声道信号和所述第二降噪声道信号相关。
- 根据权利要求12或13所述的音频处理器,其特征在于,在比较所述第三降噪声道信号和所述第四降噪声道信号的方面,所述控制模块具体用于:确定所述第三降噪声道信号和所述第四降噪声道信号的相关性;判断所述第三降噪声道信号和所述第四降噪声道信号的相关性是否大于第二预设阈值;若所述第三降噪声道信号和所述第四降噪声道信号的相关性大于第二预设阈值,则确定所述第三降噪声道信号和所述第四降噪声道信号相关。
- 根据权利要求10-15任一项所述的音频处理器,其特征在于,所述控制模块,还用于:控制所述终端设备中的一对声道信号线经由所述终端设备的USB Type C接口的第二对左右声道信号管脚分别与所述耳机中的左声道信号线和右声道信号线相连,所述一对声道信号线用于分别用于向所述左声道信号线提供左声道信号和向所述右声道信号线提供右声道信号,所述音频处理模块用于生成所述左声道信号和所述右声道信号;以及控制所述终端设备中的终端麦克风信号线经由所述终端设备的USB Type C接口的麦克风信号管脚与所述耳机中的麦克风相连,以通过麦克风信号管脚从所述麦克风接收语音信号。
- 根据权利要求16所述的音频处理器,其特征在于,所述语音信号是模拟语音信号。
- 根据权利要求16或17所述的音频处理器,其特征在于,在利用所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果为所述耳机进行降噪的方面,所述控制模块具体用于:通过所述第一降噪声道信号处理结果、所述第二降噪声道信号处理结果、所述第三降噪声道信号处理结果和所述第四降噪声道信号处理结果消除所述左声道信号和右声道信号中的噪声信号以为所述耳机进行降噪。
- 根据权利要求10-18任一项所述的音频处理器,其特征在于,所述控制模块为音频控制器;所述第一DMIC模块和第二DMIC模块为DMIC处理器。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP17840775.5A EP3474570B1 (en) | 2016-08-19 | 2017-04-28 | Noise-cancelling operation control method for headphone and audio processor in terminal device |
| US16/277,060 US10515651B2 (en) | 2016-08-19 | 2019-02-15 | Noise reduction operation control method for headset and audio processor in terminal device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610694059.4A CN106255003B (zh) | 2016-08-19 | 2016-08-19 | 耳机降噪的工作控制方法和终端设备中的音频处理器 |
| CN201610694059.4 | 2016-08-19 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/277,060 Continuation US10515651B2 (en) | 2016-08-19 | 2019-02-15 | Noise reduction operation control method for headset and audio processor in terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018032799A1 true WO2018032799A1 (zh) | 2018-02-22 |
Family
ID=57591723
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/082335 Ceased WO2018032799A1 (zh) | 2016-08-19 | 2017-04-28 | 耳机降噪的工作控制方法和终端设备中的音频处理器 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US10515651B2 (zh) |
| EP (1) | EP3474570B1 (zh) |
| CN (1) | CN106255003B (zh) |
| WO (1) | WO2018032799A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111128113A (zh) * | 2019-12-31 | 2020-05-08 | 上海工程技术大学 | 一种民航客机座舱主动降噪方法及系统 |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106255003B (zh) * | 2016-08-19 | 2019-02-26 | 华为技术有限公司 | 耳机降噪的工作控制方法和终端设备中的音频处理器 |
| CN107426643B (zh) * | 2017-07-31 | 2019-08-23 | 歌尔股份有限公司 | 上行降噪耳机 |
| CN109426638B (zh) * | 2017-08-24 | 2021-04-20 | 比亚迪股份有限公司 | Usb连接装置和包括其的终端设备 |
| CN107544653A (zh) * | 2017-09-05 | 2018-01-05 | 深圳天珑无线科技有限公司 | 一种USB Type‑C接口及移动设备 |
| CN108228038B (zh) * | 2017-12-22 | 2020-09-18 | 北京小米松果电子有限公司 | 消噪装置、消噪方法、计算机可读存储介质以及电子设备 |
| CN109194827B (zh) * | 2018-08-28 | 2021-02-23 | 维沃移动通信有限公司 | 一种终端设备、音频信号输出方法及系统 |
| CN111142831B (zh) * | 2019-12-02 | 2021-10-22 | 联想(北京)有限公司 | 一种信息处理方法、电子设备和存储介质 |
| CN110809211B (zh) * | 2020-01-08 | 2020-05-19 | 恒玄科技(北京)有限公司 | 对耳机主动降噪的方法、主动降噪系统以及耳机 |
| US10834494B1 (en) | 2019-12-13 | 2020-11-10 | Bestechnic (Shanghai) Co., Ltd. | Active noise control headphones |
| CN112040357B (zh) * | 2020-05-09 | 2022-09-13 | 珠海市杰理科技股份有限公司 | 真无线耳机及其主动降噪训练电路、芯片、系统 |
| CN112261534A (zh) * | 2020-10-16 | 2021-01-22 | 维沃移动通信有限公司 | 控制电路、方法及电子设备 |
| CN116453537B (zh) * | 2023-06-15 | 2023-09-05 | 广州磐钴智能科技有限公司 | 一种提高音频信息传输效果方法及系统 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150270733A1 (en) * | 2014-03-24 | 2015-09-24 | Nokia Corporation | Device to device charging via usb type-c interfaces |
| CN105120404A (zh) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | 一种音频设备、终端设备及电子设备 |
| CN105554606A (zh) * | 2015-12-15 | 2016-05-04 | 广州三星通信技术研究有限公司 | 数字耳机及电子设备 |
| CN205232422U (zh) * | 2014-12-29 | 2016-05-11 | 北京小鸟听听科技有限公司 | 一种耳机 |
| CN106255003A (zh) * | 2016-08-19 | 2016-12-21 | 华为技术有限公司 | 耳机降噪的工作控制方法和终端设备中的音频处理器 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100788678B1 (ko) * | 2006-01-14 | 2007-12-26 | 삼성전자주식회사 | 이어폰 기기의 소음 저감 장치 및 방법 |
| US20070253569A1 (en) | 2006-04-26 | 2007-11-01 | Bose Amar G | Communicating with active noise reducing headset |
| GB0609248D0 (en) * | 2006-05-10 | 2006-06-21 | Leuven K U Res & Dev | Binaural noise reduction preserving interaural transfer functions |
| US8340318B2 (en) * | 2006-12-28 | 2012-12-25 | Caterpillar Inc. | Methods and systems for measuring performance of a noise cancellation system |
| WO2014128520A1 (en) * | 2013-02-22 | 2014-08-28 | Renesas Mobile Corporation | Headphone or headset and audio producing device to which the headphone or headset is intended to be connected |
| CN105307081A (zh) * | 2014-07-31 | 2016-02-03 | 展讯通信(上海)有限公司 | 一种主动降噪的语音信号处理系统及方法 |
| CN105049976B (zh) * | 2015-07-30 | 2019-10-18 | 华为技术有限公司 | 一种声音降噪的方法、耳机和终端 |
-
2016
- 2016-08-19 CN CN201610694059.4A patent/CN106255003B/zh active Active
-
2017
- 2017-04-28 WO PCT/CN2017/082335 patent/WO2018032799A1/zh not_active Ceased
- 2017-04-28 EP EP17840775.5A patent/EP3474570B1/en active Active
-
2019
- 2019-02-15 US US16/277,060 patent/US10515651B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150270733A1 (en) * | 2014-03-24 | 2015-09-24 | Nokia Corporation | Device to device charging via usb type-c interfaces |
| CN205232422U (zh) * | 2014-12-29 | 2016-05-11 | 北京小鸟听听科技有限公司 | 一种耳机 |
| CN105120404A (zh) * | 2015-07-31 | 2015-12-02 | 华为技术有限公司 | 一种音频设备、终端设备及电子设备 |
| CN105554606A (zh) * | 2015-12-15 | 2016-05-04 | 广州三星通信技术研究有限公司 | 数字耳机及电子设备 |
| CN106255003A (zh) * | 2016-08-19 | 2016-12-21 | 华为技术有限公司 | 耳机降噪的工作控制方法和终端设备中的音频处理器 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3474570A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111128113A (zh) * | 2019-12-31 | 2020-05-08 | 上海工程技术大学 | 一种民航客机座舱主动降噪方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20190180767A1 (en) | 2019-06-13 |
| US10515651B2 (en) | 2019-12-24 |
| EP3474570A1 (en) | 2019-04-24 |
| EP3474570A4 (en) | 2019-04-24 |
| EP3474570B1 (en) | 2021-09-15 |
| CN106255003A (zh) | 2016-12-21 |
| CN106255003B (zh) | 2019-02-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018032799A1 (zh) | 耳机降噪的工作控制方法和终端设备中的音频处理器 | |
| EP3258705B1 (en) | Nfmi based robustness | |
| EP2696597B1 (en) | Method and system for noise reduction, smart control method and device, and communication device | |
| WO2015139642A1 (zh) | 一种实现蓝牙耳机降噪的方法、装置和系统 | |
| CN102395084B (zh) | 耳麦电路 | |
| WO2016127528A1 (zh) | 低功耗入耳式有源降噪音乐耳机及降噪方法 | |
| WO2017026568A1 (ko) | 음질 개선을 위한 방법 및 헤드셋 | |
| CN105230042A (zh) | 双传声器耳机及通话中音频信号的降噪处理方法 | |
| WO2019191950A1 (zh) | 耳机降噪方法及装置、主耳机、从耳机及耳机降噪系统 | |
| CN104704856A (zh) | 双耳听力系统和方法 | |
| CN102238452A (zh) | 一种在免提耳机中主动抗噪声的方法及免提耳机 | |
| WO2014180287A1 (zh) | 一种移动终端的耳机线控电路及线控方法 | |
| CN111491228A (zh) | 降噪耳机及其控制方法 | |
| CN104333630A (zh) | 嵌有无线耳机的手机 | |
| CN104185125A (zh) | 扬声器系统及其驱动方法 | |
| WO2021004067A1 (zh) | 一种显示装置 | |
| CN203151729U (zh) | 一种多功能耳机 | |
| CN202818556U (zh) | 降噪耳机 | |
| CN107529353B (zh) | 一种基于移动终端的助听装置 | |
| GB2487088A (en) | Peripheral devices for use with cellular telephones | |
| CN206302438U (zh) | 手机与播放器转接装置 | |
| CN110401900B (zh) | 耳机连接器 | |
| CN105721984A (zh) | 基于主备保护的音频输入快速切换器、系统及工作方法 | |
| CN204013869U (zh) | 一种提升网络视频会议一体式终端音效的装置 | |
| CN202472488U (zh) | 内置卡拉ok功能的电脑 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17840775 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2017840775 Country of ref document: EP Effective date: 20190118 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |