Summary of the invention
Exemplary embodiment of the present invention is to provide a kind of digital earphone and electronic equipment.The digital earphone can gramTaking existing earphone not can be implemented simultaneously the defect of preferable noise reduction, Double-ear type sound-recording and ears hearing aid effect, and the electronics is setIt is standby to be compatible with the digital earphone and existing earphone.
One side according to an exemplary embodiment of the present invention provides a kind of digital earphone, comprising: earphone terminal adapter, extremelyFew two microphones, at least two loudspeakers, wherein each microphone at least two microphone acquires ambient sound,And ambient sound is converted into digital microphone signal, wherein the earphone terminal adapter includes: power clock terminal, from instituteThe external electronic device for stating digital earphone connection receives digital power clock signal, to provide clock letter for the digital earphoneNumber and power supply signal;Input terminal receives digital microphone signal from least two microphone, and by received digital wheatGram wind number is input to the external electronic device connecting with the digital earphone;Output terminal is connect from the digital earphoneExternal electronic device receive digital audio and video signals, the digital audio and video signals for generate be suitable at least two loudspeakingThe analog audio signal of device output.
Optionally, the digital earphone further include: power clock separation module, to the received number of power clock terminalPower clock signal carries out shaping and DC processing, and will treated digital power clock signal is separated into clock signal andPower supply signal.
Optionally, the digital earphone further include: Voltage stabilizing module, to the power supply signal of power clock separation module separationSteady pressure treatment is carried out, and using the power supply signal after pressure stabilizing as the driving power of the digital earphone.
Optionally, at least two moment within each period of clock signal, output terminal are set from external electrical respectivelyThe standby digital audio and video signals for receiving the respective speaker corresponded at least two loudspeaker, and the digital audio is believedNumber for generates be suitable for respective speaker export analog audio signal.
Optionally, the digital earphone further include: pulse density modulated amplifier receives every number in output terminalWhen word audio signal, the received digital audio and video signals of output terminal are converted into analog audio signal, to analog audio signal intoRow amplification, and the analog audio signal of amplification is output to described at least two according at the time of receiving the digital audio and video signalsRespective speaker in a loudspeaker.
Optionally, at least two loudspeaker is left speaker and right loudspeaker, wherein in each week of clock signalAt the time of corresponding with one of rising edge and failing edge in phase, output terminal is received from external electronic device corresponds to left speakerLeft channel digital audio signal, it is corresponding with another in rising edge and failing edge within each period of clock signalAt the time of, output terminal receives the right channel digital audio signal for corresponding to right loudspeaker from external electronic device.
Optionally, the digital earphone further include: multiplexer, wherein at least two microphone is at least two pairsMicrophone, wherein multiplexer to from least two pairs of microphones each microphone generate digital microphone signal intoRow multiplexing, and multiplexed digital microphone signal is transmitted to input terminal.
Another aspect according to an exemplary embodiment of the present invention, provides a kind of electronic equipment, comprising: the connection of electronic equipment endDevice sends signal to the earphone of connection, or receive signal from the earphone of connection for connecting earphone;Detection module works as electronicsWhen equipment terminal adapter is connected with earphone, whether the earphone for detecting connection is digital earphone;Audio codec, when detection mouldWhen block detects that the earphone of connection is digital earphone, by electronic equipment terminal adapter by digital power clock signal sum number word toneFrequency signal is output to the digital earphone, and is decoded to from the received digital microphone signal of the digital earphone.
Optionally, the electronic equipment terminal adapter includes: power clock terminal, and the digital power clock signal is sent outIt is sent to the power clock terminal of the digital earphone of connection;Input terminal receives number from the input terminal of the digital earphone of connectionMicrophone signal;Output terminal sends digital audio and video signals to the output terminal of the digital earphone of connection.
Optionally, audio codec is corresponding with one of rising edge and failing edge within each period of clock signalAt the moment, output corresponds to the left channel digital audio signal of the left speaker of the digital earphone of connection, in each of clock signalAt the time of corresponding with another in rising edge and failing edge in period, the right side that output corresponds to the digital earphone of connection is raisedThe right channel digital audio signal of sound device.
Optionally, the electronic equipment further include: display, when detection module detects that the earphone of connection is digital earWhen machine, to the option of the operating mode of user's show check number word earphone;Input unit receives choosing of the user to operating modeIt selects, wherein the operating mode that audio codec is selected according to user is to the digital audio and video signals that will be sent to digital earphoneIt is handled with from the received digital microphone signal of digital earphone.
Optionally, the operating mode of the digital earphone includes: denoising mode, hearing aid mode and Double-ear type sound-recording mode.
Optionally, the detection module by detection connection earphone load resistance come determine connection earphone whether beDigital earphone.
Optionally, the electronic equipment, further includes: selection switch, wherein when detection module detects the earphone of connectionWhen for digital earphone, power clock terminal, the input terminal and the output terminal are connected to the use of audio codec by selection switchIn the respective terminal of input/output digital signal, when detection module detects the earphone of connection to simulate earphone, selection switchInput/output analog signal is used for by what power clock terminal, the input terminal and the output terminal were connected to audio codecRespective terminal.
It, can be by digital earphone at least in digital earphone according to an exemplary embodiment of the present invention and electronic equipmentTwo microphones realize preferably noise reduction, Double-ear type sound-recording and ears hearing aid effect, and the digital signal of transmission makes the digital earMachine can effectively avoid the problems caused by common mode interference and without internal battery, significantly reduce cost, also, the electricitySub- equipment can be compatible with the digital earphone and existing earphone.
Specific embodiment
Hereinafter, the exemplary embodiment that the present invention is more fully described with reference to the accompanying drawings, exemplary embodiment is in the accompanying drawingsIt shows.However, it is possible to be embodied in many different forms exemplary embodiment, and should not be construed as being limited to illustrate hereinExemplary embodiment.On the contrary, these embodiments are provided so that the disclosure will be thorough and complete, and will fully will be exemplaryThe range of embodiment is communicated to those skilled in the art.
Fig. 3 shows the block diagram of digital earphone according to an exemplary embodiment of the present invention.
As shown in figure 3, digital earphone according to an exemplary embodiment of the present invention includes: earphone terminal adapter 100, at least twoA microphone 200 and at least two loudspeakers 300.
Each microphone at least two microphone 200 acquires ambient sound, and ambient sound is converted to digital wheatGram wind number.
Earphone terminal adapter 100 includes: power clock terminal, the input terminal and the output terminal.
In particular, power clock terminal is used to receive number electricity from the external electronic device connecting with the digital earphoneSource clock signal, to provide clock signal and power supply signal for the digital earphone.
Input terminal is used to receive digital microphone signal from least two microphone 200, and by received numberMicrophone signal is input to the external electronic device connecting with the digital earphone.
Output terminal is used to receive digital audio and video signals, the number from the external electronic device connecting with the digital earphoneWord audio signal is used to generate the analog audio signal for being suitable at least two loudspeaker 300 output.
As an example, at least two moment within each period of clock signal, output terminal is respectively from external electricalEquipment receives the digital audio and video signals of the respective speaker corresponded at least two loudspeaker 300, and the numberAudio signal is used to generate the analog audio signal for being suitable for respective speaker output.
Here, since at least two loudspeaker 300 needs to export analog signal, and output terminal is set from external electricalIt is standby it is received be digital signal, therefore, can be from described at least two in order to be converted to the received digital signal of output terminalThe analog signal that loudspeaker 300 exports, the digital earphone may also include that pulse density modulated amplifier.In particular, pulseDensity modulation amplifier can be used for when output terminal receives each digital audio and video signals, by the received digital sound of output terminalFrequency signal is converted to analog audio signal, amplifies to analog audio signal, and according to receiving the digital audio and video signalsAt the time of the analog audio signal of amplification is output to respective speaker at least two loudspeaker 300.
In one embodiment, at least two loudspeaker 300 can be left speaker and right loudspeaker, believe in clockNumber each period in it is corresponding with one of rising edge and failing edge at the time of, output terminal can from external electronic device receive pairShould in the left channel digital audio signal of left speaker, within each period of clock signal in rising edge and failing edgeAt the time of another is corresponded to, output terminal can receive the right channel digital audio for corresponding to right loudspeaker from external electronic deviceSignal.For example, output terminal can be from external electronic device at the time of corresponding with rising edge within each period of clock signalReceive the digital audio and video signals for corresponding to left speaker, at the time of corresponding with failing edge within each period of clock signal,Output terminal can receive the digital audio and video signals for corresponding to right loudspeaker from external electronic device.
In addition, in actual use, earphone terminal adapter may also include the ground terminal for ground connection.Therefore, the earphoneTerminal adapter can be with 4 segmentation plug (as shown in Figure 2) Lai Shixian, or are realized with USB interface.
As an example, when earphone terminal adapter with 4 segmentation plug shown in Fig. 2 to realize when, the 4 segmentation plugs of Fig. 2 fromFour terminals under may respectively be: power clock terminal, output terminal, terminal and input terminal, or may respectively be:Power clock terminal, output terminal, input terminal and ground terminal.
As another example, when earphone terminal adapter with USB interface to realize when, can be real by the VBUS terminal of USB interfaceNow it is the power clock terminal of earphone terminal adapter of the invention, the D- terminal of USB interface is embodied as to earphone end of the inventionThe D+ terminal of USB interface is embodied as the input terminal of earphone terminal adapter of the invention by the output terminal of connector, and willThe GND terminal of USB interface is embodied as the ground terminal of earphone terminal adapter of the invention.Further, since USB interface further includes the end IDTherefore ID terminal can also be provided for marking the terminal of the resistance of digital earphone of the invention, or can not use ID by sonTerminal.
Here, for the received digital power clock letter of the power clock terminal for better using earphone terminal adapter 100Number, the digital earphone may also include power clock separation module.In particular, power clock separation module can be used for power supplyThe received digital power clock signal of clock terminal carries out shaping and DC processing, and digital power clock is believed by treatedNumber it is separated into clock signal and power supply signal.Here, the clock signal isolated can be used for being described in digital earphone at least twoA microphone 200 and at least two loudspeakers 300 etc. provide clock, and the power supply signal isolated can be used for providing for digital earphonePower supply.
In addition, in order to avoid the power supply signal isolated due to power clock separation module voltage unstable and influenceThe performance of earphone, the digital earphone may also include Voltage stabilizing module.Here, Voltage stabilizing module is used for power clock separation module pointFrom power supply signal carry out steady pressure treatment, and using the power supply signal after pressure stabilizing as the driving power of the digital earphone.
Fig. 4 shows the circuit diagram of digital earphone according to an exemplary embodiment of the present invention.
As shown in figure 4, the digital earphone includes: two microphones (being indicated with two circles of the rightmost side in Fig. 4), twoA loudspeaker (tubaeform being indicated with two of the rightmost side in Fig. 4), earphone terminal adapter (including power clock terminal(PWRCLK), input terminal (INPUT), output terminal (OUTPUT) and ground terminal (GND)), power clock separation module (CLK/PWR Seperration), Voltage stabilizing module (LDO) and pulse density modulated amplifier (PDM AMP).
In particular, power clock terminal can receive digital power from the external electronic device connecting with the digital earphoneClock signal.Then, power clock separation module can carry out shaping to the received digital power clock signal of power clock terminalAnd DC processing, and digital power clock signal is separated into clock signal and power supply signal (DC) by treated.Here, divideThe clock signal separated out is provided to microphone, pulse density modulated amplifier (for example, clock signal is input into impulse densityModulated amplifier PDMCKL terminal) etc..Later, Voltage stabilizing module can carry out the power supply signal that power clock separation module separates steadyPressure processing, and using the power supply signal after pressure stabilizing as the driving power of the digital earphone.Pulse density modulated amplifier can beWhen output terminal receives each digital audio and video signals, the received digital audio of output terminal is received by PDMDAT terminal and is believedNumber, digital audio and video signals are converted into analog audio signal, analog audio signal is amplified, and according to receiving the numberThe analog audio signal of amplification is output to by two loudspeakers by L+/L- terminal and R+/R- terminal at the time of word audio signalIn respective speaker.
As an example, the frequency for working as the clock signal that power clock separation module is isolated is 3.072MHz and each MikeWhen wind is the microphone of 32 (32bit), each microphone can acquire ambient sound with the sample frequency of 48KHz, and by environmentSound is converted to digital microphone signal.At this point, input terminal can receive digital microphone signal from two microphones, and will receiveDigital microphone signal be input to the external electronic device connecting with the digital earphone.In addition, the digital earphone in Fig. 4 is alsoIt may include for opening or closing the microphone switch of microphone (Switch Encoder), therefore, when user need to only pass through thisWhen the digital earphone of invention listens to audio and do not have to outside portion's electronic equipment input microphone signal, it can be incited somebody to action by microphone switchMicrophone is closed, and when user needs digital earphone through the invention to input microphone signal to electronic equipment, can be passed throughMicrophone switch opens microphone.
As an example, two microphones in Fig. 4 can be separately positioned on to the position close to user's mouth of two earphone cablesIt sets.In this case, due to having around the mouth of user there are two microphone, when user uses the double of digital earphoneWhen ear print sound function, stereophonic recording may be implemented, it is described when user uses the decrease of noise functions or hearing-aid function of digital earphoneDigital earphone can be by being distributed in two received ambient sounds of microphone of two earphone cables, thus realizes that preferably noise reduction is imitatedFruit or hearing aid effect.
It should be understood that the digital earphone of Fig. 4 is only example, digital earphone of the invention is without being limited thereto, for example, of the inventionAt least two microphone included by digital earphone can be at least two pairs of microphones.At this point, the digital earphone can also wrapInclude multiplexer.Here, as an example, multiplexer can be to the number generated from each microphone at least two pairs of microphonesMicrophone signal is multiplexed, and multiplexed digital microphone signal is transmitted to input terminal.As an example, the multiplexingDevice can be adaptive multiplexer.
Fig. 5 shows the circuit diagram of the digital earphone of another exemplary embodiment according to the present invention.
As shown in figure 5, the digital earphone of Fig. 5 in addition to including Fig. 4 two microphones of digital earphone, two loudspeakers,It further include other two except earphone terminal adapter, power clock separation module, Voltage stabilizing module and pulse density modulated amplifierMicrophone and multiplexer.
Here, multiplexer can receive the clock signal of power clock separation module separation by PDMCLK terminal, and pass throughClock signal after time-division is output to four microphones by PDMCLK1 terminal, PDMCLK2 terminal, by PDMDAT1 terminal andPDMDAT2 terminal receives the microphone signal of four microphones, exports multiplexed digital microphone wind by MUXDAT terminalNumber.In this case, as an example, the frequency for the clock signal isolated when power clock separation module be 3.072MHz andWhen each microphone is the microphone of 32 (32bit), each microphone can acquire ambient sound with the sample frequency of 24KHz,And ambient sound is converted into digital microphone signal.
In digital earphone according to an exemplary embodiment of the present invention, it can be realized preferably by least two microphonesNoise reduction, Double-ear type sound-recording and ears hearing aid effect, the digital signal of transmission enable the digital earphone effectively to avoid common mode dryThe problems caused by disturbing and be not necessarily to internal battery, significantly reduce cost.
Fig. 6 shows the block diagram of electronic equipment according to an exemplary embodiment of the present invention.
Referring to Fig. 6, the electronic equipment includes: electronic equipment terminal adapter 10, detection module 20 and audio codec30。
In particular, electronic equipment terminal adapter 10 sends signal to the earphone of connection, or from even for connecting earphoneThe earphone connect receives signal.Here, electronic equipment terminal adapter 10 can connect digital earphone or existing any of the inventionEarphone.
As an example, in order to connect digital earphone of the invention, electronic equipment terminal adapter 10 can include: power clock endSon, the input terminal and the output terminal.Here, power clock terminal can be used for sending digital power clock signal to the number of connectionThe power clock terminal of word earphone.Input terminal can be used for receiving digital microphone wind from the input terminal of the digital earphone of connectionNumber.Output terminal can be used for sending digital audio and video signals to the output terminal of the digital earphone of connection.In addition, the electronics is setEven machine 10 may also include the ground terminal for ground connection at standby end.As an example, the electronic equipment terminal adapter 10 can be implementedIt can be implemented as inserting with USB for jack form corresponding with the 4 segmentation plugs of Fig. 2 or the electronic equipment terminal adapter 10Corresponding USB jack form.
Detection module 20 be used for when electronic equipment terminal adapter 10 is connected with earphone, detect connection earphone whether beDigital earphone.Here, since the resistance of common simulation earphone is 32 ohms, and the resistance of digital earphone of the invention isSeveral kilohms to tens of thousands of ohms, therefore, as an example, the detection module 20 can pass through the load resistance of the earphone of detection connectionTo determine whether the earphone of connection is digital earphone.Further, since the digital earphone of existing USB jack follows usb protocol, andDigital earphone of the invention does not follow usb protocol, therefore even if the earphone terminal adapter of digital earphone of the invention is implemented asWhether USB jack, detection module 20 can also be digital earphone of the invention come the earphone for determining connection by detection load resistance.In addition, detection module 20 can also pass through detection when the earphone terminal adapter of digital earphone of the invention is implemented as USB jackWhether the earphone connected follows usb protocol to determine whether connected earphone is digital earphone of the invention.
Fig. 7 shows the circuit diagram of the detection module of electronic equipment according to an exemplary embodiment of the present invention.
As shown in fig. 7, contact Com-DET does not connect with contact Com when electronic equipment terminal adapter 10 is not connected with earphoneTouching, the end Com_Open_Det, the end L_Open_Det are equal with the end VDD_Com voltage.And when electronic equipment terminal adapter 10 connectsWhen earphone, contact Com-DET and contact Com short circuit, the voltage of contact Com-DET is close to 0V, at this point, detection module 20 is detectableTo have earphone be inserted into electronic equipment terminal adapter 10.Moreover, when electronic equipment terminal adapter 10 connects earphone, contact L-DETIt is short-circuit with contact Left, also, the load resistance due to earphone and detection resistance RLPartial pressure leads to the voltage drop of the end L_Open_DetIt is low, it therefore, can be by the voltage at the detection end L_Open_Det come the size of the load resistance of test earphone, so that it is determined that electronics is setWhether the earphone that standby terminal adapter 10 connects is digital earphone.
Referring again to Fig. 6, audio codec 30 can be used for detecting that the earphone of connection is digital ear when detection module 20When machine, digital power clock signal and digital audio and video signals are output to by the digital ear by electronic equipment terminal adapter 10Machine, and be decoded to from the received digital microphone signal of the digital earphone.
As an example, when the digital earphone includes left speaker and right loudspeaker, audio codec 30 can whenAt the time of corresponding with one of rising edge and failing edge in each period of clock signal, output corresponds to the digital earphone of connectionThe left channel digital audio signal of left speaker, within each period of clock signal in rising edge and failing edge in additionOne it is corresponding at the time of, output correspond to connection digital earphone right loudspeaker right channel digital audio signal.For example, soundFrequency codec 30 can be at the time of corresponding with rising edge in each period of clock signal, and output corresponds to the number of connectionThe left channel digital audio signal of the left speaker of earphone, when corresponding with failing edge within each period of clock signalIt carves, output corresponds to the right channel digital audio signal of the right loudspeaker of the digital earphone of connection.
In addition, when the earphone connected is the digital earphone with multiple-working mode, for the ease of user-selected numberThe operating mode of word earphone, the electronic equipment may also include display and input unit.In particular, display can be used for working asChoosing when detection module 20 detects that the earphone of connection is digital earphone, to the operating mode of user's show check number word earphone?.Input unit can be used for receiving selection of the user to operating mode.At this point, what audio codec 30 can be selected according to userOperating mode to the digital audio and video signals that will be sent to digital earphone and from the received digital microphone signal of digital earphone intoRow processing.As an example, the operating mode of the digital earphone can include: denoising mode, hearing aid mode and Double-ear type sound-recording mode.
For example, audio codec 30 can will connect from digital earphone when user selects denoising mode by input unitThe digital microphone signal of receipts is inverted, and the microphone signal after reversion is overlapped with internal digital audio and video signalsTo send digital earphone for superimposed digital audio and video signals.When user selects hearing aid mode by input unit, audioCodec 30 can enhance from the received digital microphone signal of digital earphone, and enhanced microphone signal is madeDigital earphone is sent to for digital audio and video signals.When user selects Double-ear type sound-recording mode by input unit, audio coding decodingDevice 30 is recordable from the received digital microphone signal of digital earphone, and when the audio of recording is listened in user's selection by recordingMicrophone signal is sent to digital earphone as digital audio and video signals.
In addition, for the ease of exporting analog signal when detection module 20 detects connected earphone to simulate earphone,The electronic equipment may also include that selection switch.In particular, when detection module 20 detects that the earphone of connection is digital earphoneWhen, selection switch by power clock terminal, the input terminal and the output terminal be connected to audio codec 30 be used to input/it is defeatedThe respective terminal of digital signal out, when detection module 20 detects the earphone of connection to simulate earphone, selection is switched power supplyClock terminal, the input terminal and the output terminal are connected to the corresponding for input/output analog signal of audio codec 30Terminal.
Fig. 8 shows the circuit diagram of electronic equipment according to an exemplary embodiment of the present invention.
Referring to Fig. 8, the electronic equipment includes: that electronic equipment terminal adapter is (including power clock terminal (PWRCLK), defeatedEnter terminal (INPUT), output terminal (OUTPUT) and ground terminal (GND)), detection module (Insert Detector), audio compileDecoder (Audio Codec) and selection switch (Mux).
In particular, the type of the earphone of detection module detection insertion electronic equipment terminal adapter, selection switch is according to inspectionEach terminal of electronic equipment terminal adapter is connected to the respective terminal of audio codec by the testing result for surveying module.ThisIn, the testing result and switch decoder (Switch Decoder) decoded choosing of module can be will test by controller (AP)The selection result for selecting switch is sent to audio codec.
As an example, selection is switched power clock end when detection module detects that the earphone of connection is digital earphoneSon, the input terminal and the output terminal are connected to the respective terminal (example for input/output digital signal of audio codecSuch as, digital microphone clock terminal (DMICCLK), digital microphone data terminal (DMICDAT) and speaker data terminal(SPKDAT));When detection module detects the earphone of connection to simulate earphone, selection is switched power clock terminal, inputTerminal and output terminal are connected to the respective terminal for input/output analog signal of audio codec (for example, simulation is leftSound channel output terminal (AnalogL), simulation microphone output terminal (AnalogMic) and simulation right channel output terminal(AnalogR))。
Further, since when the electronic equipment connects digital earphone, the digital microphone clock end of audio codecThe digital signal of son output is also used to provide power supply signal for digital earphone other than being used to provide clock signal for digital earphone,Therefore, in order to provide stronger power supply signal, can be believed by the number that amplifier A1 provides digital microphone clock terminalIt number amplifies.
In electronic equipment according to an exemplary embodiment of the present invention, digital earphone of the invention and existing can be compatible withEarphone, to improve user experience.
It should be noted that above each embodiment of the invention is only exemplary, and the present invention is not limited to this.AbilityField technique personnel are appreciated that without departing from the principles and spirit of the present invention, can change these embodiments,Wherein, the scope of the present invention limits in claim and its equivalent.